* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
    text-align: center;
    background-color: #fefae0;
    padding-bottom: 80px;
}

/* Header and logo */ 
header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.logo {
    width: 10vw;
    max-width: 120px;
    min-width: 60px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}


/* Main container */
.container {
    background-color: white;
    border-radius: 16px;
    padding: 30px 20px;
    max-width: 900px;
    width: 90%;
    margin: 60px auto 100px;
    box-shadow: 0 4px 15px #48cae4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

label, select {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

select {
    width: 25%;
    margin-left: 10px;
    padding: 5px 10px;
}

/* Paragraph display */
.paragraph-box {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    border: 1px solid #f3ea6f;
    background-color: azure;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
    width: 60%;
    white-space: pre-wrap;
}

p {
    max-width: 600px;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #003049;
    margin-bottom: 40px;
}

/* Textarea */ 
#typing-area {
    width: 60%;
    padding: 15px;  
    font-size: 1rem;
    border: 1px solid #f3ea6f;
    border-radius: 8px;
    margin-bottom: 20px;
    resize: none;
    height: 100px;
}


/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin: 20px 0;
}

.stats p {
    padding: 10px 15px;
    background-color: #fcec0e;
    border-radius: 8px;
    font-size: 1rem;
    margin: 0;
    color: #333;
}

/* Button */
.start-button {
    padding: 15px 30px;
    font-size: 1rem;
    background-color: #bde0fe;
    color: #003049;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.start-button:hover {
    background-color: #cdb4db;
    transform: scale(1.05);
    color: #780000;
}

/* Footer */
.main-footer {
    width: 100%;
    height: 100px;
    text-align: center;
    background-color: #f3ea6f;
    color: #333;
    position: fixed;
    bottom: 0;
    left: 0;
    font-size: 0.9rem;
    box-shadow: 0 -2px 5px rgba(114, 22, 22, 0.1);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-footer .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.main-footer .social-links a i {
    font-size: 1.5rem;
    color: #333;
    transition: transform 0.2s ease, color 0.2s ease;
}

.main-footer .social-links a i:hover {
    transform: scale(1.2);
    color: #000;
}


/* Make the page responsive on obile device */
@media (max-width: 600px) {
    .main-footer {
        font-size: 0.8rem;
        padding: 12px 10px;
        gap: 6px;
    }

    .main-footer .social-links {
        gap: 15px;
    }
}














