
#boy{
    width: 9%;
    margin-top: 300px;
    margin-left: 0%;
    position: absolute;
   
}
canvas{
    
    /* background: url('bg.jpg'); */
    /* background-size: 100% 100%;
    background-repeat: no-repeat; */ 
    background-color: #e9e8d4;
}

#enter{
    position: absolute;
    top: 650px; 
    left: 1125px;
    display: none;
    cursor: pointer;
    width: 2%;
    text-decoration: none;
    font-size:30px;
}

#enter1{
    position: absolute;
    top: 100px; 
    left: 830px;
    display: none;
    cursor: pointer;
    width: 2%;
    text-decoration: none;
    font-size:30px;
}

#canvasContainer{
    position: relative;
}

#paper {
    display: none;
    position: absolute;
  
}

#box{
    margin-left: 50px;
}

#img{
    display: none;
    position: absolute;
    margin-top: 90px;
    margin-left: 200px;
    width:3%;
}

#img1{
    display: none;
    position: absolute;
    margin-top: 400px;
    margin-left: 300px;
    width:3%;
    
}

/* a{
    position: absolute;
    left: 50px;
    top: 50px;
    width: 200px;
    height: 30px;
    display: block;
  
    text-decoration: none;
} */
/* #paper{
    width: 10%;
} */

/* Modal background */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}



/* Modal content */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 600px;
    text-align: center;
    position: relative;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* Link styling */
.modal-link {
    color: blue;
    cursor: pointer;
    top: 530px;
    left: 350px;
    position: absolute;
    text-decoration: none;
    display: none;
}

/* Link styling */
.modal-link1 {
    color: blue;
    cursor: pointer;
    top: 350px;
    left: 1350px;
    position: absolute;
    text-decoration: none;
    display: none;
}

/* code enter */

.container{
    width: 100%;
    height: 70%;
    background: #e3f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator{
    background: #3a4452;
    padding: 20px;
    border-radius: 10px;
}

.calculator form input{
    border: 0;
    outline:0;
    width: 70px;
    height: 60px;
    border-radius: 10px;
    box-shadow: -8px -8px 15px rgba(225, 225, 225, 0.1),5px 5px 15px rgba(0, 0, 0, 0.2);
    background: transparent;
    font-size: 20px;
    color: #fff;
   font-weight: bold;
    cursor: pointer;
    margin: 10px;

}

form .display{
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
}

form .display input{
    text-align: right;
    flex: 1;
    font-size: 45px;
    box-shadow: none;
}

#lock{
    margin-left: 70%;
    position: absolute;
}

.timeBg{
    width: 5%;
    margin-left: 45%;
    background-color: black;
    padding-left: 3%;

}

#time{
    color: white;
   font-size: 20px;
}

#boxBg{
    width: 10%;
    background-color: black;
    padding-left: 2%;
}

#box{
    color: white;
   font-size: 20px;
}

.modal-overlay-lose {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

/* Modal content */
.modal-content-lose {
    padding: 30px;
    border-radius: 8px;
    width: 70%;
    text-align: center;
    position: relative;
}

/* code enter */

.containe-lose{
    width: 150%;
    height: 70%;
    background-color: #e3f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay-time {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

/* Modal content */
.modal-content-time {
    padding: 30px;
    border-radius: 8px;
    width: 70%;
    text-align: center;
    position: relative;
}

/* code enter */

.containe-time{
    width: 150%;
    height: 70%;
    background-color: #e3f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.restartButton{
   
    --background-color-dark:black;

    position: absolute;
    margin-left: -57%;
    margin-top: 44%;
    display: inline-block;
    font-family: 'Boogaloo', cursive;
    font-size: 50px;
    border: none;
    outline: none;
    text-decoration: none;
    color:white;
    outline: 5px solid black;
    cursor: pointer;
    font-weight: bold;
    background-color: var(--background-color);
    box-shadow: 6px 6px 0 var(--background-color-dark);

}



.restartButton:active{
    transform: translateX(2px) translateY(2px);
    box-shadow: 4px 4px 0 var(--background-color-dark);
}

