/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/***************************/

body {
    font-family: 'Roboto', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
  position: absolute;
  top: 4rem;
  left: 5vw;
  right: 0;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 10;
}

header img {
  /* width: 220px; */
  width: 14vw;
}


.hero {
  position: relative;
  height: 80vh;
  background: url("../images/back-hero.jpg") no-repeat center center;
  background-size: cover;
}

.hero .text-intro {
  position: absolute;
  bottom: 14vh;
  margin-left: 7vw;
  width: 100%;
  max-width: 500px;
  text-align: center;
  color: #FFF;
}

.hero .text-intro h1 {
  font-size: 2rem;
  line-height: 1.2em;
  margin-bottom: 1rem;
}

.hero .text-intro p {
  font-size: 1.2rem;
  line-height: 1.3em;
  font-weight: 300;
}

.hero .img-intro {
  position: absolute;
  right: 0;
  bottom: -2rem;
  width: 45vw;
  right: 10%;
}

.colores {
  background: url("../images/back-colores.jpg") no-repeat center center;
  background-size: cover;
}

.fotografia {
  background: url("../images/back-fotografia.jpg") no-repeat center center;
  background-size: cover;
}


.box-call {
  border: solid 2px #F0363B;
  max-width: 700px;
  width: auto;
  margin: 6rem auto;
  text-align: center;
  position: relative;
  padding-bottom: 2rem;
}

.box-call h2 {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 2px;
}

.box-call h2 strong {
  font-weight: 900;
}

.box-call .cta {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translatex(-50%);
  background: #F0363B url("../images/whatsapp.png") no-repeat 1rem center;
  color: #FFF;
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1em;
  font-weight: 600;
  padding: 1rem 2rem 1rem 5rem;
  display: inline-block;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.instituciones p {
  text-align: center;
  color: #797979;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4em;
  margin-bottom: 4rem;
}

.instituciones .grid-instituciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 6rem;;
}

.owl-carousel {
  margin-bottom: 4rem;
}

.owl-carousel .owl-dots {
  margin-top: 2rem !important;
}

.estilo {
  text-align: center;
}

.estilo .block-title {
  text-align: center;
  color: #797979;
  font-style: italic;
  margin-bottom: 4rem;
  font-size: 1.8rem;;
}

.estilo img {
  display: inline-block;
}

.estilo p {
  max-width: 900px;
  margin: 0 auto 4rem;
  font-size: 1.2rem;
  color: #28282A;
}

.colores {
  color: #FFF;
  padding: 4rem 0;
}

.colores .text-50 {
  width: 50%;
}

.colores h2 {
  font-size: 1.9rem;
  line-height: 1.2em;
  margin-bottom: 2rem;
}

.colores p {
  font-size: 1.1rem;
}

.color-bullets {
  margin-top: 2rem;
  height: 80px;
  border-radius: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;;
  align-items: center;
  background: rgb(35,35,35);
  background: linear-gradient(0deg, rgba(35,35,35,1) 0%, rgba(114,112,113,1) 100%);
}

.color-bullets .bullet {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: red;
  margin: 0 0.5rem;
  border-radius: 50%;
}

.color-bullets .bullet.azul-rey {
  background: #194DF9;
}
.color-bullets .bullet.azul-oscuro {
  background: #090B7A;   
}

.color-bullets .bullet.vinotinto {
  background:  #680A0B;
}

.color-bullets .bullet.blanco {
  background: #FFF;   
}
.color-bullets .bullet.negro {
  background: #000;   
}

.fotografia {
  padding: 4rem 0;
}

.fotografia .container {
  display: flex;
  justify-content: flex-end;
}

.fotografia .text-50 {
  width: 45%;
}

.fotografia h2 {
  line-height: 1.2em;
  margin-bottom: 2rem;
  font-weight: 600;
}

.fotografia p {
  font-size: 1.1rem;
}

.estolas .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.estolas .text-50 {
  width: 50%;
  padding: 2rem;
}

.estolas .text-50 h2 {
  font-size: 1.8rem;
  line-height: 1.2em;
  margin-bottom: 2rem;
}

.estolas .text-50 p {
  font-size: 1.1rem;
  line-height: 1.4em;
  margin-bottom: 1rem;
}

.estolas .image-50 {
  width: 50%;
}

footer {
  background: #28282A;
  text-align: center;
  padding: 4rem 1rem;
  color: #FFF;
}

footer p {
  font-size: 1.8rem;
  line-height: 1.4em;;
  max-width: 900px;
  margin: 0 auto 2rem;
}

footer p img {
  display: inline-block;
}

