:root {
    --beige: #f3e6c9;
    --darkgreen: #2f5940;
    --orangelink: #df5a07;
    --redlink: #f0142e;
    --pinklink: #d709a0;
    --lavender: #a26dc0;
    --darklavender: #8246a4;
}

@font-face {
    font-family: 'Elza';
    src: url('/fonts/elza/Elza_Light.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Elza';
    src: url('/fonts/elza/Elza_Medium_Reduced.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Elza';
    src: url('/fonts/elza/Elza_Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

body {
    font-family: 'Elza', sans-serif;
    font-weight: 400;
    font-size: 20px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--beige);
}

a {
    color: var(--darkgreen);
    transition: color 0.3s ease;
}

#link0, .link0 {
    --hover-colour: var(--pinklink);
}

#link1, .link1 {
    --hover-colour: var(--redlink);
}

#link2, .link2 {
    --hover-colour: var(--orangelink);
}

@media (hover: hover) {
    a:hover {
        color: var(--pinklink);
    }

    .header-nav a:hover, .contact-line a:hover, .contact-line .email-copy:hover {
        color: var(--hover-colour);
    }
}

.email-copy {
    color: var(--darkgreen);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

@media (hover: hover) {
    .email-copy:hover {
        color: var(--pinklink);
    }
}

.email-copy-container {
    position: relative;
    text-align: center;
}

.copy-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    font-style: italic;
    font-size: 18px;
    color: var(--lavender);
}

.copy-tooltip.visible {
    opacity: 1;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-header {
    height: 60px;
    width: auto;
}

.logo-link {
    display: block;
    line-height: 0;
}

.header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    font-weight: 500;
}

.header-nav a,
.current-page-link {
    text-decoration: none;
    font-size: 24px;
}

.current-page-link {
    font-weight: 500;
    color: var(--lavender);
}

html:not(.home) body {
    padding: 20px;
    box-sizing: border-box;
}

html:not(.home) main {
    width: 100%;
    max-width: 800px;
}

@media (max-width: 600px) {
    html:not(.home) body {
        padding: 10px 0 20px;
    }
    .header-nav {
        white-space: nowrap;
        gap: 12px;
    }
    .header-nav a,
    .header-nav .current-page-link {
        font-size: clamp(16px, 4.5vw, 22px);
    }
    .logo-link {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .logo-header {
        display: block;
        width: calc(100% - 20px);
        height: auto;
    }
}
