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


@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);
}



body {
    font-family: neue;
    background-color: var(--oscuro);
    margin: 0;
    overflow-x: hidden;
    max-width: 100vw;

}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 400 !important;
}


a {
    text-decoration: none;
    color: #fff;
}

.neue {
    font-family: neueM;
    text-transform: uppercase;
    color: #000;

}

.neueB {
    font-family: neueB;
    text-transform: uppercase;
    color: #000;

}

.italic {
    font-family: editorial;
    color: #000;
    font-size: 1.4rem;
}

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


nav,
header {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
}

header {
    max-width: 100vw;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 200;
}

.icon-menu {
    border: none;
    background-color: #fff;
    font-size: 1.6rem;
    height: min-content;
    padding: 0.1rem 0.35rem;
    display: none;
    cursor: pointer;
}

.icon-menu>i {
    padding: 0;
    margin: 0;
}

.nav {
    display: flex;
    background-color: #fff;
    height: min-content;
    box-shadow: 0px 4px 0.5px 0px rgba(125, 42, 56, 0.03);
}

.nav.responsive {
    display: flex;
    flex-direction: column;
}

.enlace-nav,
.enlace-trending {
    padding: 0.5rem;
    height: 1rem;
    overflow: hidden;
}

.roter {
    transition: all .5s ease-out;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.icon-menu {
    display: none;
}



.roter:hover {
    transform: translate(0%, -60%);
}

.enlace-trending {
    text-align: center;
    background-color: var(--quality);
    margin-left: 0.5rem;
    box-shadow: 0px 4px 0.5px 0px rgba(125, 42, 56, 0.03);
}

.enlace-trending:hover {
    background-color: var(--trending);
}

.intro {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#imgIntro {
    position: absolute;
    right: 15vw;
}

.intro h1 {
    position: absolute;
    font-size: 9rem;
    font-weight: 400;
    margin: 0;
    padding: 2rem;
    right: 0;
    bottom: 0;
    color: #fff;
    letter-spacing: -4px;
    background-color: var(--oscuro);
    max-width: 70vw;
    line-height: 8rem;
    text-align: right;
}

.hover-img {
    color: var(--oscuro);
    background: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    position: relative;
}

.hover-img h2 {
    padding-left: 3rem;
    padding-right: 2rem;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 104%;

}

.hover-img span {
    text-decoration: underline;
    cursor: default;
}

.hover-img img {
    max-height: 50vh;
    max-width: 25vw;
    position: absolute;
    display: none;
}

img.span1 {
    right: 25vw;
    top: 2vh;
}

img.span2 {
    left: 5vw;
    top: 10vh;
}

img.span3 {
    right: 3vw;
    bottom: 10vh;
}

img.span4 {
    right: 60vw;
    bottom: 5vh;
}

.mosaico {
    background: #fff;
    display: flex;
	align-items:center;
    flex-direction: column;
    padding: 1rem;
}

.mosaico h4,
.h4 {
    font-size: 6.5rem;
    margin: 0;
    font-weight: 400;
    color: var(--oscuro);
}
.mosaico h4{
	width:100%
}
#filtro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem; width: 100%;
}

.filtro {
    width: 100%;
    background: transparent;
    border-radius: 8px;
    border: 3px solid var(--turquesa);
    padding: 1rem 2rem;
    font-size: 2rem;
    font-family: roboto;
    color: var(--turquesa);
    text-transform: uppercase;
    cursor: pointer;
	   
}

.selected {
    background: var(--turquesa) !important;
    color: var(--lightblue) !important;
}

.selected a {
    color: #fff !important;
}

.filtro:hover:not(.selected) {
    background-color: var(--oscuro);
    color: #fff;
    border-color: var(--oscuro);

}

.cards,
.gridC {
    display: grid;
    min-height: auto;
    margin-top: 1rem;
    grid-row-gap: 16px;
    grid-template-areas: ". . . ."
        ". . . Area"
        ". . . Area";
    grid-template-columns: minmax(200px, 25vw) minmax(200px, 25vw) minmax(200px, 25vw) repeat(auto-fit, minmax(200px, 25vw));
      grid-template-rows: repeat(auto-fit, minmax(auto, 30vh) minmax(auto, 30vh) minmax(auto, 30vh)) minmax(auto, 40vh) minmax(auto, 30vh) minmax(auto, 30vh) minmax(auto, 30vh)minmax(auto, 30vh)minmax(auto, 30vh) minmax(auto, 40vh);
    gap: 1rem;
}



