@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    font-family: 'Poppins', sans-serif;
}
body{
    background-image: url(https://www.cnet.com/a/img/resize/e6f3c27411296d437c342afa077cc2a9d08a401c/hub/2019/07/29/6109b01f-e32f-457d-9533-cd55b68ba5ba/d6j9ongwaam4yrm.png?auto=webp&fit=crop&height=675&width=1200);
    background-size: cover;
    background-color:#000;
}
h1{
    text-align: center;
    color: #fff;
    font-weight: 600;
}
.myForm{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: auto;
}
.myForm input{
    height: 50px;
    width: 400px;
    font-size: 20px;
    padding-left: 20px;
    border-radius: 8px;
}
.myForm button{
    width: 140px;
    height: 50px;
    font-size: 20px;
    background-color: rgba(46, 109, 192, 0.879);
    color: #fff;
    border: 0;
    border-radius: 3px;
}
.myForm button:hover{
    background-color: rgba(45, 111, 198, 0.879);
    color: #fff;
    cursor: pointer;
}
.card{
    width: 230px;
    height: fit-content;    
    display: flex;
    flex-direction: column;
    border: 1px solid #fff;
    border-radius: 8px;
    display: none;
    padding: 15px;
    margin-left: 41%;
    margin-top: 4%;
    color: #fff;
    background-color: rgb(53, 53, 53);
}
#userimg{
    height: 200px;
    width: 200px;
    margin-left: 10px;
}
#user-desc{
    height: fit-content;
    width: fit-content;
    margin-top: 5px;
}
.card h4,h5,p{
    margin: 0;
    font-weight: 400;
}
#name,#repos,#location,#user-desc,#viewfullprofile button{
    margin-left: 10px;
}
#viewfullprofile button{
    margin-top: 10px;
    font-size: 15px;
    padding: 10px 20px;
    background-color: rgb(34, 153, 208);
    color: #fff;
    border: 0;
    border-radius: 5px;
}
#viewfullprofile button:hover{
    background-color: rgb(34, 85, 109);
    border:1px solid #fff;
    cursor: pointer;
}
#repos{
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 5px;

}
#location{
    font-size: 15px;
    margin-bottom: 5px;
}
#error{
    width: fit-content;
    height: fit-content;
    background-color: #000;
    padding: 20px;
    border: 1px solid #fff;
    color: #fff;
    margin-left: 39%;
    margin-top: 3%;
    display: none;
}
@media screen and (max-width:768px) {
    body{
        background-color: #000;
        background-repeat: repeat-y;
    }
    .card{
        margin-left: 15%;
        margin-top: 14%;
    }
    .myForm input{
        height: 40px;
        width: 200px;
    }
    .myForm button{
        width: 80px;
        height: 40px;
    }
    #error{
        margin-left: 10%;
        height: fit-content;
        width: fit-content;
    }
}
@media screen and (min-width:768px) and (max-width:992px){
    body{
        background-size: cover;
        background-repeat: no-repeat;
    }
    .card{
        margin-left: 33%;
        margin-top: 10%;
    }
    #error{
        margin-left: 32%;
        height: fit-content;
        width: fit-content;
    }
    .myForm input{
        height: 50px;
        width: 400px;
        font-size: 20px;
        padding-left: 20px;
        border-radius: 8px;
    }
    .myForm button{
        width: 140px;
        height: 50px;
        font-size: 15px;
        background-color: rgba(46, 109, 192, 0.879);
        color: #fff;
        border: 0;
        border-radius: 3px;
    }
}
