*{
  margin: 0;
  padding: 0  ;
  box-sizing: border-box;
}

.page{
  margin-left: auto;
  margin-right: auto;
  width: 1200px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-auto-rows: auto;
  grid-template-areas: 
  "hd hd hd"
  "sh sh sh"
  "nv nv nv"
  "mn mn mn"
  "ft ft ft";
  gap: 0.5rem;
}
/* index-page */
.container-index{
  grid-area: mn;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;

}
.box-index{
min-width: 225px;
min-height: 100px;
display: grid;
place-content: center;
}
/* work-page */
.container-work{
  grid-area: mn;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;

}
.box-work{
min-height: 500px;
display: grid;
place-content: center;
}
/* excel page */
.container-excel{
  grid-area: mn;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.box-excel{
min-height: 500px;
display: grid;
place-content: center;
}
/* kalender page */
.container-kalender{
  grid-area: mn;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  font-size: 14px;
}

.box-kalender{
min-height: 500px;
display: grid;
place-content: center;
}
.container-ahk{
  grid-area: mn;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;

}
/* AHK page */
.box-ahk{
min-height: 500px;
display: grid;
place-content: center;
}
.container-car{
  grid-area: mn;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;

}
/* Car page */
.box-car{
min-height: 500px;
display: grid;
place-content: center;
}
.nav-car{
  display: grid;
  place-content: center;
  min-height: 75px;
  
}
img.car{
  border: 4px solid black;
  box-shadow: 10px 10px 5px #ccc;
  border-radius:25px;
}
/* weather page */
.container-weather{
  grid-area: mn;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 50px;
  margin-bottom: 50px;
}
.box-weather{
min-height: 150px;
display: grid;
place-content: center;
}
.radar{
  border: 4px solid black;
  box-shadow: 10px 10px 5px #ccc;
}
/* time page */
.container-time{
  grid-area: mn;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 50px;
  margin-bottom: 50px;
}
.box-time{
min-height: 400px;
display: grid;
place-content: center;
}
/* excelColors page */
.container-excelColors{
  grid-area: mn;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 50px;
  margin-bottom: 50px;

}
.box-excelColors{
min-height: 400px;
display: grid;
place-content: center;
}
.container-math{
  grid-area: mn;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 50px;
  margin-bottom: 50px;

}
/* math page */
.box-math{
min-height: 300px;
display: grid;
place-content: center;
}
#back{
  margin: 5rem auto;
  background-color:rgba(0,128,0,0.70);
  border: 5px solid yellow;
  width: 450px;
  padding: 15px;
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 50px;
  box-shadow: 10px 10px 5px #ccc;
}
#unit1{
  font-size: 24px;
  height: auto;
}
#unit2{
  font-size: 24px;
  height: auto;
} 
button {
  width: 100px;
  height: 40px;
  margin-left: 25px;
  font-weight: bold;
}
input{
  width: 75px;
  height: auto;
  font-size: 24px;
}
input[type=button]{
  width: 130px;
  height: auto;
  font-weight: bold;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5)
}
label{
  display: inline-block;
  margin-bottom: 10px;
}
/* colors page */
.container-color{
  grid-area: mn;
  display: grid;
  grid-template-columns:repeat(12,1fr);
  gap: 1rem;
  margin-top: 50px;
  margin-bottom: 50px;
}
.colorBack{
  grid-area: mn;
  display: grid;
  grid-template-columns:repeat(4,1fr);
  gap: 1rem;
  margin-top: 50px;
  margin-bottom: 50px;
}
.colorBtn {
  display: grid;
  place-content: center;
}

.text {
  width: 100px;
  height: 75px;
  text-align: center;
  overflow-wrap: break-word;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: rgb(128, 128, 128);
  display: grid;
  place-content: center;
}

.color {
  width: 75px;
  height: 75px;
  background-color: #000080;
  border: 1px solid;
}

/* rest of page */
.header{
  grid-area: hd;
  height: 142px;
}
.subheader{
  grid-area: sh;
  height: 113px;
}
.nav{
  grid-area: nv;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 50px;
}
.navBox{
  display: grid;
  place-content: center;
}
.el{
  display: grid;
  place-content: center;
}
/* footer page */
.footer{
  grid-area: ft;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 100px;
  margin-top: 50px;
  margin-bottom: 50px; 
}
.fooBox{
  display: grid;
  place-content: center;
}
/* buttons */
a img.hover {
  display: none;
}
a img.default {
  display: inherit;
}
a:hover img.hover {
  display: inherit;
}
a:hover img.default {
  display: none;
}