.banner-4 {
    grid-column: 1 / span 4;
}

.banner-4 img {
    position: static;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-height: none;
    max-width: none;
    min-height: auto;
    border-radius: 8px;
    object-fit: cover;
    object-position: 0% 50%;
}

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

.title h3 {
    margin: 0;
}

.cards div {
    transition: .5s all ease;
}

.title {
    display: flex;

width: 50%;
    height: 100%;
    max-width: none;
    min-height: 9rem;
    min-width: 100%;
    justify-content: center;
    border-radius: 8px;
    background-color: var(--lightblue);
    color: var(--oscuro);
    cursor: pointer;
    font-family: roboto;
    font-size: 4rem;
    text-transform: uppercase;
    align-items: center;
}

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

.title:hover {
    background-color: var(--oscuro);
    color: #fff;
    border-color: var(--oscuro);
}

.title:hover a {

    color: #fff;

}



.imgObjet,
.video-2 video,
.video-1-2 video {
    width: 100%;
    height: 100%;
    border-radius: 8px;
   object-fit: cover; 

}

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

.txt-1-2,
.txt-2-2 {
    background-color: var(--lightblue);
    padding: 1rem;
    color: var(--oscuro);
    border-radius: 8px;
    grid-column-start: span 1;
    grid-column-end: span 1;
    grid-row-start: span 2;
    grid-row-end: span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    text-overflow: ellipsis;
    transition: .5s all ease;
}

.txt-2-2,
.quote-2,
.img-2-1 {
    grid-column: span 2;

}

.ul-2-1 {
    display: flex;
}

.ul-table p {
    margin: 0;
}


.cosm.txt-2 p {
    margin: 0;
}

.title:hover,
.video-2:hover,
.txt-2:hover,
.video-1-2:hover,
.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);
}

.cosm {
    order: 1;
}

.food {
    order: 2;
}

.nutra {
    order: 3;
}

.quote {
    background: var(--lightblue);
    color: var(--oscuro);
    font-family: roboto;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-style: normal;
    line-height: 96%;
    letter-spacing: -0.06rem;
    padding: 1rem;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
}

.quote p {
    margin: 0;
}

.plus {
    border: none;
    border-radius: 1000px;
    padding: 0.25rem 0.45rem 0.15rem;
    background: rgba(255, 255, 255, 0.70);
}

.plus:hover {
    background: var(--oscuro);
}

.plus:hover>a {
    color: var(--lightblue);
}

.plus a {
    font-size: 2.25rem;
    color: var(--oscuro);
}

.video-2 {
    grid-column: span 2;
    grid-row: span 2;
    border-radius: 8px;
    position: relative;
}

.video-1-2 {
    border-radius: 8px;
    position: relative;
    grid-row: span 2;
}

.video-2 .plus,
.video-1-2 .plus {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.txt-2 {
    background-color: var(--lightblue);
    padding: 1rem;
    color: var(--oscuro);
    border-radius: 8px;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    cursor: pointer;
    justify-content:center;

}

.title-3 {
    grid-column: span 3;

}

.img-1-2 {
    grid-row: span 2;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    right: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


.modal-content {
    border-radius: 16px;
    background-color: var(--lightblue);
    color: var(--oscuro);
    font-size: 1.5rem;
    margin: 0;
    padding: 1.5rem 2rem;
    width: 50%;
    position: absolute;
    transform: translate(50%, 20%);
}

.modal video {
    max-width: 100%;
    border-radius: 8px;
}

.modal h5 {
    font-size: 2rem;
    font-family: roboto;
    text-transform: uppercase;
    width: 90%;
    margin: 0;
    padding: 1rem 0;
    line-height: 1.75rem;
}

.modal p {
    margin: 0;
    padding: 1rem 0;
}

/* The Close Button */
.close,
.out {
    color: var(--oscuro);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}











.see-more {
    border-radius: 1000px;
    background-color: var(--quality);
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    font-family: neue;

    overflow: hidden;
}

.see-more a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--oscuro);
}

button {
    cursor: pointer;
}

.about {
    background: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h4 {
    width: 100%;
    text-align: left;
    background: #fff;
    z-index: 10;
}

.slider {
    display: flex;
    flex-direction: column;
    width: 80vw;
    padding: 2rem;
}

.up-info {
    display: flex;
    padding-top: 2rem;
    justify-content: flex-end;
    position: relative;
    height: 45vh;
    align-items: center;
    gap: 2rem;

}

#animation {
    height: 100%;
}

