@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}


body {
    background: #1F2833;
}

.nav-bar{
    display: flex;
    height: 8vh;
    align-items: center;
    justify-content: space-between;
    color: #C5C6C7;
    background-color: #1F2833;
    animation: nav 3s ease-in;
    animation-fill-mode: forwards;
    transition: box-shadow 0.5s, background-color 0.75s;
}

@keyframes nav {
    0% {
        opacity: 0;
    }
     100% {
        opacity: 1;
    }
}

.nav-bar:hover {
    background-color: #273546d7;
    box-shadow: 0 1px 10px #C5C6C7;
}

.nav-logo{
    display: flex;
    align-items: center;
}

.nav-logo p{
    display: flex;
    font-size: 2.6vh;
    transition: 0.5s;
}

.nav-logo p:hover {
    color: #45A29E;
    cursor:default;
    text-shadow: 0 1px 10px #45A29E;
}

.logo{
    padding-left: 0.2rem; padding-right: 0.2rem;
    border-radius: 3rem;
    width: 4vh;
    height: 4vh;
    transition: 1s;
}

.logo:hover {
    background-color: white;
    box-shadow: 0px 0px 40px white, 0px 0px 80px white, 0px 0px 110px white;
}

nav ul{
    display: flex;
    list-style: none;
    text-decoration: none;
}

li{
    margin: 1vw;
}

.menu a{
    position: relative;
    text-decoration: none;
    color: #c5c6c7;
    letter-spacing: 0.5px;
    font-size: 2.5vh;
    padding: 0.5vh;
}

.menu a::after{
    content: "";
    position: absolute;
    background-color: #66fcf1;
    height: 3px;
    width: 0;
    left: 0;
    bottom: -1px;
    transition: 0.5s;
}

.menu a:hover::after{
    width: 100%;
}
.menu a:hover{
    color: white;
    text-shadow: 0 0 20px;
}
/* ==========================body======================= */

span {
    position: relative;
    transition: 1.25s;
    font-size: 4vw;
    left: -300%;
    color: #C5C6C7;
}

.box:hover span {
    left: 0%;
}


/* =====================Status======================== */


.box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background: #757985;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: slideup 1s ease-in;
    animation-fill-mode: forwards;
    transition: 1s;
}

@keyframes slideup {
    0%{transform: translateY(50vh);
        opacity: 0;
    }
    100%{transform: translateY(0);
    opacity: 1;}
}

.box:hover {
    box-shadow: inset 0 0 100px #66fcf1, inset 0 0 190px #66fcf1, inset 0 0 220px #66fcf1;
}

    .box ul {
        display: inline-block;
        padding-left: 15vh;
    }

.box ul li{
    opacity: 0;
    margin-left: 20vh;
    transition: 1s;
}

.box:hover ul li:nth-child(1) {
    transition-delay: 0.25s;
    margin-left: 0;
    opacity: 1;
}

.box:hover ul li:nth-child(2) {
    transition-delay: 0.5s;
    margin-left: 0;
    opacity: 1;
}

.box:hover ul li:nth-child(3) {
    transition-delay: 1s;
    margin-left: 0;
    opacity: 1;
}

.box:hover ul li:nth-child(4) {
    transition-delay: 1.25s;
    margin-left: 0;
    opacity: 1;
}

.box:hover ul li:nth-child(5) {
    transition-delay: 1.5s;
    padding-left: 0;
    margin-left: 0;
    opacity: 1;
}

/* =================================================== */

/* --------------------------footer----------------------- */
footer{
    background-color: rgba(0,0,0,0);
    height: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
    color: #C5C6C7;
    font-size: 2.6vh;
    z-index: 1000;
}

::-webkit-scrollbar{
    width: 0.75em;
    display: none;
}

::-webkit-scrollbar-track{
    border-radius: 100vw;
    background: #1f2833;
}   

::-webkit-scrollbar-thumb{
    background: rgba(128, 128, 128, 0.753);
    border-radius: 100vw;
}

::-webkit-scrollbar-thumb:hover{
    background: #c5c6c7c4;   
}

/* -------------------------------------media-queries---------------------------- */

@media(max-width: 1024px) {
    html{
        font-size: 80%;
        max-width: 100vw;
    }

    .nav-bar {
        display: block;
        height: 26vh;
        text-align: right; 
    }

    .nav-logo {
        transform: translateX(3vh) translateY(9vh);
        font-weight: bold;
        max-width: 97vw;
    }

    .nav-logo p {
        font-weight: bold;
        font-size: 3rem;
    }

    nav ul li{
        font-size: 2rem;
        line-height: 4vh;
        transform: translateY(-3.5vh);
    }

    nav ul{
        display: block;
        list-style: none;
        text-decoration: none;
    }

    .box {
        width: 100%;
        height: 40vh;
        clip-path: none;
        margin: 2vh 0 0 0;
        display: inline-block;
    }

    .box:hover {
        box-shadow: inset 0 0 20px #66fcf1, inset 0 0 50px #66fcf1, inset 0 0 50px #66fcf1;
    }

    span {
        position: relative;
        display: flex;
        justify-content: left;
        transition: 1.25s;
        font-size: 2.6rem;
        padding-top: 4vh;
        opacity: 0;
        color: #C5C6C7;
    }
    
    .box:hover span {
        justify-content: center;
        opacity: 1;
        padding-top: 4vh
    }

    .box ul {
        width: 60vw;
        padding: 2vh 0 0 25vw;
        font-size: 2rem;
    }

    footer {
        margin-top: 2vh;
    }
}


@media(max-width: 578px) {
    html{
        font-size: 60%;
        max-width: 100vw;
    }

    .nav-bar {
        display: block;
        height: 26vh;
        text-align: right; 
    }

    .nav-logo {
        transform: translateX(3vh) translateY(10vh);
        font-weight: bold;
        max-width: 97vw;
    }

    .nav-logo p {
        font-weight: bold;
        font-size: 2.5rem;
    }

    nav ul li{
        line-height: 4vh;
        transform: translateY(-3.8vh);
    }

    nav ul{
        display: block;
        list-style: none;
        text-decoration: none;
    }

    .box {
        width: 100%;
        height: 50vh;
        clip-path: none;
        margin: 2vh 0 0 0;
        display: inline-block;
    }

    .box:hover {
        box-shadow: inset 0 0 20px #66fcf1, inset 0 0 50px #66fcf1, inset 0 0 50px #66fcf1;
    }

    span {
        position: relative;
        display: flex;
        justify-content: left;
        transition: 1.25s;
        font-size: 2.6rem;
        padding-top: 4vh;
        opacity: 0;
        color: #C5C6C7;
    }
    
    .box:hover span {
        justify-content: center;
        opacity: 1;
    }

    .box ul {
        width: 60vw;
        padding: 2vh 0 0 25vw;
        font-size: 1.6rem;
    }
    
    footer {
        margin-top: 2vh;
    }
}