/*
  Theme Name: Muñoz Conde
  Theme URI:
  Author: iNova Cloud - Grupo Inova
  Author URI: https://www.inovacloud.es/
  Description: Este tema ha sido desarrollado desde cero para la página web del ginecólogo don José María Muñoz Conde.
  Version: 1.0
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
  Tags: Ginecologo, flexbox, css grid, mobile first,
  Text Domain: gymfitness
*/

:root {
  /** FONTS **/

  --mainFont: 'Poppins', sans-serif, system-ui;
  --textFont: 'Poppins', sans-serif, system-ui;
  --secondaryFont: 'Poppins', sans-serif, system-ui;


  /** COLORS **/

  --primaryColor: #3993DD;
  --secondaryColor: #85BDEA;
  --darkBlue: #124269;
  --textColor: #092134;
  --pink: #D259C3;
  --white: #EEF6FC;
  --black: #030B11;
}


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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  /* Now 10px = 1rem, 20px = 2rem... */
}


body {
  /** Define 16 pixels by default if the browser does not support rems  **/
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 2;
  font-family: var(--mainFont);
  color: var(--textColor);
  background-color: var(--white);
}


/** HEADINGS **/
h1,
h2,
h3,
h4 {
  font-family: var(--mainFont);
  margin: 1rem 0;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.3rem;
}

h3 {
  font-size: 2.2rem;
}

h4 {
  font-size: 2rem;
}

@media screen and (min-witdh: 768px) {
  h1 {
    font-size: 6rem;
  }

  h2 {
    font-size: 4.8rem;
  }

  h3 {
    font-size: 3.6rem;
  }

  h4 {
    font-size: 2.4rem;
  }
}

/** GLOBALS **/
a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

hr {
  border: 1px solid var(--secondaryColor);
  width: 90%;
  margin-block-start: 2rem;
}

/** UTILITIES **/


.text-center {
  text-align: center;
}

.primary-title {
  color: var(--primaryColor);
  margin-block-start: 0;
  margin-block-end: 4rem;
}


.secondary-title {
  color: var(--darkBlue);
  margin-block-end: 4rem;
}

.terciary-title {
  color: var(--darkBlue);
  margin-block-start: 4rem;
  margin-block-end: 2rem;
}

.black-title {
  color: var(--black);
}


.black-text {
  color: var(--textColor);
}

.white-text {
  color: var(--white);
}

.section {
  padding-block-start: 5rem;
  padding-block-end: 0;
}

.featured-image {
  margin-block-end: 4rem;
  border-radius: .8rem;
  display: flex;
}

.button {
  background: var(--white);
  color: var(--primaryColor);
  border: 2px solid var(--primaryColor);
  border-radius: .5rem;
  padding: 1.6rem 1.6rem;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--secondaryFont);
  text-align: center;
  transition: .6s;
  cursor: pointer;
  display: block;
  flex: 1;
}

.button:hover {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}

@media (min-width: 768px) {
  .button {
    display: inline-block;
    flex: 0 0 auto;
  }
}

.primaryButton {
  background: var(--primaryColor);
  color: var(--white);
  border: none;
}

.primaryButton:hover {
  border: none;
  color: var(--primaryColor);
}


/** MAIN CONTENT **/

/* .main-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
} */

/** WRAPPER **/
.wrapper,
.wrapper-header {
  max-width: 1200px;
  width: 100%;
  padding-inline-start: 1.6rem;
  padding-inline-end: 1.6rem;
  margin: 0 auto;
}


/** HEADER **/

.site-header {
  background: var(--darkBlue);
  padding-block-start: 2rem;
  padding-block-end: 2rem;
}

/** MAIN MENU **/
/* .navbar {} */

/* LOGO */
.logo {
  display: flex;
  justify-content: center;
}

.logo img {
  width: 250px;
}


/* MOBILE VERSION */
.main-menu {
  display: none;
}

