@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Ruluko&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", serif;
}

:root {
    --Primary-light: #f3f3f3;
    --Primary-dark: #333333;
    --Secondary-light: #ffffff;
    --Secondary-dark: #525252;
    --Button-bg: rgb(0, 122, 255);
    --Button-hover: rgb(0, 102, 215);
}

body {
    width: 100vw;
    min-height: 100vh;
    background-color: var(--Primary-light);
    color: var(--Primary-dark);
    overflow-x: hidden;
    max-width: 100vw;
    zoom: -10;
}


/* General input field styling */
input,
select {
    width: 90%;
    padding: 12px 10px;
    border: 1px solid rgba(177, 177, 177, 0.336);
    outline: none;
    border: 1.3px ridge rgb(2, 121, 115);
    background-color: rgba(0, 0, 0, 0.027);
    border-radius: 6px;
    box-shadow: -1px -1px 5px rgba(253, 253, 253, 0.075);
    transition: all 0.3s;
}

/* Input focus state */
input:focus,
select:focus {
    border-color: rgb(2, 134, 2);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 10px;
    transition: all 0.3s;
}

/* Checkbox styling */
input[type="checkbox"] {
    appearance: none;
    width: 17px;
    height: 18px;
    border: 2px solid black;
    padding: 0;
    border-radius: 3px;
    position: relative;
}

/* Checkbox checked state */
input[type="checkbox"]:checked {
    background-color: green;
    border: none;
}

/* Checkbox tick after checking */
input[type="checkbox"]:checked::after {
    content: '';
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    position: absolute;
    top: 2px;
    left: 6px;
    transform: rotate(45deg);
}

/* General button styling */
button {
    width: 90%;
    padding: 12px 10px;
    border: 0;
    outline: none;
    background-color: var(--Button-bg);
    color: white;
    border-color: red;
    font-size: 1em;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Button hover effect */
button:hover {
    background-color: var(--Button-hover);
    transition: all 0.3s;
}

main {
    min-width: 100vw;
    max-width: 100vw;
    min-height: 100dvh;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
}

@media only screen and (min-width: 900px) {

    button,
    input[type="checkbox"] {
        cursor: pointer;
    }

    main {
        margin: auto;
        transition: .3s all;
        margin-top: 80px;
        max-width: 1000px;
    }
}


.spinner-box {
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-radius: 50%;
}

.circle-border {
    width: 15px;
    height: 15px;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: linear-gradient(0deg, rgba(63, 249, 220, 0.1) 33%, rgba(63, 249, 220, 1) 100%);
    animation: spin-alternate 1.2s linear infinite, move-x 0.8s ease-in-out infinite alternate;
}

.circle-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

@keyframes spin-alternate {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(0deg); }
}

@keyframes move-x {
    0% { transform: translateX(-5px); }
    100% { transform: translateX(5px); }
}
