@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Bungee+Shade&family=Cabin+Condensed:wght@400;500;600;700&family=Fira+Sans:ital@0;1&family=Holtwood+One+SC&family=Iceland&family=Julius+Sans+One&family=Khand&family=Kumar+One+Outline&family=Monoton&family=Notable&family=Open+Sans:ital,wght@0,300;0,400;1,300;1,400&family=Plaster&family=Rubik+Iso&family=Sofia+Sans:ital,wght@0,300;1,400&family=Teko&display=swap');

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



.img-responsive{
    max-width: 100%;
    height: auto;
}

html {
    font-size: 16px;
}

body {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    font-family: Holtwood - serif;
    background-color: #2b2178;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient(to bottom right, #2b2178, #402b88);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    overflow: hidden;

}

object {
    width: 100vw;
    height: 100vh;

}

.sect, .main, .sect1, .sect2, .sect3, .sect4, #board1, #board2 {
    margin: 0;
    padding: 0;
}

.intro{
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}




.sect{
    visibility: hidden;
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    width: 100% ;
    background-image: url(../images/header.png);
    background-repeat: no-repeat;
    background-size: contain;

}

.main{
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

h1 {
    display: flex;
    justify-content: center;
    font-size: 10vh;
    position: relative;
    bottom: 6.5rem;
    left: 1rem;
}

.container{
    width: 60%;
    height: auto;
    justify-content: space-evenly;
}



.sect1, .sect2, .sect3, .sect4, .board{
    visibility: hidden;
    overflow: hidden;
    position:fixed;
    top:0px;
}

.sect1, .sect2, .sect3, .sect4{
    width: 100%;
    height: auto;
    position: fixed;
    top:2.5rem;



}

.sc1, .sc2, .sc3, .sc4{
    width: 100%;
    height: auto;
}

.puzzleStyle{
    width: 22%;
    height: auto;
}


.tt{
    margin-right: 10rem;
}


#board1{
display: flex;
justify-content: center;
align-items: center;
gap: .8rem;
margin: .8rem auto;
margin-top: 20rem;
}


.btnss{
    background-image: url(../images/btn.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 3.8rem;
    height: 3.2rem;
}



.home{
    background-image: url(../images/SVG/home.svg);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-evenly;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
}

.bb {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 30px; /* Add padding or adjust as needed */
    align-items: center;

}

.shuffle{
    background-image: url(../images/SVG/shuffle.svg);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-evenly;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;

}

.board{
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-content: space-evenly;
}

.boardStyle{
    width: 70%;
    height: 70%;
    align-items: center;
    justify-content: center;
    margin: 11% 0 0 10%;
}

.boardLeft{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%; /* Adjust the width as needed */
    gap: 8px;
}

.boardLeft{
    justify-content: center;
}

.boardRight {
    justify-content: flex-end;
    padding-top: 20px;
}

/*.headd{
    background-image: url(../images/head.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 3rem;
    justify-content: space-evenly;
    display: flex;
    flex-direction: row;
    top: 0;
}*/

.headd{
    background-image: url(../images/header.png);
    width: 100%;
    height: 4rem;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    top: 0;
}

.bto{
    width: 100%;
    height: 3rem;
    justify-content: space-evenly;
    display: flex;
    flex-direction: row;
}

.scoreStyle {
display: flex;
width: 11%;
height: auto;
justify-content: center;
align-items: center;
}

.scoreShape {
height: auto;
 width: 90%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 30px;
}

.popup{
    margin: 50px auto;
}

    .win {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        display: none;
        z-index: 999; /* Ensure it appears above other elements */
        transition: opacity 0.5s ease;
    }


.lose{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    display: none;
    z-index: 999; /* Ensure it appears above other elements */
    transition: opacity 0.5s ease;
}

.scoreNumb {
font-size: 1.2rem;
color: #e2cfb5;
position: absolute;
margin-right: 2rem;
}


#buttonn{
    width: 10%;
    height: 10%;
    cursor: pointer;
}

.header{
    position: absolute;
    width: 4rem;
    height: 4rem;
    background-color: #5042b7;
    display: flex;
    flex-direction: row;
    top: 2rem;
    left: 4.5rem;
}


.container{
    width: 80%;
    height: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 1rem;
}

.inst_btn {
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 9px;
    
}

#content {
    width: 10%;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease; 
    z-index: 30;
    bottom: 2rem;
    left: 4rem;
}

#scoreDisplay{
    position: relative;
    height: auto;
    width: 3%;
    top: 10px;
    justify-content: center;
    margin-left: 10px;
}

.sbtn{
    position: relative;
    height: 60%;
    width: auto;
}

#currentScore{
    position: absolute;
    top: 33%;
    left: 5rem;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    color:#e2cfb5;

}

.timer {
    position: relative;
    font-size: .8rem;
    font-weight: bold;
    color: #e2cfb5;
    margin-right: 100px;
    margin-top: 10px;
}

.timerbtn{
    position: relative;
    height: auto;
    width: 35%;
    height: auto;
    left: 2.5rem;
}

.timers{
    position: absolute;
    top: 36%;
    left: 35%;
    transform: translate(-50%, -50%);
}
