* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

img{
    width: 100%;
    display: block;
}

p{
    line-height: 30px;
}

/* Toggle Open Button */
#open-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 12px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1001;
}

/* Sidebar */
#sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -100%;
    width: 16%;
    background-color: #222;
    color: white;
    transition: left 0.3s ease;
    z-index: 1000;
}

/* Open sidebar */
#sidebar.open {
    left: 0;
}

/* Sidebar header */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    background-color: #444;
    padding: 15px 20px;
}

.logo {
    width: 25%;
}

/* Overlay */
#overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900;
}

/* Show overlay */
#overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Close Button */
#close-btn {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Menu */
.menu {
    list-style: none;
    padding: 0;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;

    &:hover{
        background-color: #555;
    }
}

.menu i {
    margin-right: 10px;
}

/* Main content */
main{
    padding-top: 40px;
}

.container {
    width: 90%;
    margin: auto;
}

.hero, .content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
}

.hero {
    margin-bottom: 20px;
}











@media all and (width <= 576px){
    #sidebar {
        width: 70%;
    }

    #sidebar.open {
        left: 0;
    }

    .menu a {
        padding: 15px 25px;
    }
}




@media all and (576px <= width <= 768px){
    #sidebar {
        width: 50%;
    }

    .menu a {
        padding: 15px 25px;
    }
}




@media all and (769px <= width <= 1024px){
    #sidebar {
        width: 35%;
    }

    .menu a {
        padding: 15px 25px;
    }
}




@media all and (1025px <= width <= 1280px){
    #sidebar {
        width: 25%;
    }
    
    .menu a {
        padding: 15px 25px;
    }
}