
* {
    font-family: sans-serif;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    background-color: white;
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.6);
}

.header {
    margin: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    font-size: 14px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3);
    border-radius: 2px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.flyer-container{
    margin-top: 2rem;
}

.flyer{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.flag-img {
    width: 5.5rem;
    aspect-ratio: 4 / 3;
    margin: 3px;
    transition: transform 0.3s;
}

.flag-img:hover {
    transform: scale(1.1);
}


.text-center {
    text-align: center;
}

.flag-btn {
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0px;
}

.flag-btn.selected::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid black;
    position: absolute;
    bottom: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    animation: flyIn 0.3s ease-out;
}

@keyframes flyIn {
    from {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.cover-img {
    width: 18rem;
    padding: 0.5rem;
}

body {
    display: grid;
    grid-template:
        "header" auto
        "body" 1fr
        "footer" auto
        / 1fr;
    height: 100vh;
    margin: 0;
}

body > header {
    grid-area: header;
}

body > main {
    grid-area: body;
}

body > footer {
    grid-area: footer;
    display: none;
}

@media screen and (max-width: 400px) {
    body > header > nav {
        display: none;
    }

    body > footer {
        display: initial
    }
}

.centered {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

a {
    color: black;
}

a:visited {
    color: #ED1B3B;
}


