* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: rgb(8, 8, 8);
}
body {
     min-height: 100vh;
    display: flex;
    flex-direction: column; 
    align-items: center;       
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;   
    background-image: url('Todo-List-Background.jpg');
    background-position: 50%;
}

.main-content {
    flex: 1;                   
    display: flex;
    justify-content: center;     
    align-items: center;         
    width: 100%;
}


.todo-body{
    background-color: #cff1fa;
    width: 100%;
    max-width: 600px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0 , 0, 0.4);
    padding: 20px;
    margin: 20px auto;
}

h1{
    color: rgb(13, 144, 4);
    text-transform: uppercase;
    font-weight: 700;
    font-family: cursive;
}
h1 span{
    color: #0781fa;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: rgb(13, 144, 4);
}
.task, .due-date, .add-btn {
    border-radius: 4px;
    border: none;
    font-size: 14px;
    margin-bottom: 20px;
    margin-right: 8px;
}
.task {
    padding: 8px;
    width: 200px;;
}
.due-date {
    padding: 7px;
    width: 150px;
    cursor: text;
}
.add-btn {
    padding: 8px;
    color: white;
    font-weight: bold;
    background: linear-gradient(135deg, #007bff, #0056b3);
    cursor: pointer;
    transition: all 0.5s ease;
}
.add-btn:hover{
    background:linear-gradient(135deg, #037d50,#008031);
    transform: translateX(-2px);
}


 .display {
    display: grid;
    grid-template-columns: 200px 150px 100px;
    column-gap: 10px;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.648);
    width: 475px;
    margin-left: 28px;
    padding: 12px;
    border-radius: 4px;
}

.task-display{
    display: flex;
    align-items: center;
    text-align: left;
    margin-left: 5px;
}

.date-display{
    display: flex;
    align-items: center;
    justify-content: center;

}

.delete-btn {
    color: white;
    background:linear-gradient(red, rgb(153, 46, 46));
    border: none;
    padding: 5px 2px;
    margin-left: 30px;
    width: 70px;
    font-weight: 545;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.5s ease;
}
.delete-btn:hover{
    background:linear-gradient(rgb(249, 19, 19), rgb(247, 17, 17));
    transform: translateX(5px);
}

/* ===== Footer ===== */
.footer {
    width: 100%;
    padding: 15px 30px;
    text-align: center;
    background: rgba(75, 187, 225, 0.75);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(231, 161, 161, 0.15);
    font-size: 1rem;
    color: #ffffff;
    box-sizing: border-box;
}

.footer-content {
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    font-weight: bold;
    margin-bottom: 0;
    padding: 5px 0;
}

.footer-content span {
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}


.footer-content a {
    color: #0225a4;
    font-weight: 750;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #048888;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}


.footer-social a {
    font-size: 22px;
    color: #0e4aab;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.1);
    color: #f5c518 !important;
}

.footer-social a i {
    vertical-align: middle;
}

.footer-social a i:hover {
    vertical-align: middle;
    color: #048888;
}



