* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 5px;
    justify-content: center;
    align-items: center;
    height: auto;
    background-color: #f2f2f2;
}

table {
    background-color: #615e5e37;
    padding: 30px;
    width: 90%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.597);
    text-align: center;
}


th {
    height: 50px;
    font-weight: 900;
    font-size: 20px;
}

td {
    font-size: 18px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.356);
    border-collapse: collapse;
}

th,
td {
    background-color: #96D4D4;
}

button {
    padding: 10px 20px;
    background-color: #4942427f;
    box-shadow: 5px 7px 16px rgba(0, 0, 0, 0.777);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #3b5c6b;
    box-shadow: 0 8px 16px rgb(78, 67, 67);
}

button:active {
    background-color: #7db0e4;
}

ul {
    padding-top: 30px;
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

li input {
    list-style: none;
    row-gap: 15px;
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
}

table ul li select {
    width: 100%;
    max-width: 260px;

    padding: 10px 30px 10px 12px;
    font-size: 14px;
    line-height: 1.5;

    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    cursor: pointer;
    transition: all 0.3s ease;
}

table ul li select:hover {
    border-color: #7db0e4;
    box-shadow: 0 2px 8px rgba(125, 176, 228, 0.5);
}

table ul li select:focus {
    border-color: #7db0e4;
    box-shadow: 0 2px 8px rgba(125, 176, 228, 0.5);
    outline: none;
}

.results {
    height: 100px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}


#preloader {
    position: relative;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #f2f2f2;
    border-top: 6px solid #56829e;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}