*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container{
    display: flex;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #c5c7d6;
}

.h1{
    font-weight: 300;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-bottom: 12px;
}
.input{
    
}
.searchField{
    padding: 10px;
    font-size: 17px;
    color:#1e1e1e;
    border-radius: 3px;
    border:1px solid black;
    outline: none;
    width: 90%;
}

.result{
    display: none;
    margin-top:20px;
    width: 520px;
    height:400px;
    border-radius: 5px;
    padding: 20px;
    overflow-y:scroll ;
    background: #fff;
    border-left: 6px solid #6069db;
}

result h1{
    font-size: 40px;
    font-weight: 300;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: inline;

}

.result p {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.phonetic{
    font-weight: bold;
    padding: 2px 10px;
    background-color: #6069db;
    color: #fff;        
}


::-webkit-scrollbar{
    width: 10px;

}
::-webkit-scrollbar-track{
    background-color: #f1f1f1;
}
::-webkit-scrollbar-thumb{
    background: #6069db;
}
.result audio{
    display: block;
    width: 100%;
    outline: none;
    margin-bottom: 20px;

}

.wordmeaing{
    font-weight: 500;
}
.synonyms{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.pills{
    display: inline-block;
    padding: 10px 10px;
    border-radius: 5px;
    background-color: #6069db;
    margin: 5px 8px 5px 0;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color:#fff
}

@media only screen and (max-width:600px){
    .container{
        padding: 20px;
    }
    .searchField{
        width: 100%;
    }
    .result{
        width: 100%;
    }
}