:root {
    --primary-800: #1C479C;
    --secondary-color: #6c757d;
    --background-color: #F4F4F5;
    --text-color: #18181B;
    --link-bg-hover: #E2E8F0;
    --link-color-hover: #213C7A;
    --link-color-visited: #18284D;
}

body {
    background-color: var(--background-color);
    font-family: Inter;
    margin: 0;
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 2.5rem;
    margin-block: 2rem 1rem;
}

h2 {
    font-size: 1.75rem;
    margin-block: 1.5rem 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-block: 1rem 0.75rem;
}

a {
    color: var(--primary-800);
    text-decoration-style: dotted;
    text-underline-offset: 25%;
    border-radius: .25rem;
}

a:hover {
    background-color: var(--link-bg-hover);
    box-shadow: 0 0 0 .25rem var(--link-bg-hover);
    color: var(--link-color-hover);
}
a:visited {
    color: var(--link-color-visited);
}
ul {
    padding-inline-start: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

.banner {
    border-radius: 1rem;
    width: 1200px;
}

main {
    max-width: 960px;
    margin: 0 auto;
    padding-inline: 1rem;
}

.wrapper {
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
}

.card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
}

.references {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.flags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end; 
}

.flags img {
    transition: transform .5s linear(0, 0.029 1.3%, 0.119 2.8%, 0.659 8.7%, 0.871 11.6%, 1.009 14.6%, 1.052 16.2%, 1.078 17.9%, 1.088 19.7%, 1.085 21.7%, 1.014 31.4%, 0.993 38%, 1.001 57.6%, 1);
}

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

@media (max-width: 1200px) {
    img.banner {
        max-width: auto;
        width: 100%;
    }
}

@media (max-width: 960px) {
    .references {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .references {
        grid-template-columns: repeat(1, 1fr);
    }
}

