:root {
    --oscuro: #0E6975;
    --turquesa: #3A9DA0;
    --quality: #50C9CC;
    --lightblue: #EAF4F4;
    --trending: #CF4E63;
    overflow-X: hidden;
}

@font-face {
    font-family: neue;
    src: url(/fonts/PPNeueMontreal-Book.otf);
}

@font-face {
    font-family: neueB;
    src: url(/fonts/PPNeueMontreal-Bold.otf);
}

@font-face {
    font-family: neueM;
    src: url(/fonts/PPNeueMontreal-Medium.otf);
}

@font-face {
    font-family: editorial;
    src: url(/fonts/PPEditorialNew-Italic.otf);
}

@font-face {
    font-family: roboto;
    src: url(/fonts/Roboto-BoldCondensed.ttf);
}


.cosmetics {
    height: 100vh;
    padding: 1rem;
    display: flex;
    align-items: center;
	overflow:hidden;
}

h1.h4 {
    background: transparent;
    color: #fff;
    text-transform: lowercase;
}

.infoC {
    position: relative;
    width: 50vw;
    padding-left: 2rem;
}

.infoC .num {
    font-family: editorial;
    color: var(--quality);
}

.infoC div:first-child {
    display: flex;
}

.infoC .txt-info {
    color: #fff;
    font-size: 1.25rem;
    line-height: 110%;
    width: 90%;
}

.square {
    width: 40vw;
    height: 40vw;
    max-width: 550px;
    max-height: 550px;
    position: absolute;
    cursor: pointer;
}

.square:first-child {
    transform: translate(0, -50%);
    z-index: 98;
}

.square:nth-child(2) {
    transform: translate(5%, -55%);
    z-index: 99;
}

.square:last-child {
    transform: translate(10%, -60%);
    z-index: 100;
}

.note {
    color: var(--quality);
    text-align: right;
    padding-right: 2rem;
}

.services {
    background: var(--lightblue);
    margin: 1rem;
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services h2 {
    font-family: roboto;
    font-size: 4rem;
    margin: 0;
    padding: 1rem;
}

.gridC {
    grid-template-rows: repeat(auto-fit, minmax(auto, 30vh) minmax(auto, 30vh)minmax(auto, 30vh));
    transition: .25s all ease;
}


.card {
    transition: .25s all ease;
    background: var(--lightblue);
    color: var(--oscuro);
    font-family: roboto;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 96%;
    letter-spacing: -0.06rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

.card:hover {
    box-shadow: 0px 75px 21px 0px rgba(0, 0, 0, 0.00), 0px 48px 19px 0px rgba(0, 0, 0, 0.01), 0px 27px 16px 0px rgba(0, 0, 0, 0.05), 0px 12px 12px 0px rgba(0, 0, 0, 0.09), 0px 3px 7px 0px rgba(0, 0, 0, 0.10);
}

.card h3 {
    margin: 0;
    padding-top: 1rem;
}

.icon {
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.card-2 {
    grid-column: span 2;
}

.gridC .plus {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
    padding: 0 0.19rem;
}

.card .imgObjet {
    position: absolute;
    z-index: 1;
    filter: opacity(0.35);
}

.card-3 {
    grid-column: span 3;
}

.card-4 {
    grid-column: span 4;
}

.info-card {
    flex-direction: row;
    padding: 0;
    justify-content: flex-start
}

.info-card .imgObjet {
    position: initial;
    filter: opacity(1);
}

.info-card .img-container {
    height: 100%;
    width: 30%;
}

.out {
    border: none;
    background: transparent;
    color: var(--oscuro);
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 20;
}

.out:hover>a {
    color: var(--quality);
}

.info-card:hover {
    box-shadow: none;
}

.txt {
    font-family: neue;
    color: #000;
    padding: 0 0.5rem;
    font-size: 1rem;
    letter-spacing: normal;
    text-transform: none;
}

.info-card .icon {
    flex-direction: row;
    width: 100%;
    padding: 0 1rem;

}

.answer p.font-oscuro {
    color: var(--oscuro);
}

#formulaC,
#placingI,
#parapharmI,
.info-card {
    display: none;
}

.out a {
    color: var(--oscuro);

}

.faqs {
    margin: 1rem 1rem 5rem;

}

.faqs .h4 {
    background: transparent;
    color: #fff;
}

.faqs .card {
    letter-spacing: normal;
}

.faqs .bg-turquesa {
    background: var(--turquesa);
    color: #fff;

}

.faqs .card:not(.bg-turquesa)>.plus {
    background: var(--oscuro);
}

.faqs .card:not(.bg-turquesa) a {
    color: var(--lightblue);
}

a.oscuro {
    color: var(--oscuro) !important;
}

.faqs .out {
    padding: 1rem;
}

.answer {
    display: none;
}

.answer .txt {
    color: #fff;
}
/*AÑADIDOS POSTERIORES*/

.answer p:first-child {
    margin: 0;
    margin-top: 3rem;
}

/* QUERIES */

@media screen and (min-width:1600px) {
    .square#imgC1 {
        right: 5%;
    }

    #imgC2 {
        right: 7.5%;
    }

    #imgC3 {
        right: 10%;
    }

}

