html {
    background-color: #282828;
}

body {
    font-family: poppins, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h6 {
    color: #AAAAAA;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    width: 320px;
    height: 20px;
    text-align: end;
    margin: 8px 0 0 0;
    padding-right: 25px;
}

h3 {
    color: white;
    font-size: 30px;
    padding: 8px 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    width: 320px;
    height: 30px;
    margin: 20px 0;
    text-align: end;
}

div {
    display: flex;
    gap: 2px;
}

.display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    width: 100%;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-self: center;
    height: fit-content;
    width: fit-content;
    padding: 10px 5px;
    border: #555452 5px solid;
    border-radius: 20px;
}

button {
    color: white;
    padding: 10px;
    margin: 2px;
    width : 80px;
    height: 80px;
    background-color: #2F2F2F;
    font-size: 22px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.1s ease-in-out;
    border: none;
}

.operator {
    background-color: #E86615;
    font-size: 22px;
}

.equal,.delete{
    background-color: #404040;
}

button:hover {
    background-color: #404040;
}

.operator:hover {
    background-color: #FD9351;
}

.equal:hover,.delete:hover {
    background-color: #555555;
}

/* from here on this is the switch thingy */

.switch {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}
.switch button {
    background-color: #282828;
    border: none;
}

.toggle-switch {
    position: relative;
    width: 90px;
    height: 50px;
    --light: #EFEFEF;
    --dark: #1D1D1D;
    --link: rgb(27, 129, 112);
    --link-hover: rgb(24, 94, 82);
    padding-top: 20px;
    padding-bottom: 20px;
}

.switch-label {
    position: absolute;
    width: 100%;
    height: 38px;
    background-color: var(--dark);
    border-radius: 25px;
    cursor: pointer;
    border: 3px solid var(--dark);
}

.checkbox {
    position: absolute;
    display: none;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.checkbox:checked ~ .slider {
    background-color: var(--light);
}

.slider::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    -webkit-box-shadow: inset 12px -4px 0 0 var(--light);
    box-shadow: inset 12px -4px 0 0 var(--light);
    background-color: var(--dark);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.checkbox:checked ~ .slider::before {
    -webkit-transform: translateX(50px);
    -ms-transform: translateX(50px);
    transform: translateX(50px);
    background-color: var(--dark);
    -webkit-box-shadow: none;
    box-shadow: none;
}


.light-mode {
    background-color: white;
}

.light-number {
    background-color: #EFEFEA;
    color: black;
}
.light-number:hover {
    background-color: #FAFAF5;
}

.light-operator {
    background-color: #81b29a;
    color: black;
}
.light-operator:hover {
    background-color: #9BD2B7;
}

.light-equal, .light-delete {
    background-color: #C4C4BC;
    color: black;
}

.light-equal:hover, .light-delete:hover {
    background-color: #DEDED5;
    color: black;
}

.light-result {
    color: #262625;
}

.light-holder {
    color: #878787;
}
.light-border {
    border: #C9C7C3 5px solid;
}
