html,
body {
    padding: 0;
    margin: 0;
    color: #292929;
    background-color: #eaeaea;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
}

.container {
    text-align: center;
    color: #2c3e50;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

form {
    transition: all 0.5s;
    position: relative;
    width: 100%;
    max-width: 800px;
    padding: 1rem;
    border-radius: 10px;
}

.finder {
    border: 1px solid #ffffff;
    background-color: #f6f5f0;
    border-radius: 15px;
    padding: 8px;
    box-shadow: 9px 9px 16px rgba(189, 189, 189, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.5);
    width: 100%;
}

.finder__outer {
    display: flex;
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: inset 10px 10px 15px -10px #c3c3c3, inset -10px -10px 15px -10px #ffffff;
    box-sizing: border-box;
}

.finder__inner {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
}

.finder__input {
    height: 100%;
    border: none;
    background-color: transparent;
    outline: none;
    width: 100%;
    font-size: 2.5rem;
    letter-spacing: 0.5px;
    padding: 0.5rem;
    box-sizing: border-box;
}

.finder__icon {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    transition: all 0.2s;
    box-shadow: inset 0 0 0 20px #292929;
    border-radius: 50%;
    position: relative;
}

.finder__icon:after,
.finder__icon:before {
    display: block;
    content: "";
    position: absolute;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.finder__icon:after {
    width: 8px;
    height: 8px;
    background-color: #292929;
    border: 2px solid #f6f5f0;
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    left: 0px;
    right: 0;
    margin: auto;
    border-radius: 50%;
}

.finder__icon:before {
    width: 3px;
    height: 10px;
    background-color: #f6f5f0;
    top: 50%;
    left: 15px;
    transform: rotateZ(45deg) translate(-50%, 0);
    transform-origin: 0 0;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .finder__outer {
        padding: 1rem;
    }

    .finder__input {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .finder__outer {
        padding: 0.75rem;
    }

    .finder__input {
        font-size: 1rem;
    }

    .finder__icon {
        width: 30px;
        height: 30px;
    }

    .finder__icon:after {
        width: 8px;
        height: 8px;
        border: 2px solid #f6f5f0;
    }

    .finder__icon:before {
        width: 3px;
        height: 10px;
        left: 15px;
    }

    .active .finder__icon:before {
        width: 4px;
        transform: rotateZ(45deg) translate(-50%, 20px);
    }
}