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

body{
    background-color: #212121;
    background-image: url("./images/bg-img.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    font-family: "Parkinsans",sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    cursor: crosshair;
}

/* this is the header part */
header{
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
}

header h2{
    color: #fbfaf2;
}

#image1,#image2{
    height: 80px;
    width: 80px;
}

#image1{
    margin-right: 10px;
}

#image2{
    margin-left: 10px;
}

/* this is the footer portion */
.bottom{
    height: 10%;
    position: fixed;
    display: inline-block;
    bottom: 1px;
    right: 4%;
}

.box{
    border: 2px solid #80b9c8;
    padding: 8px 25px 8px 25px;
    border-radius: 10px;
    box-shadow: 0px 0px 17px #80b9c8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* height: 5px;
    width: 200px; */
}

#logo{
    margin-left: 5px;
    margin-right: 5px;
}

h3{
    margin-left: 6px;
}


.main1{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 0;
    height: 80%;
}

.user-form{
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fbfaf2;
    border-radius: 30px;
    padding-left: 20px;
    margin-bottom: 25px;
    max-width: 650px;
    width: 100%;
    position: fixed;
    top: 25%;
}

.user-form input{
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
    font-weight: 20px;
    font-size: 15px;
}

.user-form input::placeholder{
    color: black;
    font-family: "Poppins",sans-serif;
}
.user-form input:focus{
    outline: none;
}

button{
    height: 42px;
    border: none;
    outline: none;
    padding: 16px 50px;
    background: #80b9c8;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 40px;
}

.card{
    max-width: 720px;
    height: 405px;
    background-color: #fbfaf2;
    border-radius: 20px;
    box-shadow: 0px 5px 10px rgba(154, 160, 185, 0.05),
    0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 2.7rem;
    margin: 0 1.35rem;
    margin-top: 140px; 
    cursor:default;
    padding-top: 1rem;
}

.img-container{
    display: flex;
    align-items: center;
}

.avatar{    
    border-radius: 50%;
    border: 5px solid #80b9c8;
    height: 135px;
    width: 135px;
}

.user-info{
    color: black;
    margin-left: 2rem;
    /* font-size: px; */
}

.user-info h2{
    margin-top: 0;
    text-align: center;
    margin-bottom: 10px;
}

.user-info p{
    margin-bottom: 12px;
}

.user-info ul{
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    max-width: 360px;
    margin-bottom: 12px;
}

.user-info ul li{
    display: flex;
    align-items: center;
}

.user-info ul li strong{
    font-size: 0.81rem;
    margin-left: 0.5rem;
}

.repo{
    text-decoration: none;
    color: #fff;
    background-color: #212121;
    font-size: 0.63rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.45rem;
    margin-bottom: 0.5rem;
    padding-top: 10px;
    display: inline-block;
}

@media screen and (max-width:500px) {
    body{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-image: none;
        background-color: green;
    }

    header{
        height: 5%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 35px;
        margin-top: 20px;
        margin-right: 20px;
    }

    #image1,#image2{
        height: 75px;
        width: 75px;
    }

    header h2{
        font-size: small;
    }

    .main1{
        height: 90%;
    }

    .user-form{
        margin-top: 10px;
        max-width: 350px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 0;
        position: relative;
        top: 50px;
    }

    .card{
        margin-top: 80px;
        flex-direction: column;
        align-items: center;
        max-width: 325px;
        padding-bottom: 3rem;
        padding-top: 1%;
        height: 550px;
    }

    .user-info{
        font-size: medium;

    }

    .avatar{
        border-radius: 50%;
        margin: 1rem;
        height: clamp(100px, 20vw, 160px);
        width: clamp(100px, 20vw, 160px);
    }

    .user-info {
        margin: 0;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    
    html {
       font-size: 90%;
    }

    footer{
        height: 5%;
        margin-top: 175px;
        position: relative;
        bottom: 0;
    }  
}

@media screen and (min-height:780px) and (max-height:1100px){
    body{
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }

    .user-form{
        margin-top: 0;
        top: 205px;
        width: 750px;
    }

    header{
        padding-top: 105px;
    }

    .main1{
        width: 1000px;
    }

    .card{
        margin-bottom: 70px;
        height: 450px;
        padding-top: 23px;
    }
}