@import url('https://fonts.googleapis.com/css2?family=Lora&family=Poppins&family=Source+Sans+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPMincho&family=Montserrat&family=Rubik+Mono+One&family=Source+Sans+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ms+Madi&family=Oswald&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* background-color: #0d1117; */
}

html{
    height: 100%;
    width: 100%;
    background-color: slategray;
}

nav{
    box-sizing: content-box;
    text-align: center;
    line-height: 5vh;
    animation-name: OPC;
    animation-duration: 4s;
    /* background-color: rgb(30, 45, 72); */
}

nav > a {
    color: rgb(35, 59, 82);
    padding: 4px 4px;
    text-decoration: none;
    opacity: 0.6;
    border-radius: 4px;
}

nav > a:visited{
    color: rgb(35, 59, 82);
}

nav > a:hover{
    opacity: 1;
    transition: all 0.5s ease-out;
}

body{
    font-family: Poppins, sans-serif;
    position: absolute;
    left: 10vw;;
    /* min-height: 100%; */
    height: 80%;
    width: 80%;
    overflow-x: hidden;
    /* overflow-y: hidden; */
    color: #ffffff;
    /* font-family: Lora, serif; */
    font-size: 2.5vh;
    line-height: 4vh;
}

h1{
    font-family: Rubik Mono One, serif;
    /* font-family: Ms Madi, serif; */
    font-size: 6vh;
    line-height: 8vh;
    margin: 1vh 0;
    background-color: rgb(68, 89, 109);
    text-align: center;
}

article{
    animation-name: OPC;
    animation-duration: 4s;
    background-color: slategrey;
    position: absolute;
    left: 35vw;
}

span.x{
    font-family: Ms Madi, serif;
}

/* <span class="v"></span> */

span.v{
    padding: 1px 2px;
    background-color: rgb(68, 89, 109);
}

span.ani{
    /* width: 20vh; */
    height: 20*2560/1440vh;
    position: absolute;
    animation-name: MoveToRight;
    animation-duration: 2s;
    /* animation-delay: 2s; */
    /* animation-iteration-count: infinite; */
}

span.ani2{
    /* width: 20vh; */
    height: 20*2560/1440vh;
    position: absolute;
    animation-name: MoveToRight2;
    animation-duration: 2s;
    /* animation-delay: 2s; */
    /* animation-iteration-count: infinite; */
}

@keyframes MoveToRight {
    from { 
        left: -100%;
        opacity: 0%;
    }

    to { 
        left: 17%; 
    }
}

@keyframes MoveToRight2 {
    from { 
        left: -100%;
        opacity: 0%;
    }

    to { 
        left: 6%; 
    }
}

@keyframes OPC {
    from { 
        
        opacity: 0%;
    }

    to { 
        opacity: 100%;
    }
}


img{
    display: none;
    position: absolute;
    width: 30vw;
    cursor: pointer;
    animation-name: OPC;
    animation-duration: 2s;
}

figure:first-of-type > img{
    display: inline-block;
}

figure{
    background-color: blanchedalmond;
}

img.cur{
    transition: all 0.3s ease-out;
    display: inline-block;
}

img.ncur{
    transition: all 0.3s ease-out;
    display: none;
}