/* Variables */

:root {
  --primary-color: #5b2135;
  --bluelight: #4398bb;
  --blue: #17355e;
  --white: #fff;
  --grey: #ebe7e8;
}
/* Estilos Generales */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.espacio {
  padding: 20px 0px;
}

body {
  font-family: 'SourceSansPro-Regular';
}

h1,
p {
  font-family: 'SourceSansPro-Regular';
}

h2,
h3 {
  font-family: 'SourceSansPro-Light';
  letter-spacing: 0.5rem;
}

.web-wrapper {
  width: 90%;
}

section {
  display: flex;
  justify-content: center;
}

strong {
  font-family: 'SourceSansPro-SemiBold';
}

/* Header con logo y título */

header {
  background-color: var(--primary-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 83px;
  padding: 10px 20px;
}

#logo {
  width: 72px;
}

#main-heading {
  padding-top: 8px;
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
}

/* Imagen de fondo con formulario */

#cabecera {
  background: linear-gradient(
      270.02deg,
      rgba(23, 53, 94, 0.6) 30.24%,
      rgba(23, 53, 94, 0) 66.63%
    ),
    url(../images/cabecera.jpg) no-repeat 50% 20% / cover;
  width: 100%;
  height: auto;
}

#form-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 100vh;
  padding: 20px 0px;

  color: var(--white);
}

#form-container {
  width: 427px;
  margin-right: 15%;
}

#form-container > p {
  font-family: 'SourceSansPro-Light';
  font-size: 14.5px;
}
#form-container > h1 {
  font-size: 44px;
}
#form-container > h2 {
  letter-spacing: 4px;
  font-weight: 100;
  opacity: 0.8;
}
#form-container .zahara {
  margin-bottom: 40px;
}

#form-container h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
}

#form-container form {
  width: 405px;
}

#form-container .input-style input {
  width: 100%;
  padding: 8px 18px;
  margin-bottom: 8px;
  border-radius: 2px;
  border: none;
}

#form-container .name-lastname {
  display: flex;
}

#form-container .name {
  margin-right: 8px;
}

#form-container .submits .checkbox {
  display: flex;
  align-items: center;
}
#form-container .submits .checkbox a {
  color: var(--white);
}
#form-container .submits .checkbox span {
  font-size: 0.8rem;
  margin-left: 8px;
  color: var(--white);
}

#form-container .submits .checkbox a:hover {
  text-decoration: none;
}

#form-container .submits .submit input {
  margin-top: 30px;
  background-color: var(--blue);
  color: var(--white);
  border: none;
  padding: 10px 80px;
  font-family: 'SourceSansPro-Bold';
  transition: 0.4s ease-in-out;
}

#form-container .submits .submit input:hover {
  background-color: var(--white);
  color: var(--blue);
  border: none;
  font-family: 'SourceSansPro-Bold';
  transition: 0.8s;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
  appearance: none;
}

/* Seccion 1 */

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 60px 0;
}

.card-container:nth-of-type(2) {
  flex-direction: row-reverse;
}

.card-container:nth-of-type(3) {
  flex-direction: row-reverse;
}

.card-text {
  width: 50%;
}

.card-picture {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 45%;
}

.card-text {
  padding: 0 90px;
  width: 44%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-text > h1 {
  color: var(--blue);
  margin-bottom: 20px;
}
#viviExclusivas {
  width: 100%;
  flex-direction: column;
  margin-top: 120px;
  margin-bottom: 120px;
  padding: 0px 260px;
}

#viviExclusivas > div {
  display: flex;
  margin-top: 40px;
  align-items: center;
  justify-content: space-between;
}

#viviExclusivas > div .iconos .icon > span {
  width: 120px;
  font-size: 17px;

  display: inline-block;
}

#viviExclusivas > div video {
  width: 550px;
  height: 365px;
}
#viviExclusivas > div .iconos .icon {
  width: 45%;
  margin-bottom: 50px;
  display: flex;
  gap: 21px;
  justify-content: end;
  align-items: self-start;
}

