h1 {
    font-family: 'Space Mono', sans-serif;
    font-weight: 800;
}
html, body {
    height: 100vh;
    background-color: #d8d2d2;
}

body {
    display: grid;
    place-items: center;
    grid-template-columns: auto ;
}

h1 {
    flex: 5fr;
    letter-spacing: normal;
    text-transform: uppercase;
}

.card {
    background-color: #fff;
    width: 300px;
    min-width: 120px;
    max-width: 100%;
    height: auto;
    display: flex;
    padding: 40px;
    justify-content: center;
    flex-direction: column;
    border-radius: 1rem;
    gap: 20px;
}

.avatar {
    background-image: url("./avatar.webp");
    background-size: contain;
    background-position: center;
    background-color: #d8d2d2;
    width: 100px;
    height: 100px;
    min-width: 70px;
    min-height: 70px;
    border-radius: 0.5rem;
}



.links > a {
    padding-right: 10px;
}

a {
    color: #332dc1 ;
    text-decoration: underline;
    font-weight: 800;
}

a, p {
    font-family: 'Space Mono', sans-serif;
}


.announcement_subcard {
    background-color: red;
    width: 100%;
    height: 20px;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    color: white;
    text-overflow: clip;
    overflow: hidden;
}

.announcement_subcard > p {
    display: flex;
    text-wrap: nowrap;
    animation: announcement_marquee 20s linear infinite;
}


@keyframes announcement_marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-500px);
    }
}

@media (max-width: 650px) {
    .card {
        align-items: center;
        width: 200px;
        padding: 30px;
        
    }

    p {
        text-align: center;
    }

    .avatar {
        width: 70px;
        height: 70px;
    }
    .links {
        text-align: center;
    }
    
}