@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap');

:root {
    --primary-color: #2a2a72;
    --secondary-color: #4c2885;
}

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

#home {
    background-color: #000a;
    border-color: #555;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 5px 5px #000a;
    cursor: pointer;
    fill: #fff;
    height: 30px;
    right: 1rem;
    padding: 5px;
    position: fixed;
    bottom: 1rem;
    width: 30px;
    z-index: 99;
}

body {
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    font-family: 'Ubuntu', sans-serif;
    height: 100vh;
    overflow-x: hidden;
    padding: 1rem;
    place-content: center;
    place-items: center;
}

main {
    max-width: 699px;
    width: 100%;
}

.user-form {
    max-width: 699px;
    width: 100%;
}

.user-form input {
    background-color: var(--secondary-color);
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(154, 160, 185, 0.05),
                0 15px 40px rgba(0, 0, 0, 0.1);
    color: #fff;
    display: block;
    font-family: inherit;
    font-size: 1rem;
    padding: 1rem;
    width: 100%;
}

.user-form input::placeholder {
    color: #bbb;
}

.user-form input:focus {
    outline: none;
}

.card {
    background-color: var(--secondary-color);
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(154, 160, 185, 0.05),
    0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    margin: 1.5rem 0;
    max-width: 699px;
    padding: 3rem;
    width: 100%;
}

.avatar {
    border-color: var(--primary-color);
    border-style: solid;
    border-width: 10px;
    border-radius: 50%;
    height: 150px;
    width: 150px;
}

.user-info {
    color: #eee;
    margin-left: 2rem;
    width: 100%;
}

.user-info p {
    margin-top: 1.337rem;
}

.user-info ul {
    display: flex;
    list-style-type: none;
    margin: 1rem 0;
    max-width: 420px;
    place-content: space-between;
}

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

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

.repo {
    background-color: var(--primary-color);
    border-radius: 0.3rem;
    color: #fff;
    display: inline-block;
    font-size: 0.69rem;
    margin: 0 0.5rem 0.5rem 0;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
}

@media(max-width: 500px) {
    .card {
        flex-direction: column;
        place-items: center;
    }

    .user-form {
        max-width: 420px;
    }
}
