:root{
    /*Theme 1*/
    --primary-color: #3b4462;
    --secondary-color: #181f32;
    --third-color: #252d42;
    --text-color: white;
    --button-color: #e8e1d9;
    --button-text-color: #454a58;
    --button-active-color: #fdfdfd;
    --button-shadow: rgba(133, 126, 128, 0.93);
    --del-color: #637198;
    --del-active-color: #a0b2df;
    --del-shadow: rgb(63, 76, 112);
    --equals-color: rgb(207, 63, 48);
    --equals-active-color: rgb(247, 107, 90);
    --equals-shadow: rgb(121, 43, 39);
    --equals-text: white;
}

[data-theme="2"]{
    /*Theme 2*/
    --primary-color: #e4e4e4;
    --secondary-color: #ececec;
    --third-color: #d1cbcb;
    --text-color: #32322a;
    --button-color: #e3e2de;
    --button-text-color: #37372d;
    --button-active-color: #fdfdfd;
    --button-shadow: rgb(166, 156, 144);
    --del-color: #388086;
    --del-active-color: #61b4bc;
    --del-shadow: rgb(30, 96, 105);
    --equals-color: #c65301;
    --equals-active-color: #fd8a38;
    --equals-shadow: rgb(138, 58, 2);
    --equals-text: #ffffff;
}

[data-theme="3"]{
    /*Theme 3*/
    --primary-color: #17062a;
    --secondary-color: #1e0836;
    --third-color: #1e0836;
    --text-color: #f9e441;
    --button-color: #331b4c;
    --button-text-color: #fde351;
    --button-active-color: #6a34ab;
    --button-shadow: rgb(132, 29, 156);
    --del-color: #55077b;
    --del-active-color: #8531af;
    --del-shadow: rgb(185, 23, 240);
    --equals-color: #00dccd;
    --equals-active-color: #93fdf7;
    --equals-shadow: rgb(107, 246, 237);
    --equals-text: #033537;
}



body{
    font-family: 'League Spartan', sans-serif;
    background-color: var(--primary-color);
    font-weight: 700;
    color: var(--text-color);
}

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    margin: 1.8vh auto;
    max-width: 450px;
}

.header h1{
    margin-top: 6.5vh;
    font-size: 1.5rem;
}

.themes{
    display: flex;
    flex-direction: row;
    gap: 2rem;}

.theme-label{
    margin-top: 3.6rem;
    font-size: 0.7rem;
}
.theme-slider{
    max-width: 100px;
    margin-top: 0.5rem;
}


#themeRange{
    width: 70px;
    height: 22px;
    appearance: none;
    background: var(--secondary-color);
    border-radius: 12px;
    outline: none;
    cursor: pointer;
}

.theme-options{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-left: 5px;
    margin-top: 5px;
    height: 38px;
}

.calculator{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.display{
    width: 100%;
    height: 12vh;
    background-color: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
    font-size: 2rem;}

.buttons{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
    height: 40vh;
    width: 95%;
    background-color: var(--third-color);
    padding: 5%;
    border-radius: 12px;
}

.button{
    background-color: var(--button-color);
    color: var(--button-text-color);
    border-radius: 12px;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
    box-shadow: 0 0 0 1px var(--button-shadow);
}

.button:active {
    background-color: var(--button-active-color);
}

.delete {
    font-size: 1.5rem;
    background-color: var(--del-color);
    color: white;
    box-shadow: 0px 1px 0 1px var(--del-shadow);
}

.delete:active {
    background-color: var(--del-active-color);
}

.reset{
    font-size: 1.5rem;
    background-color: var(--del-color);
    color: #f9fdfd;
    box-shadow: 0px 1px 0 1px var(--del-shadow);
    grid-column: span 2;
}

.reset:active {
    background-color: var(--del-active-color);
}

.equals{
    width: 100%;
    grid-column: span 2;
    background-color: var(--equals-color);
    color: var(--equals-text);
    box-shadow: 0 0 0 2px var(--equals-shadow);
}

.equals:active{
    background-color: var(--equals-active-color);
    color: var(--equals-text);
}


