/* FOR SOME REASON HOVERING OVER THE minutes NUMBER INPUT IS TRIGGERING THE hours NUMBER INPUT HOVER */

@font-face {
    font-family: ChakraPetch;
    src: url(./assets/Chakra_Petch/ChakraPetch-Regular.ttf);
}

@font-face {
    font-family: NovaMono;
    src: url(./assets/Nova_Mono/NovaMono-Regular.ttf);
}

body {
    border: 0px;
    margin: 0px;
    padding: 0px;
    height: 100vh;
    width: 100vw;
    background-image: linear-gradient(45deg, #12c2e9, #c471ed, #f64f59);

    font-family: ChakraPetch;
    letter-spacing: 3px;
    font-weight: bolder;
    color: white;
}

.footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100vw;
    height: 30px;
    text-align: center;
    line-height: 30px;

    color: black;
    background-color: whitesmoke;
}

/* Anchor tags */
a {
    text-decoration: none;
    cursor: pointer;
    color: #f64f59;
}

a::before {
    content: '🔗';
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8vw;
    border: 5px dashed greenyellow;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    align-items: start;
    width: fit-content;

    background-color: rgba(0, 0, 0, 0.5);

    /* hide scrollbar */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* hide Scrollbar Webkit */
.container::-webkit-scrollbar {
    display: none;
}

.container>label,
.container>details>label {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.container>details>summary {
    cursor: pointer;
}

/* removes the number input up/down counter buttons */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* On FIREFOX removes the number input up/down counter buttons */
input[type='number'] {
    -moz-appearance: textfield;
}

input[type='time'],
input[type='number'] {
    margin: 10px 0px 10px 10px;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;

    border-bottom: 2px solid grey;
    background: rgba(124, 201, 255, 0.1);
    color: white;
    font-family: ChakraPetch;
    font-size: large;
    outline: none;
    cursor: pointer;
    transition: 500ms;
}

input[type='time']:hover,
input[type='number']:hover {
    border-bottom: 2px solid yellow;
}

#btn {
    width: 90px;
    height: 30px;
    margin-bottom: 10px;

    cursor: pointer;
    font-family: NovaMono;
    font-weight: bolder;
    color: white;
    border-radius: 5px;
    border: 2px solid purple;
    background: linear-gradient(to left, grey 50%, greenyellow 50%) right;
    background-size: 200% 100%;
    transition: 200ms;
}

#btn:hover {
    scale: 1.1;
    background-position: left;
    color: rgb(255, 16, 143);
}

#outputs {
    /* width: 80vw; */
    overflow-x: auto;
}

table {
    cursor: default;
}

th {
    text-align: left;
    font-style: italic;
    background-color: rgba(0, 0, 0, 0.2);
    color: gold;
}

td:not(:last-child) {
    padding-right: 20px;
}

/* Styles for row containing "Actual" */
tr:nth-child(2) {
    color: limegreen;
}

/* error & error my input stylings */
.error {
    color: #f64f59;
}

.inp {
    color: whitesmoke;
}


/* Mobile device responsive landscape */
/* @media screen and (orientation:landscape) {
    .container {
        height: 50vh;
        overflow-y: auto;
    }

    #outputs {
        overflow-x: visible;
    }
}

@media all and (max-width: 620px) {
    #outputs {
        width: 80vw;
    }
} */
