/* General styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

/* Main container for both sections */
.main-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 50px;
}

/* Timer styles */
#TimeContainer {
    width: 350px;
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    background-color: #1f1f1f;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}

#TimeDisplay {
    font-size: 50px;
    color: #00ff6a;
    font-family: 'Courier New', monospace;
    margin-bottom: 20px;
}

.TimerBtn {
    width: 100px;
    height: 40px;
    border: none;
    border-radius: 20px;
    background-color: #333333;
    color: #d0ee13;
    cursor: pointer;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin: 0 36px;
}

.TimerBtn:hover {
    background-color: #ff4081;
    box-shadow: 0px 0px 10px #ff4081;
}

.TimerBtn:active {
    background-color: #ff005e;
    box-shadow: none;
}

/* Text-to-Speech styles */
.container {
    width: 400px;
    padding: 20px;
    background-color: #1f1f1f;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.textarea {
    width: 98%;
    height: 120px;
    resize: none;
    outline: none;
    padding: 10px;
    font-weight: 500;
    background-color: #2c2c2c;
    color: #ffffff;
    border-radius: 10px;
    border: 2px solid #3c3c3c;
    font-family: 'Arial', sans-serif;
    margin-bottom: 20px;
}

.speakerIcon {
    font-size: 50px;
    color: #0814ec;
    margin-bottom: 15px;
}

.textToSpeechBtn {
    width: 100%;
    height: 40px;
    background: linear-gradient(45deg, #6af99f, #fd9346);
    border: none;
    font-weight: 500;
    font-size: 18px;
    border-radius: 10px;
    opacity: 0.9;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.textToSpeechBtn:hover {
    opacity: 1;
    background: linear-gradient(45deg, #40c7e2, #85df17);
}

.textToSpeechBtn:active {
    transform: scale(0.98);
}

/* Footer styles */
footer {
    text-align: center;
    margin-top: 50px;
    color: #999999;
}

footer a {
    color: #ff4081;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
