* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
    outline: none;
    scroll-behavior: smooth;
}

body {
    background-color: rgb(250, 255, 255);
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero {
    display: grid;
    align-content: center;
    grid-template-rows: 1fr auto 1fr;
    height: 100vh;
    padding: 48px 16px;
    background: #0b1220;
    color: white;
    text-align: center;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

.hero-inner {
    grid-row: 2;

}

.hero-inner h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.02;
    text-align: center;
    font-weight: 700;
}

.hero .subtitle {
    margin: 8px 0 0;
    font-size: clamp(1.05rem, 2.2vw, 1.5rem);
    font-weight: 500;
    opacity: 0.95;
}

.hero .lead {
    margin: 14px 0 18px;
    text-align: center;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.86);
}

.cta {
    display: inline-block;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    background: white;
    color: #0f172a;
    font-weight: 600;
    transition: all .2s ease-in-out;
}

.cta:hover {
    background: royalblue;
    color: white;
}

.extra-slogan {
    font-size: 1.7em;
    grid-row: 3;
    align-self: end;
}

.Current-timeLog {
    padding: 10px;
    text-align: center;
    background-color: rgb(238, 238, 238);
    width: 100%;
    margin-top: 10vh;
}

.time {
    margin-top: 20px;
    padding: 10px;
    font-size: 60px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    color: rgb(62, 87, 109);
}

.date {
    color: rgb(43, 36, 55);
    font-size: 15px;
    letter-spacing: 0.3px;
    font-weight: 600;
    text-transform: uppercase;
}

.date .circle {
    background-color: rgb(193, 187, 187);
    color: rgb(36, 29, 54);
    border-radius: 50%;
    padding: 5px;
    font-weight: 600;
    height: 23px;
    width: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 18px;
    transform: all .5s ease-in;
    font-size: 12px;
}

.msgbox {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin: 20px auto;
    padding: 15px;
    color: beige;
    width: 80%;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    transition: all .6s ease-in-out;
    scale: .4;
}

.msgbox.show {
    display: flex;
    opacity: 1;
    scale: 1;
}

.msgbox.success {
    background-color: rgb(29, 167, 29);
    border-left: 5px solid rgb(1, 59, 1);
}

.msgbox.error {
    background-color: rgba(240, 31, 31, 0.979);
    border-left: 5px solid rgba(116, 2, 2, 0.98);
}

.alertClosebtn {
    border: none;
    background-color: transparent;
    color: white;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
}

.closebtn:hover {
    transform: scale(1.2);
}

.Input-container {
    background-color: rgb(252, 250, 250);
    padding: 30px;
    margin: 20px auto;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2), -1px -1px 5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

#inputbox {
    padding: 9px;
    width: 70%;
    border: none;
    background-color: rgb(228, 228, 228);
    border-radius: 5px;
    caret-color: rgb(75, 75, 227);
    color: rgb(4, 4, 48);
}

#inputbox:placeholder-shown {
    font-size: clamp(12px, 3vw, 15px);
}

.input-btn {
    padding: 9px;
    border-radius: 5px;
    background-color: rgb(32, 72, 193);
    color: white;
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 600;
    border: none;
    cursor: pointer;
    width: 118px;
    margin-left: 10px;
}

.input-btn:hover {
    background-color: rgb(41, 41, 246);
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
}

.input-btn:active {
    background-color: blue;
    color: white;
    scale: .96;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

div.TaskDasboard {
    margin: 10px auto;
    text-align: center;
    display: none;
    gap: 90px;
    align-items: center;
    justify-content: space-between;
    min-width: 85%;
}

#TotalTasks,
#CompletedTasks {
    background-color: rgb(215, 215, 234);
    min-width: 35%;
    padding: 10px;
    font-size: clamp(10px, 3vw, 14px);
    color: rgb(106, 104, 104);
    font-weight: 700;
    border-radius: 5px;
}

#TaskSection,
.taskShow-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#TaskSection {
    background-color: rgb(254, 254, 255);
    border-radius: 5px;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    padding-bottom: 30px;
    margin: 5px auto;
    width: 80%;
    font-size: clamp(13px, 3vw, 16px);
    font-weight: 600;
    overflow: hidden;
}

#TaskSection>.image>img {
    max-width: 450px;
    max-height: 300px;
    filter: opacity(.8) grayscale();
}

#TaskSection>.image>h3 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    font-weight: 600;
    color: grey;
}

.taskShow-box {
    width: 100%;
}

.List-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px;
    background-color: rgb(232, 232, 233);
    width: 80%;
    border-radius: 3px;
    list-style: none;
    color: rgb(59, 59, 59);
    user-select: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    --display: none;
    margin-top: 8px;
}

.List-box>li {
    margin-left: 10px;
    cursor: pointer;
}

.List-box:hover {
    background-color: rgb(163, 181, 196);
    color: rgb(22, 112, 31);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}

.List-box>span {
    font-size: 15px;
}

.List-box>span:hover {
    scale: 1.2;
}

.completed {
    text-decoration: line-through;
    color: rgb(117, 118, 117);
}

.removebtn {
    margin-right: 10px;
    cursor: pointer;
    color: rgb(195, 38, 18);
    font-size: 20px;
}

ul::before {
    content: "✔";
    margin-left: 30px;
    display: var(--display);
    font-size: 14px;
    color: rgb(44, 118, 86);
    text-align: center;
    align-content: center;
}

/* media query  */
@media screen and (min-width:720px) {

    #inputbox,
    .Input-container {
        width: 50%;
    }

    #TaskSection,
    .msgbox {
        width: 45%;
    }

    #TotalTasks,
    #CompletedTasks {
        width: 30%;
    }
}