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

/* Custom properties */ 

:root {
    --ff-primary: 'Mulish', sans-serif;
    --ff-secondary: 'Mulish', sans-serif;

    --fw-reg: 300;
    --fw-bold: 900;

    --clr-light: #fff;
    --clr-dark: #303030;
    --clr-accent-blue: #2966ff;
    --clr-accent-green: #14B46D;
    --clr-accent-yellow: #f49a15;

    --fs-h1: 3rem;
    --fs-h2: 2.25rem;
    --fs-h3: 1.25rem;
    --fs-body: 1rem;
    --fs-body-small: 1rem;
    

    --bs: 0.25em 0.25em 0.75em rgba(0,0,0,.25),
    0.125em 0.125em 0.25em rgba(0,0,0,.15);

}

@media (min-width: 800px) {
    :root {
        --fs-h1: 4.5rem;
        --fs-h2: 3.75rem;
        --fs-h3: 1.5rem;
        --fs-body: 1.125rem;
        --fs-body-small: 1rem;
    }
}

/* General styles */

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-light);
    color: var(--clr-dark);
    margin: 0;
    font-family: var(--ff-primary);
    font-size: var(--fs-body);
    line-height: 1.6;
}

section {
    padding: 2em 2em;
}

img {
    display: block;
    max-width: 80%;
}

strong { font-weight: var(--fw-bold) }

:focus {
    outline: 3px solid var(--clr-dark);
    outline-offset: 3px;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: .5em 2.5em;
    background: var(--clr-accent);
    color: var(--clr-dark);
    text-decoration: none;
    cursor: pointer;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--fw-bold);
    transition: transform 200ms ease-in-out;
}

.btn:hover {
    transform: scale(1,1);
}

/* Typography */

h1,
h2,
h3 {
    line-height: 1;
    margin: 0;
}

h1 { font-size: var(--fs-h1) }
h2 { font-size: var(--fs-h2) }
h3 { font-size: var(--fs-h3) }



.section__title {
    margin-bottom: .25rem;
}

.section__subtitle--intro {
    font-weight: var(--fw-reg);
}

.section__subtitle--intro strong {
    -display: block;
}

.section__subtitle {
    margin: 0;
    font-size: var(--fs-h3);
}

.section__subtitle,
.section__subtitle {
    background: var(--clr-accent);
    padding: .25em 1em;
    font-family: var(--ff-secondary);
    margin-bottom: 1em;
}

.section__subtitle {
    color: var(--clr-accent);
    font-weight: var(--fw-bold);
    margin-bottom: 2em;
}

/* iframe */

iframe {
    width: 100%;
    height: 20rem;
}

@media (min-width: 800px) {
    iframe {
        width: 100%;
        height: 30rem;
    }
}

/* Navigation Styles Here*/

header {
    background: var(--clr-light);
    text-align: center;
    position: fixed;
    z-index: 999;
    width: 100%;
    box-shadow: var(--bs);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 1em;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-toggle-label span, 
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--clr-accent-green);
    height: 2px;
    width: 2em;
    border-radius: 2px;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

nav {
    position: absolute;
    text-align: left;
    top: 100%;
    left: 0;
    background: var(--clr-light);
    width: 100%;
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 400ms ease-in-out;
    box-shadow: 0 0.75em 0.25em -0.25em rgba(0,0,0,.25);
}

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

nav li {
    margin-bottom: 1em;
    margin-left: 1em;
}

nav a {
    color: var(--clr-accent-dark);
    text-decoration: none;
    font-size: var(--fs-body-small);
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}

nav a:hover {
    color: var(--clr-accent-green);
}

.nav-toggle:checked ~ nav {
    transform: scale(1,1);
}

.nav-toggle:checked ~ nav a {
    opacity: 1;
    transition: opacity 250ms ease-in-out 250ms;
}

.logo {
    max-width: 200px;
    margin: auto;
    max-height: 30px;
}

.container {
    margin-top: .75em;
    margin-bottom: .75em;
}

