* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f7faff;
    color: #121212;
    scrollbar-width: thin;
    scrollbar-color: rgb(17,81,154) transparent;
    cursor: url("../assets/images/cursor.png"), auto;
    font-family: "1", "sans-serif";
}

body, html {
    width: 100dvw;
    height: 100dvh;
}

@font-face {
    font-family: "3";
    src: url("../assets/fonts/ArialRoundedMTBold.woff");
}

@font-face {
    font-family: "1";
    src: url("../assets/fonts/Roboto-Regular.woff");
}

@font-face {
    font-family: "inter";
    src: url("../assets/fonts/Inter_18pt-Bold.ttf");
}

/*///////////////////////////////////////////////////////*/

body {
    display: flex;
    flex-direction: column;
}

main {
    overflow-y: auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    z-index: 9999;
    box-shadow: 0 6px rgb(17,81,154) inset, 0 -2px 1px rgb(17,81,154) inset, 0 0 1rem #00000070;
    height: 5rem;
    display: flex;
    width: 100%;
    align-items: center;
    padding: 2rem 3rem;
    a, a span{
        font-size: 2rem; font-weight: bold;
        text-decoration: none;
        font-family: "3", "sans-serif";
        cursor: url("../assets/images/pointer.png"), auto;
    }
}

.result {
    margin: 2rem 3rem;
    font-family: "3", "sans-serif";
    font-size: 2rem;
    text-align: center;
    align-content: center;
    max-width: 12rem;
    max-height: 12rem;
    min-width: 12rem;
    min-height: 12rem;
    background: conic-gradient(#113a9a 0% 0%, #dbe6fa 0% 100%);
    border-radius: 50%;
    z-index: 1;
    position: relative;
}

.result::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) ;
    width: 85%;
    height: 85%;
    background: #f7faff;
    border-radius: 50%;
    z-index: -1;
}

legend {
    padding: 0 6px;
    font-size: 18px;
    font-family: "inter", "sans-serif";
    color: #6e6e6ece;
}

fieldset {
    border: 4px solid #bababa;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
    justify-content:space-evenly;
    padding: 1rem;
    margin: 0 1rem;
    margin-bottom: 2rem;
}

input {
    color: rgb(99, 99, 99);
    width: 40%;
    height: 2rem;
    border: none;
    outline: none;
    border-bottom: 1px dotted #113a9a8e;
    padding: 0 8px;
    font-size: 1rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

footer {
    text-align: center;
    padding: 5rem, 0;
    min-height: 3rem;
    align-content: center;
}

footer, footer a, footer p {
    background-color: #11519a;
    width: 100%;
    margin: 0;
    text-decoration: none;
    color: #dbe6fa;
    font-size: 0.9rem;
}

footer a:hover {
    cursor: url(../assets/images/pointer.png), auto;
}

/*////////////////////////////////////////////////////////*/

@media only screen and (max-width:540px) {header {padding: 1rem 1.5rem;}}
