@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");

* {
  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;
}

body {
  background-image: linear-gradient(#ffffffa4, #ffffffa2),
    url("../images/source.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

/******* *NAVIGATION* *******/
.menu {
  background-color: var(--color-esqueleto-transparent);
  height: 70px;
  width: 90%;
  font-family: var(--title);
  position: fixed;
  margin-left: 60px;
  border-radius: 10px;
  border: 2px solid var(--blue-light);
  top: 20px;
  z-index: 999;
}

.menu__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  height: 100%;
}

.menu__links {
  display: flex;
  height: 100%;
  margin-right: 10px;
  transition: transform 0.5s;
}

.menu__item {
  list-style: none;
  height: 100%;
  position: relative;
}

.menu__link {
  color: var(--blue-medium);
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  padding: 0 30px;
  display: flex;
  align-items: center;
  height: 100%;
  transition: 0.4s;
}

.menu__link:hover {
  background-color: var(--blue-medium);
  color: var(--blue-light);
}

.logo {
  width: 70px;
  margin-left: 30px;
}

.logo img {
  width: 100%;
  display: block;
}

.menu__hamburguer {
  height: 90%;
  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: 35px;
}

#select {
  background-color: var(--blue-medium);
  color: var(--blue-light);
}

/******* *SLIDER* *******/
.slider--container {
  max-width: 100%;
  max-height: 100vh;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.mySlider img {
  width: 100%;
  max-height: 100vh;
  height: inherit;
  object-fit: cover;
  vertical-align: top;
  transition: 2s;
}

.title__slide {
  position: absolute;
  color: var(--blue-light);
  font-size: var(--size-title);
  text-shadow: 2px 2px 2px #fff;
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  margin-top: -450px;
  margin-left: 50px;
  width: 50%;
  z-index: 5;
}

.barras {
  position: absolute;
  top: 600px;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.barra {
  cursor: pointer;
  height: 5px;
  width: 100px;
  margin: 0 2px;
  background-color: var(--blue-light);
  display: inline-block;
  margin-left: 3px;
}

.active {
  background-color: var(--blue-medium);
}

.face {
  animation-name: face;
  animation-duration: 1.5s;
}

@keyframes face {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/******* *   * *******/
/***** *CARDS* *****/
/******* *   * *******/
.card--info {
  width: 90%;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

.card--info .title {
  width: 100%;
  font-size: var(--size-title);
  text-align: center;
  color: var(--blue-dark);
  font-family: var(--title);
  text-shadow: 4px 4px 4px var(--blue-light);
}

.card--servi {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 30px;
}

.image__card {
  width: 30%;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
  border-radius: 50%;
  cursor: pointer;
  margin-bottom: 30px;
  border-left: 2px solid rgba(255, 255, 255, 0.6);
  border-top: 2px solid rgba(255, 255, 255, 0.6);
}

.image__card > img {
  width: 100%;
  height: 350px;
  margin: 8px;
  object-fit: cover;
  display: block;
}

.hover__card {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px;
  margin-right: 30px;
  top: 0;
  transform: scale(0);
  background-color: #fff;
  transition: transform 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hover__card h3 {
  font-size: 1.5rem;
  color: var(--blue-medium);
  font-family: var(--title);
  font-weight: 500;
  margin-bottom: 10px;
  text-align: center;
}

.hover__card p {
  margin: 10px;
  text-align: center;
  font-family: var(--paragraph);
  color: var(--blue-dark);
}

.image__card:hover .hover__card {
  transform: scale(1);
}

/******* *CARRUSEL* *******/
.carrusel {
  width: 100%;
  display: flex;
  margin-top: 30px;
}

.carrusel__items {
  display: flex;
  overflow-y: hidden;
  overflow-x: hidden;
  padding: 10px 0px;
  margin-top: 0px;
  z-index: 7;
}

.carrusel__item {
  max-width: 300px;
  min-width: 300px;
  height: 150px;
  transition: all 0.2s;
  margin-left: 5px;
  margin-bottom: 15px;
}

.carrusel__item:hover {
  transform: scale(1.1);
}

.carrusel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--blue-dark);
}

/******* *VIDEO MARKET* *******/
.container__video {
  position: relative;
  width: 100%;
  height: 1000px;
  bottom: 80px;
  top: 0px;
  background: var(--blue-dark-transparent);
}

.title__videoM {
  width: 100%;
  font-size: var(--size-title);
  text-align: center;
  padding-top: 30px;
  color: var(--blue-dark);
  font-family: var(--title);
  text-shadow: 4px 4px 4px var(--blue-light);
}

.video__screen {
  top: 100px;
  left: 0;
  width: 90%;
  height: 100%;
  overflow: hidden;
}

.video__screen video {
  position: absolute;
  top: 480px;
  left: 50%;
  object-fit: cover;
  width: 90%;
  height: 70%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  border: 6px solid var(--blue-dark);
  margin-bottom: 200px;
}

.title-finish {
  width: 100%;
  top: 0;
  background-color: red;
}

.finish {
  position: absolute;
  width: 90%;
  bottom: 50px;

  margin-left: 260px;
  font-size: var(--size-title);
  font-family: var(--title);
  font-weight: 600;
  text-shadow: 4px 4px 4px var(--blue-light);
  opacity: 0;
  transition: 0.3s;
  animation: opacity infinite 5s ease-in-out;
}

@keyframes opacity {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/***** 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;
}

.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(63, 60, 60, 0.158);
  border-left: 1px solid rgba(255, 255, 255, 0.664);
  border: 2px solid var(--blue-light);
  width: 100%;
  height: 100%;
}

.footer__container {
  overflow: hidden;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.partFooter {
  width: 20%;
  text-align: center;
}

.partFooter img {
  width: 50%;
  margin-top: 10px;
}

.partFooter h4 {
  color: var(--blue-light);
  font-size: 1.3em;
  font-weight: 400;
  font-family: var(--title);
  margin-top: 20px;
  margin-bottom: 10px;
}

.partFooter .blue:hover {
  color: var(--blue-medium);
}

.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);
  margin-right: 20px;
}

.partFooter a:hover {
  color: var(--blue-transparent);
}

.social__media {
  display: flex;
  justify-content: space-around;
  width: 250px;
}

.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: 50px;
}

.social__media a:hover {
  box-shadow: 0 0 5px rgba(253, 251, 253, 0.726);
}

@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: var(--title);
  font-weight: 300;
  color: rgb(253, 253, 253);
  border-top: 2px solid var(--blue-light);
}

/******* *MEDIA QUIERIES* *******/
@media screen and (max-width: 992px) {
  /******* *NAVIGATON* *******/
  .menu {
    height: 70px;
    width: 90%;
    /*margin-left: 50px;*/
  }

  .menu__links {
    margin-right: 30px;
  }

  .menu__item {
    font-size: 15px;
  }

  /******* *SLIDER* *******/
  .mySlider img {
    height: 600px;
  }

  .title__slide {
    font-size: 2.3rem;
    width: 600px;
  }

  .directions {
    top: -90px;
  }

  .directions a {
    color: var(--blue-light);
    display: inline-block;
    padding: 1.25rem;
    text-decoration: none;
  }

  .directions a:hover {
    background-color: var(--blue-dark-transparent);
    border-radius: 20%;
    transition: 1s;
  }

  .barras {
    top: 570px;
  }

  /******* *CARD* *******/
  .container__card .title {
    font-size: 3rem;
  }

  .image__card {
    width: 30%;
    margin-right: auto;
    margin-left: auto;
  }

  .image__card > img {
    width: 100%;
    height: 250px;
  }

  .hover__card h3 {
    font-size: 1.2rem;
    width: 95%;
  }

  .hover__card p {
    font-size: 1rem;
    width: 95%;
  }

  /******* *VIDEO MARKET* *******/
  .container__video {
    position: relative;
    width: 100%;
    height: 1000px;
    bottom: 80px;
    top: 0px;
    background: var(--blue-dark-transparent);
  }

  .finish {
    width: 85%;
    margin-left: 60px;
    font-size: 3rem;
  }
}

/******* *FOOTER* *******/
.footer__container {
  width: 100%;
}

.partFooter {
  margin-right: 30px;
}

.partFooter h4 {
  font-size: 1.2rem;
  margin-right: 20px;
}

.partFooter a {
  font-size: 0.9rem;
}

.social__media a img {
  width: 45px;
}

.social__media {
  width: 100%;
}

.footer--copyright {
  height: 30px;

  & p {
    margin-top: 15px;
  }
}

@media screen and (max-width: 800px) {
  /******* *NAVIGATION* *******/
  .menu {
    height: 70px;
    width: 90%;
    margin-left: 40px;
  }

  .logo {
    margin-left: 20px;
  }

  .menu__hamburguer {
    display: flex;
    background-color: var(--blue-light);
    border-radius: 10px;
    margin-right: 20px;
  }

  .menu__item {
    --clip: 0;
    overflow: hidden;
  }

  .menu__links {
    position: fixed;
    max-width: 400px;
    width: 100%;
    top: 90px;
    bottom: 0;
    right: -50px;
    background-color: var(--color-esqueleto-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;
  }

  .menu__arrow {
    margin-left: auto;
    margin-right: 20px;
  }

  .menu__nesting {
    display: grid;
    position: unset;
    width: 100%;
    transform: translateY(0);
    height: 0;
    transition: height 0.3s;
  }

  .menu__link--inside {
    width: 90%;
    margin-left: auto;
    border-left: 1px solid var(--blue-light);
  }

  /******* *SLIDER* *******/
  .slider--container {
    height: 540px;
  }

  .mySlider img {
    height: 540px;
  }

  .title__slide {
    font-size: 2rem;
    margin-top: -400px;
  }

  .barras {
    top: 520px;
  }

  /******* *CARD* *******/
  .container__card .title {
    font-size: 2.5rem;
  }

  .card--servi {
    display: flex;
    flex-direction: column;
  }

  .image__card {
    width: 60%;
    margin-right: auto;
    margin-left: auto;
  }

  .image__card > img {
    width: 100%;
    height: 400px;
  }

  .hover__card h3 {
    font-size: 2rem;
    text-align: center;
  }

  .hover__card p {
    font-size: 1.2rem;
  }

  /******* *CARRUSEL* *******/
  .carrusel {
    margin-top: 10px;
  }

  /******* *VIDEO MARKET* *******/
  .container__video {
    position: relative;
    width: 100%;
    height: 600px;
    bottom: 80px;
    top: 0px;
    background: var(--blue-dark-transparent);
  }

  .title__video {
    width: 100%;
    font-size: var(--size-title);
    margin-top: 40px;
    color: var(--blue-dark);
    font-family: var(--title);
    text-align: center;
    margin-left: 60px;
    font-weight: 600;
    text-shadow: 4px 4px 4px var(--blue-light);
  }

  .video__screen video {
    position: absolute;
    top: 300px;
    left: 50%;
    object-fit: cover;
    width: 90%;
    height: 70%;
  }

  .finish {
    font-size: 2rem;
    width: 70%;
    bottom: 30px;
    margin-left: 120px;
  }

  /******* *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-right: -20px;
  }
}

@media screen and (max-width: 600px) {
  /******* *NAVIGATION* *******/
  .menu {
    height: 60px;
    width: 90%;
    top: 20px;
    margin-left: 30px;
  }

  .menu__links {
    top: 80px;
  }

  .logo {
    margin-left: 20px;
    width: 60px;
  }

  .menu__hamburguer {
    height: 90%;
    padding: 0 10px;
  }

  /******* *SLIDER* *******/
  .slider--container {
    top: 0px;
    width: 100%;
  }

  .mySlider img {
    height: 550px;
  }

  .face h2 {
    color: var(--blue-medium);
    margin-top: -400px;
    font-size: 1.7em;
    margin-left: 10px;
    width: 350px;
  }

  /******* *CARD* *******/
  .container__card .title {
    font-size: 2.5rem;
  }

  .card--servi {
    display: flex;
    flex-direction: column;
  }

  .image__card {
    width: 60%;
    margin-right: auto;
    margin-left: auto;
  }

  .image__card > img {
    width: 100%;
    height: 300px;
  }

  .hover__card h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .hover__card p {
    font-size: 0.9rem;
  }

  /******* *VIDEO* *******/
  .container__video {
    position: relative;
    width: 100%;
    height: 600px;
    bottom: 80px;
    top: 0px;
    background: var(--blue-dark-transparent);
  }

  .title__video {
    width: 100%;
    font-size: var(--size-title);
    margin-top: 40px;
    color: var(--blue-dark);
    font-family: var(--title);
    text-align: center;
    margin-left: 60px;
    font-weight: 600;
    text-shadow: 4px 4px 4px var(--blue-light);
  }

  .video__screen video {
    position: absolute;
    top: 300px;
    left: 50%;
    object-fit: cover;
    width: 90%;
  }

  .finish {
    font-size: 1.8rem;
    width: 85%;
    margin-left: 50px;
  }

  /******* *FOOTER* *******/
  .footer__container {
    flex-direction: column;
  }

  .partFooter {
    width: 300px;
    justify-content: center;
  }

  .partFooter h4 {
    font-size: 1.3;
    margin-bottom: 0px;
    margin-left: 15px;
  }

  .partFooter a {
    font-size: 0.9em;
    margin-left: 20px;
  }

  .social__media {
    margin-left: 0px;
  }

  .social__media a img {
    width: 50px;
  }
}

@media screen and (width: 400px) {
  /******* *NAVIGATION* *******/
  .menu {
    height: 60px;
    top: 20px;
    margin-left: 20px;
  }

  .logo {
    .logo {
      margin-left: 20px;
      width: 60px;
    }
  }

  .menu__hamburguer {
    height: 90%;
    width: 50px;
    padding: 0 10px;
    margin-right: 20px;
  }

  /******* *SLIDER* *******/
  .slider--container {
    top: 0px;
    width: 100%;
    overflow-x: hidden;
  }

  .mySlider img {
    width: 100%;
    height: 550px;
    object-fit: cover;
  }

  .face h2 {
    color: var(--blue-light);
    margin-top: -300px;
    font-size: 1.5em;
    margin-left: 10px;
  }

  .barras {
    top: 510px;
    width: 50%;
    margin-left: 25%;
    z-index: 5;
  }

  /******* *CARD* *******/
  .container__card .title {
    font-size: 1.9rem;
  }

  .image__card {
    width: 80%;
  }

  .image__card > img {
    width: 100%;
    height: 250px;
  }

  .hover__card h3 {
    font-size: 1.2rem;
  }

  .hover__card p {
    font-size: 0.8rem;
  }

  /******* *VIDEO* *******/
  .container__video {
    position: relative;
    width: 100%;
    height: 600px;
    bottom: 80px;
    top: 0px;
    background: var(--blue-dark-transparent);
  }

  .title__video {
    width: 100%;
    font-size: var(--size-title);
    margin-top: 40px;
    color: var(--blue-dark);
    font-family: var(--title);
    text-align: center;
    margin-left: 100px;
    font-weight: 600;
    text-shadow: 4px 4px 4px var(--blue-light);
  }

  .video__screen video {
    position: absolute;
    top: 300px;
    left: 50%;
    object-fit: cover;
    width: 90%;
  }

  .title__videoM {
    font-size: 1.9rem;
  }

  .finish {
    font-size: 1.2rem;
    width: 85%;
    margin-left: 35px;
  }

  /******* *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: 40px;
  }

  .social__media {
    margin-left: 0px;
  }

  .social__media a img {
    width: 50px;
  }

  /***** BANNER COOKIES *****/
  .banner--cookies {
    display: none;
    background-color: var(--blue-dark-transparent);
    height: 120px;
    width: 100%;
  }

  .title__cookies {
    font-size: 1.2rem;
  }

  .paragraph__cookies {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 384px) {
  /******* *NAVIGATION* *******/
  .menu {
    height: 60px;
    top: 20px;
    margin-left: 20px;
  }

  .logo {
    .logo {
      margin-left: 20px;
      width: 60px;
    }
  }

  .menu__hamburguer {
    height: 90%;
    width: 50px;
    padding: 0 10px;
    margin-right: 20px;
  }

  /******* *SLIDER* *******/
  .slider--container {
    top: 0px;
    width: 100%;
    overflow-x: hidden;
  }

  .mySlider img {
    width: 100%;
    height: 550px;
    object-fit: cover;
  }

  .face h2 {
    width: 95%;
    margin-top: -400px;
    font-size: 1.5em;
    margin-left: 10px;
  }

  .barras {
    top: 510px;
    width: 50%;
    margin-left: 25%;
    z-index: 5;
  }

  /******* *CARD* *******/
  .container__card .title {
    font-size: 1.7rem;
  }

  .image__card {
    width: 80%;
  }

  .image__card > img {
    width: 100%;
    height: 250px;
  }

  .hover__card h3 {
    font-size: 1rem;
    width: 95%;
  }

  .hover__card p {
    font-size: 0.8rem;
  }

  /******* *VIDEO* *******/
  .container__video {
    position: relative;
    width: 100%;
    height: 600px;
    bottom: 80px;
    top: 0px;
    background: var(--blue-dark-transparent);

    h2 {
      font-size: 1.7rem;
    }
  }

  .video__screen video {
    position: absolute;
    top: 300px;
    left: 50%;
    object-fit: cover;
    width: 90%;
  }

  .finish {
    font-size: 1.2rem;
    width: 85%;
    margin-left: 40px;
  }

  /******* *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: 40px;
  }

  .social__media {
    margin-left: 0px;
  }

  .social__media a img {
    width: 50px;
  }

  /***** BANNER COOKIES *****/
  .banner--cookies {
    display: none;
    background-color: var(--blue-dark-transparent);
    height: 120px;
    width: 100%;
  }

  .title__cookies {
    font-size: 1.2rem;
  }

  .paragraph__cookies {
    font-size: 0.9rem;
  }
}
