*{
    margin: 0;
    padding: 0;
    font-family: "Figtree", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

html{
    font-size: 14px;
}

body{
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin-left: 0;
    margin-right: 0;
    background-color: hsl(0, 0%, 8%);
    overflow: hidden;
    font-family: Outfit;
    color: hsl(0, 0%, 100%);
}

.attribution { 
    font-size: 11px; 
    text-align: center; 
}

.attribution a { 
    color: hsl(228, 45%, 44%); 
}

body main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100vw;
    height: 100%;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    width: 75%;
    background-color: hsl(0, 0%, 12%);
    box-shadow: 0.5rem 0.5rem hsl(0, 0%, 8%) ;
}

.card img{
    border-radius: 50%;
    width: 7rem;
    height: 7rem;
}

.card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 2rem;
    padding: 0;
}

.section{
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.card-content .section .card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: hsl(0, 0%, 100%)
}

.section > p:nth-child(2){
    font-size: 1rem;
    font-weight: 600;
    color: hsl(75, 94%, 57%);
    text-align: center;
}



.card-content .card-text {
        font-weight: 400;
        font-size: 0.9rem;
        color: hsl(0, 0%, 100%);
}

.card-content .profile-links{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    gap: 1rem;
}

.profile-links p{
    background-color: hsl(0, 0%, 20%);
    width: 100%;
    padding: 1rem 0;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.profile-links p:hover{
    cursor: pointer;
    background-color: hsl(75, 94%, 57%);
}

.profile-links p a{
    text-decoration: none;
    color: hsl(0, 0%, 100%);
}

/* less than 375px */
@media screen and (max-width: 349px){
    .card-content .card-title {
        font-size: 1.3rem;
    }

    .card-content .card-text {
        padding: 0;
    }
}
@media screen and (min-width: 350px){
    .card-content .card-title {
        font-size: 1.5rem;
    }

    .card-content .card-text {
        /* padding: 0 1.3rem; */
    }
}

/* Tablets */
@media screen and (min-width: 768px) {
    .card {
        width: 40%;
    }

    /* .card-content .card-text {
        padding: 0 1rem;
    } */
}

/* Mid laptops */
@media screen and (min-width: 1024px) {
    .card {
        width: 30%;
    }

    /* .card-content .card-text {
        padding: 0 0.9rem;
    } */
}

/* Large laptops */
@media screen and (min-width: 1440px) {
    .card {
        width: 23%;
    }
}

@media screen and (min-width: 1500px) {
    .card {
        width: 20%;
    }
}