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

:root {
    --primary-color: #003369;
    --secondary-color: #0099DA;
    --background-color: rgba(255, 255, 255, 0.71);
    --button-hover-color: #004499;
    --footer-background-color: #F7F7F8;
    
    --font-family: 'Roboto', sans-serif;
    --font-size-base: 1rem;
    --font-size-large: 1.5rem;
    --font-size-xlarge: 2rem;
    
    --spacing-small: 0.5rem;
    --spacing-medium: 1rem;
    --spacing-large: 2rem;
    --spacing-xlarge: 4rem;
    
    --border-radius: 1rem;
}

body {
    background-image: url('../public/background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    width: 90%;
    max-width: 62.5rem;
    padding: var(--spacing-medium);
}

.card {
    background-color: var(--background-color);
    padding: var(--spacing-small) var(--spacing-medium);
    border-radius: var(--border-radius);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    text-align: center;
    font-size: var(--font-size-xlarge);
    font-weight: bold;
    margin-bottom: var(--spacing-large);
    margin-top: var(--spacing-large);
    color: var(--primary-color);
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: var(--spacing-large) 0 var(--spacing-xlarge) 0;
    width: 100%;
    gap: var(--spacing-medium);
}

.button {
    background-color: #ffffff;
    color: var(--primary-color);
    font-weight: bold;
    padding: var(--spacing-medium);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
    min-width: 12.5rem;
    height: 11.875rem;
}

.button .material-symbols-outlined {
    font-size: 3rem;
    margin-bottom: var(--spacing-small);
    color: var(--secondary-color);
    font-weight: bold;
}

.button:hover {
    background-color: var(--button-hover-color);
    color: #ffffff;
}

.footer {
    margin-top: var(--spacing-medium);
    text-align: center;
    font-size: 0.875rem;
}

.footer img {
    max-width: 12.5rem;
    height: auto;
}

.icon {
    display: inline-block;
    margin-left: var(--spacing-small);
    width: 1.875rem;
    height: 1.875rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 1200px) {
    .header {
        font-size: 2.5rem;
    }

    .card {
        padding: 0.9375rem 1.5625rem;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 70%;
        height: 15.625rem;
        font-size: 1.75rem;
    }
} 
@media (max-width: 450px) {
    .container,
    .card,
    .buttons {
        min-width: 450px;
    }

    .button {
        min-width: 18.75rem; 
    }
}