@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    font-family: "Poppins", serif;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.05em;
    --max-width: 600px;
    margin: 0;
    padding: 0;
}

body{
    margin: 0;
    padding: 0;
    background-color: #1A243C;
}

.container{
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-right: 20px;
    margin-left: 20px;
    max-width: var(--max-width);
    width: 100%;
    animation: fadeInDown 0.6s ease forwards;
}

h1{
    font-size: 1.2rem;
}

.description{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 16px;
}

.avatar
{
    width: 128px;
    height: 128px;
    border: 4px solid #3273EA;
    margin-left: 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    background-image: url("assets/me.jpg");
    background-size: cover;
    background-position: center;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.2rem;
    position: relative;
}

.social-links a {
    text-decoration: none;
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.tooltip {
    display: none;
    position: absolute;
    background-color: #3273EA;
    color: white;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.6rem;
    z-index: 10;
}

.social-links a:hover .tooltip {
    display: block;
}

.menu{
    margin-top: 1rem;
    margin-right: 1rem;  
}

.menu a{
    font-weight: 200;
    letter-spacing: 0.10rem;
    margin-right: 0.4rem;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: white;
}

a:hover {
    color: #3273EA;
    transition: color 0.3s ease;
}

.content{
    max-width: var(--max-width);
    width: 100%;
    margin-top: 1rem;
}

.content h1{
    font-weight:700;
    font-size: 1.2rem;
    margin-left: 1rem;
    animation: fadeInDown 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.projects{
    display: flex;
    flex-direction: column;
}

.project{
    display: flex;
    flex-direction: column;
    margin: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #FFFFFF;
    animation: fadeInDown 0.6s ease forwards;
    opacity: 0;
}

.project:nth-child(1) {
    animation-delay: 0.6s;
}

.project:nth-child(2) {
    animation-delay: 0.8s;
}

.project:nth-child(3) {
    animation-delay: 1s;
}

.project-description h2{
    font-weight: 800;
    font-size: 1rem;
}

.project-description p{
    font-size: 0.6rem;
    font-weight: 400;
}

.project-image {
    border: 4px solid white;
    max-width: var(--max-width);
    width: 100%;
    height: 150px;
    position: relative;
    margin-bottom: 0.5rem;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
}

.project-image:hover::after {
    background-color: rgba(0, 0, 0, 0.2);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.project-image:hover img {
    transform: scale(1.05);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}