#viviExclusivas>div .iconos .icon:last-child {
  align-self: stretch;
}



#viviExclusivas > div .iconos .icon img {
  width: 50px;
  object-fit: scale-down;
}

#viviExclusivas > h1 {
  margin-bottom: 0px;
  display: block;
  width: max-content;
}

#viviExclusivas > h2 {
  padding-top: 0px;
}
#viviExclusivas > div .iconos {
  display: flex;
  justify-content: end;

  flex-wrap: wrap;
  width: 40%;
}
/* 
#viviExclusivas > div .iconos .icon{
  flex-wrap: wrap;
} */
.card-text h2 {
  color: var(--bluelight);
  font-size: 20px;
  padding-top: 20px;
  line-height: 2;
  letter-spacing: 5px;
  text-transform: uppercase;
  opacity: 0.5;
}

#mapa .card-text h2 {
  text-align: center;
}

.card-picture img {
  width: 460px;
  object-fit: cover;
  padding-top: 30px;
  height: 420px;
}
.card-picture.atun img {
  width: 460px;
  height: 520px;
}

/* Seccion 2 Iconos */
.barra-iconos {
  background: url('../images/olas.jpg') no-repeat 50% 20% / cover;
  display: flex;
  position: relative;
  z-index: 0;
  flex-direction: column;
  color: white;
  padding: 60px 0px;
}

.barra-iconos > .comunes {
  width: 60%;
  margin: auto;
  text-align: center;
}

.barra-iconos > .comunes > .iconos {
  display: flex;
  margin-bottom: 35px;
  margin-top: 10px;
}

.barra-iconos > .comunes > .iconos .icon {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.barra-iconos > .comunes > .iconos .icon img {
  width: 80px;
}

.barra-iconos::before {
  background-color: rgba(23, 53, 94, 0.8);
  content: '';
  display: block;
  height: 100%;
  z-index: -1;

  position: absolute;
  width: 100%;
}

.icons {
  padding-top: 28px;
  text-align: center;
}

.icons h1 {
  font-family: 'SourceSansPro-SemiBold';
  color: var(--primary-color);
  letter-spacing: 0.8rem;
  font-size: 2rem;
}

.icons h2 {
  font-family: 'SourceSansPro-Italic';
  color: var(--primary-color);
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
}

.icons-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.icons-container {
  display: flex;
  padding: 40px;
}

.icons-container img {
  width: 48px;
  margin-right: 20px;
}

.icons-container h1 {
  font-size: 1.8rem;
  letter-spacing: 0;
  text-align: left;
}

.icons-container p {
  text-align: left;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.boton {
  background-color: var(--bluelight);
  border: 1px solid var(--bluelight);
  width: fit-content;
  font-family: 'SourceSansPro-SemiBold';
  color: var(--white);
  letter-spacing: 0.2rem;
  padding: 12px 45px;
  transition: 0.6s ease-in-out;
  cursor: pointer;
  /* width: 211px; */
}

.boton.top {
  margin: 35px 0px 0px 0px;
}

.boton:hover {
  color: var(--bluelight);
  background-color: var(--white);
  text-decoration: none;
  background-position: 0;
  transition: 0.8s;
}

.imagen {
  margin-top: 80px;
  background: url(../images/img-3.jpg) no-repeat 50% 50% / cover;
  width: 100%;
  height: 65vh;
}

/* 
* Seccion Big Picture
* ---------------------------------------------------------------------- 
*/

#big2 {
  background: url(../images/big.jpg) 50% 50% / cover;
  height: 100vh;
}

/* 
* Seccion Descargas
* ---------------------------------------------------------------------- 
*/

#descargas {
  background: linear-gradient(
      270.02deg,
      rgba(23, 53, 94, 0.8) 30.24%,
      rgba(23, 53, 94, 0.8) 66.63%
    ),
    url(../images/olas.jpg) 50% 50% / cover;

  height: 480px;
}

#descargas div {
  align-items: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 50%;
}