footer p .cta {
background: #F0363B url("../images/whatsapp.png") no-repeat 1rem center;
color: #FFF;
text-decoration: none;
font-size: 1.4rem;
line-height: 1em;
font-weight: 600;
padding: 1rem 2rem 1rem 5rem;
display: inline-block;
border-radius: 1rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.show-for-mobile {
  display: none !important;
}

.slider-container-mobile {
  display: none !important;
}

ul.slider-container,
ul.slider-container-mobile {
  padding: 0;
  margin-bottom: 2rem;
}

ul.slider-container li,
ul.slider-container-mobile li {
  list-style: none;
}

@media only screen and (max-width: 640px) {
    header {
        text-align: center;
        top: 3rem;
    }
    
    header img {
        display: inline-block;
        width: 150px;
    }

    .slider-container {
      display: none !important;
    }

    .slider-container-mobile {
      display: block !important;
    }
    
    .hero {
        height: auto;
    }
    
    .hero .text-intro {
        position: relative;
        bottom: 0;
        margin-top: 10rem;
        display: inline-block;
        margin-left: 0 !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero .text-intro h1 {
        font-size: 1.6rem;
    }
    
    .hero .text-intro p.text-desk {
        display: none;
    }
    
    .hero .img-intro {
        position: relative;
        bottom: 0;
        width: 90%;
        right: 0;
        margin: 0 auto 2rem;
        max-width: 400px;
    }
    
    .hero .img-intro img {
        display: inline-block;
    }
    
    .show-for-mobile {
        display: block;
        padding-bottom: 2rem;
    }
    
    .show-for-mobile .text-mobile {
        color: #FFF;
        text-align: center;
        font-size: 1.2rem;
        line-height: 1.2em;
        padding: 0 1rem;
    }
    
    .box-call {
      margin: 4rem 1rem 6rem;
      padding: 1rem 1rem 4rem;
    }

    .box-call h2 {
      font-size: 2rem;
      line-height: 1.2em;
    }

    .box-call .cta {
      font-size: 1.5rem;
      width: 100%;
      max-width: 300px;
    }

    .instituciones p {
      width: 90%;
      margin: 0 auto 4rem;
      font-size: 1.4rem;
      font-weight: 600;
    }

    .grid-instituciones .logo {
      width: 33%;
      text-align: center;
      margin-bottom: 1rem;
    }

    .grid-instituciones .logo img {
      display: inline-block;
    }

    .estilo .block-title {
      font-size: 1.6rem;
      line-height: 1.2em;
      margin-bottom: 2rem;
    }

    .estilo img {
      width: 100px;
    }

    .estilo p {
      width: 90%;
      font-size: 1.2rem;
      margin-bottom: 2rem;
    }

    .colores {
      position: relative;
      padding-bottom: 8rem;
      background: url("../images/back-colores.jpg") no-repeat center 16rem;
    }

    .colores:before {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 80%;
      content: "";
      background: rgb(21,21,21);
      background: linear-gradient(0deg, rgba(21,21,21,0) 0%, rgba(21,21,21,0.78) 21%, rgba(21,21,21,1) 39%, rgba(21,21,21,1) 100%);
    }

    .colores .container {
      position: relative;
    }

    .colores .text-50 {
      width: 90%;
      margin: 0 auto;
    }

    .colores .text-50 h2 {
      font-size: 1.6rem;
    }

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

    .color-bullets .bullet {
      width: 40px;
      height: 40px;
    }

    .fotografia {
      position: relative;
      background: #F9F9F9 url("../images/back-fotografia-mobile.jpg") no-repeat center bottom;
      background-size: 100%;
    }

    .fotografia:before {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 80%;
      content: "";
      background: rgb(255,255,255);
      background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.78) 255%, rgba(255,255,255,1) 39%, rgba(255,255,255,1) 100%);
    }

    .fotografia .text-50 {
      width: 90%;
      margin: 0 auto;
    }

    .fotografia .text-50 h2 {
      font-size: 1.6rem;
    }

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

    .estolas {
      background: url("../images/back-togas-mobile.jpg") no-repeat center bottom;
      background-size: cover;
    }

    .estolas .text-50 {
      width: 90%;
      margin: 0 auto;
      padding: 4rem 0 6rem;
    }

    .estolas .text-50 p {
      font-size: 1.2rem;
    }

    .estolas .image-50 {
/*      width: 100%;*/
      display: none;
    }

    .estolas .text-50 h2 {
      font-size: 1.5rem;
    }

    footer p {
      font-size: 1.6rem;
      padding: 0;
    }

    footer p .cta {
      font-size: 1.5rem;
    }


}