@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

:root {
  --color-esqueleto-transparent: rgba(239, 243, 245, 0.5);
  --blue-light: #0b92a7;
  --blue-medium: #0b3f8b;
  --blue-transparent: #082864ce;
  --blue-light-transparent: #0b92a794;
  --blue-dark: #020d22fa;
  --blue-dark-transparent: #020d22c7;
  --gray-medium: #373737;
  --gray-dark: #242424;
  --gray-transpárent: #20202049;
  --title: "Kanit", sans-serif;
  --sub-title: "Poppins", sans-serif;
  --paragraph: "Nunito", sans-serif;
  --size-title: 3rem;
  --pinkV: #ab06f8;
}

body {
  background-image: linear-gradient(#ffffffd2, #ffffffda),
    url("../images/cod\ pmc.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  width: 100%;
}

/******* *NAVIGATION* *******/
.menu {
  background-color: var(--blue-transparent);
  height: 70px;
  width: 95%;
  font-family: var(--title);
  position: fixed;
  margin-left: 60px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.849);
  top: 20px;
  z-index: 1000;
}

.menu__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin-left: 50px;
}

.menu__links {
  display: flex;
  height: 100%;
  transition: transform 0.5s;
}

.menu__item {
  list-style: none;
  height: 100%;
  position: relative;

  --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
  --transform: rotate(-90deg);
}

.menu__item:hover {
  --clip: polygon(0 0, 100% 0, 100% 0, 100% 0% 100%);
  --transform: rotate(0);
}

.menu__link {
  color: rgba(255, 255, 255, 0.849);
  text-decoration: none;
  padding: 0 30px;
  display: flex;
  align-items: center;
  height: 100%;
  transition: 0.4s;
}

.menu__link:hover {
  background-color: var(--blue-dark);
  color: var(--blue-light);
  border-radius: 2px;
}

.menu__arrow {
  transform: var(--transform);
  transition: transform 0.4s;
  display: block;
  margin-left: 3px;
}

.menu__nesting {
  list-style: none;
  transition: clip-path 3s;
  clip-path: var(--clip);
  position: absolute;
  right: 0;
  bottom: 0;
  border: 2px solid rgba(255, 255, 255, 0.849);
  border-radius: 10px;
  width: max-content;
  transform: translateY(100%);
  background-color: var(--blue-transparent);
}

.menu__link--inside {
  padding: 30px 100px 30px 20px;
  transition: 0.4s;
}

.menu__link--inside:hover {
  background-color: var(--blue-dark);
}

.logo {
  width: 70px;
  margin: 10px 0 0 10px;
}

.menu__hamburguer {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px;
  margin-right: 100px;
  cursor: pointer;
  transition: 0.4s;
  display: none;
}

.menu__hamburguer:hover {
  background-color: var(--blue-medium);
}

.menu__img {
  display: block;
  width: 40px;
}

#select {
  background-color: var(--blue-dark);
  color: var(--blue-light);
}

.container__formulary {
  background-color: var(--blue-transparent);
  margin-top: 100px;
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5em;
}

ul {
  list-style: none;
}

.title {
  text-align: center;
  font-size: 3em;
  font-weight: 600;
  font-family: var(--title);
  margin-bottom: 10px;
  color: var(--blue-dark);
  text-shadow: 4px 4px 4px var(--blue-light);
}

.formulary-wrapper {
  box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.3);
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
}

.formulary-form h3 {
  font-size: 1.8em;
  font-family: var(--sub-title);
  font-weight: 500;
}

.formulary-wrapper > * {
  padding: 1em;
}

.formulary-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.formulary-form form p {
  margin: 0;
  padding: 1em;
  font-family: var(--paragraph);
}

.formulary-form form .block {
  grid-column: 1 / 3;
}

.formulary-form form textarea {
  width: 100%;
  padding: 0.7em;
  border: none;
  outline: 0;
  color: var(--blue-dark);
  font-size: 1em;
  font-family: var(--paragraph);
  border-bottom: 2px solid var(--blue-light-transparent);
}

.formulary-form form button:hover,
.formulary-form form button:focus {
  background-color: var(--blue-light-transparent);
  color: #fff;
  transition: background-color 1s ease-out;
  outline: 0;
}

.formulary-form form input {
  width: 100%;
  padding: 0.7em;
  border: none;
  border-radius: 10px;
  outline: 0;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 1em;
  font-family: var(--paragraph);
  border-bottom: 2px solid var(--blue-light-transparent);
}

.block button {
  width: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  outline: 0;
  color: var(--blue-dark);
  padding: 0.9em;
  font-family: var(--paragraph);
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-bottom: 3px solid var(--blue-light-transparent);
  border-radius: 10px;
}

/***** BANNER COOKIES *****/
.banner__cookies {
  display: none;
  background: var(--blue-dark);
  padding: 20px;
  width: 100%;
  line-height: 150%;
  border: 1px solid #fff;
  position: fixed;
  bottom: 0px;
  z-index: 1000;
  padding-top: 40px;
  box-shadow: 0px 2px 20px 10px var(--blue-medium);
  text-align: center;
}

.banner__cookies.activo {
  display: block;
}

.title__cookies {
  color: #fff;
  font-family: var(--title);
  font-weight: 400;
  font-size: 1.8rem;
}

.paragraph__cookies {
  color: #fff;
  font-family: var(--paragraph);
  margin-top: 5px;
  margin-bottom: 10px;
  font-weight: 300;
}

.boton {
  font-family: var(--sub-title);
  margin-right: 20px;
  padding: 5px 20px;
  color: var(--blue-medium);
  background-color: #757070;
  border-radius: 4px;
  border: none;
  transition: 0.3s;
  cursor: pointer;
}