.main-menu a {
  font-family: var(--mainFont);
  color: var(--white);
  font-size: 2.2rem;
  padding: .5rem 2rem;
  display: block;
}

/** HOME HERO SECTION **/
body.home .site-header {
  padding-top: 2rem;
  height: auto;
  min-height: 70rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.tagline {
  display: flex;
  align-items: center;
  color: var(--white);
  flex-direction: column;
  justify-content: center;
  margin-top: 3rem;
}

.down-arrow {
  display: none;
}


/* Reewrite styles for Mobile Menu - Using SLICKNAV */

body.home .slicknav_menu {
  background-color: transparent;
}

.slicknav_menu {
  background-color: var(--darkBlue);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-block-start: 3rem;
}

.slicknav_menu .slicknav_icon-bar {
  background-color: var(--white);
}

.slicknav_menu .slicknav_btn {
  background-color: var(--primaryColor);
  padding: 1.6rem;
}

.slicknav_nav a {
  font-size: 2.4rem;
  text-align: center;
  font-family: var(--mainFont);
  transition: .3s;
}

.slicknav_nav a:hover {
  background: transparent;
  color: var(--primaryColor);
}

/** FOOTER **/

.site-footer {
  background-color: var(--textColor);
  margin-block-start: 10rem;
}

.site-footer a {
  color: var(--white);
  text-align: center;
  padding: 0 1rem;
}

.footer-container {
  padding: 4rem 0;
}

.footer-container .main-menu {
  display: block;
}

.copyright {
  text-align: center;
  font-family: var(--mainFont);
  font-size: 1.3rem;
  margin-block-start: 1.3rem;
  margin-block-end: 1.3rem;
  color: var(--white);
  width: 70%;
  margin: auto;
}

.copyright .signature {
  color: var(--primaryColor);
}

.copyright .inova {
  padding: 0;
  color: var(--primaryColor);
}

.copyright .inova:hover {
  color: var(--secondaryColor);
}

/** PAGES **/
/* .custom-page {} */


/*** SERVICES CLASS PAGE ***/

.services-list,
.blog-list {
  margin-block-start: 4rem;
}

.card {
  margin-block-end: 4rem;
  text-align: center;
  overflow: hidden;
  border-radius: .8rem;
}



.card img {
  display: block;
  margin: 0 auto;
  transition: transform .6s ease-out;
}

.card:hover img {
  transform: scale(1.1);
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  line-height: 1;
  color: var(--black);
  transition: .3s;
}

.card-content p {
  font-size: 1.6rem;
  color: var(--secondaryColor);
  font-weight: 700;
  margin: 0;
}

/** GYM CLASS SINGLES PAGES **/

.class-information {
  font-weight: 700;
  font-family: var(--secondaryFont);
  font-size: 2.2rem;
  text-align: center;
  display: none;
}

/** STYLES FOR SIDEBAR WIDGET **/

.widget ul li {
  padding: 2rem 0;
  text-align: center;
}


.widget ul li:first-of-type {
  padding-top: 0;
}

.widget a {
  color: var(--black);
  transition: .3s;
}

.widget a:hover {
  color: var(--primaryColor);
}

.sidebar .widget {
  padding-block-start: 2rem;
  padding-block-end: 2rem;
}

.widget:not(:last-child) {
  border-bottom: 1px solid var(--secondaryColor);
}

.sidebar-class {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-left: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--secondaryColor);
}

.sidebar-class:last-of-type {
  border-bottom: none;
}

.image-class img {
  border-radius: .8rem;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, .2);
  flex: 0 0 30%;
  display: block;
}

.class-content {
  flex: 0 0 calc(70% - 2rem);
}

.class-content h3 {
  color: var(--primaryColor);
  transition: .3s;
  font-size: 2.2rem;
  margin: 0;
}

.class-content h3:hover {
  color: var(--black);
}

