*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100vw;
    height: 100vh;
    font-family: 'Google Sans', sans-serif;
    /* overflow-y:scroll; */
    overflow-x: hidden;

    
}
/* 
.container{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
} */

.container{
    max-width: 100%;
}

header{
    display: block;
    margin: 0 auto;
    background-color: #444;
}
header > .container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.header-logo{
    display: flex;
    align-items: center;
    justify-content: center;
}


.header-logo > p{
    color: #fff;
    font-size: 2em;
    font-weight: 600;
}

.header-items > ul{
    display: flex;
    list-style: none;
    align-items: center;
    gap: 50px;
    color: #fff;
}

.link{
    text-decoration: none;
    color: #fff;
}

.small-header-items{
    display: none;
}
.search{
    display: block;
    margin: 0 auto;
}
.search > .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* .search-main{

} */

.octocat img{
    display: block;
    max-width:40vw;
    min-width: 350px;
    height: auto;
    margin: 0 auto;
}
.search-bar{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.search-bar > input{
    border: none;
    text-align: center;
    background-color: #444;
    line-height: 5vh;
    border-radius: 50px;
    color: #fff;
    width: 300px;
    font-size: 1em;
}

.search-bar > input:focus,
.search-bar > input:active{
    transition:  linear 0.5s;
    width: 350px;
}

.search-bar > input:focus-within{
    border: none;
    outline: none;
    color: #fff;
}

.search-bar > input::placeholder{
    color: #aaa;
    font-family: 'Google Sans', sans-serif;
}

.user{
    display: none;
    position: fixed;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    margin: 30px;
    background-color: lavender;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    gap: 1.5vh;
}
.top-panel{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 35px;
}
.close{
    display:inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #444;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.5em;
    width: 35px;
    height: 35px;
    border: 1px solid #444;
    border-radius: 50%;
}


.user-name{
    color: slateblue;
}

.profile-img{
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    justify-self: center;
    text-align: center;
    width: 200px;
    height: 200px;
}

.profile-img img{
    display: block;
    align-self: center;
    align-items: center;
    justify-content: center;
    justify-self: center;
    max-width: 200px;
    border-radius: 15px;
}


.name{
    font-size: 3.5em;
    font-weight: 500;
    text-align: center;
}


.type{
    font-style: italic;
    font-weight: 500;
    text-align: center;
}

.bio{
    margin: 0 35px;
    text-align: center;
    
}

.view{
    border: none;
    padding: 10px 30px;
    font-family: 'Google Sans', sans-serif;
    background-color: steelblue;
    border-radius: 50px;
    font-size: 1.3em;
    color: #fff;
    text-decoration: none;
}


.bottom-panel{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 10px;
}

.public-repos-num, .public-gists-num{
    display: flex;
    flex-direction: column;
    align-items: center;

}
.span{
    font-weight: 600;
}

.follows{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: inherit;
    justify-content: center;
    gap: 10px;
}


footer{
    display: block;
    margin: 0 auto;
    position:absolute;
    bottom: -10%;
    height: 5vh;
    width: 100%;
    background-color: #444;
    
}
footer > .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
}

footer > .container > a{
 text-decoration: none;
 color:springgreen;
 letter-spacing: 2px;
 font-weight: 500;
 font-size: 1.3em;   
}
.user-shown{
    background-color: #444;
}


@media (max-width:570px) {
    
    .small-header-items{
        display: block;
    }

    .small-header-items > ul{
        display: none;
    }

    .small-header-items > ul.nav-active{
        display: flex;
        flex-direction: column;
        list-style: none;
        align-items: center;
        justify-content: center;
        position: absolute;
        /* top: 50%;
        transform: translateY(-50%); */
        top: 60px;
        bottom: 30px;
        left: 0;
        right: 0;
        margin: 0 auto;
        background-color: #666;
        gap: 50px;
        transition: linear 0.3s;
        z-index: 999;

    }

    .small-header-items > ul > li > a{
        font-size: 3em;
        color: #fff;
        font-weight: 500;
        text-shadow: 0 0 20px #111;
    }

    .small-header-items > ul > li > a:hover{
        text-shadow: 0 0 20px #fff;
    }
    .small-header-items > ul > li > a:active,
    .small-header-items > ul > li > a:focus{
        text-shadow: 0 0 20px springgreen;
    }
    .three{
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px;
        rotate: 90deg;
        gap: 4px;
        cursor: pointer;
        background-color: springgreen;
        border-radius: 25px;
        width: 40px;
        height: 40px;
        z-index: 999;
    }
    .three.gap-0{
        gap: 0;
    }
    #line1.collapsed1{
        position: absolute;
        rotate: 45deg;
    }
    #line3.collapsed3{
        position: absolute;
        rotate: -45deg;
    }
    #line2.d-none{
        display: none;
    }
    .line{
        content: '';
        background-color: #fff;
        width: 5px;
        height: 20px;
        border-radius: 10px;
        transition: linear 0.5s;
        
    }
    .header-items {
        display: none;
    }
    .header-logo > p{
        font-size: 1.2em;
    }
    .user{
        display: none;
        position: fixed;
        top: 10px;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 15px;
        margin-bottom: 30px;
        width: 90%;
        height: auto;
        border-radius: 20px;
    }
    .profile-img{
        position: relative;
        padding: 80px;
    }

    .search-main{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    #search-bar-input{
        width: 160px;
        font-size: .8em;
    }

    #search-bar-input:active,
    #search-bar-input:focus{
        width: 180px;
    }
    footer{
        position: absolute;
        bottom: 0;
        /* margin-top: 20px; */
        height: 5vh;
    }
}