:root {
    --mock-color: #2f80ed;
}

html * {
    box-sizing: border-box;
    font-weight: 500;
}

a {
    color: black;
    text-decoration: none;
}


.links {
    width: 12%;
    position: relative;
    padding-bottom: 7px;
}

.active > .activeEffect {
    border-bottom: 4px solid var(--mock-color);
    border-radius: 6px 6px 0 0;
    width: 100%;
    position: absolute;
    bottom: -9px;
}

li {
    list-style-type: none;
}

.completed {
    text-decoration: line-through;
}
  
.ico {
    width: 5%;
}

#App {
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}


section {
    width: 60%;
}

section > nav {
    display: flex;
    justify-content: space-around;
}

h1 {
    padding-bottom: 15px;
    font-size: 1.8rem;
}

form {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 8vh;
    padding-top: 8px;
}

form > input {
    height: 100%;
    border-radius: 15px;
}

form > input:nth-child(1) {
    width: 68%;
    padding-left: 10px;
    border: 1px solid lightgray;
    outline: none;
}

form > input:nth-child(2) {
    width: 28%;
    border: none;
    background-color: var(--mock-color);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
}


ul {
    padding: 0;
}

ul > article,
.completedUl {
    display: flex;
    margin-top: 3%;
}

ul > article > input,
.completedUl > input {
    height: 20px;
    width: 20px;
    margin-right: 8px;
    cursor: pointer;
}


#App > p > a {
    text-decoration: underline;
}

#App > p > a:hover {
    color: var(--mock-color);
}

.completedArticle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ico {
    cursor: pointer;
    width: 3%;
    height: 100%;
}

button > img {
    width: 5%;
}

.deleteButton {
    cursor: pointer;
}

.deleteButtonDiv {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 6vh;
    margin-top: 15px;
}

.deleteButton {
    width: 17%;
    height: 95%;
    background-color: rgb(235, 87, 87);
    border: none;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.deleteButton > img {
    filter: invert(1);
    width: 20%;
    padding: 5px;
}

@media screen and (max-width: 900px) {
    .deleteButton {
        width: 23%;
    }
}

@media screen and (max-width: 700px) {
    .deleteButton {
        width: 28%;
    }
    .deleteButton > img {
        width: 25%;
    }
    .ico {
        width: 5%;
    }
    section {
        width: 75%;
    }
}

@media screen and (max-width: 500px) {
    .ico {
        width: 8%;
    }
    .deleteButton {
        width: 40%;
    }
    .deleteButton > img {
        width: 30%;
    }
    .links {
        width: 25%;
    }
    section {
        width: 80%;
    }
}