/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    color: white;
}

body {
    background: #141414;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


a {
    color: #fff;
    text-decoration: none;
}

header * {
    margin: 0;
    padding: 0;
    z-index: 300;
    position: relative;
}

header a {
    font-size: 2em;
}

.banner {
    width: 90%;
    height: 250px;
    overflow: hidden;
    position: relative;
    margin: auto;
    margin-top: 20px;
    border-radius: 10px;
}

.banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.nav {
    text-align: center;
}

.nav-links {
    display: flex;
    /* Enable Flexbox */
    justify-content: space-around;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    padding: 10px;
}

.nav-links a {
    text-decoration: none;
    color: #535353;
    position: relative;
    padding: 5px;
    display: inline-block;
    transition: color 0.3s ease;
}

.nav-links a::before,
.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: white;
    left: 0;
    transition: transform 0.3s ease;
    transform: scaleX(0);
}

.nav-links a.active,
.nav-links a:hover {
    color: white;
}

.nav-links a::before {
    top: 0;
}

.nav-links a::after {
    bottom: 0;
}

.nav-links a:hover::before,
.nav-links a:hover::after {
    transform: scaleX(1);
}






.side-container {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 50px;
}

.side-container.left {
    left: 0;
}

.side-container.right {
    right: 0;
}

.hover-target {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 1;
}

.side {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    transition: left 0.3s, right 0.3s;
}

.side.left {
    left: -100px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.15), transparent);
}

.side.right {
    right: -100px;
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
}

.side-container.left:hover .side.left {
    left: 0;
}

.side-container.right:hover .side.right {
    right: 0;
}

.side-container.left:hover .left,
.side-container.right:hover .right {
    display: inline-block;
}

.bx-chevron-left,
.bx-chevron-right {
    position: absolute;
    font-size: 4em;
    color: white;
    top: 50%;
    transform: translateY(-50%);
}

.bx-chevron-left {
    left: 0px;
}

.bx-chevron-right {
    right: 0px;
}

.disabled-side-nav {
    pointer-events: none;
    cursor: default;
}

.disabled-side-nav .bx-chevron-left,
.disabled-side-nav .bx-chevron-right {
    display: none;
}

.disabled-side-nav .side.left {
    left: -100px !important;
}

.disabled-side-nav .side.right {
    right: -100px !important;
}








.content {
    position: relative;
    flex: 1;
    width: 95%;
    margin: auto;
}

footer {
    background: #4a98f7;
    color: #fff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 200;
    padding-left: 10px;
    flex-shrink: 0;
}

footer * {
    margin: 0;
}

.standard-content {
    border: 2px solid white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.standard-content h1 {
    margin-top: 0px;
}

/* ===== MOBILE RESPONSIVENESS ===== */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .banner {
        width: 95%;
        height: 200px;
    }
    
    .content {
        width: 98%;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .banner {
        width: 98%;
        height: 180px;
        margin-top: 15px;
    }
    
    .nav-links a {
        font-size: 1.5em;
    }
    
    .nav-links li {
        padding: 8px;
    }
    
    .content {
        width: 100%;
        padding: 0 10px;
    }
    
    .standard-content {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    /* Hide side navigation on tablets */
    .side-container {
        display: none;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .banner {
        width: 100%;
        height: 150px;
        margin-top: 10px;
        border-radius: 0;
    }
    
    header a {
        font-size: 1.5em;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-links li {
        padding: 5px;
    }
    
    .nav-links a {
        font-size: 1.2em;
        padding: 8px 15px;
    }
    
    .content {
        width: 100%;
        padding: 0 5px;
    }
    
    .standard-content {
        padding: 10px;
        margin-bottom: 10px;
        border-width: 1px;
    }
    
    .standard-content h1 {
        font-size: 1.5em;
    }
    
    .standard-content h2 {
        font-size: 1.3em;
    }
    
    .standard-content h3 {
        font-size: 1.2em;
    }
    
    /* Hide side navigation on mobile */
    .side-container {
        display: none;
    }
    
    footer {
        padding: 10px;
        text-align: center;
    }
    
    footer p {
        font-size: 0.9em;
    }
}

/* Small mobile phones */
@media (max-width: 360px) {
    .banner {
        height: 120px;
        margin-top: 5px;
    }
    
    header a {
        font-size: 1.3em;
    }
    
    .nav-links a {
        font-size: 1.1em;
        padding: 6px 12px;
    }
    
    .standard-content {
        padding: 8px;
    }
    
    .standard-content h1 {
        font-size: 1.3em;
    }
    
    .standard-content h2 {
        font-size: 1.1em;
    }
    
    .standard-content h3 {
        font-size: 1em;
    }
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.flash-message {
    background: #333;
    color: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid #4CAF50;
}

.flash-success {
    border-left-color: #4CAF50;
    background: #2d5a2d;
}

.flash-error {
    border-left-color: #f44336;
    background: #5a2d2d;
}

.flash-warning {
    border-left-color: #ff9800;
    background: #5a4a2d;
}

.flash-info {
    border-left-color: #2196F3;
    background: #2d4a5a;
}

.flash-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.flash-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile responsive flash messages */
@media (max-width: 768px) {
    .flash-messages {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .flash-message {
        padding: 12px 15px;
        font-size: 0.9em;
    }
}