html{
    scroll-behavior: smooth;
}

body {
    background-image: url('https://i.pinimg.com/736x/e2/f9/31/e2f931b19ed72d82e04f6d0aaf9d98e4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* smooth scrolling effect */
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
}

#gta{
    height: 60%;
    width: 100%;
    overflow-y: scroll;
    margin-left: auto;
    margin-right: auto;
    margin-top:50px;
    scroll-behavior: smooth;
}

#gta::-webkit-scrollbar{
    width: 10px;
}

#gta::-webkit-scrollbar-thumb{
    background: linear-gradient(to bottom, #ff5733, #ffcc00);
    border-radius: 10px;
}

.etc{                       /* used to give background and create a div to put files */
    background-color: #F8F4E1;
    height: 55%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    overflow-y: scroll;
    border-radius: 15px;
}

.etc::-webkit-scrollbar{
    width: 10px;

}

.etc::-webkit-scrollbar-thumb{
    background: linear-gradient(to bottom,#FDB7EA, #B7B1F2);
    border-radius: 10px;
}

#rav1{
    display: flex;
}

/*#eye{
    background-color: #E7E8D1;
    height: 40%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow-y: scroll;
    margin-top: 40px;
}
#eye::-webkit-scrollbar{
    width: 10px;

}
#eye::-webkit-scrollbar-thumb{
    background: linear-gradient(to bottom, #D91656, #640D5F);
    border-radius: 10px;
}
#eye1{
    display: flex;
}*/

h1{
    display: flex;
    justify-content: center;
    color: #261FB3 ;
    background-color: #FE4F2D;
    font-family: "Jaini", system-ui;
    font-weight: 800;
    font-style: normal;
    font-size: 45px;
}

h2{
    margin-left: auto;
    margin-right: auto;
    background-color: #FFA725;
    color: white;
    font-size: 35px;
    font-family: "Emblema One", system-ui;
    font-weight: 400;
    font-style: normal;
    width: fit-content;
}

.flex{       /* used to align the content in it in a line */
    display:flex;
}

.sys{
    background-color: #AFDDFF;
    height: fit-content;
    width: 1000px;
    color: black;
    margin-left: auto;
    margin-right: auto;
}
.img{
    margin-right: 20px;
}
.img1{
    margin-left: 10px;
    height: 350px;
    min-width: 270px;
    max-width: 270px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url("Mafia/andlogo.png");
    margin-right: 10px;
}

.h3{
    display: flex;
    justify-content: center;
    font-size: 35px;
    font-family: "Rowdies", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: underline;

}
ul{
    font-size: 17px;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}

.btn{
    display: flex;
    justify-content: center;
    margin: 15px;
}

button {
    width: 200px;
    height: 50px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #007bff;
    border: 4px solid transparent; /* Pehle koi border nahi */
    border-bottom: 4px solid #004080; /* Sirf neeche ka dark blue border */
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, width 0.3s ease-in-out, height 0.3s ease-in-out;
}

button:hover {
    width: 220px; /* Button thoda bada hoga */
    height: 55px;
    background-color: #0056b3; /* Thoda dark blue shade */
    border-bottom: 4px solid #002a80; /* Border color instantly change hoga */
}

@media (max-width:650px){
    .sys{
        display: none;
    }
    .img1{
        background-image: url("Mafia/pclogo.avif");
        height: 200px;
        width: 500px;
    }
    #ravimg{
        height: 150px;
        width: 280px;
    }
    #eyeimg{
        height: 160px;
    }
    h1{
        font-size: 38px;
    }
    h2{
        font-size: 30px;
    }
    .etc{
        height: fit-content;
    }
}

@media (max-height:400px){
    .etc{
        height: 200px;
    }
    #gta{
        height: 200px;
    }
    #eyeimg{
        width: 200px;
    }
}



.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    z-index: 1000;
    width: 80%;
    max-width: 400px;
    display: none;
    text-align: center;
}
.popup h2 {
    color: #00ffcc;
    font-size: 24px;
    margin-bottom: 10px;
}
.popup p {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 20px;
}
.popup button {
    background: #00ffcc;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    color: black;
    cursor: pointer;
    border-radius: 5px;
}
.popup button:hover {
    background: #00997a;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}

#top{
    background-color: rgb(71, 71, 71);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;

}

a{
    text-decoration: none;
}

.topb{
    display: flex;
    font-size: 28px;
    margin-left: 32px;
    color: white;
    height: 40px;
    align-items: center;
    width: fit-content;
    font-weight: 700;
}

.topb:hover{
    background-color: rgb(102, 102, 102);
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-property: height width background-color;
    font-size: 30px;
}

#top1{
    width: fit-content;
    display: flex;
    justify-content: center;
    
}

#top4{
    width: fit-content;
    display: flex;
    justify-content: center;
    margin-right: 14px;
}

@media (min-width:523px) and (max-width:650px){
    #top{
        height: 70px;

    }
    .topb{
        font-size: 25px;
        font-weight: 600;
        margin-left: auto;
    }
    #top1{
        width: fit-content;

    }
}

@media(min-width:650px) and (max-width:750px){
    #top{
        height: 70px;
    }
    .topb{
        font-size: 32px;
        font-weight: 650;
        margin-left: auto;
    }
    #top1{
        width: fit-content;
    }
    #top4{
        margin-right: 20px;
    }
}

@media (min-width:750px) and (max-width:850px){
    #top1{
        width: fit-content;
    }
    #top{
        height: 75px;
    }
    .topb{
        font-size: 37px;
        font-weight: 700;
        margin-left: auto;
    }
    #top4{
        margin-right: 22px;
    }
}
@media (max-width:427px) {
    .topb{
        margin: auto;
    }
    #top1{
        margin-right: 18px;
    }
}


/* Search Bar*/
.search-container {
    position: relative;
    width: 90%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

#searchBox {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.dropdown {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #ddd;
}

.dropdown a:hover {
    background: lightgray;
}




/*Tutorial */
#view {
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

iframe {
    height: 400px;
    width: 100%;
    border: none;
}

.view-more {
    margin-top: 9px;
    padding: 8px 15px;
    background: linear-gradient(to bottom, white, gray); /* Gradient Button */
    border-radius: 5px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.view-more:hover {
    background: linear-gradient(to bottom, lightgray, darkgray);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.5);
}

p{
    font-size: 18px;
    font-weight: 600;
}

/*search box */
#pcsearch{
    width: 400px;
    margin-right: 0;
    margin-top: auto;
    margin-bottom: auto;

}
@media (min-width:860px){
    #andsearch{
        display: none;
    }

}
@media (max-width:859px){
    #pcsearch{
        display: none;
    }
}

