﻿/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'ShouldveKnown-Regular';
    src: url('/Fonts/ShouldveKnown-Regular.woff2') format('woff2'), url('/Fonts/ShouldveKnown-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    min-height: 100vh;
    /*overflow: auto;*/
}

main {
    display: flex; /* Arrange the sidebar and main content side by side */
    justify-content: center;
    gap: 100px; /* Space between sidebar and main section */
    position: relative;
    color: black;
    background-color: #eae8e5;
    padding: 20px;
}

/* Sidebar Styling */
aside {
    width: 20%; /* Fixed width for the sidebar */
    position: fixed; /* Keeps the sidebar on the left side */
    top: 120px;
    left: 80px;
    overflow-y: auto; /* Ensures scrollable content if it overflows */
}

    aside ul {
        list-style: none;
        font-weight: bold;
    }

        aside ul li {
            margin-bottom: 0px;
            font-size: 15px;
            margin-left: 35px;
        }

    aside a {
        color: black; /* Text color */
        font-size: 23px;
        text-decoration: none;
        display: block;
        padding: 5px 0;
    }

        aside a:hover {
            color: #555; /* Highlight on hover */
        }

/* Main Section Styling */
section {
    margin-top: 40px;
    width: 45%; /* Center section with a fixed width */
    margin-left: 10%;
    /*width: calc((100% - 100px) / 6* 6 + 100px);*/
}

h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

h2 {
    font-size: 35px;
    margin-top: 30px;
    margin-bottom: 10px;
}

p {
    font-size: 25px;
    margin-bottom: 15px;
    line-height: 1.5;
}

ul li {
    font-size: 25px;
    margin-left: 35px;
    margin-bottom: 10px;
}

ol li {
    font-size: 25px;
    margin-left: 35px;
    margin-bottom: 10px;
}

strong {
    font-size: 25px;
}

/* Style for the navigation bar */
/*-------------------------------------------------------------------------------------------------------*/
.navbar {
    position: fixed; /* Makes the navbar stick to the top */
    top: 0; /* Ensures it sticks to the very top */
    left: 0; /* Aligns it with the left edge */
    width: 100%; /* Spans the full width of the screen */
    z-index: 1000; /* Keeps it above other elements */
    height: 80px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 75px; /* padding from left */
    font-family: ShouldveKnown-Regular;
    background-color: rgba(0,0,0,1); /* Optional semi-transparent background */
}

.navbar-spacer {
    height: 80px; /* Matches the navbar height */
    width: 100%;
}

.navbar .logo img {
    height: 60px;
    width: auto;
    margin-right: 25px; /* Space between logo and nav items */
}

.navbar .logo a {
    padding: 0px 0px;
}

/* Style for navigation links */
.navbar a {
    /*text-align: center;*/
    color: #f0f0f0; /* Light Text color */
    padding: 25px 10px; /* second number control distance between links */
    text-decoration: none;
    font-size: 18px;
}

    /* Change color on hover */
    .navbar a:hover {
        color: rebeccapurple;
    }

.navbar nav a.active {
    color: rebeccapurple;
}
/*-------------------------------------------------------------------------------------------------------*/

footer {
    background-color: #000;
    height: 250px;
    width: 100%;
    padding: 20px 50px;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-top {
    display: flex; /* Aligns social media and copyright in a row */
    justify-content: space-between; /* Space them apart */
    align-items: center; /* Vertically aligns content */
}

.footer-content .copyright {
    text-align: right; /*Ensures privacy policy is centered */
    font-size: 18px;
}

.footer-bottom {
    display: flex; /* Aligns social media and copyright in a row */
    align-items: center; /* Vertically aligns content */
    justify-content: space-between; /* Space them apart */
}

    .footer-bottom .logo {
        display: flex;
        flex-direction: column; /*Stack text above icons */
        align-items: flex-end; /*Center the content horizontally*/
    }

    .footer-bottom img {
        height: 80px;
        width: auto;
        object-fit: contain;
        align-content: end;
    }

.footer-links {
    display: flex; /* Aligns links in a row */
    gap: 30px; /* Adds space between links */
}

    .footer-links a {
        color: white;
        text-decoration: none;
        font-size: 16px; /* Optional: Adjust font size */
    }

.social-media {
    display: flex;
    flex-direction: column; /*Stack text above icons */
    align-items: flex-start; /*Center the content horizontally*/
}

    .social-media p {
        margin-bottom: 10px;
        font-size: 18px;
    }

.social-icons {
    display: flex;
    gap: 20px; /*Space between icons*/
}

    .social-icons img {
        height: 30px;
        width: auto;
        object-fit: contain;
    }


@media (max-width: 768px) {
    main {
        flex-direction: column; /* Stack elements vertically */
    }

    aside {
        position: static; /* Sidebar becomes inline */
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd; /* Separate sidebar with a bottom border */
    }

    section {
        width: 100%; /* Take full width */
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        justify-content: center;
        align-items: center;
        padding: 0px 10px; /* reduce padding on smaller screens */
        width: 100%;
    }
}