:root
{
    --oranje: #fb5922;
    --wit: #ffffff;
    --zwart: #141414;
}

*
{
    margin: 0px;
    box-sizing: border-box;
    font-family: "Righteous", Arial, Helvetica, sans-serif;
    user-select: none;
    touch-action: manipulation;
}

html
{
    height: 100dvh;
    scroll-behavior: smooth;
}

body
{
    font-size: 1.25rem;
    height: 100dvh;
    color: var(--zwart);
    background: var(--oranje);
}

.goed
{
    background: #008000;
    color: var(--wit);
    justify-content: center;
}

.goed svg
{
    width: 30rem;
    padding: 5rem;
}

.goed p
{
    padding: 0 2rem 2rem 2rem;
    font-size: 1rem;
    text-align: center;
}

.goed p span
{
    font-size: 3rem;
    display: block;
    font-weight: bold;
    padding-bottom: 1rem;
}

.fout
{
    background: #cc0000;
    justify-content: center;
}

.fout p
{
    color: var(--wit);
    font-size: 15rem;
}

@keyframes loading
{
    0%
    {
        transform: rotate(0deg);
    }
    25%
    {
        transform: rotate(450deg);
    }
    50%
    {
        transform: rotate(900deg);
    }
    75%
    {
        transform: rotate(1350deg);
    }
    100%
    {
        transform: rotate(1800deg);
    }
}

div#loading
{
    width: 100%;
    position: fixed;
    top: 0;
    display: flex;
    bottom: 0;
    left: 0;
    right: 0; 
    align-items: center;
    justify-content: center;
    background: #ffffff;
    z-index: 99;
}

div#loading svg
{
    width: 5rem;
}

div#site
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

div#site h1
{
    background: var(--oranje);
    margin: 0;
    padding: 1rem 1rem;
    font-size: 2rem;
    color: #ffffff;
    text-align:center;
    width: 100%;
}

div#geen
{
    padding: 2rem 1rem;
    text-align: center;
    line-height: 3rem;
    background: #ffffff;
    width: 100%;
}

div#geen p,
div#details p
{
    padding: 0 2rem;
    margin: 0;
    line-height: 2rem;
}

div#site div#consumpties
{
    background: #ffffff;
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
    position: relative;
    text-align: center;
}

div#details
{
    margin-bottom: 2rem;
}

div#site div#consumpties h2
{
    margin: 0;
    padding: 0rem 1rem 1rem 1rem;
    font-size: 1.25rem;
    background: var(--oranje);
    width: 100%;
    color: var(--wit);
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

div#site div#consumpties div#logo img
{
    width: 12rem;
    padding: 2rem 2rem 1rem 2rem;
}

select {
  appearance: none;
  @supports (appearance: base-select) {
    &,
    &::picker(select) {
      appearance: base-select;
    }
  }
}

select
{
    outline: none;
    color: var(--zwart);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    width: 8rem;
    padding: 1rem;
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

option:checked
{
    background: var(--oranje);
    color: #ffffff;
    text-align: center;
}
 
select::picker(select)
{
    appearance: base-select;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    max-height: 15rem;
    background: #ffffff;
}

select option
{
    padding: 0.75rem;
}

select option::checkmark
{
    display: none;
}

div#site div#consumpties div#beschikbaar
{
    background: var(--oranje);
    font-size: 2rem;
    width: 100%;
    text-align: center;
    padding: 1rem 0.25rem;
    color: #ffffff;
}

input[type="button"]
{
    border: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    background: var(--oranje);
    padding: 1rem;
    border-radius: 1rem;
    margin-left: 1rem;
    font-weight: normal;
    color: #ffffff;
    font-size: 1rem;
}

div#formulier
{
    background: #ffffff;
    width: 100%;
    padding: 1rem;
}

div#formulier input
{
    width: 100%;
    border: 1px solid var(--oranje);
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    outline: none;
    margin-top: 0.25rem;
}

div#formulier input::placeholder
{
    font-weight: normal;
}

div#formulier input[type=submit]
{
    background: var(--oranje);
    color: var(--wit);
    cursor: pointer;
}

a.btn
{
    background: var(--oranje);
    margin: 0.5rem 0rem 1rem 0rem;
    display: inline-flex;
    border-radius: 0.5rem;
    padding: 0.25rem 1rem 0.25rem 0.5rem;
    text-decoration: none;
    color: var(--wit);
    align-items: center;
    font-size: 1rem;
    margin-right: 1rem;
}

a.btn svg
{
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    stroke: var(--wit);
}

div#melding
{
    width: 100%;
    padding: 1rem;
    text-align: center;
}

div#melding.fout
{
    background: red;
}

div#melding.goed
{
    background: green;
}

div.opmerking
{
    font-size: 0.75rem;
    padding: 1rem 1rem 0rem 1rem;
    font-weight: small;
    color: var(--oranje);
    line-height: 1.25rem;
}