*, ::before, ::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background-color: #ffebcd;
    font-family: 'Poppins', sans-serif;

}

.main {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.title {
    margin-bottom: 15px;
    text-align: center;
}

header h1 {
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 2rem;
    padding: 1rem;
    color: #006666;
    font-family: 'Pacifico', sans-serif;
}

.container {
    width: min(100vw, 450px);
    min-height: 100px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px;
    margin: 10px 0;
    background-color: #333333;
}

.container label {
    text-align: center;
    color: #e0f2f1;
    margin: 0 0 20px;
}

#text-input {
    background-color: transparent;
    height: 30px;
    width: 250px;
    text-align: center;
    font-size: 1.2rem;
    margin: 10px;
    border: none;
    border-bottom: 2px solid #e0f2f1;
    color: #e0f2f1;
}

#text-input:focus {
    outline: none;
}

#check-btn {
    background-color: #006666;
    color: #e0f2f1;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px;
    margin-bottom: -19px
}

#check-btn:hover {
    background-color: #004d4d;
    transform: scale(1.05);
}

#check-btn:active {
    background-color: #003333;
    transform: scale(0.98);
}

#result {
    margin: 30px 1.5rem -25px 1.5rem;
    font-size: 1.5rem;
    color: #e0f2f1;
    text-align: center;
}

#definition {
    background-color: #006666;
    color: #e0f2f1;
    padding: 25px 20px;
    margin: 20px auto;
    border-radius: 20px;
    width: min(100vw, 450px);
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#definition:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
}
