* {
    padding: 0;
    margin: 0;
}

html,
body {
    overflow: hidden;
    height: 100%;
}

#main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    height: 100%;
    width: 100%;
}

#card {
    border: 2px solid rgb(70, 70, 70);
    width: 80%;
    max-width: 335px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

#profile-img-box {
    background-color: #87d1f6;
    display: grid;
    grid-template-rows: 85% 15%;
    border-radius: 10px 10px 0 0;
    padding: 10px;
}

#profile-img-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

#user-img {
    /* outline: 2px solid black; */
    border-radius: 50%;
    height: 170px;
    width: 170px;
    background-image: url('../images/man.jpg');
    background-position: center;
    background-size: contain;
}

#social-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#social-links a {
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
    font-weight: bold;
    color: black;
}

#info-box {
    background-color: rgb(221, 221, 221);
    border-radius: 0 0 10px 10px;
}

#name {
    display: flex;
    justify-content: center;
    align-items: center;
}

#name p {
    font-size: 1.5em;
    font-weight: bold;
}

#desc {
    padding: 0 10px;
}

#hobbies {
    margin-top: 10px;
    padding: 5px;
}

.hobbieslist {
    padding-left: 40px;
    display: none;
    margin: 5px;
}

#hobbies button {
    padding: 5px;
    font-weight: bold;
    background-color: white;
    outline: none;
    border: 1px solid gray;
    border-radius: 5px;
    cursor: pointer;
}

@media screen and (min-width: 1000px) {
    #card{
        max-width: 800px;
        flex-direction: row;
    }
    #profile-img-box {
        border-radius: 10px 0 0 10px;
    }
    #user-img {
        height: 220px;
        width: 220px;
    }
    #info-box {
        border-radius: 0 10px 10px 0;
    }
    #name p {
        font-size: 2.5em;
    }
    #desc p{
        font-size: 1.3em;
    }
}