body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: whitesmoke;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

main {
    height: 100vh;
    display: grid;
    grid-template-rows: 70% 30%;
}

#timerField {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#countdown {
    /* font-size: 300%; */
    font-size: 2rem;
    height: fit-content;
    margin-left: 2%;
    margin-right: 2%;
}

#countdown > p {
    text-align: center;
}

#remTime {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
#remTime > p {
    padding-right: 0.3em;
}

#countdown span {
    font-size: 4rem;
    /* font-weight: bold; */
}

#countdown p {
    margin: 0;
}

#timerSubField {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

#timerSubField > * {
    align-self: center;
}

#timerSubField > div {
    max-width: max-content;
    margin: auto 1rem;
    flex-wrap: nowrap;
    display: inline-flex;
}

input[type="datetime-local"] {
    background-color: initial;
    color: white;
    border: none;
    font-size: inherit;
    font-family: inherit;
    width: max-content;
    border: 3px solid white;
}

#timeSections {
    /* -------------- Grid code -------------- */
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); */

    font-size: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
}

#percentenceReached {
    font-size: 1.3rem;
}

#timeSections span {
    font-size: 2rem;
}

.timeTableSheet {
    min-width: 320px;
    text-align: center;
    /* -------------- Grid code -------------- */
    /* align-self: center;
    justify-self: center; */
}

@media (max-width: 600px) {
    #timerSubField {
        flex-direction: column;
        flex-wrap: wrap;
    }
    * {
        font-size: 90%;
    }

    main {
        grid-template-rows: 55% 45%;
    }

    input.chrome {
        margin-left: 22px !important;
        width: 88% !important;
    }
}
