/* Fonts ---------------------------------------- */
@font-face {
  font-family: CynthoNextMedium;
  src: url(../fonts/CynthoNextMedium.otf);
}
@font-face {
  font-family: CynthoNextBold;
  src: url(../fonts/CynthoNextBold.otf);
}
@font-face {
  font-family: CynthoNextLight;
  src: url(../fonts/CynthoNextLight.otf);
}
@font-face {
  font-family: CynthoNextRegular;
  src: url(../fonts/CynthoNextRegular.otf);
}
@font-face {
  font-family: CynthoNextExtraBold;
  src: url(../fonts/CynthoNextExtraBold.otf);
}

/* styles ---------------------------------------- */
* {
  font-family: CynthoNextRegular;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

html {
  scroll-behavior: smooth;
}
/* nav */

.navbar {
  width: 100%;
  height: 95px;
  position: fixed;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: solid #538842;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile {
  display: none;
}

.logo {
  width: 300px;
  margin-right: 80px;
}

.list {
  display: flex;
  gap: 35px;
}

.list li a {
  transition: 0.5s;
  font-family: CynthoNextBold;
  text-decoration: none;
  font-size: 17px;
  color: #173760;
  padding: 15px;
}

.list li a:hover {
  padding: 15px;
  border-radius: 5px;
  background: #173760;
  color: #fff;
}

.active {
  outline: 1px solid #173760;
  border-radius: 5px;
}

#toggler,
.navbar label {
  display: none;
}

/* home */
.img-home {
  width: 100%;
  margin-top: 95px;
}

/* about */
.img-about {
  width: 100%;
  margin-top: 0px;
}

u {
  display: flex;
  padding-left: 6vw;
  font-family: CynthoNextLight;
  font-size: 4vw;
  color: #173760;
}

#partners {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6vw;
  padding: 6vw;
  padding-top: 4vw;
}
.card {
  width: 25vw;
  cursor: pointer;
}

#contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5vw;
  padding: 10vw;
  padding-top: 5vw;
  padding-bottom: 5vw;
}

.form {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-dates {
  width: 50%;
  height: 24vw;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

h2 {
  font-size: 3vw;
  padding: 2vw;
}

p {
  font-size: 1vw;
}

input[type="text"] {
  border: none;
  outline: 1px solid #173760;
  border-radius: 5px;
  padding: 10px;
  height: 35px;
  font-size: 1vw;
  transition: 0.5s;
}
input[type="text"]:hover {
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}
input[type="submit"] {
  margin-top: 20px;
  border: none;
  background: #173760;
  color: #fff;
  padding: 10px;
  height: 45px;
  font-size: 1vw;
  transition: 0.5s;
}
input[type="submit"]:hover {
  background: #fff;
  outline: 1px solid #173760;
  color: #000;
  cursor: pointer;
}

textarea {
  border: none;
  outline: 1px solid #173760;
}

/* mobile */

@media screen and (max-width: 1000px) {
  .navbar {
    height: auto;
    position: static;
  }
  .img-home {
    margin-top: 0px;
  }
  .logo {
    width: 200px;
  }
  .menu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
  }
  .list {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  .navbar label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }
  #toggler:checked ~ .menu {
    max-height: 100%;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  .active {
    outline: 1px solid #fff;
  }

  u {
    padding-left: 15vw;
    font-size: 8vw;
  }
  #partners {
    align-items: center;
    flex-direction: column;
  }
  .card {
    width: 50vw;
  }
  #contact {
    flex-direction: column;
    align-items: center;
  }
  .form {
    width: 100%;
  }

  .contact-dates {
    width: 100%;
  }

  h2 {
    font-size: 4vw;
    padding: 2vw;
  }

  input[type="text"],
  input[type="submit"],
  p {
    font-size: 3vw;
  }

  .contact-dates {
    height: 50vw;
  }
}
