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

body {
  /* background-color: rgb(45, 11, 107); */
  font-family: Montserrat Alternates;
  background-color: rgb(129, 169, 219);
  /*https: //www.w3schools.com/cssref/pr_background-position.php*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

#figma{
  margin-top: 3rem;
  text-align: center;
}
#figma a {
  color: white;
  font-size: 2rem;
}

#imgs{
    display: grid;
    grid-template-columns: 1fr 1fr ;
    grid-template-rows: 1fr 1fr;
    margin: 5rem;
    row-gap: 4rem;
    column-gap: 4rem;
    justify-items: right;
}

#imgs section{
    background-color: rgb(207, 233, 255);
    border-radius: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    padding-top: 2rem;
    
}
#imgs section img{
    height: 15rem;

}

#imgs #printing{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    row-gap: 2rem;
    column-gap: 2rem;
}

#imgs #modeling{
    display: grid;
    grid-template-columns: 1fr 1fr;
    

}

#imgs #modeling img{
    height: 30rem;
    justify-self: center;


}

#imgs #finishing{
    height: 29rem;
    width: 18rem;
}

#imgs #finishing img{
    height: 25rem;
    justify-self: center;
    justify-self: center;
}

#imgs #final{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 2rem;
    height: 27rem;
}

#imgs #final img{
    height: 23rem;
    justify-self: center;
}

img{
    border-radius: 1rem;
}
header {
  margin-top: 90px;
}

h1 {
  font-size: 80px;
  text-align: center;
  color: white;
  position: relative;
}


.one {
  border-radius: 80px 0px 20px 0px;
}

.two {
  border-radius: 20px 0px 80px 0px;
}

.three {
  border-radius: 0px 80px 0px 20px;
}

.four {
  border-radius: 0px 20px 0px 80px;
}

.five {
  border-radius: 0px 80px 0px 20px;
}

.six {
  border-radius: 0px 20px 0px 80px;
}

.seven {
  border-radius: 80px 0px 20px 0px;
}

.eight {
  border-radius: 20px 0px 80px 0px;
}

footer {
  /*https: //stackoverflow.com/questions/13609006/floating-footer-always-on-the-bottom-and-visible*/
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.908);
}

#navigation {
  position: absolute;
  display: grid;
  grid-template-columns: 78px 1fr 1fr 1fr;
  column-gap: 20px;
  place-self: anchor-center;
  justify-items: center;
  justify-content: space-evenly;
  padding-top: 3.5rem;
}

#navigation figure {
  position: relative;
  justify-items: center;
}

#navigation a {
  font-weight: 600;
  text-decoration: none;
  color: rgb(49, 99, 160);
  opacity: 0.5;
  transition: opacity 0.6s;
  font-size: 25px;
}

#navigation a:hover {
  opacity: 1;
}

@media screen and (min-width: 730px) {
  #grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    row-gap: 40px;
    column-gap: 40px;
  }
}

@media screen and (min-width: 1200px) {
  #grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    row-gap: 40px;
    column-gap: 40px;
  }
}

@media screen and (min-width: 1400px) {
  #grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    row-gap: 40px;
    column-gap: 40px;
  }
}

@media screen and (min-width: 2000px) {
  #grid figure {
    height: 70px;
    width: 400px;
    /*border-image: linear-gradient(to right, #D5CDF0, #6B66B5 100%);*/
  }

  h1 {
    margin-top: 120px;
    font-size: 95px;
  }

  #grid p {
    font-size: 22px;
  }

  footer {
    height: 90px;
  }

  #navigation a {
    font-size: 22px;
  }

  #navigation {
    grid-template-columns: 55px 1fr 1fr 1fr;
    column-gap: 40px;
    padding-top: 5.2rem;
  }
}

/* @media (min-aspect-ratio: 16/9){
    .hero video{
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .hero video {
        width: auto;
        height: 100%o;
    }
} */
