* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Dolce Vita';
    src: url('../fonts/DolceVita.ttf') format('truetype');
}
@font-face {
    font-family: 'Poiret One';
    src: url('../fonts/PoiretOne-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Seaside Resort NF';
    src: url('../fonts/Seaside_Resort_NF.ttf') format('truetype');
}

@font-face {
    font-family: 'YesevaOne-Regular';
    src: url('../fonts/YesevaOne-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'ABeeZee-Regular';
    src: url('../fonts/ABeeZee-Regular.ttf') format('truetype');
}

body {
    font-family: 'ABeeZee-Regular';
    background-color: rgb(210, 182, 106);
    font-size: 1.2em;
}

header {
    display: flex;
    align-items: center;
    padding: 0 20px;
    background-color: rgb(93, 77, 123);
    position: fixed;
    width: 100%;
    height: 80px;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .logo {
    height: 95%;
    margin-top: 1px;
    padding-right: 15px;
}

header .nav-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%; 
    margin-right: auto; 
}

header nav {
    margin-top: 30px; 
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0;
}

header nav ul li a {
    text-decoration: none;
    color: rgb(230, 203, 115);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Dolce Vita', Arial, sans-serif;
    font-size: 1.3em; 
}

header nav ul li a:hover {
    background-color: rgba(255, 215, 0, 0.2);
}

header nav ul li a.active {
    background-color: rgb(230, 203, 115);
    color: rgb(93, 77, 123);
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 2em;
    color: rgb(230, 203, 115);
    margin-top: 20px;
}

nav.active {
    display: block;
}

aside {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

aside a img {
    width: auto; 
    height: auto; 
    max-width: 30px; 
    max-height: 30px; 
}

aside a:hover::after {
    content: attr(data-hover);
    position: absolute;
    right: 40px; 
    background-color: rgb(93, 77, 123);
    color: rgb(230, 203, 115);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.7em;
    white-space: nowrap;
    z-index: 10;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        padding-top: 100px;
        font-size: 1em;
    }

    header {
        flex-direction: column;
        height: auto;
        padding: 10px 10px;
    }

    header .nav-text-container {
        margin-left:15px;
        font-size: 75%;
    }

    header .logo {
        display: none;
    }

    header nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    header nav ul li a {
        padding: 10px;
        text-align: center;
        font-size: 1em;
    }

    header nav.active ul {
        display: flex;
    }

    .menu-icon {
        display: block;
    }

    aside {
        position: fixed;
        bottom: 50%;
        top: auto;
        transform: translateY(50%);
        right: 0;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 10px;
        background: none;
    }

    aside a img {
        max-width: 20px;
        max-height: 20px;
    }

    aside a:hover::after {
        right: auto;
        left: 50px;
    }
}
