@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Play:wght@400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Titan+One&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  
}

html,body{
    height: 100%;
    width: 100%;
}

.loader{
    
    font-weight: 100;
    color: white;
   text-align: center;
    font-family: "Titan One";
    position: absolute;
    z-index: 9;
    top: 100;
    height: 100%;
    width: 100%;
    background:url(https://static.vecteezy.com/system/resources/previews/007/680/386/non_2x/shampoo-bubbles-and-foam-seamless-background-with-blank-space-free-vector.jpg);
    background-position: center;
}

.loader h1{
    margin-top: 4vw;
    margin-bottom: .2vw;
    font-size: 8vw;
}
.rules h2{
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 2vw;
}

.rules button{
    color: #92D6E3;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    border:2px solid #034548;
    background-color: #fff;
    margin-top: 2vw;
    font-size: 2vw;
    padding: 1.5vw 4vw;
    border-radius: 10px;
}
.rules button:hover{
    cursor: pointer;
    background: #92D6E3;
    color: white;
}



.main{
    font-family:sans-serif;
    height: 100%;
    width: 100%;
    background: #92D6E3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.head{
    color: white;
    margin-bottom: 2vw;
}
.layout{
    overflow: hidden;
    height: 80%;
    width: 80%;
    background: #fff;
    backdrop-filter: blur(10px);
    border-radius: 10px;
}
.top{
    padding: 1vw 25%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 15%;
    width: 100%;
    background: #53a1b0;
}
.elem{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
}
.elem h2{
    color: #fff;
    font-weight: 600;
}
.box{
    color: #53a1b0;
    font-size: 1.2vw;
    font-weight: 700;
    padding: .8vw 1.5vw;
    border-radius: 8px;
    background: white;
}
#restart:hover{
    cursor: pointer;
    color: #fff;
    background: #92D6E3;
}
.bottom{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5vw;
    padding: .5vw .5vw;
    height: 85%;
    width: 100%;
    /* background: #000; */
}
.bubble{
   
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    height: 2.5vw;
    width: 2.5vw;
    border-radius: 50%;
    background: #53a1b0;

}

.bubble:hover{
    background: #92D6E3;
    cursor: pointer;
}

@media (max-width:600px){
    .main{
   
        height: 100%;
        width: 100%;
        /* background: #9AB89B; */
      
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .layout{
        overflow: hidden;
        height: 73%;
        width: 90%;
        background: #fff;
        border-radius: 10px;
    }
    .top{
        padding: 1vw 5%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 20%;
        width: 100%;
    
    }
    .elem{
        flex-wrap: wrap;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2vw;
    }
    .elem h2{
        color: #fff;
        font-weight: 600;
    }
    .box{
        font-size: 4vw;
        font-weight: 700;
        padding: 2vw 5vw;
        border-radius: 8px;
        background: white;
    }
    .bottom{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5vw;
        padding: 1vw 2vw;
        height: 85%;
        width: 100%;
        /* background: #000; */
    }
    .bubble{
       
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        height: 11vw;
        width: 11vw;
        border-radius: 50%;
    
    }

    .loader{
    
        font-weight: 100;
        color: white;
       text-align: center;
        font-family: "Titan One";
        position: absolute;
        z-index: 9;
        top: 100;
        height: 100%;
        width: 100%;
        background:url(https://static.vecteezy.com/system/resources/previews/007/680/386/non_2x/shampoo-bubbles-and-foam-seamless-background-with-blank-space-free-vector.jpg);
        background-position: center;
    }
    
    .loader h1{
        margin-top: 30vw;
        margin-bottom: .2vw;
        font-size: 12vw;
    }
    .rules h2{
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-size: 4.5vw;
    }
    
    .rules button{
        color: #92D6E3;
        font-weight: 600;
        font-family: "Poppins", sans-serif;
        border:1px solid #034548;
        background-color: #fff;
        margin-top: 8vw;
        font-size: 6vw;
        padding: 4vw 10vw;
        border-radius: 10px;
    }
    .rules button:hover{
        cursor: pointer;
        background: #92D6E3;
        color: white;
    }

}
