/* PAGE 1 */

section.main {
    position: sticky;
    height: 100vh;
    margin: 0;
    border: 0;
    padding: 0;
    align-content: flex-start;
    background: #FFFFFF90;
    scroll-snap-align: start;
    overflow: hidden;
}

#introVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centers the video */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This is the magic line */
    z-index: -2;
}

div.intro-gif {
    position: relative;
    height: 80vh;
    margin-top: 15vh;
    align-content: center;
    background: url(../img/RPM-AC-Ilustracao-02-v02-Optimize.gif) no-repeat center center;
    background-size: cover;
    -moz-opacity: 1;
    -webkit-opacity: 1;
    opacity: 1;
    -moz-transition: opacity 3s;
    -webkit-transition: opacity 3s;
    transition: opacity 3s;
}

div.icon {
    left: 7%;
    top: 7%;
    position: absolute;
    display: block;
    border: 2px solid rgb(255, 255, 255);
    width: 7vh;
    height: 7vh;
    border-radius: 50%;
    z-index: 1;
}

div.icon-inner {
    position: relative;
    display: block;
    border-left: 2px solid rgb(255, 255, 255);
    border-right: 2px solid rgba(255, 255, 255, 0);
    border-top: 2px solid rgb(255, 255, 255);
    border-bottom: 2px solid rgb(255, 255, 255);
    width: 5vh;
    height: 5vh;
    border-radius: 50%;
    margin: 0.8vh;
    z-index: 1;
}

div.icon-inner:hover {
    animation: rMe 1s;
    animation-fill-mode: forwards;
}

