/*================================*/
/*           INDEX.CSS            */
/*         KG, 2024-07-02         */
/*================================*/

:root{
    --night : #121212;
    --jet : #2a2a2a;
    --onyx : #404040;
    --white-af : #f1f1f1;
}

*{
    /*Keep it inside 100%*/
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

*:focus{
    outline:0;
}

html, body{
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

body{
    background: var(--night);
    color:var(--white-af);
    font-family: "Quicksand", sans-serif;
    padding: 24px;

    display: flex;
}

section{
    max-width: 256px;
    width:100%;
    margin:0 auto;

    display: none;
}

section.active{
    display: flex;
    flex-direction: column;
    gap:24px;
}

h1{
    margin: 0;
    font-weight: normal;
    text-align: center;
    font-size: 2rem;
}

#beach{
    width:90%;
    height:auto;
    border-radius: 12px;
    margin:0 auto;
}

#counts{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:8px 12px;
}

#counts .number{
    font-size: 3rem;
    text-align: right;
}
#counts .label{
    margin: auto 0 10px 0;
}

#retirement{
    text-align: center;
    text-transform: uppercase;
    margin: 4px 0;
    font-size: 1rem;
    color: coral;
    font-weight: bold;
}


#input-form input{
    width: 100%;
    height: 48px;
    margin: 12px 0;
    font-size: 1.1rem;
    font-family: 'Quicksand', sans-serif;
    background: var(--jet);
    border: 1px solid white;
    color: white;
    padding: 4px;
    border-radius: 6px;
}

#input-form ::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

#input-form button{
    width: 100%;
    height: 48px;
    border-radius: 8px;
    border: none;
    background-color: var(--white-af);
    color:var(--night);
    font-size: 1.1rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}
