html {
    font-size: 62.5%;  /* Sets 1 rem to 10 px */
    box-sizing: border-box;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: inherit;
}

body {
    font-size: 1.6rem;
    font-family: 'Press Start 2P', cursive;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    padding-top: 4rem;

    display: flex;
    flex-direction: column;
    align-items: center
}

@media screen and (max-width: 500px){
    body {
        padding-top: 2rem;
    }
}

@media screen and (max-width: 420px){
    body {
        font-size: 1.4rem;
    }
}

.container {
    box-shadow: 10px 15px darkslategray;
}

@media screen and (max-width: 440px){
    .container {
        box-shadow: none;
    }
}



/*** DATE AND TIME ***/
.datetime {
    margin-bottom: .8rem;
}

@media screen and (max-width: 460px) {
    .datetime {
        margin-bottom: .5rem;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .divider {
        display: none;
    }
}

@media screen and (max-width: 420px) {
    .datetime {
        font-size: 1.6rem;
    }
}



/*** NEW INPUT ***/
.new-input {
    font-family: inherit;
    width: 46.4rem;
    border: 4px solid black;
    
    display: flex;
}

@media screen and (max-width: 500px){
    .new-input {
        width: 100%;
    }
}

.input-bar {
    font-family: inherit;
    flex: 1;
    border: none;
}



/*** LIST ***/
.list {
    min-height: 60rem;
    width: 46.4rem;
    border: 6px solid black;
}

@media screen and (max-width: 500px){
    .list {
        width: 100%;
    }
}

@media screen and (max-width: 420px){
    .list {
        min-height: 50rem;
    }
}

.list__head {
    display: flex;
    justify-content: space-between;
    margin-bottom: .6rem;
}

.list__head__title {
    font-size: 2.4rem;
    text-decoration: underline;
}

@media screen and (max-width: 420px){
    .list__head__title {
        font-size: 1.6rem;
    }
}

ul {
    list-style: square;
    padding-left: 2rem;
    line-height: 2.2rem
}

.todo-text {
    display: flex;
    justify-content: space-between;
    cursor: default;
}

.delete-icon {
    height: 2rem;
}



/*** BUTTONS ***/
button {
    border: 2px solid black;
    padding: .2rem;
    background: white;
    cursor: pointer;
    font-family: inherit;
}

button:active {
    background: black;
    color: white;
}

.clear-btn {
    border: 3px solid black;
}

.delete-btn {
    padding-bottom: 0rem;
    padding-right: .3rem;
    margin-right: .5rem;
}



/*** ACTIVATED STYLES ***/
.complete {
    color: darkgrey;
    text-decoration: line-through;
}