.class-content p {
  margin: 0;
  font-weight: 700;
  font-size: 1.4rem;
}



/** GRID GALLERY STYLES **/

.images-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(6, auto);
  gap: 2rem;
}

.images-gallery img {
  display: block;
}

.images-gallery li:nth-child(4) {
  grid-row: 2 / 4;
  grid-column: 2 / 3;
}

.images-gallery li:nth-child(6) {
  grid-row: 5 / 7;
}


/** Dcho. Sanitario **/

.dcho-sanitario {
  width: 100%;
  padding-block-start: 5rem;
  padding-block-end: 5rem;
  background: #EEF6FC;
}

.sanitario-container{
  display: flex;
  justify-content: center;
}

/** BLOG **/

.blog {
  background: linear-gradient(180deg, #85BDEA 0%, hsla(206, 70%, 96%, 1) 100%);
}

.blog-list .meta {
  font-size: 1.4rem;
}

.blog-list .meta,
.blog-list .meta a {
  color: var(--black);
}

.blog-list .meta span {
  color: var(--primaryColor);
}

.post-categories {
  display: flex;
  gap: 2rem;
  padding-block-start: 5.25rem;
  padding-block-end: 2.25rem;
  justify-content: center;
}

.post-categories li a {
  font-family: var(--mainFont);
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 700;
  background: var(--black);
  padding: 1.6rem 2rem;
  border-radius: .5rem;
  text-align: start;
}

/** CONTACT FORM **/


.wpcf7-form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 0 auto;
  border-radius: .8rem;
  padding: 2rem 2rem;
}

.wpcf7-form label {
  font-weight: 700;
  font-family: var(--textFont);
}

.wpcf7-form .wpcf7-form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--secondaryColor);
}

.wpcf7-form .wpcf7-textarea {
  height: 20rem;
  max-width: 100%;
  max-height: 10.25rem;
  min-height: 5.125rem;
  resize: none;
}

.wpcf7-form .wpcf7-submit {
  background: var(--primaryColor);
  font-size: 2rem;
  padding: 1.2rem;
  font-family: var(--mainFont);
  cursor: pointer;
  color: var(--white);
  text-transform: uppercase;
  transition: .3s;
  height: auto;
  letter-spacing: 3px;
}

.wpcf7-form .wpcf7-submit:hover {
  background: var(--black);
}

.wpcf7-form .wpcf7-response-output {
  font-family: var(--textFont);
  background: #ffb900;
  color: var(--black);
  text-align: center;
}

.wpcf7-form .wpcf7-not-valid-tip {
  background: #dc3232;
  color: var(--white);
  padding: 1rem;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: #46b450;
  color: var(--white);
}




/** HOMEPAGE **/
.welcome .welcome-text {
  font-size: 1.6rem;
  text-align: start;
  width: 100%;
}

.blog-text {
  font-size: 1.6rem;
  text-align: center;
  width: 100%;
}

.area-section {
  margin-block-start: 10rem;
}

/** HOMEPAGE - AREAS SECTION **/

.area-container {
  display: flex;
  flex-wrap: wrap;
}

