hr{
    border-width: 1.3px;
    border-style: dashed;
    border-color: rgb(173, 173, 173);
}

.tools2 {
    position: absolute;
    display: flex;
    align-items: center;
    padding: 9px;
    transform: translate(555%, -98%);
}

.container2{
    width: 540px;
    height: 435px;
    background-color: rgb(240, 240, 240);
    border: solid rgb(173, 173, 173) 2px;
    border-radius: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    z-index: -2;

    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset, rgba(0, 0, 0, 0.1) 0px 14px 28px, rgba(0, 0, 0, 0.10) 0px 10px 10px;  
    animation: popupcontainer2 0.4s ease;
}

input{
    position: relative;
    z-index: 3;
    padding: 5px;
    height: 40px;
    width: 448px;
    text-align: center;
    border-radius: 5px;
    border-color: rgb(191, 191, 191);
    border-style: none;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    font-size: 1em;
    font-weight: 600;
    transition: transform 0.1s ease-in-out;
}

input:focus{
    outline-color: rgb(171, 171, 171);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset, rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    transform: scale(1.01);
}

.inputter{
    margin: 20px 0px 30px 20px;

}

.output{
    display: flex;
    justify-content: center;
}

#answer{
    margin-top: 20px;
    padding: 10px;
    height: 100%;
    width: 495px;
    text-align: center;
    border-radius: 5px;
    border-color: rgb(191, 191, 191);
    border-style: none;
    background-color: rgb(222, 222, 222);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset,
                inset -26px -26px 52px #c7c7c7,
                inset 26px 26px 52px #ffffff,
                rgba(72, 72, 72, 0.4) 0px 5px, rgba(104, 104, 104, 0.3) 0px 10px, rgba(100, 100, 100, 0.2) 0px 15px,rgba(144, 144, 144, 0.1) 0px 20px, rgba(147, 147, 147, 0.05) 0px 25px;
    font-size: 1em;
    font-weight: 600;
    align-items: center;
    display: flex;
    justify-content: center;
   
}

#uno2{
    top: 50%;
    left: 50%;
    transform: translate(-320%, -190%) rotate(4deg);
    position: absolute;
    z-index: -1;
    animation: popupuno2 0.4s ease;
    user-select: none;
}

#uno3{
    top: 50%;
    left: 50%;
    transform: translate(-250%, -190%) rotate(4deg);
    position: absolute;
    z-index: -1;
    animation: popupuno3 0.4s ease;
    user-select: none;
}
#zewo2{
    top: 50%;
    left: 50%;
    transform: translate(230%, 110%) rotate(-6deg);
    position: absolute;
    z-index: -1;
    animation: popupzewo2 0.4s ease;
    user-select: none;
}

#clearButton {
    height: 40px;
    position: absolute;
    top: 33px;
    right: 0;
    width: 45px;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    background-color: rgb(243, 243, 243);
    color: rgb(53, 53, 53);
    font-size: 15px;
    margin-right: 15px;
    margin-bottom: 10px;
    transition: font-size 0.1s ease-in-out;
}

#clearButton:active {
    background-color: #dbdbdb;
}

/* ----------- ANIMATION ------------ */

.popup-animation-container2 {
    animation: popupcontainer2 0.4s ease;
  }

@keyframes popupcontainer2 {
    0% { transform: scale(0) translate(-50%, -50%); }
    50% { transform: scale(1.1) translate(-50%, -50%);}
    100% { transform: scale(1) translate(-50%, -50%); }
  }

@keyframes popupuno2 {
    0% { transform: scale(0) translate(-320%, -190%) rotate(4deg); }
    50% { transform: scale(1.1) translate(-320%, -190%) rotate(4deg); }
    100% { transform: scale(1) translate(-320%, -190%) rotate(4deg); }
  }

@keyframes popupuno3 {
    0% { transform: scale(0) translate(-250%, -190%) rotate(4deg); }
    50% { transform: scale(1.1) translate(-250%, -190%) rotate(4deg); }
    100% { transform: scale(1) translate(-250%, -190%) rotate(4deg); }
  }

@keyframes popupzewo2 {
    0% { transform: scale(0) translate(230%, 110%) rotate(-6deg); }
    50% { transform: scale(1.1) translate(230%, 110%) rotate(-6deg); }
    100% { transform: scale(1) translate(230%, 110%) rotate(-6deg); }
  }
  
@media only screen and (max-width: 840px) {
    .navbar ul {
        position: relative;
        flex-direction: column;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        gap: 0;
        opacity: 0;
        background-color: rgb(230, 230, 230);
        transition: max-height 0.5s ease, opacity 0.5s ease-in-out;
        
    }

    .navbar.active ul{
        max-height: 300px;
        opacity: 1;
    }

    .navbar ul li {
        padding-top: 0;
    }

    .menu {
        display: block;
        float: right;
        justify-content: flex-end;
    }
    
}
