/* ---------------Links--------------- */
@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@300;600&family=Ubuntu:wght@400;500;700&display=swap');

/* ---------------Universal style--------------- */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Overpass', sans-serif;
}

/* ---------------Header--------------- */
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 12vh;
    padding: 0 10%;
    background-color: rgb(197, 193, 193);
}
nav ul{
    display: flex;
}
.logo{
    font-size: 2rem;
}
.logo i{
    margin-right: .5rem;
    font-size: 2.3rem;
    color: rgba(228, 64, 4, 0.767);
}
nav ul li{
    list-style: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    font-size: 1rem;
}
nav ul li:nth-child(1){
    margin-right: 2rem;
}
nav ul li:hover{
    border-bottom: 2px solid rgba(228, 64, 4, 0.767);
}

/* ---------------Main--------------- */
main{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    color:hsl(208, 9%, 28%) ;
    width: 100%;
}
.content h1{
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 1rem;
}
.content{
    margin: 0 2rem;
    width: 40%;
}

.input-todo {
    display: flex;
    align-items: center;
    margin: 0 auto;
    /* margin-bottom: 2rem; */
    width: 100%;

}
.input-todo input {
    padding: 10px 5px;
    /* width: 22rem; */
    border: 1px solid  rgba(228, 64, 4, 0.767);
    margin-right:3%;
    width: 87%;
}
.input-todo button {
    padding: 10px 1rem;
    border: 1px solid  rgba(228, 64, 4, 0.767);
    background-color: rgba(228, 64, 4, 0.767);
    /* width: 10%; */
    text-align: center;
}
.input-todo button i{
    text-align: center;
}
/* ---------------- */
.todo-text{
    display: flex;
    position: relative;
    border-bottom: 2px solid rgba(228, 64, 4, 0.767);
    border-left: 2px solid rgba(228, 64, 4, 0.767);
    width: 100%;
    margin: 0 auto;
    padding: .5rem 1.5rem .5rem 1rem;
    font-size: 1rem;
    background-color: #eee;
}
.todo-text input{
    margin-right: 1rem;
}
.todo-text input p{
    letter-spacing: 1px;
    margin-top: 4px;
}
.todo-text i{
    position: absolute;
    right: 8px;
    top: 30%;
    padding-left: 10px;
}
.error{
    text-align: center;
    color: red;
    font-weight: bold;
    margin-bottom:2rem ;
    visibility:hidden;
}













/* ---------------screen-size 0f 500px--------------- */
@media screen and (max-width:500px) {
    header{
        padding: 0 5%;
    }
    nav ul li:nth-child(1){
        margin-right: 1rem;
    }
    .content{
        margin: 0 2rem;
        width: 80%;
    }
    

}
