:root{
    --main-bg: #424c57;
    --primary-color: #07d3fc;
    --text-color: #FFFFFF;
    --font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

*{
    color: var(--text-color);
}

body{
    font-family: var(--font-family);
    background: var(--main-bg);
}

.main{
    width: 100%;
    height: 100%;
}

.logo {
    position: relative;
    color: var(--text-color);
    line-height: 1.3;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-family: 'Archivo Black', var(--font-family);
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

.logo span{
    color: var(--primary-color);
}

.logo::after {
    position: absolute;
    content: 'Making Math Easy';
    left: 0;
    right: 0;
    bottom: -1.5rem;
    font-size: clamp(0.8rem, 3vw, 1rem);
    font-family: var(--font-family);
    color: var(--text-color);
}

.tagline{
    text-align: center;
}

p{
    font-size: clamp(12px, 5vw, 14px);
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(0.6rem, 5vw, 0.9rem);
}

.calculator{
    width: 30%;
    min-height: 30vw;
    height: max-content;
    border: 1px solid var(--text-color);
    border-radius: 9px;
    padding: clamp(0.4rem, 1vw, 0.6rem);
}

.input-box {
    position: relative;
    overflow-y: auto;
}

.input-box, .options-container {
    width: 90%;
    margin: 5% auto;
    padding: 4% 3%;
    border: 1px solid var(--primary-color);
    box-sizing: border-box;
}

#value{
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    border: none;
    overflow-x: auto;
    white-space: nowrap;
}

.row{
    display: flex;
    flex: 1;
}

.options-container .row:not(:last-child){
    margin-bottom: 10px;
}

.option{
    width: 100%;
    padding: 15px 0px;
    font-weight: 400;
    font-size: clamp(0.8rem, 2vw, 1rem);
    background-color: #282828;
    border: none;
    transition: 0.3s;
}

.option:not(:last-child){
    margin-right: 10px;
}

.primary-bg{
    background-color: var(--primary-color);
}

.primary-color{
    color: var(--primary-color);
    font-weight: 800;
    font-size: clamp(1rem, 3vw, 1.2rem);
}

.clear-btn{
    color: rgb(241, 22, 22); 
    font-size: 900; 
    font-weight: bolder;
}

.option:hover{
    color: var(--text-color);
    background-color: var(--primary-color);
}

#calculateBtn{
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}


    @media only screen and (max-width: 767px){
        .calculator{
            width: 80%;
        }
    }

    @media only screen and (max-width: 600px){
        .calculator{
            width: 90%;
            padding: clamp(0.2rem, 1vw, 0.4rem);
            margin-top: 8%;
        }
    }
    