@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font: 200 2vh Roboto, sans-serif;
  width: 100vw;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 1);
  position:relative;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: rgba(255, 150, 0, 1);
}

header, footer {
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 1);
  display: flex;
  justify-content: center;
  align-items: center;
}

header {
  height: 20vh;
  background-image: url('../img/header/header.jpg');
  background-size: cover;
  background-position: center;
  color: rgba(255, 150, 0, 1);
  /* position: absolute; */
}

footer {
  height: 50px;
  width: 100%;
  position: absolute;
  bottom: 0;
  font-size: 0.7rem;
}

section {
  width: 80%;
  height: 5vw;
  margin-left:auto;
  margin-right:auto;
  margin-top: 25px;
  background-color: rgba(5, 5, 5, 0.7);
  border-radius: 15px;
  font-size: 1.2rem;
  padding: 0 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  width: 80%;
  min-height: calc(70vh - 200px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 1vh;
  background-color: rgba(5, 5, 5, 0.7);
  border-radius: 15px;
  margin-left:auto;
  margin-right:auto;
  margin-top: 25px;
  margin-bottom: 50px;
}

div#grid {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* grid-template-rows: repeat(3, 1fr); */
  gap: 2vw;
  padding: 2vw;
  margin-left: 10%;
}

div.navbutton {
  width: 15vw;
  height: 15vw;
  background-color: rgba(219, 123, 123, 0.671);
  color: rgba(0, 0, 0, 1);
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  border: dotted 3px #000;
  border-radius: 15%;
  font-size: 1.6vw;
  background-size: cover;
  background-position: center;
}

div#length {
  background-image: url('../img/length.jpg');
}

div#weight {
  background-image: url('../img/weight.jpg');
}

div#volume {
  background-image: url('../img/volume.jpg');
}