
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face{
    font-family: shrinkhand;
    src: url(../font/Shrikhand-Regular.ttf);
}

body {
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
    background-color: rgb(136, 78, 252);
    background: url(../images/threewan/bg.png);
    background-size: cover;
    background-repeat: repeat;
}

main {
    flex: 1;
    height: 100vh;
    width: 100%;
}

/*NAVIGATION*/
button>a {
    text-decoration: none;
    color: #e5e5e5;
}

a.logo {
    padding-right: 30px;
}

/*logo image properties*/
a.logo img {
    width: 10px;
}

/*site name*/
.site-name a {
    padding-right: 50px;
    font-size: 20px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: color 0.5s;
}

.site-name a:hover {
    color: #fff;
}

nav {
    position: sticky; /* Places the navbar above the section */
    top: 0;
    left: 0;
    width: 100%; /* Stretches the navbar across the page */
    padding: 1vh;
    z-index: 10; /* Ensures it stays on top of the section */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;

    background: rgba(155, 131, 131, 0.295);
    /* Semi-transparent background */
    backdrop-filter: blur(10px);
    /* Frosted glass blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* For Safari */
    
    
}

/*navigation links*/
nav .links a {
    text-decoration: none;
    display: inline-block;
    padding: 8px 20px;
    transition: background-color 0.5s, color 0.3s;
    color: yellow;
    font-size: 24px;
    font-family: Fredoka;
}

/*hover state for ALL links*/
nav .links a:hover,
nav .links a.active {
    text-decoration: underline;
    color: #fff;
}

/*For Login Button*/
#SignIn-button {
    margin-left: 100px;
    margin-right: 15px;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: 0.5s;
    background: none;
}

#SignIn-button:hover {
    border: 1px solid rgb(31, 30, 30);
    background-color: rgb(31, 30, 30);
}

/* Sidebar Styles */
.sidebar {
    display: none;
    position: fixed;
    top: 0;
    
    left: -100%;
    height: 100vh;
    width: 250px;
    background-color: rgb(166, 73, 243);
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease;
    z-index: 1000;
    padding: 20px;
    flex-direction: column;
}

.sidebar a {
    color: #fff;
    padding: 15px 10px;
    text-decoration: none;
    font-size: 18px;
    display: block;
    border-bottom: 1px solid #fff;
}

.sidebar a:hover {
    color: red;
}

/* Sidebar Toggle Button */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 10px;
}

@media (min-width: 400px) and (max-width: 1024px)  {
    nav button {
        display: none;
        /* Hides the login button on smaller screens */
    }
    
    .log-out-btn {
        display: none;
      }

    
/*NAVIGATION*/


a.logo {
    padding-right: 30px;
}

/*logo image properties*/
a.logo img {
    width: 50px;
}

/*site name*/
.site-name a {
    padding-right: 20px;
    font-size: 15px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: color 0.5s;
}

.site-name a:hover {
    color: #fff;
}

nav {
    position: sticky; /* Places the navbar above the section */
    top: 0;
    left: 0;
    width: 100%; /* Stretches the navbar across the page */
    padding: 1vh;
    z-index: 10; /* Ensures it stays on top of the section */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;

    background: rgba(155, 131, 131, 0.295);
    /* Semi-transparent background */
    backdrop-filter: blur(10px);
    /* Frosted glass blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* For Safari */
    
    
}

/*navigation links*/
nav .links a {
    text-decoration: none;
    display: inline-block;
    padding: 8px 20px;
    transition: background-color 0.5s, color 0.3s;
    color: yellow;
    font-size: 15px;
    font-family: Fredoka;
}

/*hover state for ALL links*/
nav .links a:hover,
nav .links a.active {
    text-decoration: underline;
    color: #fff;
}

/*For Login Button*/
#SignIn-button {
    margin-left: 100px;
    margin-right: 15px;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: 0.5s;
    background: none;
}

#SignIn-button:hover {
    border: 1px solid rgb(31, 30, 30);
    background-color: rgb(31, 30, 30);
}

