@import url(/styles/reset.css);

:root {
    --color-background: #f2949c;
    --color-primary: #e7616c;
    --color-text : white;
    --color-border: white;
}

* {
    padding-inline: 0;
    box-sizing: border-box;
}

body {
    color: var(--color-text);
    text-shadow: 2px 2px .25rem black;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    
    background: var(--color-background);
}

header {
    background: linear-gradient(
        var(--color-primary),
        var(--color-background));
    
    padding-top: 1rem;
    padding-bottom: 2rem;
}

nav {
    margin-inline: 1rem;
    font-size: 2rem;
    display: flex;
    justify-content: space-evenly;
    gap: 1rem;
    flex-wrap: wrap;
}

nav a {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

nav a:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

main {
    padding-inline: 16px;
    text-align: center;

    & > h1 {
        font-size: 3rem;
    }

    & > h2 {
        font-size: 2rem;
    }

    & > h3 {
        font-size: 1.5rem;
    }

    & > #svgLogo {
        max-width: 50ch;
    }

    & p {
        margin-bottom: 1.5rem;
    }
}

a {
    color: var(--color-text);
    text-decoration: none;
}

.menu-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    text-align: left;
    & > p {
        font-size: 2rem;
    }

    & > h2 {
        font-size: 2.5rem;
    }

    & > h3 {
        font-size: 2rem;
    }

    &:last-child {
        border-bottom: none;
    }
}