/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Sidebar */
#sidebar {
    width: 250px;
    background: #222;
    color: white;
    position: fixed;
    height: 100vh;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
    left: 0;
    top: 0;
    z-index: 1000;
}

/* Desktop: hide when toggled */
#sidebar.hidden {
    transform: translateX(-100%);
}

/* Toggle button */
#toggle-sidebar {
    position: fixed;
    top: 20px;
    left: 255px;
    background: #00bcd4;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    z-index: 1100;
    transition: background 0.3s;
}

#toggle-sidebar:hover {
    background: #008ba3;
}

.index {
    padding: 0px;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.icons {
    padding: 0px;
    list-style: none;
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

.social-icon {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease-in-out;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Profile Picture */
.profile-picture {
    display: block;
    margin: 0 auto 10px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #00bcd4;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #00bcd4;
}

/* Sections */
/* desktop default: content pushed by sidebar */
#main {
    flex: 1;
    margin-left: 250px;
    transition: margin-left 0.3s;
}

/* when sidebar is hidden on desktop */
#main.expanded {
    margin-left: 0;
    width: 100%;
}

/* when collapsed */
/* body.sidebar-closed #toggle-sidebar {
    left: 16px;
} */



#portfolio img {
    width: 50%;
    border-radius: 10px;
}

#portfolio .item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
}

#portfolio .item img:hover {
    transform: scale(1.05);
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

form input[type="text"],
form input[type="email"],
form textarea,
form input[type="submit"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Buttons */
.pdfs {
    width: 100%;
    height: 700px;
}

.button {
    display: inline-block;
    background: #00bcd4;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.button:hover {
    background: #008ba3;
}

/* Footer */
#footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    margin-top: auto;
}

@media screen and (max-width:768px) {

    /* #main {
        margin-left: 0 !important;
        width: 100% !important;
    } */

    #sidebar {
        transform: translateX(-100%);
        overflow: visible;
        /* position: fixed; */
        /* z-index: 1000; */
    }

    #sidebar.open {
        transform: translateX(0);
    }

    #sidebar.hidden {
        transform: translateX(-100%);
    }

    #main,
    #footer {
        margin-left: 0 !important;
        width: 100% !important;
    }

    #toggle-sidebar {
        width: 56px;
        right: -12px;
        /* left: 100px; */
        top: 10px;
        z-index: 1100;
    }


}