@font-face {
    font-family: Luckiest-Guy;
    src: url(assets/fonts/LuckiestGuy-Regular.ttf);
}

* {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: #f6f7fb;;
}

.title-text {
    font-family: Luckiest-Guy, sans-serif;
    font-size: 50px;
    margin: 15px;
}

#main-container {
    border: 3px solid black;
    width: 800px;
    height: 800px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.box-container {
    display: flex;
    flex: 1;
}

.box {
    border: 1px solid rgb(104, 103, 103);
    flex: 1;
}

#grid-change {
    width: 300px;
    border: 3px solid black;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#grid-change-button {
    background-color: rgb(104, 103, 103);
    color: white;
    padding: 3px 25px;
    border-radius: 8px;
    font-weight: bold;
    font-size: large;
    user-select: none;
    cursor: pointer;
    border: none;
    height: 35px;
}

#grid-change-button:hover {
    opacity: 90%;
}

#grid-change-slider {
    appearance: none;
    height: 10px;
    background: rgb(104, 103, 103);
    opacity: 0.9;
}

#grid-change-slider::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 25px;
    background: white;
    border: 1px solid black;
    cursor: pointer;
}

#grid-change-color {
    width: 85%;
    background-color: rgb(104, 103, 103);
    border-radius: 5px;
    border: none;
    height: 25px;
    color: white;
    font-weight: 600;
    padding: 10px;
    cursor: pointer;
}