body {
    background-color: #000000; 
    margin: 0; 
    padding: 0; 
    font-family: 'Raleway', sans-serif;
    color: #fff; 

}

h1{
    font-size: 60px;
    text-align: center;
    color: rgb(255, 255, 255);
    font-family: 'Sansita Swashed', sans-serif;
    text-shadow: 0 0 30px rgb(167, 217, 255);

}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    text-align: center;
    margin-top: 20px;
}

.image-container img {
    display: block;
    margin-bottom: 20px;
}

.center-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; 
    text-align: center;
    margin-top: 20px;
}


.modes-glow {
    background-color: #273ea5; 
    color: #ffffff; 
    padding: 20px 40px; 
    border: none; 
    cursor: pointer; 
    transition: all 0.5s; 
    border-radius: 8px; 
    font-size: 20px; 
    position: relative;
    overflow: hidden;
    margin: 10px;
    
}


.modes-glow:hover {
    animation: glowing 1s ease infinite;
}


.modes-glow:active,
.modes-glow:focus{
    background-color: #001653; 
    box-shadow: none; 
}

@keyframes glowing {
    0% {
        box-shadow: 0 0 10px rgba(144, 157, 253, 0.8), 0 0 20px rgba(144, 157, 253, 0.8);
    }
    50% {
        box-shadow: 0 0 20px rgba(144, 157, 253, 0.8), 0 0 20px rgba(144, 157, 253, 0.8);
    }
    100% {
        box-shadow: 0 0 10px rgba(144, 157, 253, 0.8), 0 0 20px rgba(144, 157, 253, 0.8);
    }
}



.stopwatch {
    background-color: transparent;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min-content;
    margin-top: 20px;
    text-align: center;
}

.input-container {
    border: 3px solid #b6c0ee;
    border-radius: 10px;
    padding: 0;
    flex: 1;
    display: inline-block;
    margin-top: 20px;
       
}

.input-container input {
    background-color: transparent;
    border: none;
    padding: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    color: #ffffff;
    letter-spacing: 1px;
    text-align: center;
}


.input-container input[type="number"] {
    background-color: none; 
    border-radius: 5px;
}

.input-container input[type="number"]:focus {
    background-color: #8dc9f7; 
}

.input-container input:focus {
    outline: none;
}

.button-container {
    display: flex;
    gap: 10px;
    justify-content: center; 
    align-items: center; 
    margin-top: 20px;
}

.button {
    background-color:#586cc3; 
    color: #ffffff; 
    padding: 20px 40px; 
    border: none; 
    cursor: pointer; 
    transition: background-color 0.5s; 
    border-radius: 8px; 
    font-size: 20px; 
    font-family: 'Raleway', sans-serif;
}

button:hover {
    background-color: #001653; 
}


.button:active,
.button:focus{
    background-color: #605bffc5; 
    box-shadow: none; 
}

.button2 {
    background-color:#53a3ff; 
    color: #ffffff; 
    padding: 20px 40px; 
    border: none; 
    cursor: pointer; 
    transition: background-color 0.5s; 
    border-radius: 8px; 
    font-size: 20px; 
    font-family: 'Raleway', sans-serif;
    
}

button:hover {
    background-color: #001653; 
}


.button2:active,
.button2:focus{
    background-color: #7ae8fb; 
    box-shadow: none; 
}

#analogue line {
    transform-origin: 50% 50%;
}

#analogue {
    text-align: center;
}

#digital {
    text-align: center;
    font-size: 2rem;
    margin-top: 20px;
}






