*{
    margin: 0;
    padding: 0;
}

.hero{
    height: 100vh;
    width: 90vw;
    display: grid;
    justify-content: center;
    align-content: center;
    margin: auto;
}

.calculator{
    background-color: #f0f0f2;
    height: 95vh;
    width: 28vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border: none;
    border-radius: 3vw;
    box-shadow: 0.2vh 0.1vw rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
}
.screen{
    height: 25vh;
    padding-left: 2vw;
}
.output-screen{
    margin-top: 3vh;
    border: none;
    height:10vh;
    width:25vw;
    font-size: 6vh;
    border-radius: 2vh;
    background-color: transparent;
    color: #fc9e0a;
}
.answer-screen{
    border: none;
    height:15vh;
    width:25vw;
    font-size: 10vh;
    border-radius: 2vh;
    background-color: transparent;
    color: #fc9e0a;
    font-weight: bold;
    word-wrap: normal;
}


.buttons-class{
    margin-top: 1vh;
    height: 60vh;
    width: 28vw;
}

.row{
    margin-top: 2vh;
    margin-bottom: 2vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width:28vw;
}

.row button{
    border: none;
    height:10vh;
    width:10vh;
    border-radius:4.5vh;
    font-size: 3vh;
    box-shadow: 0.2vh 0.1vw rgba(0, 0, 0, 0.3);
    cursor:pointer;
}

.row-last{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-left: 1vw;
    margin-bottom: 1vh;
    color: #222431;
    cursor:pointer;
}

.clear-button{
    border:none;
    margin-top: 1vh;
    padding: 0.5vh;
    border-radius: 4vh;
    height: 9vh;
    width: 11vw;
    font-size: 3vh;
    box-shadow: 0.2vh 0.1vw rgba(0, 0, 0, 0.3);
    cursor:pointer;
}

.normal-buttons{
    background-color: #f0f0f2;
}

.color-button{
    background-color: #fc9e0a;
}

.special-button{
    height:10vh;
    width:10vh;
    border:none;
    border-radius:4.5vh;
}

.theme-button{
    margin-left: -1vw;
    box-shadow: 0.2vh 0.1vw rgba(0, 0, 0, 0.3);
    cursor:pointer;
}

.theme-button img{
    width:5vh;
    height: 5vh;
}

.equal-button{
    border: none;
    height: 10vh;
    width:10vh;
    border-radius: 4.5vh;
    font-size: 3vh;
    box-shadow: 0.2vh 0.1vw rgba(0, 0, 0, 0.3);
    cursor:pointer;
}



.dark-mode-body{
    background-color: #101118;
}

.dark-mode-calculator{
    background-color: #222431;
    color: white;
}

.dark-mode-buttons{
    background-color: #222431;
    color: white;
}

.dark-mode-color-buttons{
    color: white;
}




/* Responsive design */

@media screen and (max-width:1100px) {
    .calculator{
        height:80vh;
        width:28vw;
    }
}
@media screen and (max-width:1100px) {
    .calculator{
        width:50vw;
    }
    .row{
        width:50vw;
        margin-left: -11vw;
    }
    .row button{
        height:7vh;
        width:7vh;
    }
    .row-last{
        width:50vw;
        margin-left: -10vw;
    }
    .special-button{
        height:7vh;
        width:7vh;
        border:none;
        border-radius:4.5vh;
    }
    .clear-button{
        height: 7vh;
        width: 18vw;
        font-size: 3vh;
        box-shadow: 0.2vh 0.1vw rgba(0, 0, 0, 0.3);
    }
    .equal-button{
        height: 7vh;
        width:7vh;
    }
    .output-screen{
        font-size:4vh;
    }
    .answer-screen{
        font-size: 7vh;
    }
}
@media screen and (max-width:667px) {
    .calculator{
        width:70vw;
    }
    .row{
        width:70vw;
        margin-left: -22vw;
    }
    .row-last{
        width:70vw;
        margin-left: -21vw;
    }
    .clear-button{
        width: 25vw;
        font-size: 3vh;
        box-shadow: 0.2vh 0.1vw rgba(0, 0, 0, 0.3);
    }
    .output-screen{
        font-size:4vh;
        width: 70vw;
    }
    .answer-screen{
        margin-top: -5vh;
        font-size: 7vh;
        width: 70vw;
    }
}