.inner-wrapper {

}

.inner-wrapper .hero {
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    height: calc(var(--window-height) - var(--bottom-menu-height));
}

.inner-wrapper .hero .darken {
    height: 100%;
    width: 100%;
    background-color: rgb(0 0 0 / 35%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--menu-height);
}

.inner-wrapper .hero .logo {
    /* width: 100%; */
    max-width: 90vw;
    max-height: 30vh;
    padding: 40px;
}

.inner-wrapper .hero .claim {
    font-family: 'Ragam', sans-serif;
    font-size: 2em;
    color: white;
    text-align: center;
    margin: 20px 0;
    line-height: 1.2em;
}

.inner-wrapper .hero .scroll {
    justify-items: center;
}

.inner-wrapper .hero .scroll-text {
    color: white;
    font-family: 'contralto-small', sans-serif;
    font-size: 1.4em;
    font-weight: 600;
}

.inner-wrapper .hero .scroll-animation {
    color: white;
    font-family: 'Elza', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    transform: rotate(90deg);
    text-align: right;
    width: 100px;
    height: 100px;
    align-content: center;
}

.inner-wrapper .hero .scroll-animation .line {
    background: white;
    width: 40px;
    height: 2px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    position: relative;
}

.inner-wrapper .hero .scroll-animation .line::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 100%;
    position: absolute;
    left: 0%;
    top: 1px;
    transform: translate(-50%, -50%);
    animation-name: dotscroll;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes dotscroll {
  from {left: 0%;}
  to {left: 100%;}
}

.inner-wrapper .hero .scroll-animation .line::after {
    content: "";
}

.intro.container {
    padding-top: 60px;
}

.intro .title {
    font-family: 'contralto-small';
    font-size: 2.3em;
    margin-bottom: 30px;
    font-weight: 600;
    padding: 0px 30px;;
}

.intro .text {
    font-family: 'elza', sans-serif;
    font-size: 1.1em;
    line-height: 1.3em;
    padding: 0px 30px;
}

.intro .text p {
    margin-bottom: 20px;
}