.info {
    position: absolute;
    z-index: 3;
    width: 50vw;
    opacity: 1;
    left: 5rem;
}


#next {
    z-index: 10000;
}

p.num {
    font-family: editorial;
    color: var(--oscuro);
    margin: 0;
    margin-top: -1rem;

    font-size: 2.5rem;
}

p.subtitle {
    font-family: roboto;
    color: var(--turquesa);
    font-size: 2rem;
    text-transform: uppercase;
    width: 75%;
    margin: 0;
    line-height: 96%;
}

p.txt-info {
    font-size: 1rem;
    width: 80%;
    line-height: 98%;
    margin: 0;
    padding: 1rem 0;
}

.info>div {
    display: flex;
    gap: 1rem;
    margin-left: -5rem;
}

.up-info img {
    min-width: 10vw;
    max-width: 15vw;
}

.down-info {
    display: flex;
    overflow: hidden;
    padding: 2rem 0;
    justify-content: flex-end;
    width: 85vw;
}

.progress {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.progress p {
    margin: 0;
    padding-bottom: 0.5rem;
    font-family: roboto;
    position: relative;
}

.line-container {
    overflow: hidden;
    width: 27vw;
    height: 1rem;
    position: relative;
}

.line {
    width: max-content;
    position: absolute;
}

.up-info button {
    background-color: transparent;
    border: none;
    font-size: 3rem;
    color: var(--oscuro);
    z-index: 10;
}

.up-info button:hover {
    color: var(--turquesa);
}

footer {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 4rem;
    color: #fff;
}

footer a {

    color: #fff !important;
}

footer a.neue {
    font-family: neue;
}

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

.flexH {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.small p {
    font-size: 1.4rem;
    line-height: 96%;
}

#legales {
    width: 80%;
    display: flex;
    font-size: 0.85rem;
    justify-content: space-around;
}

.legales:hover {
    color: var(--quality) !important;
}

.neueM {
    font-family: neueM;
}

.roboto {
    font-family: roboto;
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: 96%;
}

@media screen and (min-width:1600px) {
    .info p {
        font-size: 1.5rem;
    }

    p.subtitle {
        font-size: 2.5rem;
    }

    .services p,
    .faqs p {
        font-size: 1.225rem;
    }
}

@media screen and (max-width:1180px) {
    body {
        overflow-x: hidden;
    }

    .small p {
        font-size: 1.2rem;
        line-height: 96%;
    }

    #imgIntro {
        height: 100%;
    }

    .intro h1 {
        font-size: 7rem;
        line-height: 6rem;
        max-width: 70vw;
    }

    .slider,
    .down-info {
        width: 85%;
    }

    .down-info {
        justify-content: space-around;
        width: 100%;
        gap: 1rem;
    }

}

