@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300&display=swap');

html {
  width: 100%;
  height: 100%;
}

* {
  font-family: Rubik;
  font-weight: bold;
  font-size: 1.2rem
  }

.margins {
  margin: 5px;
  padding: 5px;
}

.all {
  border:rgb(170, 166, 166) solid 5px;
  border-radius: 20px 20px;
}

h1 {
  font-size: 36px;
  font-weight: bold;
  border: 5px rgb(134, 133, 133) solid;
  border-radius: 20px 20px;
  justify-content: center;
  text-align: center;
}

body {
display: flex;
flex-direction: column;
justify-items: center;
justify-content: center;
align-items: center;
color: rgb(0, 0, 0);
background-image: linear-gradient(45deg, rgb(148, 231, 166), whitesmoke, rgb(148, 231, 166), whitesmoke, rgb(148, 231, 166));
background-repeat: no-repeat;
background-size: cover;
}

body.dark-mode {
	background-image: linear-gradient(45deg, rgb(2, 63, 53), rgb(5, 175, 138),rgb(2, 63, 53),rgb(5, 175, 138),rgb(2, 63, 53));
	color: whitesmoke;
}

.page-title {
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.container {
display: flex;
flex-direction: row;
justify-content: space-around;
width: 100%;
}

nav{
  display: flex;
  flex-direction: column-reverse;
  align-content: center;
  align-self: flex-end;
}

.modeToggle {
  display: flex;
  flex-direction: column;
  align-items: center;
}

p{
  text-align:start;
  font-size:18px;
}

button {
  width: 57px;
  height: 50px;
  border: 2px rgb(134, 133, 133) solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  padding:5px;
  cursor: pointer;
}

.modeButton {
  width: 110px;
  border-radius: 20px 20px;
  justify-content: space-evenly;
  display: flex;
}

.calc{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.display{
  width: 90%;
  height: 30px;
  border-radius: 10px 10px;
  display: flex;
  align-self: center;
  justify-self: center;
  background-color: whitesmoke;
  justify-content: flex-end;
  align-items: center;
  padding: 5px;
  margin: 5px;
}

.keys {
  display: flex;
  flex-direction: row;
  align-items: center;
  display: flex;
  width: auto;
  height: auto;
}

.calcON {
  background-color: rgb(251, 255, 0);
  color: orangered;
}

