:root{
    --color-azul: #004397;
    --color-violeta: #678C8F;
    --color-verde: #C8DE94;
    --color-rosa: #E7DAEE;
    --color-naranja: #FE865A;
    --color-negro: #292D3A;
    --bg-color: #F3F1EF;
    --bg-amarillo: #FFD347;
    --color-border: #E7CBC0;
    --color-border-negro: #979797;
    --color-blanco: #fff;
    --color-error: red;
}

html{
    font-size: 10px;
}

body{
    background-color: var(--bg-color);
    color: var(--color-negro);
    font-size: 1.6rem;
    line-height: 2.7rem;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
}

header{
    width: 87%;
    max-width: 1160px;
    margin: 0 auto;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav{
    z-index: 10;
}

header .separator ul{
display: none;
}


header ul{
    display: flex;
    gap: 15px;
    transform: translateY(-7px);
}

header ul .separator{
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

header ul .separator::before{
    content: '';
    width: 26px;
    border-bottom: 1px solid var(--color-negro);
    height: 1px;
    transform: rotate(-62deg);
    position: absolute;
    top: 11px;
    left: -11px;
}

header ul #langselector{
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    border: 1px solid #D3D3D3;
    width: 50px;
    height: 27px;
    display: flex;
    align-items: center;
    padding-left: 6px;
    box-sizing: border-box;
    cursor: pointer;
}

header ul #langselector::after{
    content: '';
    width: 8px;
    height: 5px;
    background-image: url(https://image.neolithofficial.com/lib/fe3311737364047c741d73/m/1/a35c958f-7597-4340-a348-3f0323fb05b5.png);
    position: absolute;
    top: 10px;
    right: 10px;
    background-size: cover;
}

header ul #langselector div{
    display: none;
    width: 80px;
    background-color: var(--color-blanco);
    padding: 5px 15px;
    position: absolute;
    top: 35px;
    right: 0;
}

header ul #langselector div::before{
    position: absolute;
    width: 100%;
    height: 20px;
    content: '';
    top: -20px;
    left: 0;
}

header ul #langselector div::after{
    position: absolute;
    width: 10px;
    height: 10px;
    content: '';
    top: -5px;
    right: 20px;
    background-color: var(--color-blanco);
    transform: rotate(45deg);
}

header ul #langselector div a{
    display: block;
    color: var(--color-negro);
    text-decoration: none;
    border-bottom: 1px solid #f4f4f6;
}

header ul #langselector div a:last-child{
    border: 0;
}

header ul #langselector:hover div{
    display: block;
}

section{
    position: relative;
    display: grid;
    width: 87%;
    max-width: 1160px;
    margin: 0 auto;
}

#section1{
    grid-template-columns: 1fr 410px;
    gap: 95px;
    max-width: 1020px;
    padding-top: 40px;
}

#section1 .title{
    padding-top: 70px;
    padding-bottom: 25px;
}

#section1 p{
    max-width: 95%;
}

.title span{
    font-style: normal;
    font-size: 9rem;
    display: block;
    font-family: 'Libre Baskerville', serif;
    line-height: 4rem;
}

h5{
    font-size: 1.6rem;
    line-height: 2.7rem;
    font-weight: 600;
    font-style: normal;
    display: block;
}

.title h5{
    margin-top: 35px;
    margin-bottom: 15px;
}

h1{
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 4rem;
    line-height: 4.1rem;
    margin-left: -90px;
}

h2{
    font-family: 'Libre Baskerville', serif;
    font-size: 4rem;
    line-height: 4.1rem;
    max-width: 400px;
}

h2 i{
    font-style: italic;
}

b{
    font-weight: 500;
}

i{
    font-style: italic;
}

form{
    background: linear-gradient(180deg, rgba(254, 134, 90, 0.3) 0%, rgba(254, 134, 90, 0.245312) 18.75%, rgba(254, 134, 90, 0) 100%);
    padding: 4rem;
    max-width: 360px;
    box-sizing: border-box;
}