#descargas h1,
#descargas p {
  padding-bottom: 18px;
}

/* 
* Seccion 4 Slider
* ---------------------------------------------------------------------- 
*/

.web_width {
  width: 80%;
  margin: 0 auto;
}

section#galeria {
  align-items: center;
  background-color: var(--grey);
  padding: 40px 0px;
  flex-direction: column;
}

#galeria .title_st h1 {
  color: var(--blue);
}

#galeria .owl-carousel {
  margin: 0 auto;
}

#galeria .owl-carousel .item {
  /*  height: 35vw;*/
  min-height: 250px;
}

/* #galeria #big .owl-stage-outer .owl-item .item {
    height: 700px;
  } */

#galeria .owl-carousel .item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#galeria .owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  width: 115%;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
}

#galeria .owl-carousel .owl-nav div {
  outline: none;
  pointer-events: all;
  width: 30px;
}

#galeria .owl-carousel .owl-nav div img {
  width: 100%;
}

#galeria .owl-carousel .owl-nav div:nth-child(2) {
  transform: rotate(180deg);
}

#galeria #thumbs {
  padding: 30px 0;
}

#galeria #thumbs .item {
  /*  height: 10vw;*/
  min-height: 100px;
}

#galeria #thumbs .owl-nav div {
  width: 20px;
}

/* #galeria #big .owl-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: max-content;
  }

#galeria #big  .owl-dots .owl-dot {
  width: 15px;
  height: 15px;
  margin: 5px 10px;
  border-radius: 10px;
  background: #FFF;
  }

#galeria #big  .owl-dots .owl-dot.active {
  background: #808080;
  }

#galeria #big  .owl-dots .owl-dot :focus {
  outline: none;
  } */

/* 
* Seccion 5 
* ---------------------------------------------------------------------- 
*/

.boton-margin {
  margin-top: 36px;
}

/* 
* Seccion 6 - Zonas comunes + Imagenes
* ---------------------------------------------------------------------- 
*/

/* 
* Seccion 6 - Zonas comunes + Imagenes
* ---------------------------------------------------------------------- 
*/

#mapa {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#mapa .caracteristicas {
  padding: 46px;
  display: flex;
  padding: 46px 10px;
  width: 85%;
  justify-content: space-evenly;
}
#mapa .caracteristicas > div {
  width: 170px;
}

.card-picture.formimg img {
  height: 600px;
}

#mapa .caracteristicas > div > h4,
#mapa .caracteristicas > div > span {
  font-size: 16px;
}

#mapa .card-text > h1 {
  width: max-content;
}

#mapa > a {
  width: 100%;
  display: block;
}

.mapa {
  margin-top: 40px;
  background: url(../images/mapa.jpg) no-repeat 50% 50% / cover;
  width: 100%;
  height: 80vh;
}

.zonas {
  background-color: #ebe7e8;
  color: var(--primary-color);
  text-align: center;
  padding: 60px;
}

.zonas-container {
  width: 628px;
  padding-bottom: 20px;
}

.zonas-container h2 {
  font-size: 0.8rem;
}

/* 
* Seccion 7 - Formulario Inferior
* --------------------------------------------
*/

#form-container {
  width: 405px;
  margin-right: 15%;
}

#form-container h2 {
  font-size: 1.2rem;
}

.card-text .input-style input {
  width: 100%;
  padding: 8px 18px;
  margin-bottom: 8px;
  border-radius: 2px;
  border: none;
  background-color: #e3e3e3;
}

.card-text .name-lastname {
  display: flex;
}

.card-text .name {
  margin-right: 8px;
}

.card-text .submits .checkbox {
  display: flex;
  align-items: center;
}

.card-text .submits .checkbox a {
  font-size: 0.8rem;
  margin-left: 8px;
  color: #000;
}

.card-text .submits .checkbox a:hover {
  text-decoration: none;
}

