*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-weight: bold;
    /* color: white; */
    
}



/* navbar */
nav{
	position:fixed;
	z-index:10;
	left:0; right:0; top:0; bottom:0; 
	font-family:'Josefin Sans', sans-serif;
	padding:0 5%;
	height:100px; 
	background-color:rgb(3, 3, 73);
    display: flex;
    align-items: center;
    justify-content: center;
}



nav .logo{
	/* float:left; */
	width:100%; 
	height:100%; 
	display:flex; 
	align-items:center;
	font-size:24px; 
	color:white;
    justify-content: center;
    font-family:'Josefin Sans', sans-serif;
}
nav .logo .img{
    filter: brightness(120%);
}
.heading{
    margin: auto 20px;
    font-weight: bold;
}
strong{
    color: rgb(175, 196, 214);
}








.sec
{
    width: 100%;
    min-height: 85vh;
    background-image: url(bg.jpg);
    background-attachment: fixed;
    padding: 10px;
    /* margin-top: 20vh; */
}

.todo
{
    width: 100%;
    max-width: 550px;
    background: linear-gradient(to bottom right, rgb(86, 86, 230), rgb(186, 186, 208));
    margin: 30vh auto 0 auto;
    padding: 40px 30px 60px 30px;
    border-radius: 10px;
    border: 1.5px solid rgb(22, 18, 154);
}
.todo h2
{
    color:rgb(19, 19, 19);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-family:'Josefin Sans', sans-serif;
    font-weight: bold;
}
.todo h2 img{
    width: 50px;
    border-radius: 50%;
    filter: brightness(120%);
    border: 1px solid black;
}

.row
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(238, 226, 226);
    border-radius: 30px;
    padding-left: 20px;
    margin-bottom: 25px;
    color: black;
    font-family:'Josefin Sans', sans-serif;
    border: 1.5px solid black;
}

input
{
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
    font-weight: 14px;
    font-family:'Josefin Sans', sans-serif;
    
    
}
button
{
    border: none;
    outline: none;
    padding: 16px 50px;
    background: linear-gradient(to bottom right, rgb(172, 3, 3), rgb(215, 84, 114));
    color: aliceblue;
    font-size: 16px;
    cursor: pointer;
    border-radius: 40px;
    font-family:'Josefin Sans', sans-serif;
    border: 1px solid black;
}
button:hover{
    transform: scaleX(1.03);
    transition: 0.3s;
}
button:active{
    color: grey;
    transition: 0.3s;
}
ul li{
    list-style: none;
    font-size: 17px;
    padding: 12px 8px 12px 50px;
    user-select: none;
    cursor: pointer;
    color: rgb(27, 26, 26);
    position: relative;
}

ul li::before
{
    content: '';
    position: absolute;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-image: url(checked.png);
    background-size: cover;
    background-position: center;
    top: 12px;
    left: 8px;
}

ul li.checked
{
    color: grey;
    text-decoration: line-through;

}

/* ul li.checked::before
{
    background-image: url(check.jpg);
} */
ul li span{
    position: absolute;
    right: 0;
    top: 5px;
    width: 40px;
    height: 40px;
    font-size: 22px;
    color: rgb(247, 240, 240);
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: grey;
    
}

ul li span:hover{
     background: rgb(25, 24, 24);
} 


.footer{
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-weight: 400;
	background-color: #ededed;
	padding: 40px 0;
    width: 100%;
    height: 20vh;
}
.footer .social{
	text-align: center;
	padding-bottom: 25px;
	color: #4b4c4d;
	padding: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	max-width: 80%;
	margin: auto;
}
.footer .social a{
	font-size: 24px;
	color: inherit;
	border: 1px solid #ccc;
	 width: 40px;
	height: 40px;
	line-height: 38px;
	display: inline-block;
	text-align: center; 
	align-items: center;
	border-radius: 50%;	
	margin: 0 8px;
	opacity: 0.85;
	padding: 5px;
    padding-top: 10px;
}
.footer .social a:hover{
	opacity: 0.98;
}

.copyright{
	margin-top: 15px;
	text-align: center;
	font-size: 14px;
	color: #aaa;
    font-family: default;
    font-family:'Josefin Sans', sans-serif;
}
@media screen and (min-height:1000px){
   
    .footer{
        /* margin-top: 5%; */
        margin-bottom: 0;
        
    }
}

@media screen and (max-width:440px)
{
    
    
    .footer{
        height: 30vh;
    }
}
@media screen and (max-width:400px)
{
    /* .row{
        display: flex;
        flex-direction: column;
        align-items:center ;
        justify-content: center;
    } */
    button{
        padding: 10px;
    }
    input{
        padding: auto;
    }
   
}
@media screen and (max-width:320px)
{
    .todo{
        padding-bottom: 10px;
    }
    .row{
        display: flex;
        flex-direction: column;
        align-items:center ;
        justify-content: space-between;
        background-color:transparent;
        border: none;
    }
    /* button{
        padding: 10px;
    }*/
    input{
        padding: auto;
        background-color: white;
        border: 1px solid black;
        border-radius: 10px;
        margin-bottom: 10px;
    } 
    .sec{
        height: 50vh;
    }
    .footer{
        height: 30vh;
    }
}
