@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

* {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-margin-top: 150px;
}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #466d3e;
}

body {
  margin: 0;
}

header {
  height: 111px;
  background-color: #5b8c51;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 20% auto 20%;
  position: sticky;
  top: 0;
  z-index: 10;
}

#logo {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

#logo img {
  max-height: 111px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(1%)
    hue-rotate(328deg) brightness(105%) contrast(102%);
}

h1 {
  font-size: 70px;
  font-weight: 700;
}

h2 {
  font-size: 40px;
  font-weight: 600;
}

h3 {
  font-size: 30px;
  font-weight: 600;
}

p {
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
}

nav {
  display: flex;
  gap: 20px;
  flex-direction: row;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.banner {
  height: calc(100svh - 111px);
  /*  background-image: url("../images/placeholder.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; */
  color: white;
  position: relative;
}

.banner video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.banner-overlay,
.footer-overlay {
  background-color: rgba(0, 0, 0, 0.397);
  height: 100%;
}

.banner-content {
  max-width: 1000px;
  padding: 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.banner-content p {
  max-width: 628px;
  line-height: 29px;
}

.button {
  background-color: #5b8c51;
  display: inline-flex;
  color: white;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  padding: 15px 30px;
  display: inline-flex;
  border-radius: 10px;
  text-align: center;
}

main {
  padding: 60px 120px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 2300px;
  margin: 0 auto;
}

.aboutus-grid {
  display: grid;
  grid-template-columns: 6.5fr 5.5fr;
  gap: 30px;
}

.aboutus-grid-item {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.aboutus-grid img {
  border-radius: 20px;
  width: 100%;
  margin-top: 28px;
}

main * {
  line-height: 28px;
}

.images {
  aspect-ratio: 16 / 10;
  position: relative;
}

#image-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  border-radius: 0px 60px 60px 60px;
}

#image-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 42%;
  border-radius: 40px 40px 0px 40px;
}

.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.textcentered {
  text-align: center;
}

form {
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0px 10px 40px 0px #0000001a;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 20px;
  align-items: center;
}

form h2 {
  font-weight: 600;
  text-align: center;
  padding-bottom: 25px;
}

label {
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
  font-size: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  font-size: 22px;
  padding: 10px;
  font-weight: 600;
  border: 1px solid grey;
}

form div {
  width: 100%;
}

input.button {
  width: auto;
  font-size: 22px;
  cursor: pointer;
}

.genetics {
  display: flex;
  flex-direction: column;
  gap: 30px;

  margin: 0 auto;
  margin-top: 40px;
}

.genetics h2 {
  line-height: 1;
}

.genetics img {
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  height: auto;
  object-fit: cover;
}

.genetic-main-img {
  aspect-ratio: 15 / 9;
  height: 100%;
}

.obj-center {
  object-position: center;
}

.obj-left {
  object-position: left;
}

.obj-right {
  object-position: right;
}

.m-b {
  margin-bottom: 40px;
}

.m-t {
  margin-top: 40px;
}

iframe {
  max-width: 700px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  margin: 0 auto;
}

.centered-images {
  margin: 0 auto;
  max-width: 800px !important;
}

.centered-images img {
  width: 100%;
}

.genetics-item {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.data-image {
  max-width: 450px !important;
  object-fit: contain !important;
  height: auto !important;
  display: block;
  border-radius: 0px !important;
}

.max-full {
  max-width: 100% !important;
}

.genetics-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.genetics-info div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

footer {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 400px;
  color: white;
  background-color: #5b8c51;
}

.footer-overlay {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 120px;
  padding-bottom: 0;
  background: transparent;
}

footer .textcentered {
  padding: 30px 0;
}

.footer-content {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.footer-content-text {
  display: flex;
  justify-content: space-between;
}

.footer-content-text div {
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.socials {
  margin-left: auto;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.socials a {
  background-color: white;
  display: flex;
  padding: 5px;
  border-radius: 50%;
}

.socials img {
  width: 20px;
  height: 20px;

  border-radius: 50%;
}

.contact-info {
  display: flex;
  flex-direction: row !important;
  align-items: start;
  gap: 20px;
}

.contact-info img {
  width: 20px;
  display: inline-block;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%)
    hue-rotate(353deg) brightness(111%) contrast(106%);
}

hr {
  border-color: rgba(212, 212, 212, 0.76);
  border-color: white;
}

#closemenu {
  width: 50px;
  position: absolute;
  top: 20px;
  right: 20px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%)
    hue-rotate(353deg) brightness(111%) contrast(106%);
  display: none;
}

#openmenu {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%)
    hue-rotate(353deg) brightness(111%) contrast(106%);
  display: none;
  width: 50px;
}

.h-captcha {
  margin: 0 auto;
  width: fit-content;
}

table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

table,
th,
td {
  border: 2px solid black;
  border-collapse: collapse;
}

th,
td {
  padding: 2px 5px;
}

th {
  text-align: start;
}

.catalog {
  display: block;
  margin: 0 auto;
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {
  main,
  .banner-content,
  .footer-overlay {
    padding: 60px;
  }

  header {
    padding: 0 60px;
  }
}

@media only screen and (min-width: 993px) {
  nav {
    display: flex !important;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
  header {
    display: flex;
    justify-content: space-between;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100svh;
    background-color: #5b8c51;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
    z-index: 10;
    display: none;
  }

  nav a {
    font-size: 35px;
  }

  #closemenu,
  #openmenu {
    display: block;
  }

  .aboutus-grid {
    display: block;
  }

  .footer-content {
  }

  .footer-content-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .genetics-info {
    display: flex;
    gap: 30px;
    flex-direction: column;
  }

  .data-image {
    max-width: 100% !important;
    width: 100% !important;
  }

  .genetics {
    margin: 0;
  }

  .m-b {
    margin-bottom: 0;
  }

  .m-t {
    margin-top: 0;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
    font-weight: 700;
  }

  h2 {
    font-size: 30px;
    font-weight: 600;
  }

  h3 {
    font-size: 25px;
    font-weight: 600;
  }

  input,
  textarea,
  label,
  input.button,
  p {
    font-size: 18px;
  }

  form {
    padding: 20px;
  }

  .form-grid,
  form {
    gap: 10px;
  }

  main,
  .banner-content,
  .footer-overlay {
    padding: 20px;
  }

  .banner-overlay {
    display: flex;
    align-items: center;
  }

  header {
    height: 70px;
    padding: 0px 20px;
  }

  #openmenu {
    height: 100%;
  }

  .banner {
    height: calc(100svh - 70px);
  }

  .socials {
    margin: 0 auto;
  }

  .centered {
    text-align: start;
  }

  #logo img {
    height: 90%;
  }

  * {
    scroll-margin-top: 90px;
  }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  footer {
    height: auto;
  }
}
