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


body{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: white;
}
svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -10;
}

a img.icon {
    display: inline-block;
    height: 1em;
    margin: 0 0 -0.1em 0.3em;
}
.note{
    display: flex;
    position: absolute;
    font-size: 20px;
    font-weight: 500;
    font-family: cursive;
    text-align: center;
    color: rgb(238, 34, 99);
    width: 50%;
    top: 100px;
}
.heading{
    display: flex;
    position: absolute;
    font-size: 55px;
    font-weight: 600;
    font-family: cursive;
    text-align: center;
    color: rgb(238, 34, 99);
    top: 20px;
    z-index: 10;
    
}
.container{
    position: absolute;
   width: 420px;
   background: #000;
   border-radius: 8px;
   padding: 28px 28px 48px;
   transition: 0.3s all ease;
}

.container header{
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    color: #676666;
}
.container .search{
    position: relative;
    margin: 35px 0 18px;
}
.container ul{
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition:  all 0.2s ease;

}
.theme-btn{
    position:absolute;
    top: 20px;
    width: 50px;
    height: 50px;
    font-size: 30px;
    border: 2px dashed rgb(243, 25, 149);
    color: orange;
    display: flex;
    right: 5px;
    transition: 0.3s all ease;
    align-items: center;
    justify-content: center;
}
.theme-btn:hover{
    transform: translateY(-10px);
}
.container.active ul{
    height: 303px;
    opacity: 1;
}
.search input{
    height: 53px;
    outline: none;
    border-radius: 5px;
    width: 100%;
    border: 1px solid #999;
    padding: 0 42px;
    font-size: 16px;
    
}
.search input:focus{
    padding: 0 41px;
    border: 2px solid #4d5954;
}
.search :where(i, span){
    position:absolute;
    top: 50%;
    color: #999;
    transform: translateY(-50%);
}
.search i{
left: 18px;
font-size: 16px;
pointer-events: none;


}
.search input:focus ~ i{
    color: #4d59fb;
}
.search span{
    right: 16px;
    font-size: 18px;
    cursor: pointer;
    display: none;
}
.search input:valid ~ span{
    display: block;
}

.container ul li{
    display: flex;
    padding-bottom: 17px;
    margin-bottom: 14px;
    border-bottom: 1px solid #ccc;
    justify-content: space-between;
    align-items: center;
    
}
.container.active ul{
    display: block;
}
ul li:last-child{
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: 0px;
}
ul .word p {
    font-size: 24px;
    font-weight: 500 ;
    font-family: cursive;
}
ul .word span{
    font-size: 12px;
    color: #999;
    font-weight: 500;
}
ul .content{
    max-height: 215px;
    overflow-y: auto;
}
ul .content::-webkit-scrollbar{
    width: 0px;

}
.content li .details{
    padding-left: 10px;
    border-radius: 4px 0;
    border-left: 3px solid #4d59fb;
}
.synonyms .details .list{
    display: flex;
    flex-wrap: wrap;
}
.synonyms .details .list{
    margin-right: 5px;
    text-decoration: underline;

}

.container .info-text{
    font-size: 14px;
    color: #747373;
    margin: -3px 0 -10px;

}
.container.active .info-text{
    display: none;
    color: #747373;
}
.info-text span{
    font-weight: 500;
    color: #747373;
}


    