@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&display=swap');

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

body {
    background-color: hsl(0, 0%, 8%);
    color: hsl(0, 0%, 100%);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.profile-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1em;
}

.profile-card {
    background-color: hsl(0, 0%, 12%);
    width: 400px;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 30px 30px;
    border-radius: 8px;
}

.header img {
    max-width: 100px;
    border-radius: 50%;
    margin-bottom: 18px;
}

.header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.london {
    color: hsl(75, 94%, 57%);
}

p {
    font-size: 14px;
}

h2, p {
    font-weight: 400;
}

h2 {
    margin-bottom: 7px;
}




li {
    list-style-type: none;
    background-color: hsl(0, 0%, 20%);
    color: hsl(0, 0%, 100%);
    margin: 20px 0;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

li a {
    border: 1px solid black;
    text-decoration: none;
    color: hsl(0, 0%, 100%);
    width: 100%;
    height: 100%;
    padding: 20px;
}

li:hover {
    background-color: hsl(64, 96%, 57%);
}

li:hover a {
    color: hsl(0, 0%, 0%);
}


.attribution { 
    font-size: 11px; text-align: center; 
    position: relative;
    bottom: 30px;
}
.attribution a { 
    color: hsl(228, 45%, 44%); 
}

.attribution img {
    max-width: 12px;
    display: inline-block;
    margin: 0 5px;
}

.attribution a:hover {
    color: hsl(75, 94%, 57%);
}

@media (max-width: 375px) {

    .attribution {
        position: relative;
        bottom: 80px;
    }


    .attribution {
        display: flex;
        flex-direction: column;
    }

    .first-footer {
        margin-bottom: 10px;
    }
}