@media screen and (min-width: 800px) {
    .nav-toggle-label {
        display: none;
    }

    header {
        box-shadow: var(--bs);
        /*
        display: grid;
        width: 100%;
        grid-column: 3 / 3;
        grid-template-columns: 1fr auto minmax(600px, 3fr) 1fr;
        margin-left: auto;
        margin-right: auto;
        */
    }

    .container {
        display: grid;
        width: 100%;
        grid-column: 2 / 2;
        /*grid-template-columns: 1fr auto minmax(600px, 3fr) 1fr;*/
        grid-template-columns: 1fr minmax(600px, 3fr);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .logo {
        /* 2 / 3 */
        grid-column: 1 / 2;
        height: 70%;
    }

    nav {
        all: unset;
        /* 3 / 4 */
        grid-column: 2 / 2;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-right: 1em;
    }

    nav ul {
        display: flex;
    }

    nav li {
        margin-left: 1em;
        margin-bottom: 0;
    }

    nav a {
        opacity: 1;
        position: relative;
    }

    nav a::before {
        content: '';
        display: block;
        height: 5px;
        background: var(--clr-accent-green);
        position: absolute;
        bottom: -.75em;
        left: 0;
        right: 0;
        transform: scale(0, 1);
        transition: transform ease-in-out 250ms;
    }

    nav a:hover::before {
        transform: scale(1,1);
    }
}


/* Intro Section */

.intro {
    max-width: 500px;
    margin: 0 auto;
    padding-top: 5em;
}

.intro__img {
    -box-shadow: var(--bs);
}

.intro__body {
    text-align: justify;
}

.services-intro {
    margin-top: 1em;
    margin-bottom: 2em;
    max-width: 500px;
    margin: 0 auto;
}

.service-intro ul li{
    list-style: none;
}

.section__subtitle--intro {
    position: relative;
    left: -1em;
    display: block;
    -width: calc(100% + 2em);
    -padding-left: 1em;
    -padding-right: calc(200px + 4em);
}

.big-p {
    font-size: var(--fs-h3);
    text-align: center;
}


@media (min-width: 600px) {
    
    .intro__img {
        position: relative;
    }

    .services-intro {
        display: flex;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-intro + .service-intro {
        margin-left: 2em;
    }
}

.wrapper-note {
    background-color: #e7e7e7;
    border-radius: 8px;
    padding: 10px 30px;
}

.initial-h2 {
    margin-top: 50px;
    margin-bottom: 50px;
}

.intro-body {
    display: flex;
}

.service-initial-intro-text {
    text-align: center !important;
    padding: 0 !important;
    margin: auto;
    font-size: 13px;
    max-width: 50%;
}

.service-initial-intro {
    max-width: 50%;
    margin: 0 auto;
    font-size: var(--fs-body);
}

.service-initial-intro p {
    text-align: justify;
}

@media (max-width: 600px) {
    .intro-body {
        display: block;
    }
    .service-initial-intro {
        max-width: 500px;
        margin: 0 auto;
        font-size: var(--fs-body);
    }
}

/* Services Menu */
.menu {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding-top: 0;
}

.section__title--services {
    margin-bottom: 1em;
}

.services-menu {
    margin: auto;
    cursor: pointer;
}

.service-menu {
    margin: 1em auto;
    height: 150px;
}

.service-menu ul li{
    list-style: none;
}

.services-container {
    position: relative;
    height: 100%;
    overflow: hidden;
    box-shadow: var(--bs);
}

.service-image {
    width: 100%;
    border-radius: 5px;
    box-shadow: var(--bs);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service-image__overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: .5s ease;
    background-color: #8d9396;
    opacity: 0;
    width: 100%;
    height: 100%;
}

.service-image__overlay-2 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: .5s ease;
    opacity: 0.5;
    width: 100%;
    background-image:
    linear-gradient(to bottom, transparent, black);
}

.line {
    width:100%;
    border-bottom: 1px solid silver;
    margin-top: 2em;
    margin-bottom: 4em;
}

.services-container:hover .service-image__overlay {
    opacity: 1;
    background-image: linear-gradient(to bottom right, white, rgba(255, 255, 255, 1));
}

.services-container:hover .text-img-menu {
    display: none;
}

.services-container:hover .service-image__overlay-2 {
    display:none;
}
  
.text {
    color: var(--clr-dark);
    font-size: .70em;
    position: absolute;
    text-align: center;
}

.text-img-menu {
    position: absolute;
    top: 80%;
    left: 35%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    color: var(--clr-light);
    z-index: 999;
}

@media (min-width: 800px) {

    .services-menu {
        display: flex;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
    }

    .services-menu{
        display: inline-block;
        margin: auto;
        width: 49%;
        height: 230px;
    }

    .service-menu {
        margin: auto;
        height: 100%;
    }

    .services-container {
        height: 90%;
        border-radius: 4px;
    }

    .text {
        padding: .5em;
        font-size: .75em;
        -text-align: justify;
    }

}


@media (min-width: 1600px) {

    .services-menu {
        display: flex;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    .services-menu{
        margin-left: -8em;
        height: 320px;
    }

    .service-menu {
        margin: auto;
        height: 280px;
    }

    .services-container {
        min-width: 400px;
        max-width: 400px;
        height: 100%;
        border-radius: 4px;
        margin: .5em;
    }

    .service-image {
        min-width: 400px;
        max-width: 400px;
        height: 100%;
        border-radius: 4px;
        box-shadow: var(--bs);
    }
    
    .text {
        padding: .5em;
        font-size: .75em;
        -text-align: justify;
    }

}


/* differential factor */

.differential {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 4em;
}

.section__title--differential {
    -background: var(--clr-accent-blue);
    -color: var(--clr-light);
    -color:  var(--clr-accent-blue);
    border-radius: 15px;
    padding: .5em;
    margin-bottom: 1em;
    text-align: center;
    -border: 2px solid;
    -border-color: var(--clr-accent-blue);
}

.section__subtitle--differential {
    padding: .5em;
}

.differential__body {
    text-align: justify;
}

@media (min-width: 600px) {
    .section__subtitle--differential {
        position: relative;
        left: -1em;
        width: calc(100% + 2em);
        padding-left: 1em;
        padding-right: calc(200px + 4em);
        background: var(--clr-accent-green);
        color: var(--clr-light);
    }

    .differential__img {
        position: relative;
    }

    .section__subtitle--differential {
        position: relative;
        left: -1em;
        width: calc(100% + 2em);
        padding-left: 1em;
        padding-right: calc(200px + 4em);
    }
}

/* Decide Section */

.decide {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 4em;
    background-color: var(--clr-dark-grey);
}

.section__title--decide {
    border-radius: 15px;
    padding: .5em;
    margin-bottom: 1em;
    text-align: center;
}

.section__subtitle--decide {
    padding: .5em;
}

.decide__body {
    text-align: justify;
}

.services-decide {
    margin-bottom: 4em;
    margin-top: 4em;
}


.service-decide {
    max-width: 300px;
    margin: 1em auto;
    font-size: var(--fs-h3);
    border: 3px solid;
    border-color: var(--clr-accent-blue);
    color: var(--clr-light);
    background-color: #0578fb;
    border-radius: 101%;
    text-align: center;
    transition: .5s ease;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.service-decide ul li{
    list-style: none;
}

.service-decide:hover {
    background-color: var(--clr-accent-blue);
    color: var(--clr-light);
}


@media (min-width: 700px) {
    .section__subtitle--decide {
        position: relative;
        left: -1em;
        width: calc(100% + 2em);
        padding-left: 1em;
        padding-right: calc(200px + 4em);
        background: var(--clr-accent-green);
        color: var(--clr-light);
    }

    .decide__img {
        position: relative;
    }

    .section__subtitle--decide {
        position: relative;
        left: -1em;
        width: calc(100% + 2em);
        padding-left: 1em;
        padding-right: calc(200px + 4em);
    }

    .services-decide {
        display: flex;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-decide {
        width: 300px;
        margin: 0 auto;
    }

    .services-decide-img {
        display: flex;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-decide + .service-decide {
        margin-left: 2em;
    }
}

/* More info */

.more-info {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 4em;
    text-align: center;
}

.section__title--more-info {
    text-align: center;
    margin-bottom: 1em;
}

.section__subtitle--more-info {
    text-align: center;
}

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

.services-more-info {
    margin-bottom: 4em;
    margin-top: 4em;
}

.service-more-info {
    max-width: 500px;
    margin: 0 auto;
    -padding: 2em;
    font-size: var(--fs-h3);
}

.service-more-info ul li{
    list-style: none;
}



/* PSICOPEDAGOGIA */

/* Container holding the image and the text */
.psico-img {
    padding-top: 3em;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

.psico-img-img {
    width: 100%;
    display: inline!important;
}

/* Centered text */

.title-centered {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--fs-h2);
    color: var(--clr-light)
}

.centered {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-70%, -20%);
    font-size: var(--fs-h2);
    color: var(--clr-light)
}

.arrow {
  text-align: center;
  margin: 8% 0;
}

.arrow:hover{
    color: var(--clr-accent-green)
  }

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}


/* psico-intro */

.psico-intro {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 4em;
    text-align: center;
    position: relative;
}

.psico-intro__img {
    text-align: center;
    margin: auto;
}

.section__title--psico-intro {
    text-align: center;
}

.services-psico-intro {
    margin-bottom: 4em;
    margin-top: 4em;
}

.service-psico-intro {
    max-width: 500px;
    margin: 0 auto;
    font-size: var(--fs-body);
}

.service-psico-intro ul li{
    list-style: none;
}

@media (min-width: 800px) {
    .services-psico-intro {
        display: flex;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-psico-intro + .service-psico-intro {
        margin-left: 4em;
    }
}


/* Better */

.better {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 4em;
    text-align: center;
    position: relative;
}

.better__img {
    text-align: center;
    margin: auto;
}

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

.services-better {
    margin-bottom: 4em;
    margin-top: 4em;
}

.service-better {
    max-width: 500px;
    margin: 0 auto;
    font-size: var(--fs-body);
}

.service-better ul li{
    list-style: none;
}

@media (min-width: 800px) {
    .services-better {
        display: flex;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-better + .service-better {
        margin-left: 4em;
    }
}


.section__subtitle--psico-free {
    border: solid 2px; 
    border-radius: 5px; 
    color: var(--clr-accent-blue); 
    max-width: 400px;
    margin: auto;
}

.section__subtitle--psico-free:hover {
    border-color: var(--clr-accent-blue); 
    background-color: var(--clr-accent-blue);
    color: var(--clr-light);
}



/* Blog 1 */
#morecsspure-trigger-toggle { cursor: pointer; }
#morecsspure-element-toggle { display:none; }
#morecsspure-element-toggle:not(:checked) ~ #morecsspure-toggled-element { display:none; }
#morecsspure-element-toggle:not(:checked) ~ #morecsspure-trigger-toggle .morecsspure-lesslink { display:none; }
#morecsspure-element-toggle:checked ~ #morecsspure-abstract { display:none; }
#morecsspure-element-toggle:checked ~ #morecsspure-trigger-toggle .morecsspure-morelink { display:none; }
#morecsspure .morecsspure-morelink, #morecsspure .morecsspure-lesslink { display: block; cursor: pointer; color:#2196f3; }
#morecsspure .morecsspure-morelink:hover, #morecsspure .morecsspure-lesslink:hover { text-decoration:underline; }

/*  Blog 2 */
#morecsspure-trigger-toggle2 { cursor: pointer; }
#morecsspure-element-toggle2 { display:none; }
#morecsspure-element-toggle2:not(:checked) ~ #morecsspure-toggled-element2 { display:none; }
#morecsspure-element-toggle2:not(:checked) ~ #morecsspure-trigger-toggle2 .morecsspure-lesslink2 { display:none; }
#morecsspure-element-toggle2:checked ~ #morecsspure-abstract2 { display:none; }
#morecsspure-element-toggle2:checked ~ #morecsspure-trigger-toggle2 .morecsspure-morelink2 { display:none; }
#morecsspure2 .morecsspure-morelink2, #morecsspure2 .morecsspure-lesslink2 { display: block; cursor: pointer; color:#2196f3; }
#morecsspure2 .morecsspure-morelink2:hover, #morecsspure2 .morecsspure-lesslink2:hover { text-decoration:underline; }

/*  Blog 3 */
#morecsspure-trigger-toggle3 { cursor: pointer; }
#morecsspure-element-toggle3 { display:none; }
#morecsspure-element-toggle3:not(:checked) ~ #morecsspure-toggled-element3 { display:none; }
#morecsspure-element-toggle3:not(:checked) ~ #morecsspure-trigger-toggle3 .morecsspure-lesslink3 { display:none; }
#morecsspure-element-toggle3:checked ~ #morecsspure-abstract3 { display:none; }
#morecsspure-element-toggle3:checked ~ #morecsspure-trigger-toggle3 .morecsspure-morelink3 { display:none; }
#morecsspure3 .morecsspure-morelink3, #morecsspure3 .morecsspure-lesslink3 { display: block; cursor: pointer; color:#2196f3; }
#morecsspure3 .morecsspure-morelink3:hover, #morecsspure3 .morecsspure-lesslink3:hover { text-decoration:underline; }

/*  Blog 4 */
#morecsspure-trigger-toggle4 { cursor: pointer; }
#morecsspure-element-toggle4 { display:none; }
#morecsspure-element-toggle4:not(:checked) ~ #morecsspure-toggled-element4 { display:none; }
#morecsspure-element-toggle4:not(:checked) ~ #morecsspure-trigger-toggle4 .morecsspure-lesslink4 { display:none; }
#morecsspure-element-toggle4:checked ~ #morecsspure-abstract4 { display:none; }
#morecsspure-element-toggle4:checked ~ #morecsspure-trigger-toggle4 .morecsspure-morelink4 { display:none; }
#morecsspure4 .morecsspure-morelink4, #morecsspure4 .morecsspure-lesslink4 { display: block; cursor: pointer; color:#2196f3; }
#morecsspure4 .morecsspure-morelink4:hover, #morecsspure4 .morecsspure-lesslink4:hover { text-decoration:underline; }

/* Better */

.my-work{
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 4em;
    text-align: center;
    position: relative;
}

.my-work__img {
    text-align: center;
    margin: auto;
}

.section__title--my-work{
    text-align: center;
}

.services-my-work {
    margin-bottom: 4em;
    margin-top: 4em;
}

.service-my-work {
    max-width: 500px;
    margin: 0 auto;
    font-size: var(--fs-body);
}

.service-my-work ul li{
    list-style: none;
}

@media (min-width: 800px) {
    .services-my-work {
        display: flex;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-my-work + .service-my-work {
        margin-left: 4em;
    }
}

.carousel {
    position: relative;
    height: 600px;
    width: 90%;
    margin: 0 auto;
  }
  
  .carousel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .carousel__track-container {
    background-attachment: var(--clr-dark);
    height: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .carousel__track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 250ms ease-in;
  }
  
  .carousel__slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
  }
  
  .carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  
  .carousel__button--left {
    left: -40px;
  }
  
  .carousel__button--right {
    right: -40px;
  }
  
  .carousel__nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
  }
  
  .carousel__indicator {
    border: 0;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: var(--clr-dark-grey);
    margin: 0 12px;
  }
  
  .carousel__indicator.current-slide {
    background: rgba(0,0,0,.75);
  }

  


/******************
    Teachers
*******************/

/* About us */

.about-me {
    max-width: 1000px;
    margin: 0 auto;
}

.about-me__img {
    -box-shadow: var(--bs);
}

.about-me__body {
    text-align: justify;
}

.services-about-me {
    margin-top: 1em;
    margin-bottom: 2em;
    max-width: 500px;
    margin: 0 auto;
}

.service-about-me ul li{
    list-style: none;
}

.section__subtitle--about-me {
    position: relative;
    left: -1em;
    display: block;
    -width: calc(100% + 2em);
    -padding-left: 1em;
    -padding-right: calc(200px + 4em);
}

.big-p {
    font-size: var(--fs-h3);
    text-align: center;
}


@media (min-width: 600px) {
    
    .about-me__img {
        position: relative;
    }

    .services-about-me {
        display: flex;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-about-me + .service-about-me {
        margin-left: 2em;
    }
}






/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
    background-color: transparent;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    width: 350px;
    height: 600px;
    border: 1px solid #f1f1f1;
    perspective: 1000px;
    border-radius: 5px;
  }

  .flip-card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  }
  
  /* This container is needed to position the front and back side */
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  /* Do an horizontal flip when you move the mouse over the flip box container */
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  /* Position the front and back side */
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    font-size: var(--fs-body-small);
    border-radius: 5px;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-card-front {
    background-color: var(--clr-light);
    color: black;
  }
  
  /* Style the back side */
  .flip-card-back {
    background-color: var(--clr-accent-blue);
    color: white;
    transform: rotateY(180deg);
    padding: 1em;
    text-align: justify;
  }

  .title{
    text-align: center;
    font-size: var(--fs-h3);
    margin: 0;
  }

  .title-2 {
    text-align: center;
    padding: 0;
    margin: 0;
  }

  .card-text {
    padding: 1.5em;
  }


/* Services who */

.grey-container {
    background-color: #f0f0f0;
}

.who {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 5em;
    padding-bottom: 5em;
    margin-bottom: 3em;
}

.who__body {
    text-align: justify;
}

.services-who {
    margin-top: 1em;
    margin-bottom: 2em;
    margin: auto;
}

.service-who {
    padding: 0;
    margin: auto;
    list-style: none;
    width: 300px;
    border-radius: 4px;
    margin-bottom: 2em;
}

.service-who ul{
    padding: 0;
    list-style: none;
    width: 100%;
}

.service-who ul li{
    list-style: none;
}

.section__title--who {
    text-align: center;
    margin-bottom: 1.5em;
}

@media (min-width: 900px) {
    
    .who__img {
        position: relative;
    }

    .services-who {
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }

    .service-who + .service-who {
        margin-left: 2em;
    }

    .service-who {
        padding: 0;
        list-style: none;
    }
}






/* pre-footer */

.pre-footer {
    background-color: var(--clr-light);
    color: var(--clr-dark);
    text-align: center;
}

.section__subtitle--pre-footer {
    color: var(--clr-accent);
    font-weight: var(--fw-bold);
}

.service-pre-footer {
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 2em;
}

.service-pre-footer h3{
    text-align: center;
}

.service-pre-footer ul {
    padding: 0;
}

.service-pre-footer ul li{
    list-style: none;
    text-align: center;
}

.pre-footer-line {
    width:100%;
    height:100px;
    border-bottom: 1px solid silver;
    margin-bottom: 2em;
}

@media (min-width: 600px) {

    .services-pre-footer {
        display: flex;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-pre-footer + .service-pre-footer {
        margin-left: 2em;
    }

    .service-pre-footer ul li{
        text-align: left;
    }

    .service-pre-footer h3{
        text-align: left;
    }
    

}
  
/* Footer */
.footer {
    background: black;
    color: var(--clr-light);
    text-align: center;
    padding: 2em 0;
    font-size: var(--fs-body);
}

.footer a { 
    color: inherit;
    text-decoration: none;
}

.footer__link {
    font-weight: var(--fw-bold);
}

.footer__link:hover {
    opacity: .7;
}

.footer__link:hover {
    text-decoration: underline;
}


.footer-span {
    margin-top: .75em;
    font-size: var(--fs-body-small);
}


/* Social List */

.social-list {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 2em 2em 2em;
    padding: 0;
}

.social-list__item {
    margin: 0 .5em;
    transition: all 250ms ease-in-out;
}

.social-list__link {
    margin: 0 .5em;
    font-size: var(--fs-h2);
}

.fa-facebook-square {
    color: #4267B2;
}

.fa-instagram {
    color: #E1306C;
}

.fa-youtube {
    color: #FD1D1D;
}

.social-list__link:hover {
    opacity: .7;
    transform: scale(1.1);
}

.social-list__item:hover {
    transform: scale(1.1);
}


/* boton */
#myBtn {
    text-decoration: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--clr-accent-green); 
    color: var(--clr-dark);
    cursor: pointer;
    padding: .75em;
    border-radius: 10px;
    font-size: var(--fs-body-small);

    transition: background-color 200ms ease-in-out;
    transition: transform 200ms ease-in-out;
  }
  
  #myBtn:hover {
    background-color: var(--clr-light);
    transform: scale(1.1)
  }





  
  /* [COOKIE BANNER] */

  #cookie-law {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 5%;
    background-color: #ccc;
    z-index: 999;
}
#cookie-law > div {
}
#cookie-law > div:first-child {
    padding-right: 40px;
}
#cookie-law > div:first-child > a {
    color: inherit;
}
#cookie-law > div:last-child {
    vertical-align: middle;
}
#cookie-law > div:last-child > a {
    padding: 10px 20px;
    background-color: rgb(226, 231, 144);
    border-radius: 5px;
    color: black;
    text-decoration: none;
}
/* [/COOKIE BANNER] */



.special-word {
    text-align: center;
    background: -webkit-linear-gradient(45deg, #070707, #00ff95 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.left {
    text-align: initial;
}

.center {
    text-align: center;
}

.right {
    text-align: end;
}

.img-rednass {
    margin: auto;
}
