* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFAFA;
    font-family: 'Nunito', sans-serif;

}

.container-fluid {
    width: 100%;
    min-width: 100%;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 0;
}

/* for container of tic tac toe */
.container {

    width: 40%;
    background-color: #0f172a;

    height: auto;
    /* min-height: 400px;
    max-width: 1200px; */
    margin: auto;
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
    border-radius: 12px;
    padding: 19px;
    padding-top: 22px;
    padding-bottom: 22px;
}

/* Laptops & small desktops */
@media (max-width: 1100px) {
    .container {
        width: 60%;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    #inner-child1 h1 {
        font-size: 2rem !important;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 10px;
    }

    .container {
        height: auto !important;
    }

    .inner-child {
        width: 85% !important;
    }
}

/* for inner child of container */
.inner-child {
    width: 75%;
    max-width: 375px;
}

#inner-child1 {
    text-align: center;

}

#inner-child1 h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
}

.para {
    color: #00f5d4;
    font-size: 1.2rem;
}

/* for second inner-child */
#inner-child2 {
    display: flex;
    width: 75%;
    height: 300px;
    flex-wrap: wrap;
    border: 1px solid #343434;
    border-radius: 12px;
}

.boxes {
    width: calc(33.2%);
    /* 3 per row, adjust for gap */
    cursor: pointer;
    box-shadow: 4px 4px 15px rgba(255, 255, 255, 0.029);
    margin-right: 0px;
    text-align: center;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in;
}


.boxes:hover {
    /* transform: scale(1.01); */
    box-shadow: 4px 4px 15px rgba(255, 255, 255, 0.075);
}

#box1 {

    font-size: 3rem !important;
}

#box1,
#box3,
#box5,
#box7,
#box9 {
    color: #00f5d4;
    font-size: 3rem;
}

#box2,
#box4,
#box6,
#box8 {
    color: #a78bfa;
    font-size: 3rem;
}

#box1,
#box2,
#box4,
#box5,
#box7,
#box8 {
    border-right: 1px solid #343434;
    border-bottom: 1px solid #343434;
    font-size: 3rem;

}

#box3,
#box6,
#box9 {
    border-bottom: 1px solid #343434;
    font-size: 3rem;

}

#box7,
#box8,
#box9 {
    border-bottom: none;
}

#btn {
    background-color: #1e293B;
    color: #ffffff;
    transition: all 0.3s ease-in;
    box-shadow: 4px 4px 12px rgba(255, 255, 255, 0.027);
}

.btn:hover {
    background-color: #1e293b9f;
    color: #ffffff79;
    transform: scale(1.1);
}

#inner-child3 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

#bte {
    background-color: #1e293B;
    color: #ffffff;
    transition: all 0.2s ease-in;
    box-shadow: 4px 4px 12px rgba(255, 255, 255, 0.027);
}
main{
    display: block;
    animation: animate 0.3s ease-in;
}
@keyframes main{
    0%{
        opacity: 0;
        transform: scale(0.5);
    }
    100%{
        opacity: 1;
        transform: scale(1);
    }
    }
main.close{
    display: none;
}
header{
    border: 2px solid black;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    display: none;
  animation: animate 0.3s ease-in;
}
@keyframes animate{
    0%{
        opacity: 0;
        transform: scale(0.5);
    }
    100%{
        opacity: 1;
        transform: scale(1);
    }
    }

header.renew{
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.header{
  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   
}

.header h1{
    color: #ffffff;
    padding-bottom: 12px;
    font-size: 3.2rem;
 
    font-family: 'Monoton', cursive;
}
#bts{
    background-color: #1e293B;
    color: #ffffff;
    transition: all 0.2s ease-in;
}
#bts:hover{
    background-color: #1e293b9f;
    color: #ffffff79;
    transform: scale(1.1);
}
.header{
  
}