form p{
    font-size: 1.3rem;
    line-height: 1.8rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

::placeholder{
    color: var(--color-negro);
}

input, select{
    font-size: 1.1rem;
    line-height: 2.7rem;
    color: var(--color-negro);
    padding: 10px 15px;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    background-color: transparent;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

input.error, select.error{
    border-bottom: 1px solid var(--color-error);
}

select{
    height: 45px;
    padding-left: 10px;
}

form label{
    display: flex;
    font-size: 1.3rem;
    padding: 10px 0;
    gap: 15px;
    line-height: 1.3rem;
}

form label.error{
    color: var(--color-error);
}

form label input{
    width: auto;
    padding: 0;
    margin: 0;
}

form button{
    background-color: var(--color-rosa);
    display: flex;
    height: 48px;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    width: 100%;
    border: 0;
    font-family: 'Montserrat', sans-serif;
    margin-top: 10px;
}

.labelinfo{
    display: flex;
    height: 27px;
    align-items: center;
    background: rgba(254, 134, 90, 0.3);
    font-size: 1.2rem;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    padding: 0 10px;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: rotate(-90deg) translate(100%, 100%);
    transform-origin: bottom right;
}

#section1 .labelinfo{
    margin-right: -20px;
}

#section2{
    padding-top: 115px;
    width: 100%;
    max-width: 100%;
}

#section2 .content{
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    width: 87%;
    max-width: 1130px;
    margin: 0 auto;
}

#section2 .content figure img{
    width: 100%;
}

#section2 .content > div{
    padding-left: 110px;
}

#section2 .title{
    padding-top: 100px;
}

#section2 .title span{
    text-align: right;
    position: relative;
}

#section2 .content::before{
    content: '';
    background-image: url(https://image.neolithofficial.com/lib/fe3311737364047c741d73/m/1/40c06dce-0f50-480b-8b0f-f9833e36fd6f.png);
    width: 393px;
    height: 542px;
    position: absolute;
    top: -140px;
    right: -80px;
}

#section2 h2{
    padding-top: 180px;
}

#section2 p{
    margin: 25px 0 0 -65px;
}

#section2 ul{
    margin: 35px 0 0 0;
    list-style: disc;
}

figcaption{
    font-size: 0.9rem;
    line-height: 1.1rem;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
    text-transform: uppercase;
}

#section3{
    width: 100%;
    max-width: 100%;
    padding-top: 130px;
    padding-bottom: 80px;
    background: rgb(231,218,238);
    background: linear-gradient(180deg, rgba(231,218,238,0) 0%, rgba(231,218,238,1) 100%);
}

#section3 .content{
    position: relative;
    width: 87%;
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
}

#section3 .title span{
    margin-left: 70px;
}

#section3 h2{
    margin-top: 70px;
    max-width: 420px;
}

#section3 .gallery{
    padding-top: 35px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    max-width: 900px;
    justify-self: end;
    gap: 40px;
}

#section3 .gallery img{
    max-width: 100%;
}

#section3 .gallery figure{
    position: relative;
}

#section3 .gallery figure:nth-child(2){
    padding-top: 50px;
}

#section3 .gallery figure:nth-child(3){
    padding-top: 210px;
}

#section3 ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 70px;
}

#section3 ul h5{
    margin-bottom: 30px;
}

#section3 .labelinfo{
    background-color: var(--bg-amarillo);
    top: 70px;
    right: 75px;
    width: 170px;
}

#section4{
    width: 100%;
    max-width: 100%;
    padding-bottom: 40px;
    padding-top: 110px;
}

#section4 .content{
    position: relative;
    width: 87%;
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    padding-top: 100px;
}

#section4 > figure{
    display: none;
}

#section4 > figure img{
    height: 630px;
    object-fit: cover;
    width: 100%;
}

#section4 > #videoplayer{
    width: 100%;
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
}

#section4 > #videoplayer > div{
    padding-bottom: 56.25%;
}

#section4 > #videoplayer video{
    width: 100%;    
    aspect-ratio: 16 / 9;
}

#section4 > #videoplayer iframe{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;    
}

#section4 > #videoplayer #playvideo{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;    
    background-image: url(https://image.neolithofficial.com/lib/fe3311737364047c741d73/m/1/6935ce45-afab-4e0c-8981-c460e44ed21c.jpg);
    background-size: cover;
}

#section4 > #videoplayer #playvideo span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 115px;
    height: 115px;
    background-color: var(--color-naranja);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: var(--color-negro);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: 750ms;
}

#section4 > #videoplayer #playvideo:hover span{
    transform: translate(-50%, -50%) scale(1.1);
}

#section4 > #videoplayer #playvideo.playing span{
    transform: translate(-50%, -50%) scale(0);
}

#section4 > #videoplayer #playvideo.playing{
    background-image: none;
    pointer-events: none;
}

#section4 > figure figcaption{
    width: 95%;
    max-width: 1160px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 500;
}

#section4 .content .title{
    text-align: right;
    display: flex;
    justify-content: end;
    gap: 40px;
}

#section4 .content .title h2{
    max-width: 450px;
    text-align: left;
}

#section4 .content .title span{
    margin-top: 25px;
    margin-right: 30px;
    position: relative;
}

