*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}
body{
    width: 100%;
    min-height: 100vh;
    font-family: 'Poppins';
   
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
ul.social{
    list-style: none;
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
ul li{
    margin: 5px 0;
}
ul li a{
    text-decoration: none;
    color: #fff;
    height: 50px;
    line-height: 50px;
    display: flex;
}
ul li a span:nth-child(2){
    background: green;
    width: 50px;
    height: 80%;
    border-radius: 30%;
    display: grid;
    place-items: center;
    font-size: 24px;
}
ul li a span:nth-child(1){
    width: 0;
    height: 100%;
    background: green;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    padding-left: 0;
    letter-spacing: 1px;
    overflow: hidden;
    margin-right: 5px;
    border-radius: 0 50px 50px 0;
    transition: 0.3s ease;
}
ul li a:hover span:nth-child(1){
    width: 155px;
    padding-left: 20px;
}
/* instagram */
ul li:nth-child(2) a span:nth-child(1),
ul li:nth-child(2) a span:nth-child(2){
    background: #bc28f9 ;
}
/* twitter */
ul li:nth-child(3) a span:nth-child(1),
ul li:nth-child(3) a span:nth-child(2){
    background:#1877f2  ;
}
/* GitHub */
ul li:nth-child(4) a span:nth-child(1),
ul li:nth-child(4) a span:nth-child(2){
    background:#0a66c2 ;
}
/* Linkedin */
ul li:nth-child(5) a span:nth-child(1),
ul li:nth-child(5) a span:nth-child(2){
    background:#e4405f ;
}





@media only screen and (max-width: 900px) {


ul.social{
    list-style: none;
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
ul li{
    margin: 2px 0;
}
ul li a{
    text-decoration: none;
    color: #fff;
    height: 50px;
    line-height: 45px;
    display: flex;
}
ul li a span:nth-child(2){
    background: green;
    width: 30px;
    height: 55%;
    border-radius: 30%;
    display: grid;
    place-items: center;
    font-size: 18px;
}
ul li a span:nth-child(1){
    width: 0;
    height:100%;
    background: green;
    font-size: 15px;
    font-weight: 300;
    text-transform: uppercase;
    padding-left: 0;
    letter-spacing: 1px;
    overflow: hidden;
    margin-right: 5px;
    border-radius: 0 50px 50px 0;
    transition: 0.3s ease;
}
ul li a:hover span:nth-child(1){
    width: 170px;
    padding-left: 15px;
}
/* instagram */
ul li:nth-child(2) a span:nth-child(1),
ul li:nth-child(2) a span:nth-child(2){
    background: #bc28f9 ;
}
/* twitter */
ul li:nth-child(3) a span:nth-child(1),
ul li:nth-child(3) a span:nth-child(2){
    background:#1877f2  ;
}
/* GitHub */
ul li:nth-child(4) a span:nth-child(1),
ul li:nth-child(4) a span:nth-child(2){
    background:#0a66c2 ;
}
/* Linkedin */
ul li:nth-child(5) a span:nth-child(1),
ul li:nth-child(5) a span:nth-child(2){
    background#e4405f: ;
}
