*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body{
    background: #f6f9fc;
    color: #555;
}
/* box-shadow: 0 2px 4px rgb(50 50 93 / 10%); */
header{
    background:rgb(59 119 218);
    width: 100%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.logo a{
    text-decoration: none;
    color: #fff;
}
.logo h1{
    font-size: 23px;
}
.developer{
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 0 .15em;
}
.developer i{
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgb(59 119 218);
    /* border-radius: 50%; */
    color: #fff;
}
.developer p{
    color: #555;
    padding: 0 .5em 0 0;
}
.dev a{
    text-decoration: none;
}
.title{
    width: 100%;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.search{
    width: 100%;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}
.search p{
    padding: 0.5em 0;
    cursor: pointer;
    color: #f94348;
}
.input-search{
    display: flex;
    align-items:center;
    justify-content: center;
}
.input-search input{
    width: 220px;
    height: 40px;
    border: none;
    outline: none;
    background: #fff;
    box-shadow: 0 2px 4px rgb(50 50 93 / 10%);
    padding: 0 0.5em;
    font-size: 16px;
}
.input-search button{
    width:80px;
    height: 40px;
    background: rgb(59 119 218);
    color: #fff;
    border: none;
    outline:none;
    box-shadow: 0 2px 4px rgb(50 50 93 / 10%);
    font-size: 16px;
    cursor: pointer;
}
.word{
    width: 300px;
    height: auto;
    padding: 3em;
    background: #fff;
    box-shadow: 0 2px 4px rgb(50 50 93 / 10%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container{
    width: 100%;
    height: auto;
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.word h3{
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.4em;
    background: #4acb8a;
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgb(50 50 93 / 10%);
}
.display-voice{
    width: 300px;
    height: auto;
    padding: 3em;
    background: #fff;
    box-shadow: 0 2px 4px rgb(50 50 93 / 10%);
    margin: 1em 0 0 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}
.display-voice h3{
    font-size: 15px;
    position: absolute;
    top: 0;
    left: 0;
    background: #4acb8a;
    padding: 0.4em;
    color: #fff;
    box-shadow: 0 2px 4px rgb(50 50 93 / 10%);
}
.display-voice button{
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    background: #eee;
    margin: 0.5em 0;
    cursor: pointer;
    border-radius: 50%;
}
.display-voice button img{
    height: 25px;
}
.meaning{
    display: flex;
}
.speech{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 1em 0;
}
.part-of-speech{
    padding: 3em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 2px 4px rgb(50 50 93 / 10%);
    margin: 0 0.5em;
}
.definition{
    background: #fff;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin: 0 0.5em;
    background: #fff;
    box-shadow: 0 2px 4px rgb(50 50 93 / 10%);
    padding: 3em;
}
.def{
    padding: 0 0 0.5em 0;
}
.title-meaning h3{
    font-size: 15px;
    background: #4acb8a;
    color: #fff;
    padding: 0.4em;
    width: 235px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin: 1em 0 0 0;
}
.same{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 2px 4px rgb(50 50 93 / 10%);
    height: auto;
    padding: 3em;
    width: 300px;
    position: relative;
}
.same h3{
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.4em;
    background: #4acb8a;
    font-size: 15px;
    color: #fff;
}
.liSame li{
    width: 100%;
    height: 20px;
    background: #eee;
    list-style-type: none;
    margin: 0 0 0.5em 0;
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.display-voice button{
    margin: 1em 0;
}
footer{
    width: 100%;
    height: 10vh;
    background: rgb(59 119 218);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 1em;
}
.container{
    padding: 3em;
}
@media(max-width: 700px) {
    header{
        justify-content: space-between;
        padding: 0 1em;
    }
}
@media (max-width: 800px) {
    .speech{
        flex-direction: column;
        align-items: center;
    }
    .part-of-speech{
        width: 300px;
        border-bottom: 1px solid #eee;
    }
    .definition{
        width: 300px;
    }
    .container{
        padding: 0 1em;
    }
    .word{
        width: 100%;
    }
    .display-voice{
        width: 100%;
    }
    .part-of-speech{
        width: 100%;
    }
    .definition{
        width: 100%;
    }
    .same{
        width: 100%;
    }
}