@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@700&display=swap');

:root {
    --background-color: #d4d8f0;
    --button-color: #eebbc3;
    --value-section: #b8c1ec;
    --color-text: #232946;
    --moon-color: #fffffe;
    --hover-color: #232946;
}

.dark-mode {
    --background-color: #232946;
    --button-color: #d1d1e9;
    --value-section: #b8c1ec;
    --color-text: #eff0f3;
    --moon-color: #fde24f;
    --hover-color: #eff0f3;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Mono', monospace;
    
}

body {
    background: var(--background-color);
    font-family: 'Space Mono', monospace;
    color: var(--color-text);
}

.switch {
    font-size: 5rem;
    color: var(--moon-color);
}

.switch:hover {
    color: var(--hover-color);
}

main {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.calculator {
    width: 30rem;
    height: 30rem;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 20px;
    border: 3px solid #090A0E;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: rgb(0, 0, 0) 10.8831px 10.8831px 0px;
}

.value-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 5rem;
    border-bottom: 2px solid #090A0E;
}

.value-tab {
    width: 100%;
    height: 3.5rem;
    background: var(--value-section);
    border: 3px solid #090A0E;
    border-radius: 10px;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: end;
}

#value {
    text-align: right;
    font-family: 'Space Mono', monospace;
    font-size: 40px;
    margin-right: 10px;
    color: #090A0E;
}

.bottons-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.bottons {
    width: 100%;
    height: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 5px 0;
}

.btn {
    font-size: 30px;
    font-weight: bold;
    width: 6rem;
    height: 4rem;
    border: 2px solid #090A0E;
    margin: 0 5px;
    border-radius: 12px;
    background: var(--button-color);
    user-select: none;
}

#equal {
    font-size: 25px;
    width: 18rem;
    height: 3rem;
}

.btn:hover,
#equal:hover {
    background-color: #FA0C1B;
}
