body{
    background-color: rgb(0, 255, 115);
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-ser;
    transition: 250ms ease-in-out;
}

.box{
    text-align: center;
    margin-top: 50px;
    background-color: rgb(239, 108, 0);
    position: absolute;
    left: 50%; 
    transform: translate(-50%);
    height: auto;
    width: auto;
    box-shadow: rgb(197, 0, 251) 0px 1px 10px;
    border: 1px solid rgb(0, 142, 45);
}  

.main{
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 2px;
    height: auto;
    width: auto;
} 
input[type="text"]{
    width: 200px;
    position: fixed;
    left: 0%;
    font-size: 24px;
    justify-content: left;
    margin-left: 1px;
    margin-bottom: 10px;
    border: 4px ridge red;
    padding: 5px;
    transition: all 0.2s ease;
}
input[type="text"]:focus{
    border: 4px groove blue;
    box-shadow: blue 0px 0px 10px;
}
.handles{
    font-size: 20px;
    margin: 0px;
    padding: 0px;
    cursor: hand;
    position: absolute;
    right: 0%;
    bottom: 0%;
    position: relative;
    right: 0%;
    bottom: 0%;
    padding: 0px;
}
input[type="button"]{
    background-color: yellow;
    border: 1px solid black;
    font-size: 20px;
    margin: 5px;
    padding: 10px;
    cursor: hand;
    transition: all 0.2s ease;
}
input[type="button"]:hover{
    background-color: orange;
    border: 1px solid rgb(255, 255, 255);
    font-size: 20px;
    margin: 5px;
    padding: 10px;
    cursor: hand;
}
.bg1{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.bg2{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.popup, .popup_capcha{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(0, 238, 255);
    border: 2px solid rgb(255, 255, 255);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.popup button, .popup_capcha button{
    margin-top: 10px;
    padding: 10px 20px;
    background-color: rgba(191, 255, 0, 0.927);
    color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.popup button:hover, .popup_capcha button:hover{
    background-color: rgb(255, 255, 0);
    border: 0px solid rgb(0, 0, 0);
    transition: background-color 0.2s ease;
}
.head{
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    color: rgb(140, 0, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.head2{
    font-size: 19px;
    font-weight: semi-bold;
    text-align: center;
    margin-top: 10px;
    color: rgb(0, 76, 255);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.head2{
    font-family: 'Comic Sans MS', cursive, sans-serif;
}
.bg3{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.bg3close{
    margin-top: 10px;
    padding: 10px 20px;
    background-color: rgba(218, 255, 107, 0.566);
    color: rgb(92, 92, 92);
    border: none;
    cursor: not-allowed;
    transition: background-color 0.2s ease;
}
.popup2{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(0, 238, 255);
    border: 2px solid rgb(255, 255, 255);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.bg3buy{
    margin-top: 10px;
    padding: 10px 20px;
    background-color: rgba(191, 255, 0, 0.927);
    color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.bg3buy:hover{
    background-color: rgb(255, 255, 0);
    border: 0px solid rgb(0, 0, 0);
    transition: background-color 0.2s ease;
}
.footer{
    padding: 3px;
    background-color: rgba(255, 90, 90, 0.448);
    backdrop-filter: blur(5px);
    text-align: center;
    font-size: 14px;
    color: rgb(50, 50, 50);
    position: absolute;
    bottom: 0%;
    left: 0%;
    width: 50%;
    transform: translate(50%);
    text-shadow: 10px 3px 10px rgb(2, 2, 2);
}
.footer a{
    color: rgb(0, 0, 0);
    text-decoration: none;
    margin-left: 10px;
}
body.dark-mode {
    background-color: rgb(32, 32, 32);
    color: white;
}
.box.dark-mode {
    background-color: rgb(64, 64, 64);
    box-shadow: rgb(255, 255, 255) 0px 1px 10px;
    border: 1px solid rgb(200, 200, 200);
}
input.dark-mode{
    background-color: rgb(100, 100, 100);
    color: white;
    
}
input[type="text"].dark-mode{
    background-color: rgb(100, 100, 100);
    color: white;
    
}
.head.dark-mode{
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}
.footer.dark-mode{
    background-color: rgba(100, 100, 100, 0.448);
    color: rgb(200, 200, 200);
}
.popup.dark-mode, .popup_capcha.dark-mode, .popup2.dark-mode{
    background-color: rgb(64, 64, 64);
    border: 2px solid rgb(200, 200, 200);
    color: white;
}
.popup.dark-mode button, .popup_capcha.dark-mode button, .popup2.dark-mode button{
    background-color: rgba(100, 100, 100, 0.927);
    color: rgb(255, 255, 255);
}
.popup.dark-mode button:hover, .popup_capcha.dark-mode button:hover, .popup2.dark-mode button:hover{
    background-color: rgb(150, 150, 150);
    border: 0px solid rgb(255, 255, 255);
}
