section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    background-color: #fff;
    transition: background-color 0.3s ease-in;
    position: relative;
    overflow: hidden;
}

section.auto-height{
    min-height: auto;
    padding: 50px 0;
}
html.dark section {
    background-color: #212529;
}
section:first-of-type {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.8s ease;
    padding-top: 100px;
}

.loaded section:first-of-type {
    animation: scaleIn 0.8s ease-in-out 500ms normal forwards;
}
/* section .fade_content {
    opacity: 0;
    animation-delay: 1s;
    transition: opacity 0.3s ease-in-out;
} */

section .fade_content *:first-child {
    opacity: 0;
    animation-delay: 1.2s !important;
    transition: opacity 0.5s ease-in-out, color 0.3s ease, background-color 0.3s ease;
}

section .fade_content *:nth-child(1) {
    opacity: 0;
    animation-delay: 1.4s !important;
    transition: opacity 0.5s ease-in-out, color 0.3s ease, background-color 0.3s ease;
}
section .fade_content *:nth-child(2) {
    opacity: 0;
    animation-delay: 1.5s !important;
    transition: opacity 0.5s ease-in-out, color 0.3s ease, background-color 0.3s ease;
}
section .fade_content *:nth-child(3) {
    opacity: 0;
    animation-delay: 1.6s !important;
    transition: opacity 0.5s ease-in-out, color 0.3s ease, background-color 0.3s ease;
}
section .fade_content *:nth-child(4) {
    opacity: 0;
    animation-delay: 1.8s !important;
    transition: opacity 0.5s ease-in-out, color 0.3s ease, background-color 0.3s ease;
}

/* .loaded section .fade_content {
    animation: fadeIn 0.8s ease-in-out 1200ms normal forwards;
} */

.loaded section .fade_content *:first-child,
.loaded section .fade_content *:nth-child(1),
.loaded section .fade_content *:nth-child(2),
.loaded section .fade_content *:nth-child(3),
.loaded section .fade_content *:nth-child(4) {
    animation: fadeIn 0.8s ease-in-out 1200ms normal forwards;
}

section .mobile-only {
    display: none;
}
section .desktop-only {
    display: block;
}

@media screen and (max-width: 1025px) {
    /* section h1,
    section h2,
    section p,
    section .btn {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    section .btn {
        display: inline-block;
    } */
    .slim-content-mobile {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    section {
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    section .mobile-only {
        display: block;
    }
    section .desktop-only {
        display: none;
    }
}


/* ----------- Large Taglet ----------- */

@media only screen 
  and (min-width: 768px) 
  and (max-width: 1100px){
/*    section.slider{
        min-height: 0;
        height: 55vh;
    }

    section.slider .slide{
        min-height: 0;
        height: 55vh;   
    }*/
}