body {
    background-color: #222;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

body {
    overflow-x: hidden;
}


.container {
    text-align: center;
    position: absolute;
    height: auto;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.water {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #570861;
}

img {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 10px;
}

input,
button {
    font-size: 24px;
    margin-bottom: 20px;
}

@media only screen and (min-width: 500px) {
    #minutes {
        margin-left: 20px;
    }
}

#minutes,
#hours {
    width: 100px;
    text-align: center;
}

.time {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
}

.time-input {
    width: 50px;
    margin-right: 5px;
}

.logo-container {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 10px;
}

@media (max-width: 600px) {
    body {
        padding-bottom: calc(100px + 20px);
    }
}


#timer-fill {
    z-index: -1;
}

@media (max-width: 600px) {
    .logo-container {
        position: fixed;
        bottom: 0;
        left: 0;
        margin: 10px;
        z-index: 1;
    }
}

#minutes.hidden,
#hours.hidden,
#start.hidden {
    display: none;
}

.input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

input[type="number"] {
    width: 3em;
}

.info-button i {
    font-size: 18px;
}


.info-button {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 18px;
    padding: 5px 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.info-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 15px;
    border: 1px solid #222;
    background-color: #ccc;
    z-index: 3;
    text-align: center;
}

input[type='number']::-webkit-inner-spin-button, 
input[type='number']::-webkit-outer-spin-button { 
  margin-left: -10px;
}