/* Sidebar Styles */
.sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 250px;
    background-color: rgb(136, 78, 252);
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease;
    z-index: 1000;
    padding: 20px;
    flex-direction: column;
}

.sidebar a {
    color: #fff;
    padding: 15px 10px;
    text-decoration: none;
    font-size: 18px;
    display: block;
    border-bottom: 1px solid #fff;
}

.sidebar a:hover {
    color: red;
}

/* Sidebar Toggle Button */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 10px;
}
    
}

/* Media Queries */

/* Tablets and smaller screens (mobile-first approach) */
@media (max-width: 768px) {

    /* Hide the navigation links */
    .links {
        display: none;
    }

    /* Show menu toggle button on smaller screens */
    .menu-toggle {
        display: block;
        margin-left: auto;
        font-size: 24px;
    }

    /* Make sidebar visible when toggled */
    .sidebar {
        display: flex;
    }

    /* Make navigation links into a vertical sidebar */
    nav {
        flex-direction: column;
        padding: 10px;
        height: auto;
    }

    nav .links a {
        font-size: 18px;
        padding: 12px;
    }

    /* Make logo and site name smaller for mobile */
    a.logo img {
        width: 45px;
    }

    .site-name a {
        font-size: 16px;
        padding-right: 30px;
    }

    /* Adjust footer for mobile view */
    footer {
        flex-direction: column;
        align-items: center;
    }

    footer p {
        padding: 10px;
    }

    footer p.sides {
        font-weight: bold;
        text-align: center;
    }

    /* Adjusting the footer for small screens */
    footer {
        flex-direction: column;
        justify-content: center;
    }

    footer p {
        font-size: 14px;
    }
}


@media (min-width: 1025px) {


    a.logo {
        padding-right: 30px;
    }
    
    /*logo image properties*/
    a.logo img {
        width: 50px;
    }
    
    /*site name*/
    .site-name a {
        padding-right: 20px;
        font-size: 13px;
        text-decoration: none;
        color: rgb(255, 255, 255);
        transition: color 0.5s;
    }
    
    .site-name a:hover {
        color: #fff;
    }
    
    nav {
        position: sticky; /* Places the navbar above the section */
        top: 0;
        left: 0;
        width: 100%; /* Stretches the navbar across the page */
        padding: 1vh;
        z-index: 10; /* Ensures it stays on top of the section */
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
    
        background: rgba(155, 131, 131, 0.295);
        /* Semi-transparent background */
        backdrop-filter: blur(10px);
        /* Frosted glass blur effect */
        -webkit-backdrop-filter: blur(10px);
        /* For Safari */
        
        
    }
    
    /*navigation links*/
    nav .links a {
        text-decoration: none;
        display: inline-block;
        padding: 8px 20px;
        transition: background-color 0.5s, color 0.3s;
        color: yellow;
        font-size: 15px;
        font-family: Fredoka;
    }
    
    /*hover state for ALL links*/
    nav .links a:hover,
    nav .links a.active {
        text-decoration: underline;
        color: #fff;
    }
    
    /*For Login Button*/
    #SignIn-button {
        margin-left: 100px;
        margin-right: 15px;
        padding: 6px 12px;
        border-radius: 10px;
        border: 1px solid #fff;
        font-size: 14px;
        font-weight: bold;
        text-decoration: none;
        color: #fff;
        transition: 0.5s;
        background: none;
    }
    
}

/* FOOTER */
footer {
    display: flex;
    justify-content: space-between;
    min-width: 100%;
    background-color: #222;
    color: white;
}

footer p {
    font-size: 12px;
    padding: 8px 45px;
}

footer p.sides {
    font-weight: bold;
}

footer p.quote {
    font-style: italic;
}

/*BULLETIN*/
#main-bg  {
    width: 100%;
    background: url(../images/threewan/bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
#about-bg  {
    min-height: 160vh;
    width: 100%;
    background: url(../images/threewan/bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.announcement {
    margin: 50px;
    background-color: #ffffff;
    border-radius: 10px;
}


