@import url('https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --bg-color: #eee;
    --primary-color: #0762A8;
    --darker-primary-color: #075896;
    --font-main: "Tinos", "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    font-family: var(--font-main);
}

/* Body */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
}

/***/

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;

    top: 48px;
    left: 50%;
    transform: translateX(-50%);

    width: 60%;
    height: 48px;

    border-radius: 15px;
    z-index: 1000;

    background: rgba(0, 106, 199, 0.75);
    backdrop-filter: blur(6px);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


/***/

/* Navigation */
header nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    background-color: #ffffff99;
    font-size: 24px;
    border-radius: 15px;
    padding: 0 15px;
    transition: background-color 0.2s;
}

header nav a:hover {
    background-color: #ffffff77;
}

/* Logo */
#nav-logo {
    position: absolute;
    left: 6%;
}

#nav-logo img {
    height: 128px;
}


/***/
/* Main */

main {
    flex: 1;
}

/***/

/* Footer */
footer {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: bold;
}

/***/

/* Hamburger */
#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 25px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 4px;
    background-color: white;
    border-radius: 2px;
}

@media (max-width: 1400px) {
    #nav-logo {
        position: fixed;
        left: 8px;
        top: 8px;
    }

    header {
        transform: none;
        top: 0;
        left: unset;
        right: 0;
        width: unset;
    }

    header nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 48px;
        right: 0px;
        width: 200px;
        border-radius: 0 0 15px 15px;
    }

    header nav ul li {
        display: flex;
        justify-content: center;
    }


    .hamburger {
        display: flex;
    }

    #menu-toggle:checked+.hamburger+nav ul {
        display: flex;
    }
}