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

body::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('https://img.wallpapersafari.com/desktop/1536/864/57/36/5MbQFu.png') no-repeat center / cover;
    opacity: .2;
    z-index: -1;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: rgba(125, 42, 232, .8);
}

form {
    background: rgba(255, 255, 255, .5);
    width: 450px;
    padding: 30px;
    border-radius: 5px;
}

form header {
    color: #7d2ae8;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 3px;
    text-align: center;
    margin-top: 10px;
}

.url-input {
    margin: 30px 0;
}

.title {
    font-size: 18px;
    color: #373737;
}

.field {
    position: relative;
    height: 50px;
    width: 100%;
    margin-top: 5px;
}

input {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    font-size: 15px;
    padding: 0 15px;
    background: transparent;
    border-bottom: 2px solid #ffffff1a;
    ;
    font-family: 'Noto Sans', sans-serif;
}

.bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: #7d2ae8;
    transform: scale(0);
    transition: transform ease .3s;
}

input:focus~.bottom-line,
input:valid~.bottom-line {
    transform: scale(1);
}

.preview-area.active {
    border: none;
}

.preview-area {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 220px;
    border-radius: 5px;
    overflow: hidden;
    border: .105rem dashed #7d2ae8;
}

.preview-area .thumbnail {
    display: none;
    border-radius: 5px;
    width: 100%;
}

.preview-area.active .thumbnail {
    display: block;
}

.preview-area .iconify {
    filter: drop-shadow(.1rem .5rem .5rem #7d2ae8);
    color: #7d2ae8;
    font-size: 80px;
}

.preview-area.active .iconify,
.preview-area.active span {
    display: none;
}

.preview-area span {
    color: #7d2ae8;
    margin-top: 25px;
}

.download-btn {
    height: 55px;
    width: 100%;
    outline: none;
    border: none;
    font-size: 17px;
    font-weight: 500;
    background: #7d2ae8;
    color: #fff;
    border-radius: 5px;
    margin: 30px 0 20px 0;
    cursor: pointer;
}

.download-btn:hover {
    filter: drop-shadow(.1rem .5rem .5rem #7d2ae8);
}

.download-btn:hover .iconify {
    animation: bounce 1.5s infinite;
}

.download-btn .iconify {
    margin-left: 5px;
}

@keyframes bounce {
    0% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(2px);
    }
    50% {
        transform: translateY(3px);
    }
    100% {
        transform: translateY(4px);
    }
}