@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300;600&family=Old+Standard+TT:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tinos&display=swap');


@keyframes fill-bar {
    from {width: 0%;}
    to {width: 100%;}
  }

*, 
*::before, 
*::after{
    padding:0;
    margin:0;
    box-sizing: border-box;
    transition: all .3s;
}
header{
    z-index: 999;
    position: absolute;
}
#wrap {
    position: relative;
    overflow: hidden;
}
section {
    box-sizing: border-box;
    position: relative;
    height: 100vh;
    overflow: hidden;
    font-size: 10vmin;
    font-size: 2rem;
    background: rgba(0, 0, 0, 1);
}
body{
    width:100%;
    background: rgba(0, 0, 0, 1);
    position: absolute;
    top:0;
    left:0;
    font-family: 'Jura', sans-serif;
    overflow: hidden;
    color:white;
}


/* LOADING SCREEN */
#loadingScreen{
    background: rgb(134, 132, 126);
    position: absolute;
    top:0;
    left:0;
    width: 100vw;
    height:100%;
    z-index: 99999;
    text-align: center;
    vertical-align: middle;
}
.loadingImg{
    height:85%;
    margin:0 auto;
    z-index: 100;
}
.loadingImg img{
    height: auto;
    width: 100%;
    max-height: 940px;
    max-width: 758px;
}
.loading{
    font-size: 2rem;
    text-align: center;
    margin:calc(100vh/1.2 - 40px) auto;
    border-radius: 5px;
    text-align: center;
    height:36px;
    width: 80%;
    margin:0 auto;
    border:4px solid black;
    z-index: 101;
}
.bar{
    background-color:rgba(0,0,0,.9);
    height: 20px;
    animation: fill-bar 9s ease-out;
    border-radius:5px;
    margin:4px;
}
.loading p{
    height: 100%;
    text-shadow: 1px 1px rgb(54, 54, 54);
    vertical-align: middle;
    color: black;
    margin:auto;
    width: 80%;
}

/* HEADER */

#hdr{
    border-bottom: 1px solid rgba(255, 255, 255, 0.745);
    position: relative;
    height:86px;
}
#logo{
    position: absolute;
    right:calc(100vw/2 - 80px);
    top:20px;
    z-index: 9999;
}
#logo a {
    width: 40px;
    height: 160px;
    padding:150px 20px 10px 20px;
}
#logo a img{
    height: 120px;
    transition: all .1s;
}
#logo a img:hover{
    scale: 110%;
}
#lang{
    position: absolute;
    right:30px;
    top:30px;
    z-index: 9999;
    font-size: 1.5rem;
}
#lang a, button{
    color: rgba(255, 255, 255, 0.745);
    text-decoration: none;
    padding:10px 20px;
    border: 1px solid rgba(255,255,255,0);
}
#lang a:hover, button:hover{
    color: rgba(255,255,255,1);
    border: 1px solid white;
    z-index:999;
}
button{
    background: none;
    padding:10px 20px;
    width: 120px;
    height: 50px;
    top:20px;
    left:30px;
    text-align: center;
    vertical-align: middle;
    display: block;
    cursor: pointer;
    z-index: 999;
    position:absolute;
    font-size: 1rem;
}
header{
    height:40%;
    top:calc(50% - 275px);
    margin: 0;
    padding: 0;
    display: flex;
    z-index: 9999;
    position: absolute;
    opacity: 1;
    width:300px;
}
main{
    position:relative;
    width:100vw;
    height:100vh;
    overflow: hidden;
    box-sizing: border-box;
    background-color: black;
}



/* NAV */

ul{
    width:100%;
    margin:auto;
    text-align:left;
    font-size: 1.1rem;;
    z-index: 9999;
}
ul li{
    display:inline-block;
    margin:10px 50px;
    width: 100%;
    position: relative;
}
ul:hover a{
    display: block;
    opacity: 1;
}
ul a::before{
    content: " - ";
    margin-left:-10px;
    opacity: 0;
}
ul:hover a::before{
    content: " - ";
    margin-left:0;
    opacity: 1;
}
li span{
    display:block;
    height:16px;
    width:16px;
    position: absolute;
    top:16px;
    left:-30px;
    border:2px solid white;
    border-radius: 100px;
    background-color: black;
}
ul li a{
    color: rgba(255,255,255,1);
    text-decoration:none;
    width:100%;
    vertical-align: middle;
    transition: all .1s ease;
    display: block;
    opacity: 0;
    transition: all .3s;
    padding:12px;
    margin-left:-35px;
    padding-left:35px;
}
ul li a:hover{
    scale: 105%;
}
span.active{
    text-decoration: none;
    background: rgba(207, 0, 17, 0.745);
    border:4px solid white;
    width:18px;
    height:18px;
}
a.active{
    opacity: 1;
}



