@import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Roboto&display=swap");

html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

h1 {
  font-family: "Roboto", sans-serif;
  margin-top: 20px;
}

header {
  background: white;
  position: sticky;
  top: 0%;
  display: flex;
  justify-content: space-evenly;
  height: 200px;
  transition: 1s;
  flex-direction: column;
  align-items: center;
}

.shrink {
  height: 100px;
}

#logo {
  transition: 0.2s;
  height: 100px;
  padding-bottom: 20px;
}

header div {
  padding-bottom: 20px;
}

/* Main Menu Link */
.main_menu_link {
  margin: 0 20px;
}
.main_menu_link:link {
  text-decoration: none;
}
.main_menu_link:visited {
  text-decoration: none;
}
.main_menu_link:hover {
  text-decoration: underline;
}
.main_menu_link:active {
  text-decoration: none;
}

/* Article */
article {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  scroll-snap-align: start;
  min-height: 500px;
}

#home {
  background-image: url(images/Home-bckgr.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 90%;
  flex-direction: column;
}

#home div#home-text-wrapper {
  margin: 0 20px;
}

#home img {
  height: 300px;
  align-self: flex-end;
}

#about {
  background-image: url(images/About-Us-bckgr.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#about h1 {
  flex: 1;
  text-align: center;
}

#about div#about-text-wrapper {
  display: flex;
  justify-content: stretch;
  flex-direction: column;
}

#about p {
  text-align: justify;
  margin: 20px;
}

#about span {
  color: yellow;
}

#product {
  display: block;
  background: black;
  flex-direction: column;
  height: fit-content;
}

#product img.product-image {
  width: 98vw;
}

#contact {
  color: black;
  flex-direction: column;
}

#contact #contact-wrapper {
  display: flex;
  flex-direction: row;
}

#contact .contact-info-wrapper {
  width: 200px;
  height: 200px;
  border: black solid 1px;
  border-radius: 5px;
  margin: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#contact i {
  font-size: 40px;
}

#contact .contact-info-text {
  text-align: center;
}

/* Footer */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  scroll-snap-align: start;
  background: black;
  color: white;
  height: 50px;
  padding: 0 20px;
  font-family: sans-serif;
  font-size: 14px;
}

@media screen and (max-width: 600px) {
  footer {
    flex-direction: column;
    height: 100px;
    justify-content: center;
  }

  #contact #contact-wrapper {
    flex-direction: column;
  }
}

@media screen and (min-width: 600px) {
  html {
    scroll-snap-type: y mandatory;
  }

  h1 {
    font-size: 48px;
  }

  #logo {
    height: 150px;
  }

  article {
    height: calc(100vh - 200px);
  }

  #home {
    flex-direction: row;
  }

  #about {
    justify-content: flex-end;
    background-size: 100% 100%;
    background-attachment: scroll;
  }

  #about h1 {
    text-align: end;
  }

  #about p {
    width: 45vw;
  }

  #about div#about-text-wrapper {
    flex-direction: row;
  }

  #about div#about-p-wrapper {
    padding-right: 5vw;
  }

  #product img.product-image {
    width: 49vw;
  }
}

@media screen and (max-width: 800px) {
  #product #product-header {
    margin: auto;
    width: 100vw;
    text-align: center;
    padding: 20px 0;
  }
}

@media screen and (min-width: 800px) {
  header {
    flex-direction: row;
    align-items: flex-end;
  }

  #home img {
    height: 500px;
  }

  #product {
    display: flex;
    flex-direction: row;
    height: calc(100vh - 200px);
  }

  #product img.product-image {
    height: 80%;
    width: unset;
  }
}