@media screen and (max-width:1080px) {
    h1.h4 {
        font-size: 4.5rem;
    }

    .infoC .txt-info {
        font-size: 1rem;
    }

    .note {
        font-size: 0.85rem;
    }

    .square {
        width: 35vw;
        height: 35vw;
    }

    .cosmetics .see-more {
        font-size: 1.25rem;
    }
	   #ans1 .txt,
    #ans2 .txt {
        margin-top: 1rem;
    }
}

@media screen and (max-width:900px) {

    /* .services { 
        margin: 1rem 1.5rem  1rem 0.5rem;
    } */
    h4.h4 {
        margin: 2rem 0;
    }

    .gridC {

        display: grid;
        min-height: auto;
        margin-top: 0.75rem;
        grid-template-areas: ". . "
            " . Area"
            " . Area";
        grid-template-columns: minmax(100px, 50vw) repeat(auto-fit, minmax(100px, 50vw));
        grid-template-rows: auto;
        gap: 0.75rem;
    }

    .card-2 {
        grid-column: auto;
    }

    .card-3,
    .card-4 {
        grid-column: span 2;
    }

    #formulaC {
        grid-column: span 2;
    }

    .faqs {
        margin: 1rem 0.5rem 3rem;
        width: 95vw;
    }


}


@media screen and (max-width:870px) {
    .cosmetics {
        flex-direction: column-reverse;
        /* height: 90vh; */
    }

    .infoC {
        width: 80vw;
    }

    .cosmetics {
        margin-top: 10vw;
    }

    .square {
        width: 70vw;
        height: 70vw;
    }

    .square:first-child {
        top: 35%;
        left: 15%;
    }

    .square:nth-child(2) {
        top: 35%;
        left: 15%;

    }

    .square:last-child {
        top: 35%;
        left: 15%;
    }

    h1.h4 {
        font-size: 3.5rem;
    }
}

@media screen and (max-width:670px) {
    .intro h1 {
        font-size: 4.25rem;
        line-height: 4rem;
    }

    .info-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .icon {
        padding: 0 !important;

    }

    .info-card>.icon img {
        width: 15%;
    }

    .info-card .img-container {
        height: 50%;
        width: 100%;
    }

    .icon .out {
        top: 50%;
    }

    .out a:not(.faqs a) {
        color: #fff !important;
    }

    .faqs .gridC {

        display: grid;
        min-height: auto;
        margin-top: 0.75rem;
        grid-template-areas: " . "
            "  Area"
            "  Area";
        grid-template-columns: repeat(auto-fit, minmax(100px, 100vw));
        grid-template-rows: repeat(auto-fit, minmax(20vh, auto) minmax(20vh, auto)minmax(20vh, auto)minmax(20vh, auto)minmax(20vh, auto)minmax(20vh, auto)minmax(20vh, auto))minmax(20vh, auto);
        gap: 0.75rem;
    }
    #formulaC {
        grid-column: auto;
    }


    .gridC {
        width: 100%;
        display: grid;
        min-height: auto;
        margin-top: 0.75rem;
        grid-template-areas: "."
            "."
            ".";
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0.75rem;
    }

    .faqs {
        margin: 1rem 0.5rem 3rem;
        width: 95vw;
    }

    .answer {
        height: max-content;
    }

    .card-2,
    .card-3,
    .card-4 {
        grid-column: auto;
    }

    .infoC {
        padding: 0;  width: 100%;
    }

    .services h2 {
        font-size: 3rem;
    }
	 .cosmetics {
        padding: 1rem;
        margin-top: 0;
    }

  
    .infoC .txt-info {
        width: 100%;
    }
	 .services{
        padding: 0.5rem;
        margin: 0;
        margin-top: 2rem;
    }

}
@media screen and (max-height:750px)and (max-width:670px) {
    .cosmetics {
        margin-top: 35%;
    }
}