/*
==================
GLOBAL CSS
==================
*/

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 35rem;
    margin: auto;
}

/*
================
HEADER CSS
================
*/

header {
    display: flex;
    justify-content: space-between;
    height: 125px;
    background-color: grey;
}

#header__logo {
    height: 100%;
}

#burger {
    height: 100%;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: transform .5s;
    padding: 2rem;
    z-index: 199;

    &:hover {
        transform: translateY(-5px);
    }

    img {
        height: 100%;
    }

    div {
        width: 2rem;
        height: 3px;
        background-color: black;
        margin-bottom: .5rem;
    }
}

#desktop-navigation {
    a {
        &:last-child {
            margin-right: 2rem;
        }
    }
}

#desktop-navigation,
#mobile-navigation {
    display: flex;
    gap: 1rem;
    align-items: center;

    a {
        text-decoration: none;
        color: black;
        padding: 2rem;
        display: block;
        background-color: #ddd;

        &:hover {
            background-color: #ccc;
        }

        display: flex;
        align-items: center;

        &.admin {
            background-color: #ddd;
            color: black;
            height: auto;
            &:hover {
                background-color: #ccc;
            }
        }
    }
}

#mobile-navigation {
    position: fixed;
    inset: 0;
    height: 100vh;
    gap: 0;
    transition: margin-left .25s;
    z-index: 99;
    flex-direction: column;

    a {
        width: 100%;
        flex: 1;

        height: auto;
    }
}

@media (max-width: 1000px) {
    #desktop-navigation {
        display: none;
    }
}

@media (min-width: 1000px) {
    #burger {
        display: none;
    }

    #mobile-navigation {
        display: none !important;
    }
}

/*
=================
FOOTER CSS
================
*/

/*
=================
HOME PAGE
================
*/

/*
================
ABOUT PAGE
=================
*/

/* Styles for the slider text */
.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 10;
}

.slide-text h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.slide-text p {
    font-size: 1.5rem;
}