html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    max-height: 1080px;
    min-width: 1920px;
    overflow: hidden;
}

.clickable:hover > rect:first-child, .clickable:hover > circle:first-child {
    cursor: pointer;
    stroke: #45a356;
    animation: none;
}

svg {
    width: 100%;
    height: auto;
}

.clickable:hover > * {
    animation: none;
}

aside {
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: aliceblue;
    display: none;
}

aside .modal-close {
    top: 10px;
    right: 10px;
}

.blink {
    animation: blink-animation 2s infinite;
}

.pulse > circle:first-child  {
    animation: pulse-animation 2s infinite;
}

.active {
    stroke: #328c43;
}

.calc {
    display: flex;
    flex-direction : column;
    width: 300px;
    height: 470px;
    margin: auto;
    background-color: #e3eaff;
    /*background-image: linear-gradient(315deg, #000000 0%, #414141 104%);*/
    border-radius: 20px;
    box-shadow : 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.calc-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40px;
    align-items: center;
}

.calc-title-span {
    color: #fb7454;
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 700;
    line-height: 20px;
}

.calc-title-hr {
    width: 200px;
    height: 3px;
    background-color: #fb7454;
    opacity: 0.8;
}

.calc-display {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100px;
    color: #fff;
}


.secondary-display{
    font-size:38px;
    opacity : 0.8;
    overflow-x : hidden;
    color: #494c7f;
}
/* ScrollBar Style*/
.secondary-display::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}
.secondary-display::-webkit-scrollbar {
    height : 4px;
    background-color: #bdbdbd;
    opacity: 0.7;
}
.secondary-display::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #000000;
    border: 3px solid #555555;
}

.primary-display::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}
.primary-display::-webkit-scrollbar {
    height : 4px;
    background-color: #bdbdbd;
    opacity: 0.7;
}
.primary-display::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #000000;
    border: 3px solid #555555;
}

.calc-display-hr {
    width: 250px;
    height: 2px;
    margin-top: 10px;
    align-self: center;
    background-color: #bdbdbd;
    opacity: 0.4;
}

.calc-btn {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px;
}

.calc-btn-primary {
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    margin: 10px 5px;
    outline: none;
    background-color: transparent;
    color: #bfceff;
    font-size: 30px;
    width: 60px;
    height: 60px;
    border: 2px solid #bfceff;
    border-radius: 100%;
}

.btn-bg{
    background-color:#bfceff !important;
    color: #FFF !important;
    opacity : 0.9;
    border : none !important;
}
.btn-bg-equal{
    background-color:#ff7555 !important;
    border : none !important;
    color: #FFF;
}
.calc-btn-primary:focus {
    outline:none
}
.calc-btn-primary:active {
    transform: scale(0.9);
}

.calc-btn-clear {
    margin: 20px 5px;
    outline: none;
    background-color: transparent;
    color: #fff;
    font-size: 30px;
    padding: 10px 90px;
    border: 3px solid #ff7555;
    border-radius: 10px;
}
.calc-btn-clear:active {
    transform: scale(0.9);
}



@keyframes pulse-animation {
    0% {
        stroke: transparent;
        stroke-width: 0;
    }
    50% {
        stroke: #328c43;
        stroke-width: 3;
    }
    100% {
        stroke: transparent;
        stroke-width: 0;
    }
}

@keyframes blink-animation {
    0% {
        fill: transparent;
    }
    100% {
        fill: #328c43;
    }
}

@media screen and (max-width: 1919px) {
    html, body {
        overflow: scroll;
    }
}