.area-container .area {
  flex: 0 0 100%;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.area img {
  height: 300px;
  object-fit: cover;
}

.area p {
  position: absolute;
  margin: 0 auto;
  color: var(--white);
  font-size: 2rem;
  font-weight: 900;
  z-index: 100;
  text-align: center;
}

.area::after {
  content: '';
  background: linear-gradient(rgba(57, 147, 221, .75),
      rgba(133, 189, 234, .75));
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: .6s;
}

/** HOME CLASSES SECTION **/

.classes {
  background: var(--secondaryColor);
  padding: 5rem 0;
}

.button-container {
  display: flex;
  justify-content: center;
}


/** HOME - INSTRUCTORS SECTION **/

.instructors {
  margin-block-end: 10rem;
}

.instructors-list {
  margin-block-start: 10rem;
  margin-block-end: 0rem;
}


.instructors-list .instructor {
  border-block-end: 1px solid var(--secondaryColor);
}


.instructor img {
  margin-block-start: 10rem;
}

.instructor-content {
  padding: 2rem;
}


.instructor-content .specialty .label {
  color: var(--primaryColor);
  text-transform: uppercase;
  display: flex;
  justify-content: center;
}

/** HOME - TESTIMONIALS SECTION **/

.testimonials {
  background: linear-gradient(rgba(0, 0, 0, .75),
      rgba(0, 0, 0, .75)),
    url(./img/testimonial-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 10rem 0;
}

.testimonials-container {
  max-width: 80rem;
  margin: 0 auto;

}

/* Rewrite bxSlider */

.bx-wrapper {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--white);
}

.bx-wrapper .bx-pager.bx-default-pager a,
.bx-wrapper .bx-pager.bx-default-pager a:hover {
  background: var(--white);
}

.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: var(--primaryColor);
}

.testimonial blockquote {
  position: relative;
  padding-inline-start: 12rem;
  font-size: 1.8rem;
}

.testimonial blockquote::before {
  position: absolute;
  content: '';
  display: block;
  top: 0;
  left: 0;
  width: 10rem;
  height: 10rem;
  background-image: url(./img/quote.svg);
  background-repeat: no-repeat;
}

.testimonial-footer {
  display: flex;
  justify-content: center;
  align-items: center;

}

.testimonial-footer img {
  margin-inline-end: 2rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-footer p {
  font-weight: 700;
  color: var(--primaryColor);
}


/*========== SCROLL UP ==========*/

.scrollup {
  width: 32px;
  height: 32px;
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: #4FB0FF;
  opacity: .8;
  border-radius: 0.4rem;
  z-index: 999;
  transition: .4s;
  display: none;
}

.scrollup:hover {
  background-color: var(--primaryColor);
}

.scrollup__icon {
  font-size: 1.5rem;
  color: #FFF;
}

/* Show scroll */

.show-scroll {
  bottom: 5rem;
}



/*** BLOG PAGE ***/

.ajaxButton__Container {
  display: flex;
  justify-content: center;
  margin-block-end: 2rem;
}


/*** MEDIA QUERIES ***/

@media screen and (min-width: 480px) {
  .area-container .area {
    flex: 0 0 50%;
  }
}

@media screen and (min-width: 768px) {

  .featured-image {
    box-shadow: 0px 10px 15px rgba(0, 0, 0, .2)
  }

  .instructor-content .specialty .label {
    display: inline-block;
  }

  .instructor-content .label:not(:last-child) {
    margin-inline-end: 1.6rem;
  }

  .testimonial-footer {
    justify-content: flex-end;
  }

  .scrollup {
    display: block;
  }

}

/** ABOUT PAGE **/

.bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4rem;
}

.auxiliar {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  margin: 0 auto;
  margin-block-start: 4rem;
  margin-block-end: 4rem;
}

.aux-info {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.aux-info h3, .aux-info p {
  margin: 0;
}

.bio img, .auxiliar img {
  display: block;
  width: 100%;
  max-width: 200px;
  border-radius: .5rem;
  box-shadow: 2px 2px 10px #000;
}

.bio-text {
  text-align: justify;
}


/* FOOTER con Cookies */

.copy-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.copy-block .logoInova {
  margin-block-start: .5rem;
  transition: .3s;
}

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

.cookies-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  text-align: center;
  align-items: center;
  margin-block-start: 2rem;
  padding: 0 2rem;

}

.cookies-container .cookies-link {
  color: white;
  transition: .4s;
  padding: 0;
}

