* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Set background color and font styles */
body {
    background-color: #000000;
    /* black background */
    position: relative;
    /* set position to relative for stacking context */
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    overflow: hidden;
    user-select: none;
}

.background-image {
    margin-top: -55px;
    margin-left: -30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 105vw;
    height: 105vh;
    overflow: hidden;
    z-index: -1;
    background-image: url('image8.jpg');
    background-size: cover;
    object-fit: fill;
    background-repeat: no-repeat;
    filter: blur(5px);
    transition: all 0.35s cubic-bezier(0.39, 0.575, 0.565, 1) 0ms;
}

/* Container for the validator */
main {
    color: rgba(0, 0, 0, 0.838);
    /* white text color */

    height: 600px;
    max-width: 800px;
    max-height: 600px;
    overflow-y: auto;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 2%;
    border-radius: 12px;
    border: transparent;
    backdrop-filter: blur(10px);
}

/* Title style */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: rgba(0, 0, 0, 0.838);
    text-align: center;
    margin-top: 0;
}

/* Button style */
button {
    display: block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(0, 0, 0, 0.838);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Button hover effect */
button:hover {
    background-color: rgba(255, 255, 255, 0.503);
}


.circle {
    width: 185px;
    height: 185px;
    background: linear-gradient(to top left, #979fa7a9, #2f8ec598);
    filter: blur(5px) saturate(1.5) brightness(0.8) contrast(1.2);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: -1;
}

input[type="number"],
input[type="text"] {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(0, 0, 0, 0.838);
    border: none;
    border-radius: 3px;
    transition: background-color 0.3s;
    outline: none;
}

.rezultati {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    width: 100%;
    max-width: 400px;
    word-wrap: break-word;
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(0, 0, 0, 0.838);
    border: none;
    border-radius: 3px;
    transition: background-color 0.3s;
    outline: none;
    user-select: text;
    text-align: center;
}

.hidden {
    display: none;
}

button {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    width: 15%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(0, 0, 0, 0.838);
    border: none;
    border-radius: 3px;
    transition: background-color 0.3s;
    outline: none;
    user-select: text;
}

select {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(0, 0, 0, 0.838);
    border: none;
    border-radius: 3px;
    transition: background-color 0.3s;
    outline: none;
    user-select: text;
    cursor: pointer;
}

::selection {
    color: #000;
    background-color: #c0c7c2cb;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    border-radius: 20px;
    box-shadow: 0px 0px 20px -15px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(225, 225, 227, 0.612);
    border-radius: 20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(134, 134, 136, 0.612);
    border-radius: 20px;
}

.version {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(0, 0, 0, 0.838);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

a {
    color: rgba(0, 0, 0, 0.838);
    text-decoration: none;
}

a:hover {
    color: rgba(0, 0, 0, 0.838);
    text-decoration: underline;
}

table {
    border-collapse: collapse;
    width: 100%;
    user-select: text;
}

thead {
    background-color: rgba(255, 255, 255, 0.3);
}

tbody {
    background-color: rgba(255, 255, 255, 0.3);
}

tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.238);
    transition: all 0.2s cubic-bezier(0.39, 0.575, 0.565, 1) 0ms;
}

td {
    padding: 0.5rem;
    text-align: center;
}

th {
    padding: 0.5rem;
    text-align: center;
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.203);
}


/* Custom Select Menu */

.wrapper {
    width: 370px;
    margin: 25px auto 0;
}

.select-btn,
li {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.select-btn {
    height: 45px;
    padding: 0 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 7px;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.select-btn i {
    font-size: 31px;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wrapper.active .select-btn i {
    transform: rotate(-180deg);
}

.content {
    display: none;
    padding: 7px;
    margin-top: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 7px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.25s cubic-bezier(0.075, 0.82, 0.165, 1) 0ms;
    animation: popup 0.20s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* A popup animation */

@keyframes popup {
    0% {
        transform: scale(0.7);
    }

    100% {
        transform: scale(1);
    }
}

.wrapper.active .content {
    display: block;
}



.content .options {
    margin-top: 5px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

.options::-webkit-scrollbar {
    width: 7px;
}

.options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 25px;
}

.options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 25px;
}

.options::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.75);
}

.options li {
    height: 35px;
    padding: 0 13px;
    font-size: 16px;
    border-radius: 5px;
}

.options li:hover {
    background: rgba(255, 255, 255, 0.2);
}