@keyframes rMe {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

div.panel-1 {
    display: block;
    height: 100vh;
}

div.panel-2 {
    display: none;
}

div.text-center {
    text-align: center;
    align-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    height: -webkit-fill-available;
    width: 100vw;
    justify-content: center;
}

div.title {
    font-family: ManukaMedium;
    font-weight: normal;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    animation: fadeIn 1s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

div.subtitle {
    font-family: ManukaMedium;
    font-weight: normal;
    text-transform: uppercase;
    color: #FFFFFF90;
    margin: 0;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    animation: fadeIn 1s;
    animation-delay: 1.1s;
    animation-fill-mode: forwards;
}

div.subtitle-2 {
    font-family: ManukaMedium;
    font-weight: normal;
    text-transform: uppercase;
    color: #FFFFFF90;
    margin: 0;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    stroke-opacity: 0;
    animation: fadeIn 1s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        -moz-opacity: 0;
        -webkit-opacity: 0;
    }
    to {
        opacity: 1;
        -moz-opacity: 1;
        -webkit-opacity: 1;
    }
}

div.footer {
    margin-top: 20vh;
    text-align: center;
    align-content: center;
}

h3.footer-1 {
    font-family: ABCDiatypeCondensedBoldTrial;
    font-weight: normal;
    font-size: 2.5vh;
    text-transform: uppercase;
    color: #FFFFFF;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    stroke-opacity: 0;
    animation: fadeIn 0.2s;
    animation-delay: 3.1s;
    animation-fill-mode: forwards;
}

h3.footer-2 {
    font-family: ABCDiatypeCondensedRegularTrial;
    font-weight: normal;
    font-size: 2.5vh;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: 0.1rem;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    stroke-opacity: 0;
    animation: fadeIn 0.2s;
    animation-delay: 3.2s;
    animation-fill-mode: forwards;
}

div.footer-line {
    border-left: 1px solid rgb(255, 255, 255);
    height: 1%;
    position: absolute;
    left: 50%;
    margin-left: -3px;
    bottom: 0;
    -moz-transition: 0.4s;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    animation: footer-line-growIn 0.8s;
    animation-delay: 3.3s;
    animation-fill-mode: forwards;
}

a {
    font-family: ABCDiatypeCondensedRegularTrial;
    font-weight: normal;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: solid !important;
    -webkit-text-decoration: solid !important;
    color: #FFFFFF;
    margin-left: 10px;
    cursor: pointer;
}

a:hover {
    text-underline-offset: 10px;
    text-decoration: underline !important;
    -webkit-text-decoration: underline !important;
}

button.lang {
    font-family: ABCDiatypeCondensedRegularTrial;
    font-weight: normal;
    font-size: large;
    text-align: center;
    border: #FFFFFF;
    background-color: #ffffff00;
    color: #FFFFFF;
    border-width: 1px 1px 1px 1px;
    border-bottom-width: 1px !important;
    border-right-width: 1px !important;
    border-left-width: 1px !important;
    border-top-width: 1px !important;
    border: #FFFFFF;
    border-style: solid;
    width: 35px;
    cursor: pointer;
}

button.selected {
    background-color: #FFFFFF;
    color: #000000;
    mix-blend-mode: lighten;
    outline: none;
}

@media screen and (min-width: 1000px) {
    div.menu {
        right: 12%;
        top: 7.5%;
        position: absolute;
        display: none;
        cursor: pointer;
        overflow: hidden;
    }
    *.hidden-for-desktop {
        display: none !important;
    }
    div.menu-open {
        display: inline-block;
        max-width: 0px;
        height: 30px;
        -moz-transition: 0.4s;
        -webkit-transition: 0.4s;
        transition: 0.4s;
        animation: menu-appear 0.8s;
        animation-fill-mode: forwards;
    }
    *.hidden-for-mobile {
        /* do nothing */
    }
    div.lang-selector {
        right: 7%;
        top: 46%;
        position: absolute;
        width: min-content;
        display: block;
    }
    div.lang-selector-show {
        /* do nothing */
    }
     :root {
        --language: data-pt;
    }
    .bilanguage::after {
        content: attr(var(--language));
    }
    div.title {
        font-size: 11.5vh;
    }
    div.subtitle {
        font-size: 10.5vh;
    }
    div.subtitle-2 {
        font-size: 10.5vh;
    }
    @keyframes footer-line-growIn {
        from {
            height: 1%;
        }
        to {
            height: 8%;
        }
    }
    div.tmobile {
        display: none;
    }
    div.tdesk {
        display: block;
    }
}

@keyframes menu-appear {
    from {
        max-width: 0px;
    }
    to {
        max-width: 800px;
    }
}

@media screen and (max-width: 999px) {
    section.main {
        overflow-x: hidden;
    }
    div.menu {
        flex-direction: row;
        position: absolute;
        display: none;
        cursor: pointer;
        overflow: hidden;
    }
    div.menu-open {
        display: flex;
        height: 100%;
        width: 100%;
        align-content: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    *.hidden-for-mobile {
        display: none !important;
    }
    *.hidden-for-desktop {}
    div.lang-selector {
        top: 75%;
        position: absolute;
        width: 100%;
        display: none;
        justify-content: center;
        flex-direction: row;
        align-items: center;
        z-index: 1;
    }
    div.lang-selector-show {
        display: flex;
    }
     :root {
        --language: data-pt;
    }
    .bilanguage::after {
        content: attr(var(--language));
    }
    button.lang {
        margin-right: 10px;
        margin-left: 10px;
        font-size: 2.5vh;
        font-family: ABCDiatypeCondensedRegularTrial;
        width: 45px;
        height: 45px;
    }
    div.title {
        font-size: 9.5vh;
    }
    div.subtitle {
        font-size: 8.5vh;
    }
    div.subtitle-2 {
        font-size: 8.5vh;
    }
    div.tmobile {
        display: block;
    }
    div.tdesk {
        display: none;
    }
    @keyframes footer-line-growIn {
        from {
            height: 1%;
        }
        to {
            height: 17%;
        }
    }
    div.intro-gif {
        position: relative;
        height: 45vh;
        margin-top: 25vh;
    }
    a {
        font-family: ABCDiatypeCondensedRegularTrial;
        font-weight: normal;
        font-size: 3.5vh;
        text-transform: uppercase;
        color: #FFFFFF;
        margin-left: 20px;
        cursor: pointer;
        margin-left: 0px !important;
        margin-bottom: 10px !important;
    }
    h3.footer-1 {
        font-size: 2vh;
    }
    h3.footer-2 {
        font-size: 2vh;
    }
    div.footer {
        margin-top: 15vh;
    }
}

div.menu-container {
    right: 7%;
    top: 7%;
    position: absolute;
    display: inline-block;
    cursor: pointer;
    z-index: 1;
}

div.menu-bar1,
div.menu-bar2,
div.menu-bar3 {
    width: 2px;
    height: 3px;
    background-color: rgb(255, 255, 255);
    margin: 6px 0;
    -moz-transition: 0.4s;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    animation: menu-growIn 0.8s;
    animation-delay: 0.4s;
    animation-fill-mode: forwards;
}

@keyframes menu-growIn {
    from {
        width: 2px;
    }
    to {
        width: 32px;
    }
}

div.menu-change div.menu-bar1 {
    transform: translate(0, 9px) rotate(-45deg);
}

div.menu-change div.menu-bar2 {
    opacity: 0;
}

div.menu-change div.menu-bar3 {
    transform: translate(0, -9px) rotate(45deg);
}