@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 70%;
}

body{
    background: #0B0C10;
    width: 100%;
}
/* ==================Nav-bar===================== */
.nav-bar{
    display: flex;
    height: 7vh;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    color: #C5C6C7;
    background-color: rgba(0,0,0,0.5);
    animation: nav 2s ease-in;
    animation-fill-mode: forwards;
}

@keyframes nav {
    0% {
        opacity: 0;
        box-shadow: none;
    } 90%{
        box-shadow: 0 0 10px #C5C6C7;
    }
     100% {
        opacity: 1;
        box-shadow: 0 1px 10px #C5C6C7;
    }
}

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

.nav-logo p{
    padding: 0.2rem;
    display: flex;
    font-size: 2rem;
    transition: 0.5s;
}

.nav-logo p:hover {
    color: white;
    cursor:default;
    text-shadow: 0 1px 10px #66fcf1, 0 1px 20px #66fcf1, 0 1px 30px #66fcf1;
}

.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;
}

.menu a{
    position: relative;
    text-decoration: none;
    color: #c5c6c7;
    margin: 0.5em;
    letter-spacing: 0.1em;
    font-size: 2rem;
    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;
}

/* @media screen and (max-width: 480px){
    .nav-bar {
        width: 100%;
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .nav-logo {
        font-size: 1.5rem;
        size: 5rem;
        letter-spacing: 2px;
        margin: 0;
    }
} */

/* ======================Main===================== */

.container {
    width: 100%;
    min-height: 88vh;
    background: #0B0C10;
    justify-content: center;
    animation: slide 2s;
    animation-fill-mode: forwards;
}

@keyframes slide {
    0%{
        margin-top: 20vh;
        opacity: 0;
    }100%{
        margin-top: 0;
        opacity: 1;
    }
}

hr {
    height: 2px;
    width: 100%;
    background-color: #1f2833;
    display: flex;
    justify-content: center;
    margin: 4vh 0;
    border: none;
    transition: 1s;
}

.profile {
    height: 30vh;
    transition-duration: 1s;
}

.container:hover hr {
    background-color: #66fcf1;
    box-shadow: 0 0 2px #66fcf1;
}

.profile img{ 
    margin: 6vh;
    height: 20vh;
    width: 20vh;
    border-radius: 50%;
    transform: none;
    z-index: auto;
    background-size: cover;
    background-color: rgba(0,0,0,0);
    transition: 1s;
}

.profile img:hover {
    background-color: #66fcf1;
    box-shadow:0 0 4px #66fcf1, 0 0 6px #66fcf1, 0 0 8px #66fcf1;
}

.username {
    display: flex;
    margin-left: 3vh;
    padding: 4vh;
    color: white;
    text-shadow: 1px 1px 0 2px white;
    font-size: 2rem;
}

.username p {
    display: absolute;
    margin-left: 40vw;
    font-size: 2rem;
}

.email {
    display: flex;
    margin-left: 3vh;
    text-align: center;
    padding: 4vh;
    color: white;
    text-shadow: 1px 1px 0 2px white;
    font-size: 2rem;
}

.email p {
    display: absolute;
    margin-left: 38vw;
    font-size: 2rem;
}

.bio {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vh;
    color: white;
    display: auto;
    text-shadow: 1px 1px 0 2px white;
    transition: 1s;
    font-size: 2rem;
}

.bio img {
    height: 1.75rem;
    width: 1.75rem;
    background-size: cover;
    margin-bottom: 2vh;
}

.bio input {
    margin-left: 10px;
    width: 100%;
    height: 20vh;
    border: none;
    background-color: #0B0C10;
    color: white;
    font-size: 2rem;
    transition: box-shadow 1s;
}

.bio input:hover {
    box-shadow: 0 0 4px #66fcf1, 0 0 6px #66fcf1, 0 0 8px #66fcf1;
}



/* =====================Editor btn===================== */
.editor {
    margin-top: -4vh;
    width: 100%;
    height: 50vh;
    opacity: 0.2;
    background: url("images/editorbtn.jpg");
    background-position: left;
    transition: 2.5s;
    background-repeat: no-repeat;
}

.editor:hover {
    opacity: 1;
    background-position: right;
}

.editior:hover p {
    transform: translateY(-3px);
}

.editor p {
    font-weight: bold;
    font-size: 2rem;
    display: flex;
    padding: 16vh 0 10vh 0;
    justify-content: center;
    align-items: center;
    color: white;
}

.editor a {
    position: relative;
    display: inline-block;
    font-size: 2.1rem;
    margin-left: 45%;
    padding: 10px 20px;
    text-decoration: none;
    background: rgba(203, 204, 139, 0.5);
    color: whitesmoke;
    overflow: hidden;
}

.editorBtn {
    transition: 1s;
}

.editor .editorBtn:hover {
    color: #0B0C10;
    font-weight: bold;
    /* background-color: #768330; */
    box-shadow: 0 0 30px #768330, 0 0 60px #768330, 0 0 90px #768330;
    transition-delay: 1s;
}

.editor a span {
    position: absolute;
    display: block;
}

.editor a span:nth-child(1) {
    top: 0;
    left: -100%;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg,transparent,white);
}

.editor a:hover span:nth-child(1) {
    left: 100%;
    transition: 1s;
}

.editor a span:nth-child(2) {
    right: 0;
    top: -100%;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg,transparent,white);
}

.editor a:hover span:nth-child(2) {
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
}

.editor a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    height: 2px;
    width: 100%;
    background: linear-gradient(270deg,transparent,white);
}

.editor a:hover span:nth-child(3) {
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
}

.editor a span:nth-child(4) {
    left: 0;
    bottom: -100%;
    height: 100%;
    width: 2px;
    background: linear-gradient(360deg,transparent,white);
}

.editor a:hover span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
}
/*=================footer=================== */

.footer{
    background-color: rgba(0,0,0,0);
    height: 6vh;
    display: flex;
    justify-content: center;
    padding-top: 8vh;
    color: #C5C6C7;
    font-size: 2rem;
    transition: 1s;
}

/* ==================Scroolbar================== */


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

::-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: 60%;
    }
    .username p {
        display: absolute;
        margin-left: 41vw;
        font-size: 2rem;
    }

}    

@media(max-width:768px)
{
    html{
        font-size: 50%;
    }

    .editor {
        transition: 3s;
    }
    
    .editor:hover {
        opacity: 1;
        background-position: center;
    }

    .username p {
        display: absolute;
        margin-left: 41vw;
        font-size: 2rem;
    }
    .email p{
        margin-left: 37.5vw;
    }
}

@media(max-width:650px)
{
    html{
        font-size: 42%;
    }
}


@media(max-width:560px)
{
    html{
        font-size: 40%;
    }
    .nav-logo {
        transform: translateX(3vh) translateY(9vh);
        font-weight: bold;
        max-width: 90vw;
    }

    .nav-logo p {
        font-size: 2.6rem;
    }

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

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

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

    .username p {
        display: absolute;
        margin-left: 30.5vw;
        font-size: 2rem;
    }
    .email p{
        margin-left: 25vw;
    }

    .editor a {
        margin-left: 35vw;
    }
}

