:root{
    --color-primary: #005CB9;
    --color-secondary: #FF3C2F;
    --color-background: #f1f1f1;
    --color-background-2: #042940;
    --color-background-3: #D6D58E;
    --color-text: #333333;
    --color-button: #005C53;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--color-background);
    color: (var(--color-text));
    animation: fadeIn 0.5s ease-in;
}

header,
footer {
    background-color: var(--color-background-2);
    color: var(--color-background);
    padding: 1rem;
    text-align: center;
    object-fit: cover;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: flex;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none
}

/* Main content */
.container {
    padding: 2rem;
}

.intro {
    text-align: center;
    margin-bottom: 2rem;
}

.highlight {
    color: var(--color-text);
    font-weight: bold;

}


.project-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

    .project-img {
        width: 100%;
        border-radius: 2%;
    }

    .project-info {
        color: #333;
        font-weight: bold;
    }

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 2vh;
    width: 40%;
    height: 30%;
}

.card:hover {
    transform: scale(1.05);
}


.button {
    padding: 0.6rem 1.2rem;
    margin-top: 1rem;
    background-color: var(--color-button);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

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

.contact-info a {
    color: white;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 1024px) {

}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    .container {
        padding: 1rem;
    }

    .button {
        width: 100%;
    }    
}

@media (max-width: 480px) {

}