
/* Desktop & Laptop screen*/ 
@media (min-width: 1022px) {
    body{
        padding: 1rem 9rem;
    }
    nav{
        width: 100%;
        height: 14vh;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    nav .navleft{
        width: 30%;
        height: 10vh;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-items: center;
        gap: 20px;
    }
    nav Topnav{
        display: none;
    }
    .navslide{
        display: none;
    }
    nav .navleft h2{
        font-weight: bold;
        font-size: 24px;
        font-family: sans-serif;
    }
    nav .navleft button{
        font-weight: bold;
        font-size: 8.5px;
        width: 67px;
        height: 25px;
        border-color: white;
        border-radius: 20px;
        cursor: pointer;
        background-color: rgba(177, 175, 173, 0.336);
    }
    nav .navleft button:hover{
        background-color: white;
    }
    nav .navright{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 18%;
        height: 10vh;
        font-size: 16px;
        align-items: center;
        align-content: center;
        cursor: pointer;
    }
    nav .navright div:hover{
        color: rgba(255, 255, 255, 0.055);
    }
    nav .navright .icon1{
        width: 5%;
        height: 15px;
        background-image: url(./dribble_icon.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    nav .navright .icon2{
        width: 5%;
        height: 15px;
        background-image: url(./insta_icon.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat    ;
    }
    nav .navright .icon3{
        width: 5%;
        height: 15px;
        background-image: url(./v_icon.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat    ;
    }
    section{
        width: 100%;
        height: 300vh;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }
    section .one{
        background-image: url(./eth.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 3;
        align-content: center;
        color: rgba(0, 0, 0, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
    }
    section .one:hover{
        cursor: pointer;
        color: black;
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
    }
    .menubar{
        display: none;
    }
    section .two{
        background-image: url(./alphabet.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        color: rgba(0, 0, 0, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
        align-content: center;
    }
    section .two:hover{
        cursor: pointer;
        color: black;
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
    }
    section .three{
        background-image: url(./traveler.avif);
        background-position: top;
        background-repeat: no-repeat;
        background-size: 47rem;
        grid-row-start: 2;
        grid-row-end: 5;
        color: rgba(0, 0, 0, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
        align-content: center;
    }
    section .three:hover{
        cursor: pointer;
        color: black;
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
    }
    section .four{
        background-image: url(./cube.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        grid-row-start: 3;
        grid-row-end: 5;
        color: rgba(0, 0, 0, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
        align-content: center;
    }
    section .four:hover{
        cursor: pointer;
        color: black;
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
    }
    section .five{
        background-image: url(./astro.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        grid-row-start: 3;
        grid-row-end: 5;
        color: rgba(0, 0, 0, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
        align-content: center;
    }
    section .five:hover{
        cursor: pointer;
        color: rgb(245, 233, 233);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
    }
    section .six{
        background-image: url(./cup.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        grid-row-start: 5;
        grid-row-end: 8;
        color: rgba(0, 0, 0, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
        align-content: center;
    }
    section .six:hover{
        cursor: pointer;
        color: black;
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
    }
    section .seven{
        background-image: url(./insta.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        grid-column-start: 2;
        grid-column-end: 4;
        grid-row-start: 5;
        grid-row-end: 8;
        color: rgba(0, 0, 0, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
        align-content: center;
    }
    section .seven:hover{
        cursor: pointer;
        color: rgb(245, 233, 233);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
    }
    section .eight{
        background-image: url(./foam.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 8;
        grid-row-end: 10;
        color: rgba(0, 0, 0, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
        align-content: center;
    }
    section .eight:hover{
        cursor: pointer;
        color: black;
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
    }
    section .ten{
        background-image: url(./dimensional.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

        grid-row-start: 10;
        grid-row-end: 8;
        color: rgba(0, 0, 0, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
        align-content: center;
    }
    section .ten:hover{
        cursor: pointer;
        color: rgb(245, 233, 233);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 30px;
    }
    footer{
        text-align: center;
        align-content: center;
        font-size: 14px;
        height: 10vh;
    }
}

/* Tablets screen*/ 
@media (min-width: 481px) and (max-width: 1021px) {
    body{
        padding: 1rem 1.5rem;
        height: 400vh;
    }
    nav{
        width: 100%;
        height: 14vh;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    nav .navleft{
        width: 45%;
        height: 10vh;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-items: center;
        gap: 20px;
    }
    nav .navleft h2{
        font-weight: bold;
        font-size: 20px;
        font-family: sans-serif;
    }
    nav .navleft button{
        font-weight: bold;
        font-size: 8.5px;
        width: 67px;
        height: 25px;
        border-color: white;
        border-radius: 20px;
        cursor: pointer;
        background-color: rgba(177, 175, 173, 0.336);
    }
    nav .navleft button:hover{
        background-color: white;
    }
    nav .navright{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 35%;
        height: 10vh;
        font-size: 16px;
        align-items: center;
        align-content: center;
        cursor: pointer;
    }
    nav .navright div:hover{
        color: rgba(255, 255, 255, 0.055);
    }
    nav .navright .icon1{
        width: 12%;
        height: 15px;
        background-image: url(./dribble_icon.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    nav .navright .icon2{
        width: 12%;
        height: 15px;
        background-image: url(./insta_icon.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat    ;
    }
    nav .navright .icon3{
        width: 12%;
        height: 15px;
        background-image: url(./v_icon.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat    ;
    }
    .menubar{
        display: none;
    }
    section{
        background-color: pink;
        width: 100%;
        height: 400vh;
        display: grid;
        grid-template-columns: 1fr 1fr;
        
    }
    section .one{
    background-image: url(./eth.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    color: rgba(0, 0, 0, 0);
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 2;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .one:hover{
    cursor: pointer;
    color: black;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .two{
    background-image: url(./alphabet.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 4;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .two:hover{
    cursor: pointer;
    color: black;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .three{
    background-image: url(./cube.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 2;
    grid-row-end: 4;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .three:hover{
    cursor: pointer;
    color: black;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .four{
    background-image: url(./astro.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 4;
    grid-row-end: 6;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .four:hover{
    cursor: pointer;
    color: rgb(206, 199, 199);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .five{
    background-image: url(./traveler.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 4;
    grid-row-end: 6;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .five:hover{
    cursor: pointer;
    color: black;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .six{
    background-image: url(./insta.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 6;
    grid-row-end: 10;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .six:hover{
    cursor: pointer;
    color: rgb(221, 206, 206);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .seven{
    background-image: url(./cup.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 10;
    grid-row-end: 12;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .seven:hover{
    cursor: pointer;
    color: black;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .eight{
    background-image: url(./foam.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 10;
    grid-row-end: 12;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .eight:hover{
    cursor: pointer;
    color: black;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .ten{
    background-image: url(./dimensional.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    grid-column-start:  1;
    grid-column-end: 3;
    grid-row-start: 12;
    grid-row-end: 14;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    section .ten:hover{
    cursor: pointer;
    color: rgb(235, 218, 218);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 30px;
    }
    footer{
        text-align: center;
        align-content: center;
        font-size: 14px;
        height: 10vh;
    }
    
}


/* Mobiles screen*/ 
@media (min-width: 0px) and (max-width: 500px) {
    body{
        background-color: white;
        box-sizing: border-box;
        margin: 0;
        padding: 10px 5px;
    }
    nav{
        height: 8vh;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        text-align: center;
        align-items: center;
    }
    nav .navright{
    display: none;
    }
    nav .navleft{
        width: 60%;
        display: flex;
        gap: 10px;
    }
    nav .navleft h2{
        font-size: 15px;
    }
    nav .navleft button{
        width: 58px;
        height: 20px;
        font-size: 8px;
        font-weight: bold;

        align-self: center;
    }
    .menubar{
        cursor: pointer;
        display: block;
    }
    .bar1, .bar2, .bar3{
        width: 30px;
        height: 5px;
        background-color: #333;
        margin: 6px 0;
        transition: 0.4s;
    }

    .animatebar1 {
        animation: spin 1s;
        animation-fill-mode: forwards;
    }
    @keyframes spin {
      from {
        transform: rotate(0);
      }
      to {
        transform: rotate(45deg) translate(4px, 11px);
      }
    }
    .animatebar2{
        animation: spin2 1s;
        animation-fill-mode: forwards;
    }
     @keyframes spin2 {
       from {
        opacity: 1;
      }
      to {
        opacity: 0;
        scale: 0;
      }
    }
    .animatebar3{
        animation: spin3 1s;
        animation-fill-mode: forwards;
    }
     @keyframes spin3 {
       from {
        transform: rotate(0);
      }
      to {
        transform: rotate(-45deg) translate(4px, -12px);
      }
    }
    #navslide{
        display: none;
        width: 12%;
        height: 75vh;
        position: absolute;
        top: 4.5em;
        right: 0;
        padding: 14px;
        background-color: white;
        color: black;
        text-align: center;
        align-content: center;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana;
        font-size: 12px;
        right: -160px;
        transition: transform 0.5s;
    }
    .openDown{
        transform: translateX(-160px);
    }
    #navslide div{
        padding: 10px 0;
    }
    #navslide .icon1{
    width: 30%;
    height: 15px;
    background-image: url(./dribble_icon.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    justify-self: center;
    }
    #navslide .icon2{
    width: 30%;
    height: 15px;
    background-image: url(./insta_icon.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    justify-self: center;
    }
    #navslide .icon3{
    width: 30%;
    height: 15px;
    background-image: url(./v_icon.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    justify-self: center;
    }
    section{
    padding: 5px;
    height: 450vh;
    display: grid;
    grid-template-columns: 1fr 1fr;  
    gap: 15px 10px;  
    }
    section .one{
    background-image: url(./eth.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    color: rgba(0, 0, 0, 0);
    width: 100%;
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 20px;
    }
    section .one:hover{
    cursor: pointer;
    color: black;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    }
    section .two{
    background-image: url(./alphabet.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    width: 100%;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 20px;
    }
    section .two:hover{
    cursor: pointer;
    color: black;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    }
    section .three{
    background-image: url(./cube.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    width: 100%;
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 3;
    grid-row-end: 4;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 20px;
    }
    section .three:hover{
    cursor: pointer;
    color: rgb(230, 222, 222);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    }
    section .four{
    background-image: url(./astro.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    width: 100%;
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 3;
    grid-row-end: 4;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 20px;
    }
    section .four:hover{
    cursor: pointer;
    color: rgb(206, 199, 199);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    }
    section .five{
    background-image: url(./traveler.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    width: 100%;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 5;
    color: rgba(211, 27, 27, 0);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 20px;
    }
    section .five:hover{
    cursor: pointer;
    color: rgb(206, 199, 199);
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    }
    section .six{
        background-image: url(./cup.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        align-content: center;
        width: 100%;
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 5;
        grid-row-end: 6;
        color: rgba(211, 27, 27, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 20px;
        }
    section .six:hover{
        cursor: pointer;
        color: black;
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        }
    section .seven{
        background-image: url(./insta.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        align-content: center;
        width: 100%;
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 6;
        grid-row-end: 7;
        color: rgba(211, 27, 27, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 20px;
        }
    section .seven:hover{
        cursor: pointer;
        color: rgb(248, 244, 244);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        }
    section .eight{
        background-image: url(./foam.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        align-content: center;
        width: 100%;
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 7;
        grid-row-end: 8;
        color: rgba(211, 27, 27, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 20px;
        }
    section .eight:hover{
        cursor: pointer;
        color: rgb(245, 245, 245);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        }
        section .ten{
        background-image: url(./dimensional.avif);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        align-content: center;
        width: 100%;
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 8;
        grid-row-end: 9;
        color: rgba(211, 27, 27, 0);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        font-size: 20px;
        }
    section .ten:hover{
        cursor: pointer;
        color: rgb(247, 240, 240);
        text-align: center;
        font-weight: bold;
        font-family: sans-serif;
        }
    footer{
        width: 100%;
        text-align: center;
        align-content: center;
        font-size: 14px;
        height: 10vh;
        }

}