
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background-color: rgb(12, 30, 39);
    color: rgb(60, 181, 195);
    width: 100vw;
}
header{
    background-color: rgb(24, 10, 82);
    padding: 20px;
    text-align: center;
    width: 100vw;
}

header h1{
    font-size: 2.5rem;
    font-weight: 600;
    color: rgb(60, 181, 195);
}
main{
    min-height: 80vh;
    padding: 20px;
    width: 100vw;
    margin: 0 auto;
}
main form{
    display: flex;
    justify-content: center;
}

form input[type="text"]{
    flex-grow: 1;
}
form input[type="text"], form button, .result div a{
    padding: 10px;
    font-size: 1.2rem;
    border: none;
    outline: none;
    font-weight: 500;
    border-radius: 8px;
}
form button{
    background-color: rgb(24, 10, 82);
    color: rgb(236, 238, 239);
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 520;
    margin-left: 10px;
}

footer{
    background-color: rgb(24, 10, 82);
    text-align: center;
    padding: 10px;
    width: 100%;
    position: fixed;
    bottom: 0;
    font-size: 18px;
}
#result{
    background-color: aqua;
    color: rgb(24, 10, 82);
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
#result p{
    margin-top: 10px;

}
#result p[class="partsOfSpeech"]{
    font-style: italic;
    color: rgb(12, 30, 39);
    margin-top: 2px;
}
#result div{
    margin-top: 10px;
}

#result div a{
    text-decoration: none;
    background-color: aqua;
    color:  rgb(24, 10, 82);
    border-radius: 2px;

}

#result li{
    padding: 3px;
    margin-left: 20px;
}
.pronunciation-audio {
    display: inline-flex;
    align-items: center;
    background-color: rgb(24, 10, 82);
    border-radius: 6px;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 4px 8px;
}


@media screen and (max-width: 350px) {
    main form{
        flex-direction: column;
    }
    form button{
        margin-left: 0px;
        margin-top: 10px;
    }
}
