@import url('https://fonts.googleapis.com/css2?family=Yuji+Mai&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    justify-content: center;
    align-items: center;
    height: 100%;
    background: #022138;
}
h1,h2,h3,h4,h5,h6,p{
    color: #fff;
    font-family: 'Yuji Mai', sans-serif;
}
.category{
    align-content: center;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.categories{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 15px;
}
.categori{
    border: 2px solid #ffffff83;
    box-shadow: inset 0 0 10px #ffffff83;
    border-radius: 10px;
    padding: 1rem;
    width: 180px;
}
.marquee{
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: bip 0.8s linear infinite;
}
@keyframes bip {
    0%{
        display: none;
    }
    100%{
        display: flex;
    }
}
/* Overall Navigation Container */
.navigation {
    width: 100%;
    height: 80px;
    /* background: #23272A; */
    background:  #0E407B;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    border-radius: 20px 20px 0 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Navigation List Container */
.navigation ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 500px;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

/* Individual Navigation Item */
.navigation ul li {
    position: relative;
    list-style: none;
    width: 70px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.navigation ul li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #B0B0B0; /* Light gray color */
    transition: color 0.3s ease;
}

/* Hover Effect */
.navigation ul li:hover a {
    color: #1DB9B8; /* Teal color on hover */
}

.navigation ul li.active a {
    color: #1DB9B8; /* Active item color */
}

.navigation ul li .icon {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

/* Show text when item is active */
.navigation ul li.active a .text {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hide text when item is not active */
.navigation ul li a .text {
    opacity: 0;
    transform: translateY(15px);
    font-size: 0.8rem;
    color: #B0B0B0;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .navigation {
        height: 60px;
    }

    .navigation ul {
        max-width: 100%;
    }

    .navigation ul li {
        width: 60px;
        height: 60px;
    }

    .navigation ul li a .icon {
        font-size: 1.4rem;
    }

    .navigation ul li a .text {
        font-size: 0.65rem;
    }
}

.intro {
    display: flex;
    height: auto; /* Make the height dynamic */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background-color: transparent;
    padding: 20px;  /* Add some padding for better spacing */
}

.intro img {
    width: 100%;  /* Make the image responsive */
    max-width: 400px; /* Limit the image width to prevent it from being too large */
    height: auto; /* Keep aspect ratio intact */
    margin-top: 1rem; /* Add some margin between the heading and the image */
}

.intro h1 {
    color: #B0B0B0;
    font-size: 5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 0;
}

@media (max-width: 768px) {
    .intro {
        height: auto;  /* Allow the height to adjust based on content */
        padding: 15px;  /* Reduce padding for mobile */
    }

    .intro h1 {
        font-size: 3rem;  /* Smaller font size for mobile */
        margin-top: 1rem;
    }

    .intro img {
        max-width: 80%;  /* Make the image take up 80% of the width */
        margin-top: 1rem;  /* Add some spacing between heading and image */
    }
}

@media (max-width: 480px) {
    .intro h1 {
        font-size: 2.5rem;  /* Smaller font size for smaller devices */
    }

    .intro img {
        max-width: 90%;  /* Image takes up more space on very small screens */
        margin-top: 1rem; 
    }
}

.bottomgap{
    background: transparent;
    height: 20rem;
}

#access-denied-error {
    visibility: visible;
    position: fixed;
    width: 100%;
    height: 100%;
    font-size: 80px;
    color: #fff;
    background-color: #999;
    background-image: url('KS24.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    user-select: none;
    animation: anim 5s linear infinite;
}

@keyframes anim {
    100% {
        filter: hue-rotate(360deg);
    }
}

#access-denied-error span {
    display: inline-block;
    background-color: #fff;
    width: 100%;
    text-align: center;
    border-radius: 70px 0 70px 0;
    padding: 40px;
    color: #ff002b;
    text-transform: uppercase;
}

.middle-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.pulsate-bck {
    -webkit-animation: pulsate-bck 2.5s ease-in-out infinite both;
    animation: pulsate-bck 2.5s ease-in-out infinite both;
}

@-webkit-keyframes pulsate-bck {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    #access-denied-error {
        font-size: 50px;  /* Smaller font size for mobile */
    }

    #access-denied-error span {
        font-size: 18px;  /* Adjust text size */
        padding: 30px;  /* Adjust padding */
        border-radius: 50px 0 50px 0;  /* Adjust border radius */
    }

    .middle-center {
        top: 40%;  /* Adjust positioning for smaller screens */
    }
}

@media (max-width: 480px) {
    #access-denied-error {
        font-size: 40px;  /* Further reduce font size for smaller devices */
    }

    #access-denied-error span {
        font-size: 16px;  /* Smaller text size for very small screens */
        padding: 20px;  /* Smaller padding */
    }

    .middle-center {
        top: 30%;  /* Positioning adjustments for very small screens */
    }
}
