:root {
    --primary-background-color: #425044;
    --secondary-background: #282a41;
}

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

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.header {
    background-color: var(--secondary-background);
    padding: 30px;
    margin-left: -2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-text {
    color: white;
}

body {
    background-color: var(--primary-background-color);
}


.square-container {
    display: flex;
    flex-direction: column;
    border: 20px solid red;
    border-radius: 20px;
    padding: 0px;
    width: 80vw; /* Adjust the width as per your requirement */
    height: 80vh; /* Adjust the height as per your requirement */
    max-width: 500px; /* Optional: to prevent it from getting too large on big screens */
    max-height: 500px; /* Optional: as above */
    margin: auto; /* Center the container */
    overflow: hidden;
    background-color: white;
}


.row {
    display: flex;
}

.cell {
    flex-grow: 1;
    /*border: 1px solid #ddd;*/
    aspect-ratio: 1 / 1; /* To ensure cells are square */
    box-sizing: border-box;
}


.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.color-input {
    padding: 0px;
    height: 100%;
}

.color-select {
    padding: 5px;
}

.rainbow-select {
    padding: 10px 10px;
}

.erase-select {
    padding: 5px;
}

.clear-button {
    padding: 5px;
}

.slider {
    padding: 0px;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 10px; 
}

#sliderValue {
    font-weight: bold;
    margin-left: 10px;
    color: white;
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    font-size: 20px;
    background-color: var(--secondary-background);
    color: white;
  }


.fa-github {
    color: white;
    font-size: 30px;
}

.selected {
    background-color: darkgray;
    color: white;
    border-color: black;
}