.MobileNav{
    width: 100vw;
    position: absolute;
    height: 100vh;
    left:0;
    bottom:0;
    top:0;
}
.MobileNav li{
    margin:0;
}
#prev, #next{
    width: 48%;
    position: absolute;
    margin:0;
    text-align: center;
    top:92vh;
    background: rgba(255, 255, 255, .2);
}
#prev{
    left:5px;
    opacity: .3;
}
#next{
    right:5px;
}
#prev a, #next a{
    opacity: 1;
    border:1px solid white;
    margin:0;
    padding:0;
}
.MobileNav a::before{
    content: none;
}
.MobileNav:hover a::before{
    content: none;
}
#prev img, #next img{
    width: 50px;
}




/* PARALLAX IMGS */

.parallax{
    position:absolute;
    top:50%;
    left:50%;
    transition:all .1s cubic-bezier(.2,.49,.32,.99);
    pointer-events: none;
    height: 110vh;
}






/* TEXT */

.text{
    text-align: center;
    vertical-align: middle;
    width: 100%;
    margin: 0 auto;
    margin-top:7%;
    z-index: 999;
    transition: all .3s;
    perspective: 500px;
}
p{
    color:white;
}
.text p{
    font-size:1.5rem;
    text-align: justify;
    background-color: rgba(0, 0, 0, .6);
    width: 50%;
    background-blend-mode: overlay;
    font-family: 'Tinos', serif;
    margin:10px auto;
    border-radius: 5px;
    font-style: italic;
    padding:3.1%;
}
.text h2{
    font-size: 2.5rem;
    text-shadow: 3px 3px rgb(0, 0, 0);
    margin:1% auto;
    padding-bottom: .4%;
    width: 45%;
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(207,0,17,1) 100%);
    background-blend-mode: overlay;
    font-style: italic;
    display:inline-block;
    opacity: 1;
    border-radius: 5px;
    text-align: right;
    padding-right: 50px;
    vertical-align: middle;
}
.text h2:nth-child(2n){
    background: rgb(0, 150, 35);
    background: linear-gradient(90deg, rgb(0, 150, 35) 0%, rgba(0,0,0,1) 100%);
    text-align: left;
    padding-left: 40px;
}


/* SECTIONS */


 .vignette{
    height: 110vh;
}
.parallax.sketch{
    opacity: 1;
}




/* MOBILE */


@media (orientation: landscape) {
    
    
}
@media (orientation: portrait) {
    
    .text p{
        font-size:.8rem;
        width: 90%;
        padding:2.1%;
        margin: 2% auto;
        pointer-events: none;
    }
    a:hover{
        border:none;
    }
}

@media (max-height: 1079px) {
    .text p{
        font-size:.8rem;
        width: 80%;
        padding:3.1%;
        margin: 2% auto;
        pointer-events: none;
    }
    .text h2{
        font-size: 70%;
        padding:3% .4%;
        width: 100%;
        display:block;
        opacity: 1;
        border-radius: 0;
        padding-right: 50px;
        text-shadow: none;
        
    }
    #hdr{
        height:70px;
    }
    #logo{
        right:calc(100vw/2 - 50px);
        top:30px;
    }
    #logo a img{
        height: 70px;
        pointer-events: none;
    }
    #lang{
        right:10px;
        top:20px;
        font-size: 1.1rem;
    }
    button{
        width: 25%;
        height: 40px;
        top:10px;
        left:10px;
        font-size: .8rem;
    }
    ul{
        position: absolute;
        height: 100%;
        top:50%;
        left:-35px;
        scale: .8;
    }
    ul li{
        display:inline-block;
        margin:10px 50px;
        width: 100%;
        position: relative;
        
    }
    .Nav ul li a{
        display: none;
    } 
    .parallax{
        align-items:center;
        height:80%;
    }
    
    
  }

@media (max-width: 1079px) {
    .text p{
        width: 80%;
        padding:3.1%;
        margin: 2% auto;
        pointer-events: none;
    }
    .text h2{
        font-size: 1.5rem;
    }
    .section
    {
        overflow:scroll;
    }
    ul.Nav{
        display: none;
    }
    ul.MobileNav{
        display: block;
    }
    


    @media (orientation: landscape) {
        .loadingImg img{
            height: 100%;
            width: auto;
        }
        .loadingImg{
            height: 66%;
        }
        .loading{
            scale:.7;
        }
        .text p{
            width: 75%;
        }
        .text h2{
            width: 45%;
            display: inline-block;
        }
    }
    @media (orientation: portrait) {
        .loadingImg{
            padding-top: 10%;
        }
        .parallax, .vignette{
            height: 75vh;
            width: calc(80vh * 1.1);
            margin: 10vh auto;
            transform: scale(.6);
        }
        @media (max-height: 1200px) {
            .text p{
                font-size:.8rem;
                width: 92%;
                padding:3.1%;
                margin: 2% auto;
                pointer-events: none;
            }
        }
    }
}
@media (min-width: 1080px) {
    
    ul.MobileNav{
        display:none;
    }
}




