body {

    background-color: #f4f4f4;

    font-family: "Roboto", sans-serif;
    height: 100vh
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    flex-direction: column;
    height: 80%;
}

header {
    font-family: "Kumbh Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    display: flex;
    justify-content: space-between;
}
header h1{
    
    text-align: left;
    margin-left: 80px;
    margin-bottom: 0;
}

#toggle-chat{
    margin-right:50px;
    margin-top: 21.44px;
}
#live{
    text-align: left;
    margin-left: 80px;
}
footer {
    background-color: #f4f4f4;
    position: absolute;
    height: 50px;

}

.stopwatch {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
    margin: auto 0;
/* 
    border-radius: 50%;
    border: 10px solid transparent;
    border-top-color: blue; */
}

@keyframes border-tick {
    0% {
        border-image: linear-gradient(0deg, #007bff, #007bff) 1; /* Full border */
    }
    100% {
        border-image: linear-gradient(0deg, transparent, transparent) 1; /* Border disappears */
    }
}

/* Apply the animation */
.stopwatch.ticking {
    animation: border-tick var(--total-time) linear forwards;
    border-width: 5px; /* Ensure the border width remains consistent */
}
#timer {
    font-size: 4rem;
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    margin: 5px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}

#startBtn {
    background-color: #28a745;
    color: white;
}

#pauseBtn {
    background-color: #ffc107;
    color: white;
}

#skipBtn {
    background-color: #007bff;
    color: white;
}

#resetBtn {
    background-color: #dc3545;
    color: white;
}

#wall {
    font-size: 2rem;
    margin-bottom: 20px;
}

.chat-container {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

textarea {
    width: 90%;
    height: 100px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#messageDisplay {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

#messageDisplay p {
    margin: 5px 0;
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

.timestamp {
    font-size: 0.8em;
    color: #888;
    text-align: right;
}

.message {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.message-username {
    font-weight: 600;
    font-size: 0.7em;
}

.message-text {
    font-style: italic;

    font-size: 0.8em;
}

div.message {
    margin-bottom: 1px;
    /* Space below each message */
    padding: 1px;
    /* Space inside each message */
    border-bottom: 1px solid #ddd;
    /* Light grey line between messages */
    /* Optional: Add padding or background color if needed */
    background-color: #f9f9f9;
    /* Light background color for better visibility */
}

/* Remove the bottom border for the last message */
div.message:last-child {
    border-bottom: none;
}

.container {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.placeholder {
    width: 340px;
}

.hidden {
    display: none;
}

#live{
    display: flex;
}

#userCount{
    margin-top: 2px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: auto;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#settingsForm label {
    display: block;
    margin: 10px 0 5px;
}

#settingsForm input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

#settingsForm button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#settingsForm button:hover {
    background-color: #45a049;
}

@media (max-width: 1000px) {
    .container {
        flex-direction: column-reverse;
        width: unset;
    }

    .chat-container {
        margin: 0 auto;
        margin-top: 20px;
    }

    .placeholder {
        display: none;
    }
    body{
        
    height: unset;
    }
    .main-container{
        margin-top: 50px;
    }

}
@media (max-width: 500px) {
    #toggle-chat{
        margin-right: 0;
    }

}