.card-text .submits .submit input {
  margin-top: 30px;
  background-color: var(--bluelight);
  border: 1px solid var(--bluelight);

  color: var(--white);
  padding: 8px 74px;
  font-family: 'SourceSansPro-Bold';
  transition: 0.4s ease-in-out;
  background-image: -webkit-linear-gradient(90deg, #fff 50%, transparent 50%);
  background-image: linear-gradient(90deg, #fff 50%, transparent 50%);
  background-position: 100%;
  background-size: 400%;
  -webkit-transition: background 300ms ease-in-out;
  transition: background 300ms ease-in-out;
}
.card-text .submits .submit input:hover {
  background-color: var(--white);
  color: var(--bluelight);
  border: 1px solid var(--bluelight);
  font-family: 'SourceSansPro-Bold';
  background-position: 0;
  transition: 0.8s;
}

/* 
* Footer
* --------------------------------------------
*/

footer h2 {
  font-size: 1.2rem;
  text-align: center;
  padding-bottom: 80px;
}

footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding-bottom: 10px;
}

.container .row p {
  border-top: 1px solid var(--white);
  padding-top: 6px;
}

footer a {
  color: var(--white);
}

footer a:hover {
  color: var(--white);
}

/* 
* Formulario Mobile
* --------------------------------------------
*/

.mobile-form {
  display: none;
  padding: 20px;
}

.mobile-form .input-style input {
  width: 100%;
  padding: 8px 18px;
  margin-bottom: 8px;
  border-radius: 2px;
  border: none;
  background-color: #e3e3e3;
}

.mobile-form .name-lastname {
  display: flex;
}

.mobile-form .name {
  margin-right: 8px;
}

.mobile-form .submits .checkbox {
  display: flex;
  align-items: center;
}

.mobile-form .submits .checkbox a {
  font-size: 0.8rem;
  margin-left: 8px;
  color: #000;
}

.mobile-form .submits .checkbox a:hover {
  text-decoration: none;
}

.mobile-form .submits .submit input {
  margin-top: 30px;
  background-color: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
  padding: 6px 64px;
  font-family: 'SourceSansPro-Bold';
  transition: 0.4s ease-in-out;
  width: 100%;
}
.mobile-form .submits .submit input:hover {
  background-color: var(--white);
  color: var(--blue);
  border: 1px solid var(--blue);
  font-family: 'SourceSansPro-Bold';
}
@media only screen and (max-width: 1534px) {
  .web-wrapper {
    width: 100%;
  }

  #viviExclusivas {
    padding: 0px 170px;
  }
}

@media only screen and (max-width: 1284px) {
  .web-wrapper {
    width: 80%;
  }

  .card-text,
  .card-picture {
    width: 100%;
  }
  #mapa .card-text > h1 {
    width: auto;
    text-align: center;
  }

  #viviExclusivas > div {
    flex-direction: column;
  }
  #viviExclusivas > div .iconos {
    margin-top: 80px;
    width: 85%;
    justify-content: center;
  }

  .card-picture img,
  .card-picture.atun img,
  .card-picture.formimg img {
    width: 600px;
  }

  #viviExclusivas > div video {
    width: 600px;
    height: 600px;
  }

  #viviExclusivas > h1 {
    width: auto;
    text-align: center;
  }
  #viviExclusivas {
    padding: 0px 10px;
    text-align: center;
  }
  #viviExclusivas > div .iconos .icon {
    justify-content: center;
  }
}
@media only screen and (max-width: 992px) {
  .barra-iconos > .comunes {
    width: 80%;
  }
  #cabecera {
    background: url(../images/cabecera.jpg) no-repeat 50% 20% / cover;
    height: 55vh;
  }
  #form-container {
    display: none;
  }
  .mobile-form {
    display: block;
  }
  .web-wrapper {
    width: 100%;
  }
  header {
    display: block;
  }
  #main-heading {
    font-size: 0.6rem;
  }
  .card-container {
    margin: 20px 0;
  }
  .icons {
    padding-top: 0;
  }
  .card-text {
    padding: 0 24px;
  }
  .card-picture img {
    width: 90%;
  }
  .icons-container {
    padding: 30px 20px;
  }
  .icons-container img {
    width: 24px;
    margin-right: 8px;
  }

  .icons-container h1 {
    font-size: 1.2rem;
  }

  .icons-container p {
    font-size: 0.8rem;
  }
  .imagen {
    margin-top: 40px;
  }
  #descargas div {
    width: 100%;
  }
  .zonas {
    padding: 20px 10px;
  }
  .zonas-container h2 {
    font-size: 0.6rem;
  }
  .zonas-container h1 {
    font-size: 1.6rem;
  }
  .mapa {
    height: 40vh;
  }
  footer h2 {
    font-size: 0.8rem;
    line-height: 2;
  }
  .row {
    font-size: 0.6rem;
    margin: 0;
    text-align: center;
  }
  .card-text .submits .submit input {
    width: 100%;
  }

  #galeria .title_st h1 {
    font-size: 24px;
  }

  #galeria .owl-carousel .owl-nav {
    width: 90%;
  }

  #galeria .owl-carousel .owl-nav div {
    width: 20px;
  }
}

