@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Encode+Sans+Semi+Expanded:wght@100;200;300;400;500;600;700;800;900&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 16px;
    background-color: rgb(248, 237, 223);
    font-family: "Encode Sans Semi Expanded", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

main {
    flex: 1; 
}

.atstumt {
    text-align: center;
}

h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 12px 0;
}

.taryboslogo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
}

.insta, .facebook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.insta svg, .facebook svg {
    width: 30px;
    height: 30px;
}

hr {
    margin: 15px 0 30px;
}

.container-buttons ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.button {
    display: inline-block;
    padding: 30px 100px;
    font-size: 1.1rem;
    color: inherit;
    text-decoration: none;
    background-color: rgb(245, 224, 196);
    border-radius: 12px;
}

.button:hover,
.button:focus-visible {
    background-color: rgb(238, 210, 172);
}

footer {
    opacity: 50%;
    text-align: center;
    padding: 16px 0 4px;
    font-size: 0.875rem;
    /* border-top: 1px solid rgba(0, 0, 0, 0.15); */
}

footer p {
    margin: 0;
}
footer a {
    text-decoration: none;
    color: rgb(98, 0, 118);
}

/* MOBILE OPTIMIZATIONS */

@media (max-width: 600px) {
    body {
        padding: 12px;
    }

    h1 {
        font-size: 1.4rem;
    }

    .taryboslogo {
        width: 100px;
        height: 100px;
    }

    hr {
        margin: 12px 0 20px;
    }

    
    .container-buttons ul,
    .container-buttons li {
        width: 100%;
    }

    .button {
        display: block;
        padding: 18px 16px;
        font-size: 1rem;
        text-align: center;
    }
}