@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #c77dff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.container{
    min-height: 200px;
    width: 60%;
    font-family: "poppins";
    background-color: white;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    border-radius: 10px;
    padding: 40px;
}

.search-input{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.input{
    padding: 5px 0px;
    border: none;
    width: 100%;
    font-family: "poppins";
    position: relative;
    outline: none;
    border-bottom: 2px solid #6d44ff7e;
}

.search{
    padding: 5px 20px;
    border-radius: 5px;
    border-bottom-left-radius: 0px;
    color: white;
    font-family: "poppins";
    font-weight: 500;
    border: none;
    background-color: #6d44ff7e;
    cursor: pointer;
}

.result{
    width: 100%;
    margin-top: 40px;
}

.word{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.word button{
    color: #c77dff;
    background: none;
    border: none;
    font-size: 17px;
    cursor: pointer;
}
.details p{
    font-size: 13px;
    color: gray;
    font-weight: 500;
}

.word-meaning{
    color: rgb(71, 71, 71);
    font-size: 15px;
    margin-top: 20px;
    font-weight: 500;
}

.example{
    color: rgb(70, 70, 70);
    font-size: 13px;
    margin-top: 20px;
    font-style: italic;
    border-left: 4px solid #c77dff;
    padding-left: 10px;
}

.hide{
    display: none;
}

@media (max-width: 400px) {
    .container{
        padding: 20px;
    }
}