/*ETIQUETAS*/
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200..900;1,200..900&display=swap');

:root {
  --primary-color: #66cccc;
  --secondary-color: #669d9d;
  --white-color: #ffff;
  --grey-color: #fbfbfb;
  --dark-grey-color: #8a8a8a
}

.pngBlackToPrimaryColor{
  filter: invert(74%) sepia(8%) saturate(1983%) hue-rotate(131deg) brightness(101%) contrast(84%);
}

::selection {
  background-color: var(--primary-color);
  color: var(--white-color);
}

@font-face {
  font-family: AvantGardeBookBT;
  src: url("../Fonts/AvantGardeBookBT.ttf");
}

body,
html {
  margin: 0;
  font-family: "Crimson Pro", serif;
  font-weight: 200;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  text-align: center;
}

h1 {
  font-family: AvantGardeBookBT;
  font-weight: 400;
  font-size: 2.604vw;
  margin: 0;
}

h2 {
  font-weight: 400;
  font-size: 2.396vw;
  margin: 0;
}

h3 {
  font-weight: 400;
  font-size: 2.5vw;
  margin: 0;
}

h4 {
  font-size: 0.85vw;
  text-transform: uppercase;
  font-weight: 400;
}

p {
  color: #8a8a8a;
  font-size: 1.146vw;
  line-height: 1.563vw;
  word-spacing: 0.078vw;
}

mark{
  color: var(--primary-color);
  background-color: transparent;
}

i::before{
  position: unset !important;
}

.texto-dinamico {
  min-height: 110px;
}

section {
  padding: 6.3vw 16vw;
}

.buttonBlue {
  margin-top: 2.5vw;
  text-decoration: none;
  display: flex;
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: 30px;
  width: 180px;
  height: 50px;
  text-transform: uppercase;
  transition: 0.25s ease-in;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.buttonBlue:hover {
  transform: scale(1.1);
}

video {
  object-fit: cover;
}

.line {
  background-color: #efefef;
  margin: auto;
  width: 65vw;
  height: 2px;
}

/*END ETIQUETAS*/

/*CLASES GENERALES*/
.row {
  display: flex;
  flex-direction: row;
}

.column {
  display: flex;
  flex-direction: column;
}

.grid4-2 {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(4, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.greyBackground {
  background-color: var(--grey-color);
}

.heroSection {
  height: 100vh;
}

.heroSection video {
  width: 100vw;
  height: 100%;
}

.heroSectionFooter {
  width: 100%;
  height: 2.604vw;
  z-index: 9;
  position: absolute;
  bottom: 0;
  left: 0;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

.heroSectionFooter svg {
  animation: bounce 2s infinite;
}

.textoOverlay {
  color: var(--white-color);
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 16vw;
  transform: translate(0%, -50%);
  font-size: 24px;
  text-align: left;
  z-index: 1;
  width: 20%;
}

label {
  position: relative;
}

i:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 20px;
}



input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button,
textarea {
  -webkit-appearance: none;
  margin: 0;
  resize: none;
  overflow: hidden;
}

input,
textarea {
  border: none;
  border-bottom: solid 1px var(--dark-grey-color);
  font-family: "Crimson Pro", serif;
  font-weight: 400;
  font-size: 1.146vw;
  padding: 0.677vw 1.875vw;
  height: 1.25vw;
  width: 15vw;
  margin: 0px 0.521vw 0.521vw 0.521vw;
  transition: border-bottom-color 0.3s;
}

textarea {
  width: 35vw;
  height: 2.5vw;
}

input:hover,
textarea:hover {
  border-bottom-color: var(--dark-grey-color-hover);
}

label {
  display: flex;
  align-items: center;
}

label img {
  width: 3vh;
  position: absolute;
  margin-left: 10px;
  top: 0.677vw;
}

/* Estilos de selección de texto */
input:focus-within:not(textarea),
textarea:focus-within {
  outline: none;
  box-shadow: 0 1px 0 0 var(--dark-grey-color);
  /* Cambiar el color de la línea debajo del texto */
}

textarea:focus-within {
  box-shadow: none;
}

/*END CLASES GENERALES*/

@media (max-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 18px;
  }

  p {
    font-size: 16px;
    line-height: 16px;
    word-spacing: 1.5px;
  }

  section {
    padding: 16vw 8vw;
  }

  .heroSectionFooter{
    height: unset;
  }
  
  .textoOverlay {
    width: 50%;
    left: 8vw;
  }

  .row {
    flex-direction: column;
  }

  .row .buttonBlue {
    flex-direction: row;
  }

  .buttonBlue {
    margin: 3.5vh auto 3.5vh auto !important;
  }

  input, textarea{
    font-size: 16px;
    padding: 1vh 4vh 1vh 6vh;
    max-width: 55vw;
    height: unset;
  }
}