@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

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

main{
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

section{
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    font-family: Roboto, Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
}

h1{
    font-size: clamp(1.75rem, 6vw, 3rem);
}

p{
    font-size: clamp(1rem, 3vw, 1.125rem);
}

.ul-links{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px 25px;
    row-gap: 45px;
    margin-top: 25px;
    width: 100%;
}

.li-links{
    height: 280.95px;
    width: 250px;
    max-width: 100%;
}

.linkedin-card{
    background-color: #24292f;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.linkedin-card-link{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.linkedin-avatar{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin-bottom: 12px;
}

.linkedin-name{
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.linkedin-role{
    font-size: 0.85rem;
    color: #d6e8fa;
    margin-bottom: 8px;
}

.linkedin-university{
    font-size: 0.8rem;
    color: #a9cdf0;
}

.github-card{
    background-color: #24292f;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.github-card-link{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    padding: 20px;
}

.github-avatar{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin-bottom: 12px;
}

.github-name{
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.github-role{
    font-size: 0.9rem;
    color: #c9d1d9;
    margin-bottom: 8px;
}

.github-username{
    font-size: 0.85rem;
    color: #58a6ff;
}

#chiquinho{
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.cat-card{
    position: relative;
}

.cat-caption{
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: bold;
    color: #000;
}

@media (max-width: 600px){
    main{
        padding: 24px 16px;
    }

    .li-links{
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 360px){
    .cat-caption{
        white-space: normal;
        width: 90%;
    }
}