/* default */

body {
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: default;
}

body, span, h1, h2, h3 {
    margin: 0;
}

button {
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

input {
    text-decoration: none;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Chrome, Safari, Edge */
    margin: 0;
}

::-webkit-scrollbar {
    display: none;
}

.poppins {
    font-family: "Poppins", sans-serif;
}

.full-size {
    width: 100dvw;
    height: 100dvh;
    max-width: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* background style : random rounded */

.random-rounded {
    position: absolute;
    aspect-ratio: 1/1;
    border: none;
    border-radius: 1000px;
    background-color: #d9f2ff;
    z-index: -1;
}

.random-rounded.a {
    height: 56%;
    bottom: -28%;
    left: 40%;
    translate: -50% 0;
}

.random-rounded.b {
    height: 40%;
    bottom: 15%;
    left: 5%;
    translate: -60% 0;
}

.random-rounded.c {
    height: 56%;
    top: -40%;
    left: 65%;
    translate: -50% 0;
}

.random-rounded.d {
    height: 40%;
    top: -5%;
    right: -10%;
    translate: 40% 0;
}

/* loading spinner */

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-container {
    height: 50%;
    aspect-ratio: 1/1;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.spinner {
    border: 2px solid rgba(252, 252, 252, 0.3);
    border-top: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: spin 1s linear infinite;
    box-sizing: border-box;
    pointer-events: none;
}