@font-face {
    font-family: 'RobotoRegular';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/RobotoRegular.woff2');
    src: local(''),
        url('/fonts/RobotoRegular.woff2') format('woff2');
}

/* RESET MARGIN, PADDINGS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    overflow-x: hidden;
    background: linear-gradient(to right, #ffffff, #c6c6c6);
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'RobotoRegular', sans-serif;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navioben {
    display: flex;
    justify-content: space-between;
    font-family: 'RobotoRegular', sans-serif;
    background-color: rgba(243, 243, 243, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.4px);
    -webkit-backdrop-filter: blur(3.4px);
    padding: 1.8rem 3rem;
    animation: slideDown 1s ease-in-out forwards;
}

.navioben ul {
    padding-top: 2.5rem;
    display: flex;
    list-style: none;
    gap: 3rem;
}

.navioben a {
    font-size: 120%;
    color: rgb(41, 41, 41);
    text-decoration: none;
    font-family: 'RobotoRegular', sans-serif;
}

.navioben a:hover {
    text-decoration: underline;
    text-decoration-color: #4d83ff;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* HAMBURGER MENU */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-14px) rotate(-45deg);
}

/* MAIN */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

main article {
    max-width: 800px;
    width: 100%;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

main h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #333;
}

main p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* FOOTER */
.navifooter {
    padding: 1rem;
    font-family: 'RobotoRegular', sans-serif;
    font-size: 12px;
    display: flex;
    justify-content: left;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.navifooter ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.navifooter a {
    color: rgb(41, 41, 41);
    text-decoration: none;
    font-family: 'RobotoRegular', sans-serif;
}

.navifooter a:hover {
    text-decoration: underline;
    text-underline-offset: 1px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        padding-bottom: 60px;
    }

    .navioben {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .navioben img {
        padding-left: 1rem;
        width: 10rem;
    }

    .hamburger-menu {
        display: flex;
        justify-content: flex-end;
        padding-top: 1rem;
        cursor: pointer;
    }

    .nav-links {
        background-color: #f1f1f1;
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 5.5rem;
        left: 0;
        text-align: center;
        z-index: 1000;
        transition: transform 1s ease-in-out;
        transform: translateX(-100%);
        padding-bottom: 2rem;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
    }

    .nav-links.active a {
        padding: 15px 0;
    }

    .navifooter {
        justify-content: center;
        font-size: 14px;
    }
}