@media screen and (min-width: 1024px) {

  /* ABOUT US PAGE */

  .bio {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .bio img {
    display: block;
    width: 100%;
    max-width: 200px;
  }

	.auxiliar {
    flex-direction: row;
  }


  .wrapper {
    padding-inline-start: 3.2rem;
    padding-inline-end: 3.2rem;
  }
  
  .wrapper-header {
    padding-inline-start: 2rem;
    padding-inline-end: 2rem;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /** FIXED TOP **/


  .fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5rem;
    transition: all .6s ease;
    animation: fixed-top ease-in-out;
    backdrop-filter: blur(10px);
    background-color: rgba(3, 11, 17, .75);
    z-index: 1000;
    height: 10rem;
  }

  .fixed-top img {
    width: 16rem;
  }

  .main-menu {
    display: flex;
    align-items: center;
  }

  .main-menu .menu {
    display: flex;
    justify-content: space-around;
  }

  .main-menu a {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
  }

  .main-menu .current_page_item {
    border-bottom: 3px solid var(--primaryColor);
  }

  /* ANIMATION CSS */
  .main-menu a::before,
  .main-menu a::after {
    position: absolute;
    left: 0;
    content: '';
    display: block;
    width: 100%;
    height: 50%;
    background-color: var(--primaryColor);
    z-index: -1;
    transform: scaleX(0);
    transition: transform .6s;
  }

  .main-menu a::before {
    top: 0;
    transform-origin: left;
  }

  .main-menu a::after {
    top: 50%;
    transform-origin: right;
  }

  .main-menu a:hover::before {
    transform: scaleX(1);
  }

  .main-menu a:hover::after {
    transform: scaleX(1);
  }

  .main-menu li:not(:last-child) {
    margin-inline-end: 2rem;
  }

  .slicknav_menu {
    display: none;
  }

  /** FOOTER **/
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    background: var(--textColor);
  }

  .site-footer .main-menu a::before,
  .site-footer .main-menu a::after {
    display: none;
  }

  .site-footer a {
    transition: .3s;
    top: 3px;
  }

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

  /** FOOTER COPYRIGHT **/
  .copyright {
    font-size: 1.4rem;
  }

  /** PAGES WITH SIDEBAR **/
  .custom-page.with-sidebar {
    display: flex;
    justify-content: space-between;
  }

  .with-sidebar .main-content {
    flex: 0 0 calc(70% - 2rem);
  }

  .with-sidebar .sidebar {
    flex: 0 0 calc(30% - 2rem);
  }

  .sidebar-container {
    position: sticky;
    top: 8rem;
  }

  /** PAGES WITHOUT SIDEBAR **/
  .no-sidebar {
    display: flex;
    justify-content: center;
  }

  .no-sidebar .main-content {
    width: 800rem;
  }

  /** SERVICES & BLOG PAGES **/
  .services-list,
  .blog-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-block-start: 6rem;
  }

  .card {
    flex: 0 0 calc(50% - 2rem);
    position: relative;
  }

  .gradient::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 39%, rgba(0, 0, 0, .4) 69%, rgba(0, 0, 0, .65) 100%);
    border-radius: .8rem;
  }

  .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: start;
    z-index: 1;
  }

  .card-content h3 {
    color: var(--white);
    z-index: 3;
  }

  .card-content h3:hover {
    color: #fff;
  }

  .card-content p {
    color: var(--primaryColor);
    z-index: 3;
  }

  /** GRID GALLERY STYLES **/

  .images-gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, auto);
  }

  .images-gallery li:nth-child(4) {
    grid-row: 1 / 3;
    grid-column: 4 / 5;
  }

  .images-gallery li:nth-child(6) {
    grid-row: 2 / 4;
    grid-column: 2 / 3;
  }

  /** BLOG **/

  .blog-list .meta,
  .blog-list .meta a {
    color: var(--white);
  }

  .post-categories {
    position: absolute;
    top: 4rem;
    left: 4rem;
    gap: 2rem;
    z-index: 10;
    padding: 0;
  }

  .post-categories li a {
    font-size: 2.2rem;
    background: var(--primaryColor);
  }


  /** HERO HOME SECTION **/

  body.home .site-header {
    height: 100vh;
  }

  .header-grid {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }

  .header-grid .navbar {
    grid-column: 1 / 5;
  }

  .header-grid .tagline {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
    margin-top: 0;
  }

  .header-grid .arrow-container {
    grid-column: 3;
    grid-row: 5;
    position: relative;
  }

  .header-grid .tagline h1 {
    font-size: 8rem;
  }

  .header-grid .tagline p {
    font-size: 3.2rem;
  }

  .down-arrow {
    display: flex;
    width: 50px;
    height: 50px;
    position: absolute;
    left: -34px;
    cursor: pointer;
    animation: up-down 1s ease infinite;
  }

  /* Footer Cookies */

  .copyright {
    font-size: 1.3rem;
  }

  .copyright .inova:hover {
    color: var(--secondaryBlue);
  }

  .logoInova:hover {
    transform: scale(.9);
  }

  .logoInova img {
    display: block;
    width: 150px;
  }

  .cookies-container {
    flex-direction: row;
    text-align: start;
    gap: 1rem;
  }

  .cookies-container .cookies-link {
    font-size: 1rem;
  }

  .cookies-container .cookies-link:hover {
    color: var(--secondaryColor);
  }

  /* CHEVRON DOWN ANIMATION */

  @keyframes up-down {
    0% {
      transform: translateY(1.25rem);
    }

    25% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(1.25rem);
    }
  }


  /** WELCOME SECTION **/

  .welcome .welcome-text,
  .blog-text {
    font-size: 2rem;
  }

  

  /** HOMEPAGE - AREAS SECTION **/

  .area-section .area-container {
    display: flex;
    flex-wrap: nowrap;
  }

  .area-container .area {
    flex: 0 0 25%;
    height: 300px;
  }

  .area-container .area p {
    opacity: 0;
    transition: .5s ease-in-out;
  }

  .area-container .area:hover p {
    opacity: 1;
  }

  .area-container .area img {
    transition: .6s;
    transition-delay: .1s;
    width: 100%;
  }

  .area-container .area:hover img {
    transform: scale(1.2);
  }

  .area::after {
    background: transparent;
  }

  .area:hover::after {
    content: '';
    background: linear-gradient(rgba(57, 147, 221, .75),
        rgba(133, 189, 234, .75));
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    transition: .6s;
  }

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

  .sanitario-container{
    display: flex;
    justify-content: flex-start;
  }


  /** HOME - INSTRUCTORS SECTION **/

  .instructors-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
  }

  .instructors-list .instructor {
    flex: 0 0 calc(50% - 2rem);
    ;
    border-block-end: none;
    position: relative;
  }

  .instructor-content h3 {
    margin-block-end: 0;
  }

  .instructor .instructor-content {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 11, 17, .65);
    border-radius: .8rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity .8s;
    transition-delay: .2s;
  }

  .instructor:hover .instructor-content {
    opacity: 1;
  }

  .instructor img {
    display: block;
    object-fit: cover;
    margin: 0;
    height: 400px;
  }

  .instructor-content .specialty .label {
    color: var(--white);
    background: var(--primaryColor);
    padding: .5rem 2rem;
    border-radius: .5rem;
    font-weight: 700;
  }

  .testimonial blockquote {
    font-size: 2.8rem;
  }

}


