body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    margin: 0;
    padding: 0;
}

.navbar {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 1.1em;
}

.navbar a:hover {
    background: #ffd700;
    color: black;
    transform: scale(1.1);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding-top: 80px;
}

/* stopwatch */
.container {
    background: rgba(255, 255, 255, 0.15);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    max-width: 600px;
    text-align: center;
    transition: transform 0.3s;
}

.container:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

p {
    font-size: 1.3em;
    opacity: 0.9;
}


.container {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 6px solid white;
    position: relative;
}
.stopwatch { 
    font-size: 2.8em; 
    font-weight: bold;
    margin-bottom: 20px; 
}
.buttons {
    display: flex;
    gap: 15px;
}
button { 
    padding: 12px 18px; 
    font-size: 1em; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    text-transform: uppercase;
}
.start { background: #28a745; color: white; }
.stop { background: #dc3545; color: white; }
.reset { background: #ffc107; color: black; }
button:hover { transform: scale(1.1); opacity: 0.9; }

/* carousal */

.carousel-container {
    
    position: relative;
    max-width: 700px;
    margin: 100px auto 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel {

    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease-in-out;
    height: 500px;

}

.carousel img {
    width: 80%;
    display: none;
}

.carousel img.active {
    display: block;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    width: 35px;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
    cursor: pointer;
}

.dot.active { background-color: white; }




.prev {
    left: 0;
}

.next {
    right: 0;
}

.dots {
    text-align: center;
    padding: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: gray;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: black;
}

/* todo list */

.todo-container {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    padding: 20px;
    margin: 20px auto;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    margin-top: 250px;
}

.todo-container input {
    width: calc(100% - 22px);
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.todo-container button {
    background-color: #333;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.todo-container button:hover {
    background-color: #575757;
}

.task-list {
    list-style: none;
    padding: 0;
}

.task-list li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.task-list li.completed {
    text-decoration: line-through;
    color: gray;
}

/* form validation  */