.boton:hover {
  background-color: #fff;
  color: var(--blue-light);
}

.enlace {
  font-family: var(--sub-title);
  color: #fff;
  font-weight: 200;
  font-size: 0.9rem;
  transition: 0.3s;
}

.enlace:hover {
  color: var(--blue-light);
  text-decoration: underline;
  letter-spacing: 0.5px;
}

.background-cookies {
  display: none;
  background: var(--blue-dark-transparent);
  position: fixed;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
}

.background-cookies.activo {
  display: block;
}

/******** *FOOTER* ********/
footer {
  position: relative;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  background-color: rgba(255, 255, 255, 0.158);
  border-left: 1px solid rgba(255, 255, 255, 0.664);
  border-top: 1px solid rgba(255, 255, 255, 0.664);
  border: 2px solid #fff;
  width: 100%;
  height: 100%;
}

.footer__container {
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.partFooter {
  width: 20%;
  text-align: center;
}

.partFooter img {
  width: 50%;
}

.partFooter h4 {
  color: var(--blue-light);
  font-size: 1.3em;
  font-weight: 400;
  font-family: var(--title);
  margin-top: 20px;
  margin-bottom: 10px;
}

.partFooter a {
  display: block;
  text-decoration: none;
  color: var(--blue-dark);
  font-weight: 500;
  transform: color 0.3s ease-in-out;
  margin-bottom: 10px;
  font-family: var(--paragraph);
}

.partFooter a:hover {
  color: var(--blue-transparent);
}

.social__media {
  display: flex;
  justify-content: space-between;
}
.social__media a {
  display: inline-block;
  margin: 0px;
  width: 190px;
  transition: 1s;
  cursor: pointer;
  animation: move 6s ease-in-out infinite;
}

.social__media a img {
  width: 60px;
}

.social__media a:hover {
  box-shadow: 0 0 5px rgba(253, 251, 253, 0.726);
}

/******* *KEYFRAMES* *******/
@keyframes move {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.footer__copy {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 1em;
  font-family: "Kanit", sans-serif;
  font-weight: 300;
  color: rgb(253, 253, 253);
  border-top: 2px solid #fff;
}

/******* *MEDIA QUIERIES* *******/
@media screen and (max-width: 992px) {
  /******* *NAVIGATON* *******/
  .menu__links {
    margin-right: 50px;
  }

  .menu__item {
    font-size: 15px;
  }
}

@media screen and (max-width: 800px) {
  .menu {
    height: 70px;
    width: 90%;
    margin-left: 50px;
  }

  .logo {
    margin-left: -20px;
  }

  .menu__hamburguer {
    display: flex;
    background-color: var(--blue-light);
    border-radius: 10px;
    margin-right: 70px;
  }

  .menu__item {
    --clip: 0;
    overflow: hidden;
  }

  .menu__item--active {
    --transform: rotate(0);
    --background: var(--blue-medium);
  }

  .menu__item--show {
    background-color: var(--background);
  }

  .menu__links {
    position: fixed;
    max-width: 400px;
    width: 100%;
    top: 90px;
    bottom: 0;
    right: -50px;
    background-color: var(--blue-transparent);
    overflow-y: auto;
    display: grid;
    grid-auto-rows: max-content;
    transform: translateX(100%);
  }

  .menu__links--show {
    transform: unset;
    width: 100%;
  }

  .menu__link {
    padding: 25px 0;
    padding-left: 30px;
    height: auto;
  }

  /***** FOOTER *****/
  .footer__container {
    width: 95%;
  }

  .partFooter img {
    width: 100px;
  }

  .partFooter h4 {
    font-size: 1.1em;
  }

  .partFooter a {
    font-size: 0.8em;
  }

  .social__media {
    margin-right: 30px;
  }

  .social__media a img {
    width: 50px;
  }
}

@media screen and (max-width: 600px) {
  .menu {
    width: 85%;
    height: 60px;
    top: 20px;
    margin-left: 40px;
  }

  .logo {
    margin-right: 20px;
    width: 60px;
  }

  .menu__hamburguer {
    height: 100%;
    padding: 0 10px;;
  }
  /******* *FOOTER* *******/
  .footer__container {
    width: 95%;
  }

  .partFooter img {
    width: 100px;
  }

  .partFooter h4 {
    font-size: 1.1em;
  }

  .partFooter a {
    font-size: 0.8em;
  }

  .social__media a img {
    width: 40px;
  }

  .social__media {
    margin-left: 0px;
  }
}

@media screen and (max-width: 400px) {
  .menu {
    height: 60px;
    top: 20px;
    right: 30px;;
  }

  .logo {
    .logo {
      margin-left: 20px;
      width: 60px;
    }
  }

  .menu__hamburguer {
    height: 100%;
    padding: 0 10px;;
  }

  /***** FORMULARY *****/
  .formulary-wrapper {
    width: 100%;
  }
  .formulary-form form {
    width: 100%;
    font-size: .8rem;
    
  }

  /******* *FOOTER* *******/
  .footer__container {
    flex-direction: column;
  }

  .partFooter {
    width: 300px;
    justify-content: center;
  }

  .partFooter h4 {
    font-size: 1.3;
    margin-bottom: 0px;
    margin-left: 40px;
  }

  .partFooter a {
    font-size: 0.9em;
    margin-left: 20px;
  }

  .social__media {
    margin-left: 10px;
  }

  .social__media a img {
    width: 50px;
    margin: 10px;
  }
}
