/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++       Default values: mobile and shared     +++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
@charset "UTF-8";       /* Set the encoding of the style sheet to Unicode UTF-8 */

#header {
    grid-area: 1 / 1 / 2 / 1;
    text-align: center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    max-height: 100%;
    padding: 0.5em;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#first-text-div {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding:0.5em 1em;
}

#titles-div {
    text-align: center;
    width: 90%;
    display: flex;
    flex-direction: column;
    max-width: 90%;
    margin-bottom: 3em;
    margin-top: 3em;
    overflow: hidden;

}
    #header h1 {
        font-family: novalismedium_97,novam;
        margin: 0;
        font-size: 11vw;
        margin-bottom: 0.9rem;
    }
    
    #header h2 {
        font-family: novalismedium_97,novam;
        font-size: 1.6em;
        margin:0;
        
        
    }
    #header p {
        font-size: 150%;
        font-weight: 400;
        width: max-content;
        margin: 0 auto;
        font-family: Arial, Helvetica, sans-serif;
        max-width: 99%;
        
        
        
    }

#header-description-div {
    margin-top: 0;
    width: 100%;
    text-align: center;
    font-size: 0.7em;
    max-width: 95%;
}


h1[class="light-header-text"], p[class*="light-header-text"] {
    color:#FFFEDB;
    text-shadow: 0px 0px 8px black, 0px 0px 2px black;
}
h1[class="dark-header-text"], p[class*="dark-header-text"] {
    color: #200306;
    text-shadow: 0px 0px 8px #FFFEDB, 0px 0px 2px #FFFEDB;
}
h2[class="light-header-text"] {
    color: #EECA86;
    text-shadow: 0px 0px 8px black, 0px 0px 2px black;
}
h2[class="dark-header-text"] {
    color: #600146;
    text-shadow: 0px 0px 8px #FFFEDB, 0px 0px 2px #FFFEDB;
}



#arrow-wrapper {
    width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items:center;
    overflow: hidden;
    height: 25%;

}
#header-arrow {
    font-family: monospace;
    font-weight: bold;
    padding: 0;
    font-size: max(10vw);
    display: flex;
    align-items:center;
    justify-content: center;
    transform-origin: 50% 0%;
    line-height: 0.5;
    
}
.header-arrow-animation {
    animation: point 4s ease-in infinite;
    animation-direction: alternate;
}
.rotate-arrow-down {
    transform: rotate(90deg);
    
}



@keyframes point {
    0%{transform: rotate(90deg) translateX(20px)}
    50% {transform: rotate(90deg) translateX(35px)}
    75% {transform: rotate(90deg) translateX(20px);color:#FFFA86}
    100% {transform: rotate(90deg) translateX(20px) ;}
   
}




/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++       Second size: min-width: 650px     +++++++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

@media only screen and (min-width:550px) and (orientation: portrait) {
    #header {padding:0} 
    #first-text-div, #titles-div{margin:0; padding: 0; max-width: 80%;}
    #first-text-div p {margin: 0; font-size: 80%}
    
    #header h1 {
        font-size: 4em;
        margin: 0;
        margin-bottom: 0.5rem;
        margin-top: 8%; 
    }
    #header h2 {
        font-size: 2.8em;
        margin-bottom: 0;
    }
    #header-description-div{
        max-width: 80%;
    }
    #header p {
        font-size: 2em;
    }
    #header-arrow {
        font-size: 12vw;
    }
    
}
@media only screen and (min-width:500px) and (orientation: landscape) {
    #header h1 {
        font-size: max(4.3em, 5vw);
        
    }
    #header h2 {
        font-size: 2.5em;
    }
    #header-description-div {
        width: 40%;
        position: absolute;
        bottom: 80px;
        right: 20px;
        height: min-content;
        overflow: hidden;
        text-align: right;
        font-size: 0.8em;
    }
    @keyframes point {
        0%{transform: rotate(90deg) translateX(10px)}
        50% {transform: rotate(90deg) translateX(10px)}
        75% {transform: rotate(90deg) translateX(20px);color:#FFFA86}
        100% {transform: rotate(90deg) translateX(10px) ;}
       
    }
    #header-arrow {
        font-size: 5em;
    }
}
@media only screen and (max-width:770px) and (orientation: landscape) {
    #header {
        justify-content: center;
        align-items: center;
    }
    #titles-div {
        height:500%;
        overflow:visible
    }
    #header h1 {
        font-size: 3em;
        margin-bottom: 0;
    }
    #header h2 {
        font-size: 1.5em;
    }
    #first-text-div{
        display: none;
    }
    #header-description-div{
        display: none;
    }
    #arrow-wrapper {
        height: 100%;
        overflow:visible
    }
    #header-arrow {
        font-size: 10vh;
        transform-origin: -370% -980%;
        
    }
   
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++       Max size: min-width: 1024px     +++++++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

@media only screen and (min-width:1024px) {
    #header {
        width: 100%;
    }
    #first-text-div {
        margin-top: 0.9rem;
        max-width: 100%;
        display: none;
        
    }
    #first-text-div p{
        max-width: 100%;
        
        
    }
    #titles-div{
        margin-top: 8%;
        margin-bottom: 3%;
    }
   
    #header h1 {
        font-size: 4.5em ;
        margin-top: 0;
    }
    #header h2 {
        font-size: 2.5em ;
    }
    #header p {
        font-size: 125%;
        padding: 0.5em;
    }
    #header-description-div {
        bottom: 40px;
        right: 20px;
        height: min-content;
        overflow: hidden;
        text-align: right;
        font-size: 1em;
    }
    #sub-title-line-break {
        display: none;
    }
    #arrow-wrapper {
        align-items: center;
    }
    #header-arrow{
        font-size: 7vw;
        
    }
    

    @keyframes point {
        0%{transform: rotate(90deg) translateX(30px)}
        50% {transform: rotate(90deg) translateX(30px)}
        75% {transform: rotate(90deg) translateX(55px);color:#FFFEA6}
        100% {transform: rotate(90deg) translateX(30px) ;}
       
    }
    @keyframes point-inverse {
        0% {transform: rotate(270deg) translateX(-40px) ;}
        100% {transform: rotate(270deg) translateX(-40px) ;}
    }
}


/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++       Size: 650px to 1024px LANDSCAPE    +++++++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
@media only screen and (min-width:650px) and (max-width:1024) and (orientation: landscape) {
    #header {justify-content: flex-start;}
    /* #titles-div {margin-top:0} */
}

