* {
    margin: 0;
    padding: 0;
}

:root {
    --gray-color: #2f2f2f;
    --lightgray-color: #838383;
    --red-color: rgb(155, 0, 0);
    --lightred-color: rgb(224, 0, 0);
    --bg-color: #654321;
    --light-bg-color: #865b2f;
    --universal-color: #f9f3e7;
}

::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: linear-gradient(var(--red-color), var(--gray-color));
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--lightred-color);
    border-radius: 10px;
    width: 5px;
}

.header {
    height: 100px;
    background-image: url(./Images/header.png);
    background-size: cover;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav a img {
    margin: 0;
    padding: 0;
    margin-top: -25px;
    width: 250px;
}

.nav-links {
    flex: 1;
    text-align: right;
    margin-top: -25px;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 20px;
    position: relative;
    gap: 10px;
}

.nav-links ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 15px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
}

.more {
    display: none;
}

ul li:focus-within .more,
ul li:hover .more {
    display: block;
    position: absolute;
    border: 2px solid white;
    z-index: 10;
    color: white;
    margin-top: 2px;
    border-radius: 10px;
    padding: 5px;
    transition: 1s ease-in-out;
    background-image: linear-gradient(180deg, var(--red-color), var(--gray-color), var(--gray-color));
}

.more ul li a {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f10;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

nav .fa {
    display: none;
}

@media(max-width: 1240px) {
    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: fixed;
        background: #2f2f2f;
        background-image: linear-gradient(180deg, var(--red-color), var(--gray-color), var(--gray-color));
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2000000000;
        transition: 1s;
        margin-top: 0;
    }

    nav a img {
        display: none;
    }

    nav .fa {
        display: contents;
        color: rgb(255, 255, 255);
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 10px;
    }

    .nav-links ul li a {
        font-size: 18px;
    }

    .more {
        width: 130px;
    }

    .more ul li a {
        margin-left: -15px;
        font-size: 18px;
    }
}

#bttbtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 100000;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 5px;
    font-size: 18px;
    border: 1px solid #222;
    color: #222;
    font-size: 25px;
    padding: 10px 30px;
    background: white;
}


/* ----------------great people on jainism------------------- */
#business{
    background-image: url(./Images/glory/bussiness/bg.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#business h2{
    text-align: center;
    color: black;
    font-size: 50px;
    font-family: "Open Sans", serif;
}

.search-container input{
    width: 500px;
    border-radius: 10px;
    background: white;
}

.search-container ::placeholder{
    font-size: 25px;
    font-family: "Open Sans", serif;
    color: black;
}


.business{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 20px 100px;
    justify-content: space-evenly;
}

.business1{
    justify-items: center;
    margin: 20px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    background: white;
}

.business1 h4{
    font-size: 20px;
    font-family: "Open Sans", serif;
    text-align: center;
}

.business1 table, th, td {
    border: 2px solid black;
    border-collapse: collapse;
  }

.business1 table{
    border-radius: 5px;
}

.business1 th{
    font-size: 18px;
    text-align: center;
    font-family: "Open Sans", serif;
}
.business1 td{
    font-size: 18px;
    text-align: center;
    font-family: "Open Sans", serif;
}

.business1 img{
    width: 150px;
    margin: 20px;
    border: 2px solid black;
}

#noResult{
    display: none;
    text-align: center;
    font-size: 30px;
    color: var(--bg-color);
    font-family: "Sour Gummy", serif;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.6);
    margin: 100px;
}

.noResult p {
    font-size: 20px;
    color: black;
    font-family: "Parkinsans", serif;
}

@media (max-width: 700px){

    #business h2{
        font-size: 25px;
        margin: 10px;
    }
    
    
    .business{
        display: block;
        padding: 10px 20px;
        justify-content: space-evenly;
    }

    .search-container input{
        width: 250px;
    }

    #noResult{
        font-size: 20px;
        margin: 20px;
    }
    
    .noResult p {
        font-size: 18px;
    }
}