*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    width: 100vw;
    height:100vh;
    box-sizing: border-box;
    background-color: aliceblue;
    
}

.header{
    padding: 10px 0;
    width: 100vw;
    background-color: rgb(158, 189, 218);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.head{
    margin: auto;
    margin-top: 10px;
    margin-left: 400px;
    margin-right: 400px;
    display: flex;
    border-radius: 10px;
    flex-direction: row;
}
.head .title,.head .search-box{
flex: 50%;
}
.head .title{
    text-align: left;
}

.head .search-box{
    text-align: right;
    position: relative;
}
.head i{
    position: absolute;
    right: 10px;
    top: 12px;
    z-index: 3;
}
.header .title{
    font-size: 25px;
    font-weight: bold;
    flex-basis: 50%;
}
.main{
    margin-top: 10px;
    margin-left: 300px;
    margin-right: 300px;
    display: flex;
    border-radius: 10px;
    flex-direction: column;
    background-color:white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.content{
    padding: 10px;
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-around;
    text-align: left;
}
.right-details{
    margin-top: 0;
    flex-basis: 50%;
}
.works,.details{
    display: flex;
    text-align: left;
}
.works,.sub-works{
    margin:10px 25px 0 0;
    text-align: center;
    font-weight: bold;
    padding: 5px;
}
.avartar img{
    border-radius: 50%;
    width: 300px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.user{
    padding: 10px;
    padding-right:22px ;
    color: blueviolet;
    position: relative;
}
.num{
    font-size: 28px;
    font-weight: 100;
}
.user::placeholder{
    color: blue;
}
.username{
    margin: 0;
    color: blueviolet;
}
.repos{
    display: flex;
}
.repo,.followers{
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    text-align: center  ;
}
.repos-item,.follo-items{
    text-align: justify;
    margin: 10px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.repo-title{
    margin-bottom: 10px;
    font-size: 22px;
    color: red;
}
.follo-items img{
    width: 100px;
    border-radius: 10%;
}
.follo-items .name{
    margin-left: 20px;
    font-size: 18px;
}
.follo-items{
    display: flex;
}
.footer{
    background-color: burlywood;
    text-align: center;
    width: 100vw;
    margin: auto;
}
.footer h4{
    color: purple;
    text-align: center;
}
@media screen and (orientation:portrait) {
    .head{
        margin: auto;
        margin-top: 10px;
        margin-left: 80px;
        margin-right: 80px;
        display: flex;
        flex-direction: column;
        text-align: center;

    }
    .head .title,.head .search-box{
        flex-basis: 100%;
        }
        .head .title{
            text-align: left;
        }
        
        .head .search-box{
            text-align: left;
            position: relative;
        }
        .head i{
            position: absolute;
            right: 20px;
            top: 12px;
            z-index: 3;
        }
        .header .title{
            text-transform: uppercase;
            font-size: 20px;
            font-weight: bold;
        }
        .main{
            margin-top: 0px;
            margin-left: 0px;
            margin-right: 0px;
            width: 100%;
            display: flex;
            border-radius: 0px;
            z-index: -3;
            flex-direction: column;
            background-color:white;
            box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        }
    .content{
        padding: 10px;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .details{
        flex-direction: column;
    }
    .details{
        text-align: center;
        flex-basis: 100%;
        justify-content: center;
    }
    .right-details{
        margin-top: 20px;
        padding: 10px;
        text-align: center;
    }
    .works,.sub-works{
        margin: auto;
    }
    .num{
        font-size: 20px;
    }
    .avartar img{
        width: 200px;
     }
    .username{
        margin: 0;
        color: blueviolet;
    }
    .repos{
        flex-direction: column;
    }
    .repo,.followers{
        flex-basis: 100%;
    }
    .repos-item,.follo-items{
        margin: 20px;
        padding: 10px;
    }
}
