:root {
  --white: #ffffff;
  --blue: #0f82c5;
  --green: #28ca4b;
  --light-gray: #f3f3f3;
  --black: #000;
  --blue-black: #262c35;
}

body,
button {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
}

body {
  margin: 0;
}

header {
  margin: 0.5em 1.5em;
  justify-content: space-around;
}

.menu,
.close {
  display: none;
}

header,
.links,
.hero,
#contact,
.logos,
#aboutUs,
#contact,
#contact ul li a,
footer {
  display: flex;
  align-items: center;
}

.logo {
  width: 5em;
}

.links {
  list-style: none;
  font-weight: 600;
}
.links li:not(:last-child) {
  margin-right: 2em;
}
.links li a {
  color: var(--blue-black);
  text-decoration: none;
}
.links li a:hover {
  color: #71829c;
  transition: 0.4s;
}

.hero {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  justify-content: space-evenly;
  padding: 2em 0;
}
.hero img {
  width: 8em;
}
#home {
  max-width: 30em;
}
#home h1 {
  font-size: 3em;
  margin: 0.5em 0;
}
#home p {
  font-size: 1.16em;
}
#home button {
  border: none;
  font-size: 1.25em;
  padding: 0.5em 2em;
  color: var(--white);
  background: var(--green);
  border-radius: 0.3em;
}
#home button:hover,
#home button:focus {
  cursor: pointer;
  background: #2da347;
  transition: 0.4s;
}

.partners {
  text-align: center;
  margin: 5em 0;
  position: relative;
}
.partners::after {
  content: "";
  position: absolute;
  width: 15em;
  z-index: -1;
  height: 26em;
  top: 30%;
  right: 0;
  background-image: url("./imgs/star.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.logos {
  justify-content: space-evenly;
}
.logos article {
  padding: 1em;
  border-radius: 0.5em;
  background: var(--light-gray);
}
.logos article img {
  width: 9em;
}

.circle {
  border-radius: 10em;
}

.aboutUs {
  position: relative;
}
.aboutUs::before {
  content: "";
  position: absolute;
  width: 15em;
  z-index: -1;
  height: 26em;
  top: 40%;
  left: 0;
  background-image: url("./imgs/triangle.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.aboutUs h2 {
  text-align: center;
}
#aboutUs {
  justify-content: space-between;
}
#aboutUs p {
  font-size: 1.5em;
  margin: 2em;
}
#aboutUs img {
  width: 45%;
  border-radius: 2em 0 0 2em;
}

.contact {
  margin: 2em 0;
  text-align: center;
}
#contact {
  justify-content: space-around;
}
#contact ul {
  list-style: none;
}
#contact ul li a {
  flex-direction: column;
  text-decoration: none;
}
#contact ul li a img {
  width: 3em;
  margin-bottom: 1em;
}
#contact ul li a strong {
  font-size: 1.5em;
  color: var(--blue-black);
}
iframe {
  border-radius: 1em;
}

.menu,
.close {
  z-index: 3;
}

footer {
  background: var(--blue);
  border-bottom: 1px solid transparent;
  justify-content: space-evenly;
  color: var(--white);
}
footer strong {
  display: flex;
}
footer ul li a {
  color: white !important;
}

#year {
  margin: 0 0.5em;
}

.stop {
  overflow-y: hidden;
}

#menuMobile {
  display: none;
  width: 45%;
  z-index: 2;
  height: 100dvh;
  position: absolute;
  top: 0;
  right: 0;
  background: var(--white);
}
#menuMobile .links {
  flex-direction: column;
  margin: 5em 0 0 0;
  padding: 0;
}
#menuMobile .links li:not(:last-child) {
  margin: 0 0 1em 0;
}

@media screen and (max-width: 43.75em) {
  .hero,
  #aboutUs {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero {
    font-size: 0.75em;
  }
  .logos,
  #contact,
  footer,
  footer ul {
    flex-direction: column;
  }
  .logos article:not(:last-child) {
    margin-bottom: 1em;
  }
  #aboutUs img {
    border-radius: 1em;
    width: 80%;
  }
  iframe {
    width: 80%;
    height: 30em;
  }
  footer ul,
  footer ul li {
    margin: 0 !important;
    padding: 0;
  }
  footer strong {
    margin-top: 1em;
  }
  footer ul {
    margin-top: 1em !important;
  }
  footer ul li {
    margin-bottom: 0.5em !important;
  }
  header ul.links {
    display: none;
  }
  .menu {
    display: block;
    width: 3em;
  }
  .menu:hover {
    cursor: pointer;
  }
  .close {
    width: 3em;
  }
  .close:hover {
    cursor: pointer;
  }
}

@font-face {
  font-family: "Montserrat";
  font-weight: 500;
  src: url(./fonts/Montserrat-Medium.ttf);
}

@font-face {
  font-family: "Montserrat";
  font-weight: 600;
  src: url(./fonts/Montserrat-SemiBold.ttf);
}

@font-face {
  font-family: "Montserrat";
  font-weight: 700;
  src: url(./fonts/Montserrat-Bold.ttf);
}