/* CONTACT FORM */

/* CONTACT FORM SEVEN */

.wpcf7-form {
  align-items: center;
  justify-content: center;
  border-radius: .8rem;
  background-color: #fff;
  border-radius: 2.5rem;
  padding: 1rem 1rem;
  width: 100%;
  margin: 0 auto;
  margin-block-end: 6rem;
}

@media screen and (min-width: 768px) {
  .wpcf7-form {
    width: 60%;
  }
}

.wpcf7-form .form-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-direction: column;
}

.wpcf7-form .check-container {
  flex-direction: row;
}

.wpcf7-form label {
  font-weight: 600;
  font-family: var(--textFont);
}

.required::after {
  content: '*';
  color: #FF0A00;
  margin-inline-start: 3px;
}

.wpcf7-form .wpcf7-form-control {
  width: 100%;
  padding: .5rem 1rem;
  border: 1px solid transparent;
  background-color: #F2F4F6;
  border-radius: .5rem;
  outline: none;
  border: 2px solid #EAEAEA;
  transition: 500ms;
  color: #7A8990;
}

.wpcf7-form .wpcf7-form-control:focus {
  border: 2px solid #0b3169;
  background-color: #d1e2f4;
  color: var(--darkBlue);
}

.form-container span {
  color: var(--black);
}