@media screen and (max-width:900px) {
   /* .mosaico {
        padding: 0 0.75rem;
    }*/

    #filtro {
        display: flex;
        justify-content: flex-start;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .filtro {
        width: max-content;
        border-radius: 1000px;
        border: 2px solid var(--turquesa);
        padding: 0.5rem 2rem;
    }

    .cards {
        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: repeat(auto-fit, minmax(auto, 30vh) minmax(auto, 30vh)minmax(auto, 30vh)minmax(auto, 30vh)minmax(auto, 30vh)minmax(auto, 30vh)minmax(auto, 30vh));
        gap: 0.75rem;
        max-width: 98%;
    }

    .banner-4,
    .title-4 {
        grid-column: span 2;
    }



    .title-2,
    .title-3,
    .img-1,
    .img-2-1 {
        grid-column: auto;
    }


    .title {

        font-size: 2.5rem;

    }

    .txt-2 {
        grid-column: auto;
        grid-row: span 2;
    }

    .title-3,
    .txt-1-2,
    .txt-2-2,
    .quote-1,
    .img-2,
    .video-1-2,
    .video-2 {
        grid-column: auto;

    }

    .img-1-2 {
        grid-row: 1;
    }

    .modal-content {
        border-radius: 16px;
        font-size: 1.25rem;
        margin: 0;
        padding: 1.5rem;
        width: 90vw;
        position: absolute;
        right: 0.5rem;
        transform: translate(0, 50%);
    }

    #animation {
        height: 80%;
    }
}

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

    html,
    body {
        min-width: 100vw;overflow-x: hidden;
    }

    .icon-menu {
        display: block;
    }

    .bi-list {
        color: #000 !important;
    }

    header {
        align-items: flex-start;
    }

    header img {
        padding-right: 1rem;
    }

    .nav.responsive {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav.responsive div {
        display: flex;
        flex-direction: column;
    }

    .nav div {
        display: none;
    }

    section {
        width: 95vw;
        overflow-x: hidden;
    }


    .intro h1 {
        max-width: 85vw;
    }

    .up-info {
        min-height: 65vh;
        max-height: 100vh;
        align-items: flex-start;
        justify-content: center;
    }

    .up-info img {
        min-width: 15vh;
        max-width: 20vh;
    }

    .info {
        bottom: 0;
        left: auto;
        width: 80vw;
    }

    .down-info {
        display: none;
    }

    .mosaico h4 {
        font-size: 5.5rem;
        padding-bottom: 2rem;
    }

    .mosaico h4,
    .h4 {

        line-height: 90%;
    }

    .up-info button {
        margin-top: 4rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .num {
        font-size: 2rem;

    }

    .info>div {
        gap: 0.5rem;
        margin-left: -2rem;
    }

    .info p:not(.num) {
        width: 100%;
    }

    .txt-info {
        padding-bottom: 0;
    }
}

@media screen and (max-width:670px) {
    .intro h1 {
        font-size: 3.5rem;
        line-height: 3.5rem;
    }
  .intro span {
        font-size: 3rem!important;
    }
    .cards {
        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;
    }

    .banner-4,
    .title-4 {
        grid-column: auto;
    }

    .modal-content {
        border-radius: 16px;
        font-size: 1.25rem;
        margin: 0;
        padding: 1.5rem;
        width: 85%;
        position: absolute;
        transform: translate(0, 0);
        right: 0.5rem;
        top: 2rem;
    }

    .txt-2,
    .txt-1-2,
    .txt-2-2,
    .video-2,
    .video-1-2 {
        grid-column: auto;
        grid-row: auto;
    }

    .hover-img h2 {

        padding: 1rem !important;
        font-size: 3.5rem;
    }

   
    .hover-img img{
       max-width:50vw;
    }
    .hover-img{
        overflow-y: hidden;
        width: 100vw !important;
    }
	.mosaico{
	padding: 0.5rem;
	 width: 96vw !important;}

    .infoC .txt-info {
        width: 100%;
    }

    .up-info {
        padding: 0;        padding-bottom: 5rem;
    }

    #next,
    #previous {
        z-index: 10000;
        padding: 0;
    }

    #animation {
        min-width: 50%;
        height: 60%;
    }

    .title h3 {
        padding: 1rem;
    }

  /*  footer {
        padding: 0;
    }*/
	
	.intro{
		width:100%;
	}
	.intro h1{
	padding:1rem;
		bottom:1rem;
	}
		 #imgIntro{ padding:0 1rem;
        height: 75%;
        right: 0;
    }
	
}

@media screen and (max-width:420px) {
    .nav.responsive .enlace-nav:nth-child(4) {
        height: 2rem;
    }
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--oscuro);
    z-index: 9999;
}

.preloader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid var(--quality);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loaded .preloader {
    transition-property: opacity, left;
    transition-duration: 0.75s, 0s;
    transition-delay: 0s, 0.75s;
    opacity: 0;
    left: 100%;
}

/*Cambios posteriores de la web*/

.cosm a, .food a, .nutra a{
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mosaico p, .mosaico li{
    font-size: 1.1rem;
}
.mosaico p.roboto, .quote p{
    font-size: 1.35rem;
}

@media screen and (max-width:1200px) and (max-height:900px){
    .mosaico p.roboto, .quote p{
        font-size: 1.25rem;
    }
    .mosaico li{
        font-size: 1.1rem;
    }
}
.intro span{
    font-size: 6rem;
    font-family: editorial;
    color: var(--quality);
}
.intro h1{
    line-height: 64%;
}

/*boton idiomas*/

.lang {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    background: transparent;
    border: none;
    z-index: 2000;
}

.lang a {
    background: var(--oscuro);
    display: flex;
    border: 2px solid var(--lightblue);
    padding: 0.5rem;
    width: 100%;
    height: 100%;
    color: var(--lightblue);
    font-size: 1.25rem;
    justify-content: space-around;
}
.lang a:hover{
    color: var(--oscuro);
    background: var(--quality);
}