.intro .gallery {
    margin-top: 80px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.intro .gallery .gallery-flex {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: row;
}

.intro .gallery>.gallery-item {
    width: 100%;
    aspect-ratio: 1.2;
}

.intro .gallery .gallery-flex .gallery-item:nth-child(1) {
    flex: 1.5;
    aspect-ratio: 1.5;
}

.intro .gallery .gallery-flex .gallery-item:nth-child(2) {
    flex: 1;
}

.intro .gallery .gallery-item img {
    height: 100%;
    width: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.specs {
    background-color: #061d1d;
    border-radius: 60px 60px 0px 0px;
    padding-top: 60px;
    padding-bottom: 30px;
    margin-top: 70px;
    background-image: url(/wp-content/themes/elvearesidenze/static/images/pattern-2.png);
    background-repeat: repeat-y;
    background-size: 30%;
    background-position-x: 10%;
}

.specs .title {
    color: white;
    text-align: center;
    font-family: 'contralto-small', sans-serif;
    font-weight: 600;
    font-size: 2.5em;
}

.specs .text {
    color: white;
    text-align: center;
    font-family: 'elza';
    font-size: 1.6em;
    font-style: italic;
}

.video-outer-wrapper {
  width: 100%;
  overflow: hidden;
}

.video-outer-wrapper .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
}

.video-outer-wrapper .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.specs .specs-list {
    
}

.specs .specs-list .spec-item {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.specs .specs-list .spec-item:not(:last-child)::after {
    content: "";
    display: block;
    width: 75%;
    height: 1px;
    background-color: white;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.specs .specs-list .spec-item img {
    height: 148px;
    display: inline-block;
}

.specs .specs-list .spec-item .spec-title {
    color: white;
    font-size: 1.3em;
    font-family: 'elza', sans-serif;
    font-weight: 100;
    margin-top: 25px;
}

.premise {
    padding: 60px 0px;
}

.premise .title {
    font-size: 2.5em;
    font-family: 'contralto-small', sans-serif;
    font-weight: 600;
    color: #23433e;
    margin-bottom: 50px;
}

.premise .text {
    font-family: 'elza', sans-serif;
}

.premise .text b {
    font-family: 'contralto-small', sans-serif;
    font-size: 1.4em;
}

.premise .gallery {
    margin-top: 80px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.premise .gallery>.gallery-item {
    width: 100%;
    aspect-ratio: 1.2;
}

.premise .gallery .gallery-item:nth-child(2) {
    flex: 1;
}

.premise .gallery .gallery-item:nth-child(3) {
    flex: 1.5;
    aspect-ratio: 1.5;
}

.premise .gallery .gallery-item img {
    height: 100%;
    width: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sections {

}

.sections .section {
    background-image: var(--section-bg);
    background-size: cover;
    background-position: center;
    margin-bottom: 25px;
}

.sections .section .darken {
    height: 100%;
    width: 100%;
    background-color: rgb(0 0 0 / 50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
}

.sections .section .title {
    color: white;
    font-family: 'contralto-small', sans-serif;
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
}

.sections .section .text {
    color: white;
    margin-top: 40px;
    text-align: center;
    font-family: 'elza', sans-serif;
    font-size: 1.2em;
}

.vt {
    padding-top: 60px;
    padding-bottom: 60px;
}

.vt .bg-image {
    aspect-ratio: 1;
    width: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 50px;
}

.vt .vt-content {
        padding: 0px 40px;
}

.vt .title {
    font-size: 2.5em;
    font-family: 'contralto-small', sans-serif;
    font-weight: 600;
    color: #23433e;
    margin-bottom: 50px;
}

.vt .text {
    font-family: 'elza', sans-serif;
}

.galleries {
    margin-bottom: 60px;
    margin-top: 60px;
}

.galleries .gallery {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.galleries .gallery .gallery-item {
    position: relative;
}

.galleries .gallery .gallery-item:nth-child(1) {
    flex: 1.5;
    aspect-ratio: 1.5;
}

.galleries .gallery .gallery-item:nth-child(2) {
    flex: 1;
}

.galleries .gallery.darken .gallery-item {
    width: 100%;
    background: black;
}

.galleries .gallery.darken .gallery-item img {
    opacity: .5;
}

.galleries .gallery .gallery-item img {
    height: 100%;
    width: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.galleries .gallery .gallery-item .button.float {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.phasein {
    opacity: 0;
    transform: translateY(100px);
}

.phasein.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease-out;
}



@media (min-width: 992px) {
    .inner-wrapper .hero {
        height: var(--window-height);
    }
    .inner-wrapper .hero .logo {
        margin-top: 200px;
    }
    .intro .gallery {
        flex-direction: row-reverse;
        margin-top: 0px;
        margin-left: calc(-1 * (100vw - var(--container-width)) / 2);
    }

    .intro .gallery .gallery-item:nth-child(1) {
        width: 60%;
    }

    .intro .gallery .gallery-flex {
        width: auto;
        flex-direction: column;
        flex: 1;
    }
    
    .intro .gallery .gallery-flex .gallery-item:nth-child(1) {
        width: 100%;
        height: 70%;
    }

    .intro .title {
        padding: 0px 0px 0px 100px;
    }

    .intro .text {
        padding: 0px 0px 0px 100px;
    }

    .specs {
        background-size: 10%;
    }

    .specs .specs-list {
        display: flex;
        width: var(--container-width);
        margin: auto;
    }
    .specs .specs-list .spec-item {
        flex: 1;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .specs .specs-list .spec-item::before {
        content: "";
        width: 50%;
        display: block;
        aspect-ratio: 1;
        position: absolute;
        background: #65987f;
        mix-blend-mode: overlay;
        border-radius: 100%;
        top: 50px;
        left: 50%;
        transform: translate(-80%);
        opacity: 0;
        transition-duration: .3s;
    }
    .specs .specs-list .spec-item:hover::before {
        opacity: 1;
    }
    .specs .specs-list .spec-item:nth-child(even)::before {
        top: 100px;
    }
    .specs .specs-list .spec-item:nth-child(even) {
        padding-top: 100px;
    }
    
    .specs .specs-list .spec-item:not(:last-child) {
        border-right: 1px solid white;
    }
    .specs .specs-list .spec-item:not(:last-child)::after {
        display: none;
    }
    .specs .specs-list .spec-item img {
        height: 120px;
    }

    .specs .video-outer-wrapper {
        padding-left: 10vw;
        padding-right: 10vw;
    }

    .premise .gallery {
        margin-top: 0px;
    }

    .sections {
        position: relative;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .sections::before {
        position: absolute;
        top: 50%;
        left: calc(-1 * (100vw - var(--container-width)) / 2);
        width: 100vw;
        height: 50%;
        content: "";
        background: #061d1d;
        transform: translateY(-50%);
    }

    .sections .section {
        height: 100%;
    }
    
    .sections .section .text {
        font-size: 1em;
    }
    
    .sections .section .darken {
        padding: 120px 60px;
    }

    .vt {
        position: relative;
        padding-top: 0px;
        padding-bottom: 0px;
        margin-bottom: 80px;
    }

    .vt .bg-image {
        position: absolute;
        left: calc(-1 * (100vw - var(--container-width)) / 2);
        width: 100vw;
        aspect-ratio: auto;
        height: 100%;
    }

    .vt .vt-content {
        background-color: #e0dcce;
        padding: 50px 140px 50px 100px;
        transform: translateY(80px);
    }

    .galleries {
        margin-bottom: 60px;
        margin-top: 160px;
    }

    .galleries .gallery {
        flex-direction: column;
        min-height: 800px;
    }

    .galleries .gallery .gallery-item {
        aspect-ratio: auto !important;
    }
}