.form-container,
.legal-text {
  color: var(--black);
  font-size: .875rem;
  text-align: left;
}

.legal-text {
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .wpcf7-form .form-container {
    flex-direction: row;
  }

  .form-container,
  .legal-text {
    font-size: 1rem;
    text-align: justify;
  }

  .legal-text {
    font-size: 12px;
  }
}

.form-container .wpcf7-acceptance {
  border: none;
  background-color: transparent;
}

.form-container .wpcf7-list-item {
  margin: 0;
  background-color: #F2F4F6;
  border-radius: 0.5rem;
  outline: none;
  border: 2px solid #EAEAEA;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 1rem;
}

.wpcf7-form .wpcf7-textarea {
  height: 20rem;
  max-width: 100%;
  max-height: 10.25rem;
  min-height: 5.125rem;
  resize: none;
}


/* Button */

.wpcf7-form .wpcf7-submit {
  background: var(--secondaryColor);
  font-size: 2rem;
  font-family: var(--mainFont);
  cursor: pointer;
  color: var(--darkBlue);
  font-weight: bold;
  text-transform: uppercase;
  transition: .3s;
  height: auto;
  letter-spacing: 3px;
  padding: 1rem;
  border: 1px solid transparent;
  box-shadow: 0px 0px 10px var(--darkBlue);
}


/* Button: Hover */

.wpcf7-form .wpcf7-submit:hover {
  background: var(--darkBlue);
  color: var(--white);
}

.wpcf7-form .wpcf7-response-output {
  font-family: var(--textFont);
  background: #ffb900;
  color: var(--black);
  text-align: center;
}

.wpcf7-form .wpcf7-not-valid-tip {
  background: #dc3232;
  color: var(--white);
  padding: 1rem;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: #46b450;
  color: var(--white);
}

.form-link {
  color: var(--secondaryBlue);
}

/*** CONTACT PAGE ***/

.contact-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-container {
  display: flex;
  flex-direction: column;
  margin-block-end: 2rem;
  gap: 2rem;
}

.contact-container .text-contact_1 {
  margin: 0;
}

.contact-container .call-me {
  color: var(--secondaryBlue);
  transition: .5s;
}

.contact-container .phone-number {
  text-align: center;
  margin: 0;
  padding: 0;
}


.form-contact-container .wpcf7-form {
  margin-block-end: 0;
}

@media screen and (min-width: 1024px) {
  .contact-section {
    flex-wrap: nowrap;
    align-items: center;
  }

  .contact-container h1 {
    margin: 0;
  }

  .contact-container .text-contact_1 {
    margin: 0;
    padding: 0;
  }

  .contact-container p {
    width: 100%;
    padding: 1rem;
  }

  .contact-container .call-me:hover {
    color: var(--darkBlue);
    text-decoration: underline;
  }


  .form-contact-container .wpcf7-form {
    width: 40%;
  }

}

/*========== SCROLL BAR ==========*/

::-webkit-scrollbar {
  width: 0.605rem;
  background-color: var(--darkBlue);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--secondaryBlue);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--terciaryBlue);
}