

body {
    font-family: "Montserrat", sans-serif;
    text-align: center;
}

.banner {
    background-color: #0073e6;
    color: #fff;
    text-align: center;
    padding: 2% 0;
    height: 7vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border: 4px solid #f5f5f5d6;
    border-radius: 10px;
}

.banner h1 {
    font-size: 3vw;
    margin: 0;
}

.banner-button {
    position: absolute;
    left: 1.5vw;
    top: 19%;
    transform: translateY(-50%);
    background-color: #0073e6;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 1% 2%;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border 0.3s; 
    font-size: 2vw;
}

.banner-button:hover {
    background-color: #fff; 
    border: 2px solid #0073e6;
    color: #0073e6; 
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 80vh;
}

.option-box {
    background-color: #f5f5f5;
    border: 2px solid #f5f5f5;
    border-radius: 10px;
    margin: 20px;
    width: 72%;
    height: 20%;
    font-size: 3.2vw;
    transition: border 0.2s;
}

.option-box:hover {
    border: 2px solid #0073e6; 
    border-radius: 10px;
    width: 72%;
}

.option-box a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #000; 
    width: 100%;
    height: 100%;

}

.left {
    color: black;
}

.right {
    color: #0073e6;
}


.option-box + .option-box {
    margin-top: 150px; 
}

.hint-container{
    display: flex;
    justify-content: space-between;
    width: 50vw;
    font-size: 2.5vw;
}

.input-group-container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    height: 65vh;
}

.input-group {
    display: flex;
    align-items: center;
    margin: 4vh;
    position: relative;
}

.input-label {
    width: 5vh;
    text-align: right;
    padding-right: 10px;
    font-size: 3vh;
}

.input-field {
    width: 15vw;
    height: 6vh;
    font-size: large;
    text-align: center;
}

.options-container {
    display: flex;
    flex-direction: row;
    text-align: right;
    height: 6.3vh;
    font-size: small;
    margin-left: 5px; 
    background-color: transparent;
    border: 2px solid #0073e6;
    border-radius: 6px;
}

.fill-option {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    background-color: transparent;
    border-right: 2px solid #0073e6;
    width: 5vw;
    font-size: 21px;
}

.fill-option:last-child {
    border-right: none; /* Remove right border for last option */
}



.button-container {
    display: flex;
    justify-content: center;
    margin-top: 0px;
    margin-bottom: 0;
}

.button {
    padding: 40px 80px; 
    width: 30%;
    background-color: #0073e6; 
    color: #fff; 
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border 0.3s; 
}

.button:hover {
    background-color: #0073e6; 
    border: 2px solid #0073e6;
    color: #fff; 
}

.input {
    display: flex;
    font-size: 45px;
    justify-content: center;
    align-items: center;
}

.equals {
    font-size: 45px;
}

.results-container {
    flex: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.results {
    font-size: 40px;
}


#myDialog {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
} 

.ui-dialog {
    width: 10vh;
}

.noClose .ui-dialog-titlebar {
    background-color: #fff;
    border: none;
}
.noClose .ui-dialog-titlebar-close {
    display: none;
}

.ui-dialog .ui-dialog-buttonpane {
    text-align: center;
 }

 .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: none;
 }

 @media (min-width: 1200px) {
    .banner h1 {
        font-size: 2.3vw; /* Adjust for larger screens */
    }
    .input-field {
        width: 10vw; 
    } 
    .banner-button {
        font-size: 1.2vw;
        top: 22%;
    }
    .fill-option {
        width: 4vw;
        font-size: x-large;
    }
    .option-box {
        font-size: 2.5vw;
    }
    .hint-container {
        width: 40vw;
        font-size: 2vw;
    }
}

@media (max-width: 768px) {
    .banner h1 {
        font-size: 5vw; /* Adjust for smaller screens */
    }
    .banner-button {
        font-size: 3vw;
        top: 16%;
    }
    .option-box {
        font-size: 5vw;
        width: 85%;
    }
    .option-box:hover{
        width: 85%;
    }
    .fill-option {
        width: 8vw;
        font-size: large;
    }
    .hint-container {
        width: 80vw;
        font-size: 4vw;
    }
}
