@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

@font-face {
    font-family: "Black Ops One";
    src: url(../fonts/BlackOpsOne-Regular.ttf);
}
*, *::after, *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: url("../img/bg.jpg") center center / cover no-repeat;

    font-family: "Rubik", sans-serif;
    font-size: 18px;
    line-height: 1.5em;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 10px;
}

.header {
    padding: 20px 0;
}

.header h1 {
    font-size: 42px;
    text-align: center;
}


.game {

}

.game__wrapper {
    background: rgb(36 36 35 / 66%);
    width: 100%;
    height: 100%;
    padding: 20px;
    overflow: hidden;

    border-radius: 20px;
    box-shadow: 0px 8px 8px 8px #bb8ebeb8;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
}

.game__column {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 360px;
    gap: 20px;
}

.game__column-img {
    width: 110px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game__column-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__wrapper {
    display: flex;
    justify-items: center;
    align-items: center;
    text-align: center;
    font-size: 32px;
    gap: 90px;
    padding-bottom: 30px;
}

.start {
    background-color: #1F82AE;
    color: #FFFFFF;
    border: 4px solid #FFFFFF;
    border-radius: 40px;
    padding: 16px;
    font-size: 24px;
    cursor: pointer;
    justify-content: center;
    text-align: center;
   width: 200px;
   font-family: 'Black Ops One', sans-serif;
   text-transform: uppercase;
    
}




/* Animations */
@keyframes spin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}


/* Popup container */
#popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Individual popup style */
.popup {
    background-color: #000000;
    color: #F7E881;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    animation: popupIn 0.5s forwards, popupOut 3.5s 2.5s forwards;
    font-family: "Yatra One", sans-serif;
    font-weight: 700;
}

/* Popup animation */
@keyframes popupIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popupOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}


/* Reg popup */
/* Registration modal styles */
.registration-modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

.registration-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.registration-content h2 {
    margin-bottom: 20px;
    font-family: "Yatra One", sans-serif;
}

.registration-content label {
    display: block;
    margin: 10px 0 5px;
    text-align: left;
}

.registration-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.submit-btn {
    background-color: #66aede;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #4c8bbf;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}
.text{
    font-family: 'Black Ops One', sans-serif;
    color: #fff;
    font-size: 30px;
}
.yellow{
    color: #A94EB8;
    text-shadow: 1px 1px 0 #ffffff, -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff;
}
.title{
    font-family: 'Black Ops One', sans-serif;
    color: #B27919;    
    text-shadow: 1px 1px 0 #ffffff, -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff;
    line-height: 1;

}
.white{
    text-shadow: 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000;
}

.music-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #FFF;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: background-color 0.3s ease;
}

.music-toggle img{
    max-width: 100%;
}
.mob{
    display: none;
}
@media (max-width: 768px) {

    body {
        background: url("../img/bg-mob.png") center center / cover no-repeat;
    }
    .game__column-img{
        width: 70px;
    }
    .footer__wrapper{
        padding-bottom: 70px;
        gap: 40px;
    }
    .text{
        font-size: 20px;
    }
    .title{
        padding-top: 45px;
    }
    .desk{
        display: none;
    }
  
    .mob{
        display: block;
    }
}