body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: aliceblue;
}

.search-bar-container {
    position: relative;
    display: flex;
    align-items: center;
    background-color: aliceblue;
    padding: 5px;
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.2), -6px -6px 10px rgba(255, 255, 255, 0.7);
    margin: 10px;
    width: 300px;
    height: 50px;
    border-radius: 50px;
    transition: width 1.5s;
}

.magnifier {
    width: 25px;
    cursor: pointer;
    position: absolute;
    left: 20px;
}

.mic-icon {
    width: 30px;
    position: absolute;
    right: 10px;
    transition: width 0.4s;
    transition-delay: 1s;
}

.input {
    background-color: transparent;
    width: 100%;
    border: none;
    margin: 10px 50px;
    outline: none;
    color: rgb(100, 100, 100);
    font-size: 1em;
    transition: width 1s;
    transition-delay: 0.5s;
}

.active.search-bar-container {
    width: 50px;
}

.active .input {
    width: 0;
}

.active .mic-icon {
    width: 0;
}