@import url('https://fonts.googleapis.com/css?family=Bowlby One SC');

*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding:0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Bowlby One SC';font-size: 22px;
}

@keyframes shake{
    0%{transform: translateX(-10px);}
    10%{transform: translateX(10px);}
    15%{transform: translateX(-8px);}
    20% {
        transform: translateX(8px);
    }
    22% {
        transform: translateX(-4px);
    }
    24% {
        transform: translateX(4px);
    }
    25%{
        transform: translateX(0px);
    }
    

}

p{
    margin: 0;
    padding: 0;
    font-size: 30px;
    letter-spacing: 2px;
    color: black;
    -webkit-text-stroke: 1px aqua;
}

h1, h2, h3, h4, h5, h6{
    letter-spacing: 2px;
    color: black;
    -webkit-text-stroke: 0.5px aqua;
}

.splash{
    position: fixed;
    min-height:100vh;
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: url('./img/ind-crop.jpg');
    background-position: center;
    background-size: cover;
    align-items: center;
    z-index:200;
    text-align: center;
    
}

.splash.display-none{
    position: fixed;
    opacity: 0;
    min-height:100vh;
    width: 100vw;
    background: transparent;
    background-size: cover;
    z-index:-10;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    transition: all 1s;
}

@keyframes fadeIn{
    to{
        opacity:1;

    }
}

.fade-in{
    position: relative;
    height: 700px;
    width: 600px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('./img/background-image.png');
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0px 0px 34px 0px rgba(0, 0, 0, 0.75);
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.container{
    background-color: black;
    background-image: url('./img/ind-crop.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    min-height:100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}


.menu-square h1,h4{
    text-align: center;
}

.options{
    background-color: transparent;
    max-width: 700px;
    min-height: 50px;
    padding: 10px;
    background-color: black;
    border-radius: 20px;
}

.levls{
    background-color: transparent;
    max-width: 700px;
    min-height: 90px;
    padding: 20px ;
    margin-block-end: 20px;
    border-radius: 20px;
}

.start-box{
    position: relative;
    max-height: 500px;
    width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('./img/background-image.png');
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0px 0px 34px 0px rgba(0, 0, 0, 0.75);
    
}

.box{
    padding: 20px 0 20px 0;
    background-color: rgb(131, 131, 131);
    box-shadow: 0px 0px 34px 0px rgba(0, 0, 0, 0.75);
    max-width: 700px;
    min-height: 200px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    background-image: url('./img/background-image.png');
    border-radius: 20px;
    margin: 0 20px;
    margin-bottom: 10px;
}


.button{
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 20px;
    border: 3px solid palevioletred;
    color: white;
    font-family: 'Indie Flower',
    cursive;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color,border 0.3s ease-in-out;
    /* transition: border 0.3s ease-in-out; */
}

.button:hover{
    background-color:rgb(104, 104, 104);
    color: white;
    border: white 3px solid;
}
.reload-btn{
    height: 40px;
    border: 2px solid white;
    color: white;
    background-color: transparent;
    padding: 7px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 15px;
    border: 3px solid aquamarine;
    transition: background-color 0.3s ease-in-out,
    border .3s ease-in-out,
    color .2s ease-in-out;
}

.reload-btn:hover{
    background-color:rgb(104, 104, 104);
    color: white;
    border: white 3px solid;

    
}

.menu-btn{
    height: 40px;
    border: 3px solid rgb(85, 85, 85);
    color: white;
    background-color: transparent;
    padding: 7px;
    font-family: 'Indie Flower', cursive;
    font-size: 16px;
    font-style: bold;
    cursor: pointer;
    margin: 2px 2px 2px 2px;
    border-radius: 15px;
    text-decoration: none;
    border: 3px solid aquamarine;
    transition: background-color 0.3s ease-in-out,
    border .3s ease-in-out,
    color .2s ease-in-out;
}

.menu-btn:hover {
    background-color: rgb(104, 104, 104);
    color: white;
    border: white 3px solid;
}

.mode-btn{
    width: 100%;
    height: 50px;
    background-color: transparent;
    box-shadow: none;
    font-size: 18px;
    font-weight: bold;
    padding: 7px;
    margin-bottom: 20px;
    border-radius: 20px;
    border: 3px solid rgb(85, 85, 85);
    border: 3px solid rgb(245, 179, 201);
    color: white;
    font-family: 'Indie Flower',
    cursive;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color,border 0.3s ease-in-out;
    /* transition: border 0.3s ease-in-out; */
    line-height: 35px;
}

.mode-btn:hover {
    background-color: rgb(104, 104, 104);
    color: white;
    border: white 3px solid;
}

.level-btns{
    background-color:transparent;
    font-size: 20px;
    padding: 7px;
    box-shadow: none;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 20px;
    border-radius: 20px;
    border: 3px solid rgb(85, 85, 85);
    border: 3px solid greenyellow;
    color: white;
    font-family: 'Indie Flower',
    cursive;
    letter-spacing: 2px;
    transition: background-color,border 0.3s ease-in-out;
    cursor: pointer;
    line-height: 55px;
}

.level-btns:hover {
    background-color: rgb(104, 104, 104);
    color: white;
    border: white 3px solid;
}

.rectangle{
    width: 52px;
    height: 140px;
    background-color: transparent;
    border: 3px rgb(201, 201, 201) solid;
    margin: 10px 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: relative;
    cursor: pointer;

}

.rectangle::before{
    position: absolute;
    content: '';
    height:5px;
    width: 60px;
    /* border: 2px solid rgb(201, 201, 201); */
    border: 3px solid rgb(201, 201, 201);
    top: -12px;
    left: -11px;
    border-radius: 5px;
}

.rectangle::after{
    position: absolute;
    content: '';
    height: 6px;
    width: 46px;
    background-color: transparent;
    top: -3px;
    left: 0px;
}

.body-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom:0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
}

.win-box{
    position: relative;
    max-height: 500px;
    width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('./img/edit.png');
    border-radius: 20px;
    border-color: blue;
    padding: 20px;
    box-shadow: 0px 0px 34px 0px rgba(0, 0, 0, 0.75);
}

.ball{
    height: 40px;
    width: 40px;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 2px;
    border: 2px solid aqua;
}

.ball-green{
    background-color: green;
}

.ball-yellow{
    background-color: rgb(206, 206, 14);
}

.ball-blue{
    background-color: rgb(39, 39, 172);
}
.ball-purple {
    background-color: rgb(94, 1, 94);
}
.ball-orange {
    background-color: rgb(223, 146, 4);
}
.ball-red {
    background-color: rgb(175, 0, 0);
}
.ball-pink {
    background-color: rgb(215, 88, 231);
}
.ball-black {
    background-color: rgb(49, 49, 49);
}

.ball-active{
    transform: scale(1.1);
    border: 2px solid white;
}

.ball-error{
    animation-name: shake;
    animation-duration: 0.5s;
}


