/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
}

nav {
    background-color: black;
    color: white;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
    text-align: center;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav ul li a i {
    font-size: 24px; /* Adjust icon size */
    display: none; /* Hide icons by default */
}

nav ul li a span {
    font-size: 12px; /* Adjust font size */
    margin-top: 5px; /* Space between icon and text */
}

/*nav ul li a:hover {*/
/*    color: rgb(163, 163, 163); */
/*}*/

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.image a > img {
    width: 150px;
}

.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.searchtop {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: relative;
}

.searchtop input[type='text'] {
    border: none;
    outline: none;
    border-radius: 20px;
    padding: 9px 50px 9px 20px; /* Added padding to the right for the button */
    width: 100%;
    max-width: 300px; /* Set max-width to ensure it doesn't stretch too wide */
    box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff00;
    /* animation: neon-border 2s linear infinite; */
}

@keyframes neon-border {
    0% {
        box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff00;
    }
    25% {
        box-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 15px #ff00ff, 0 0 20px #ff00ff;
    }
    50% {
        box-shadow: 0 0 5px #0000ff, 0 0 10px #0000ff, 0 0 15px #0000ff, 0 0 20px #0000ff;
    }
    75% {
        box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000, 0 0 20px #ff0000;
    }
    100% {
        box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff00;
    }
}

.searchtop form {
    display: flex;
    align-items: center;
    position: relative;
}

.searchtop button {
    border: none;
    background-color: #280023;
    color: white;
    border-radius: 20px;
    padding: 5px 15px; /* Adjusted padding for better fit */
    cursor: pointer;
    position: absolute;
    right: 5px; /* Position the button inside the input */
}

.searchtop button:hover {
    background-color: rgb(163, 163, 163);
    color: white;
}

#toggle-filter-button {
    background: transparent;
    color: white;
    border: none;
    font-size: 27px;
    display: none;
}
/*#toggle-filter-button:hover{*/
/*    cursor: pointer;*/
/*    color: rgb(202, 202, 202);*/
/*}*/
.foicons{
    display: none;
}
.containing{
    width: 100%;
    height: fit-content;
    background-color: #280023;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}
 .bgimg1 a >img{ 
    width: 150px;
    display: flex;
    padding: 7px 0;
    animation: textAnimation 1.5s ease-out;
    
}
.display1{
    display: none;
}
@keyframes textAnimation {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*.icon111{*/
/*    display:none;*/
/*}*/
/* Responsive styles */

/* For tablets and larger mobile devices */
@media (max-width: 1024px) {
    .navigation {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5px 0;
        background-color: #280023;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: fit-content;
        z-index: 4;
        /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
    }
    
    .display1{
        display: initial;
    }
    #toggle-filter-button{
        display: initial;
    }
    .navigation ul {
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 50px;
    }

    .navigation ul li {
        margin: 10px 15px; /* Adjust margin for spacing */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul li a i {
        display: block; /* Show icons in responsive mode */
        font-size: 20px; /* Adjust icon size for tablets and mobile */
    }

    nav ul li a span {
        font-size: 12px; /* Adjust font size for tablets and mobile */
        margin-top: 2px; /* Space between icon and text */
    }
   
}

/* For small devices (mobile phones) */
@media (max-width: 768px) {
    .display1{
        display: initial;
    }
    .navigation {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /*padding: 3px 0;*/
        background-color: #280023;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: fit-content;
        /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
        z-index: 4;
    }

    .navigation ul {
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 0;
    }

    .navigation ul li {
        margin: 10px 20px; /* Adjust margin for spacing */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul li a i {
        display: block; /* Show icons in responsive mode */
        font-size: 20px; /* Adjust icon size for mobile */
    }

    nav ul li a span {
        font-size: 10px; /* Adjust font size for mobile */
        margin-top: 2px; /* Space between icon and text */
    }

    .searchtop {
        display: flex;
        position: static;
        margin-top: 10px;
        display: none;
    }

    #toggle-filter-button {
        display: initial;
        padding: 0;
    }
    .icon111{
        display:block;
    }
    
    nav {
    
    padding: 0;
}
}
