/* CSS Variables */
:root {
    --primary-color: #fbad64;
    --secondary-color: #80370f;
    --text-color: #692a09;
    --secondary-text-color: #fbf5ea;
    --background-color: #e07f46;
    --font-family: 'Roboto', sans-serif;
}


body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-text-color));
    color: #000;
    font-family: 'Roboto', sans-serif;
}

.dune-background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.dune {
    position: absolute;
    bottom: 0;
    width: 250%;
    height: 20%;
    background: #c2b280;
    border-radius: 200%;
    animation: moveDunes 11s infinite linear;
}

.dune:nth-child(3) {
    bottom: 10%;
    background: #b0a17b;
    animation-duration: 16s;
}

.dune:nth-child(4) {
    bottom: 20%;
    background: #9e8f6e;
    animation-duration: 21s;
}

@keyframes moveDunes {
    0% {
        transform: translateX(-10%);
    }
    50% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(-10%);
    }
}

.title {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
}

/* Nav Bar */

h1 {
    font-size: 3em;
    text-align: center;
}

.icon {
    width: 50px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
    border-radius: 0 0 0 100%;
}

.icon img {
    width: 35px;
    position: relative;
    top: 0;
    left: 10px;
}

p {
    text-align: justify;
}

/* Global Header */
header {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 0;
    border-bottom: 3px solid var(--secondary-color);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Header container */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}

/* Branding */
#branding {
    display: flex;
    align-items: center;
}

#branding h1 {
    margin: 0;
    font-size: 2rem;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
    color: var(--text-color);
}

/* Active / highlight */
header .highlight,
header .current a {
    color: #0266b8;
    font-weight: bold;
}

/* Image */
header img {
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

/* Responsive nav */
.menu-button-container {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    background-color: #fff;
    height: 4px;
    width: 30px;
    border-radius: 2px;
    transition: transform 0.3s ease;
    position: relative;
}

.menu-button::before,
.menu-button::after {
    content: '';
    position: absolute;
}

.menu-button::before {
    top: -8px;
}

.menu-button::after {
    top: 8px;
}

#menu-toggle {
    display: none;
}

#menu-toggle:checked ~ .menu-button-container .menu-button {
    background: transparent;
}

#menu-toggle:checked ~ .menu-button-container .menu-button::before {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked ~ .menu-button-container .menu-button::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu > li {
    margin: 0 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        width: 100%;
    }

    .menu-button-container {
        display: flex;
        height: auto;
    }

    .menu {
        flex-direction: column;
        position: absolute;
        left: 0;
        max-height: 0;
        overflow: hidden;
        top: calc(100% + 3px);
        width: 100%;
        background-color: var(--primary-color);
        border-radius: 0 0 10vw 10vw;
        transition: max-height 400ms linear;
    }

    #menu-toggle:checked ~ nav .menu {
        max-height: 300px;
    }

    .menu > li {
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--secondary-color);
    }

    .menu > li:last-child {
        border-bottom: none;
        border-radius: 0 0 10px 10px;
    }

    nav a {
        margin: 0;
    }

    span.big-screen {
        display: none;
    }
}