@media only screen and (max-width: 768px) {
  .card-text h1 {
    font-size: 1.6rem;
  }
  .barra-iconos > .comunes,
  .card-picture.atun img,
  .card-picture.formimg img {
    width: 90%;
  }

  .icons-container {
    padding: 10px;
  }
  .icons-container h1,
  .icons h1 {
    font-size: 1rem;
    letter-spacing: 0rem;
  }
  .descargas {
    padding: 16px;
  }
  .icons h2 {
    font-size: 0.8rem;
  }
  #viviExclusivas > div .iconos {
    width: 100%;
  }
  #mapa .caracteristicas {
    flex-wrap: wrap;
    width: 100%;
  }

  #viviExclusivas > div video {
    width: 90%;
    height: auto;
  }

  #mapa .caracteristicas > div {
    margin-bottom: 15px;
    width: 33%;
    text-align: center;
  }
  #galeria #thumbs {
    display: none;
  }
  .web_width {
    width: 90%;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 480px) {
  footer h2 {
    padding-bottom: 20px;
  }
  h2,
  #viviExclusivas > h2,
  .card-text h2 {
    font-size: 18px;
  }

  #mapa .caracteristicas > div {
    width: 50%;
  }

  h1 {
    font-size: 28px;
  }
  .barra-iconos > .comunes > .iconos .icon img {
    width: 60px;
  }
  .barra-iconos > .comunes > .iconos .icon {
    margin-bottom: 20px;
    width: 50%;
    flex: none;
  }
  .barra-iconos > .comunes > .iconos {
    flex-wrap: wrap;
    justify-content: center;
  }

  #viviExclusivas > div .iconos .icon {
    gap: 5px;
  }
  .card-picture.atun img,
  .card-picture img,
  #viviExclusivas > div video,
  .card-picture.formimg img {
    width: 100%;
  }
  #viviExclusivas {
    padding: 0px 0px;
  }
  #viviExclusivas > div .iconos .icon > span {
    font-size: 15px;
  }

  #viviExclusivas > div .iconos {
    justify-content: space-between;
    margin-top: 40px;
    width: 95%;
  }

  #viviExclusivas > div .iconos .icon img {
    width: 45px;
  }
}
@font-face {
  font-family: 'SourceSansPro-Bold';
  src: url('../fonts/SourceSansPro-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'SourceSansPro-Italic';
  src: url('../fonts/SourceSansPro-Italic.ttf') format('truetype');
}
@font-face {
  font-family: 'SourceSansPro-Light';
  src: url('../fonts/SourceSansPro-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'SourceSansPro-Regular';
  src: url('../fonts/SourceSansPro-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'SourceSansPro-SemiBold';
  src: url('../fonts/SourceSansPro-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'SourceSansVariable-Roman';
  src: url('../fonts/SourceSansVariable-Roman.otf') format('opentype');
}