#section4 .content:nth-child(2):before{
    content: '';
    background-image: url(https://image.neolithofficial.com/lib/fe3311737364047c741d73/m/1/40c06dce-0f50-480b-8b0f-f9833e36fd6f.png);
    width: 393px;
    height: 542px;
    position: absolute;
    top: -120px;
    right: -60px;
}

#section4 .content .infotext{
    width: 85%;
    column-count: 2;
    padding-top: 55px;
    column-gap: 80px;
}

#section4 .content .infotext p{
    margin-bottom: 25px;
}

#section4 .content:last-child{
    padding-top: 20px;
    display: block;
}

#section4 .content:last-child a{
    background-image: url(https://image.neolithofficial.com/lib/fe3311737364047c741d73/m/1/1ad3d53a-a809-4e70-920d-d8d7e57a3f2b.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    display: inline-flex;
    height: 24px;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-negro);
    padding-right: 45px;
    display: none;
}

#section5{
    width: 100%;
    max-width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, #FAEBDB 0%, #D6D6D2 100%);
}

#section5 .content{
    position: relative;
    width: 87%;
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
}

#section5 .content .title span{
    padding-left: 70px;
}

#section5 .content .title h2{
    padding-top: 40px;
    max-width: 510px;
}

#section5 .content .title p{
    padding-top: 30px;
    max-width: 410px;
}

#section5 .gallery{
    padding-top: 85px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 980px;
    gap: 160px;
}

#section5 .gallery div:last-child{
    padding-top: 145px;
}

#section5 .gallery img{
    max-width: 100%;
}

#section5 .gallery figcaption{
    font-size: 1.3rem;
    line-height: 2.7rem;
    font-weight: 700;
    font-style: normal;
    display: block;
    border-bottom: 1px solid var(--color-border-negro);
}

#section5 .gallery p{
    padding-top: 20px;
}

#section5 .labelinfo{
    top: -20px;
    background-color: var(--color-verde);
}

#section6{
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding-top: 170px;
    background-color: #D5D5D1;
}

#section6 h2{
    margin: 0 auto;
    max-width: 600px;
    position: relative;
    z-index: 1;
    font-weight: 400;
    font-style: italic;
    font-size: 5rem;
    line-height: 5.9rem;
}

#section6 p{
    font-size: 1.8rem;
    line-height: 3.0rem;
    margin: 30px auto 15px;
    max-width: 430px;
    position: relative;
    z-index: 1;
}

#section6 a{
    background-color: var(--color-naranja);
    height: 48px;
    width: 205px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-negro);
    margin: 0 auto;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

#section6 figure{
    margin-top: -280px;
    z-index: 0;
    position: relative;
    line-height: 1px;
}

#section6 figure img{
    width: 100%;
}

#section6 figure figcaption{
    width: 95%;
    max-width: 1160px;
    margin: 0 auto;
    color: var(--color-blanco);
    border-color: #979797;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
    font-weight: 500;
    font-size: 1.1rem;
}

footer{
    width: 95%;
    max-width: 1160px;
    margin: 0 auto;
    color: var(--color-blanco);
    text-align: left;
    font-size: 1.3rem;
    margin-top: -40px;
    position: relative;
    display: flex;
    gap: 25px;
    font-weight: 500;
}

footer a{  
    color: var(--color-blanco);
}

footer ul{
    display: flex;
    gap: 25px;
}

.animated{
    opacity: 0;
    transition: 750ms;
    transform: translateY(100px);
}

.animated.active{
    opacity: 1;
    transform: translateY(0px);
}

.animated.delay500{
    transition-delay: 600ms;
}

.animated.delay1000{
    transition-delay: 600ms;
}

.animated.delay1500{
    transition-delay: 600ms;
}

#popup{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
}

#closepopup{
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

#popup.active{
    overflow: auto;
    opacity: 1;
    pointer-events: all;
}

#popup > div{
    background: var(--color-blanco);
    box-shadow: 0px 0px 54px -20px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 120px 130px;
    width: 90%;
    max-width: 980px;
    box-sizing: border-box;
    margin: auto;
    transition: 750ms;
    opacity: 0;
    transform: translateY(-200vh);
}

#popup.active > div{
    opacity: 1;
    transform: translateY(0vh);
}

#popup h2{
    text-align: center;
    margin: 0 auto 25px;
}

#popup a {
    background-color: var(--color-rosa);
    display: inline-flex;
    height: 48px;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    width: 100%;
    border: 0;
    font-family: 'Montserrat', sans-serif;
    margin-top: 30px;
    color: var(--color-negro);
    text-decoration: none;
    max-width: 280px;
}