*{
    box-sizing: border-box;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
}
:root{
    --dark-color: #080E21;
    --primary-color: #1C7B87;
    --secondary-color: #88DCE7; 
    --details-color: #DAF467;
    --light-color: #FEFCFB;
}

body{
    background-color: var(--primary-color);
}

header {
    background-color: var(--dark-color);
    display: grid;
    grid-template-columns: repeat(2, auto);
    align-items: center;
    gap: 20px;
}
header h1{
    color: var(--light-color);
    padding: 10px;
    justify-self: center;
}
header aside {
    display: none;
}
header nav {
    display: flex;
    justify-content: center;
    flex: 1 1 0;
}
header nav ul{
    list-style-type: none;
    display: flex;
    flex-wrap: nowrap;
}
header nav a{
    position: relative;
    text-decoration: none;
    color: var(--light-color);
    padding: 0.8em;
    font-size: 1.5rem;
    display: inline-block;
    transition: color 0.3s ease;
}

nav ul li a::after{
    position: absolute;
    content: "";
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    height: 4px;
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 10px;
    transform: translateX(-50%);
}
nav ul li a:hover::after{
    width: 40%;
}
nav ul li a:hover {
    color: var(--secondary-color);
}

#sidebar_button {
    position: relative;
    display: none;
    color: var(--light-color);
    font-size: 1.6rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 11;
    right: 10px;
}

.sidebar_nav {
    display: none;
    position: fixed;
    width: 300px;
    height: 100vh;
    top: 0px;
    left: 0px;
    background-color: var(--dark-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-right: var(--secondary-color) 5px solid;
    z-index: 10;
}

.sidebar_nav_active {
    transform: translateX(0%);
}

.sidebar_button_active {
    transform: rotate(90deg);
}

.sidebar_nav ul li a{
    display: inline-block;
    text-decoration: none;
    color: var(--light-color);
    font-size: 1.5rem;
    padding: 30px 20px 30px 20px;
    width: 100%;
    position: relative;
}

.sidebar_nav ul li a::after{
    position: absolute;
    content: "";
    background-color: var(--secondary-color);
    bottom: 20px;
    left: 5%;
    height: 5px;
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 10px;
}

.sidebar_nav ul li a:hover::after{
    width: 40%;
}

.sidebar_nav ul {
    width: 100%;
    display: none;
}


footer {
    display: flex;
    background-color: var(--dark-color);
    width: 100%;
    height: 150px;
    justify-content: center;
    align-items: center;
}
footer p{
    color: var(--light-color);
    margin: 20px;
    font-size: 1.2em;
    text-align: center;
}

@media (max-width: 600px) {
    .nav{
        display: none;
    }
    .sidebar_nav {
        display: grid;
    }
    .sidebar_nav ul{
        display: grid;
    }
    #sidebar_button {
        display: inline-block;
    }
    .sidebar_nav {
        display: grid;
    }
    h1 {
        padding: 20px;
    }
}