body{
    overflow-x: hidden;
}
section{
    min-height: 100vh;
}
.bg-cut{
    background-image: url(../img/Madrigal-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    mask-image: url(../img/ico-sol-vertical.svg);
    mask-size: 75vw;
    mask-repeat: no-repeat;
    mask-position: bottom right;
    position: absolute;
    width: calc(100% - 30px);
    height: 100%;
    z-index: -1;
}

h2{
    font-size: 3rem !important;
}

p.quote {
    padding-left: 35px;
    padding-top: 35px;
    position: relative;
}

p.quote::before {
    display: block;
    position: absolute;
    content: " ";
    width: 2px;
    height: 60%;
    background: #ccc;
    top: 0px;
    left: 17px;
}

@media (min-width: 768px) {
    h2{
        font-size: 5rem !important;
    }
    .bg-cut{
        mask-image: url(../img/ico-sol.svg);
    }

}

.move-left{
    transform-origin: left;
    animation: move-left linear forwards;
    animation-timeline: view();
    animation-range-start: 90vh;
}

@media (max-width: 768px){
    .move-left{
        animation: none;
    }
    .bg-cut{
        mask-size: 55vw;
        background-image: url(../img/Madrigal-bg.jpg);
        background-size: cover;
        background-position: bottom;
        background-repeat: no-repeat;
    }
}

@keyframes move-left {
    to {
        transform: translateX(-50vw);
        opacity: 0;
    }
}

.logo{
    width: 120px;
}

.logo-container{
    padding: 15px !important;
    transform: scale(0.8) translateY(-120px);
    background-color: rgba(255, 255, 255, 0);
    z-index: 999;
    animation: logo linear forwards;
    animation-timeline: view();
    animation-range-start: 0px;
    animation-range-end: 60vh;
    position: sticky;
    top: 0;
    min-height: auto !important;
}

@keyframes logo {
    to {
        transform: scale(1) translateY(0px);
        background-color: rgba(255, 255, 255, 1);
    }
}

.img-gallery{
    transform: translatex(-50vw);
    opacity: 0;
    animation: img-gallery linear forwards;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 65vh;
}

@keyframes img-gallery {
    to {
        transform: translatex(0);
        opacity: 1;
    }
}

.texto-2{
    transform: translatex(50vw);
    opacity: 0;
    animation: texto-2 linear forwards;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 65vh;
}

@keyframes texto-2 {
    to {
        transform: translatex(0);
        opacity: 1;
    }
}

/** Contact **/
.contact-section {
    position: relative;
    padding-top: 150px;
}

.contact-bg{
    min-height: 250px;
}

.contact-bg img {
    width: 450px;
    max-width: 50vw;
    z-index: -1;
}

.contact-bg h2 {
    font-size: 5rem;
    margin: -130px 0px 0px 206px;
}

/*.contact-bg img{
    transform: translateY(200px);
    opacity: 0;
    animation: contacto-bg-img linear forwards;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 20vh;
}

.contact-bg h2{
    transform: translateX(100vh);
    opacity: 0;
    animation: contacto-bg-h1 linear forwards;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 20vh;
}*/

@keyframes contacto-bg-img {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes contacto-bg-h1 {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .contact-bg img {
    }
    .contact-bg h2 {
        font-size: 3rem;
        margin: -97px 0px 0px 89px;
    }
}

