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

html, body {
    font-family: 'Quicksand', sans-serif;
    background-color: #fddeff;
    color: #333;
    line-height: 1.6;
}


/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fddeff;
    padding: 20px;
    margin-left: -0rem;
    width: 100%;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid black;
}

header .site-title {
    font-size: 1.0rem;
    font-weight: bold;
    text-decoration: none;
    color: rgb(0, 0, 0);
}

.site-title:hover {
    text-decoration: underline; /* Add hover effect for visual feedback */
    color: #555; /* Optional: Adjust hover color */
}

header .logo {
    width: 50px;
    margin-left: 4rem;
    height: auto;
}

/* Sidebar */
.sidebar {
    width: 9%;
    background-color: #fddeff;
    color: rgb(0, 0, 0);
    padding: 1rem;
}

.sidebar .follow-me {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    writing-mode: vertical-rl;
    margin-left: -0.2rem
}

.sidebar .icons {
    display: flex;
    flex-direction: column;
}

.sidebar .icons a {
    margin-bottom: 1rem;
}

.sidebar .icons img {
    width: 30px;
    height: 30px;
}

/* Content Section */
.container {
    display: flex;
    margin: 2rem;
}

.content {
    width: 75%;
    margin-left: 0.6rem;
}

h1, h2 {
    color: #333;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

ul {
    list-style-type: none;
}

li {
    margin-bottom: 1.5rem;
}

li a {
    font-size: 1.1rem;
    color: #007BFF;
    text-decoration: none;
}

li a:hover {
    text-decoration: underline;
}

li p {
    font-size: 1rem;
    color: #666;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer .contact a {
    color: #4CAF50;
    text-decoration: none;
}

footer .contact a:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 768px) {

    html, body {
        font-family: 'Quicksand', sans-serif;
        background-color: #fddeff;
        color: #333;
        line-height: 1.6;
    }
    
    /* Header */
    header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fddeff;
    padding: 20px;
    margin-left: -0rem;
    width: 104%;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid black;
    }
    .container {
        flex-direction: column;
        margin: 1rem;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 2rem;
    }

    .content {
        width: 100%;
    }

    header .logo {
        position: absolute;
        top: 10px; /* Adjust the vertical position */
        left: 225px; /* Move the logo closer to the left edge */
    }

    /* Navigation Menu */
    .nav-menu {
        display: none;
        flex-direction: column;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        position: fixed; /* Keeps the menu fixed while scrolling */
        top: 0; /* Aligns the menu to the top of the viewport */
        right: 0; /* Aligns the menu to the right side of the viewport */
        padding: 20px;
        border-radius: 8px;
        z-index: 1000; /* Ensures it appears above other elements */
    }

    .nav-menu.visible {
        display: flex; /* Shows the menu when toggled */
    }

    .nav-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-menu li {
        margin-bottom: 0px;
    }

    .nav-menu a {
        text-decoration: underline;
        color: #333;
        font-weight: 600;
    }
}


/* Hide menu toggle on larger screens */
@media (min-width: 768px) {
    .menu-toggle {
        display: none; /* Hide on desktop */
    }
}

/* Navigation Menu */
.nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed; /* Keeps the menu fixed while scrolling */
    top: 0; /* Aligns the menu to the top of the viewport */
    right: 0; /* Aligns the menu to the right side of the viewport */
    padding: 20px;
    border-radius: 8px;
    z-index: 1000; /* Ensures it appears above other elements */
}

.nav-menu.visible {
    display: flex; /* Shows the menu when toggled */
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin-bottom: 0px;
}

.nav-menu a {
    text-decoration: underline;
    color: #333;
    font-weight: 400;
}

@media (min-width: 768px) {
    .nav-menu {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        box-shadow: none;
        background-color: transparent;
        color: #333;
        padding: 2;
    }

    .nav-menu ul {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .nav-menu a {
        color: #333;
        font-size: 1rem;
    }

    .nav-menu a:hover {
        border: 1px solid #333; /* Add a border to create the box effect */
        border-radius: 5px; /* Optional: round the corners */
        background-color: rgba(0, 0, 0, 0.1); /* Optional: add background for a hover effect */
    }

    .menu-toggle {
        display: none; /* Hide menu toggle on desktop */
    }
}

