/*
    Theme Name: Video Downloader
    Description: Video Downloader Web Application.
    Version: 1.0.0
*/

* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: Georgia, serif;
    font-style: normal;
}

html,
body {
    overflow-x: hidden;
    background: rgb(247 46 46 / 5%);
    min-height: 100vh;
}

.header .logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 60px;
    margin: 25px auto 0px auto;
    text-decoration: none;
    white-space: nowrap;
    color: #06C;
}

.header .logo img {
    display: block;
    width: 100%;
    object-fit: contain;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0px auto;
    padding: 50px 25px;
}

.container h1 {
    text-align: center;
    margin-bottom: 25px;
}

.container h2,
.container h3,
.container h4,
.container h5,
.container h6 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.container p {
    margin-bottom: 14px;
}

#download-form {
    width: 100%;
    max-width: 600px;
    height: 60px;
    margin: 0px auto;
    display: flex;
}

#download-form input,
#download-form button {
    height: 100%;
    display: block;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0px;
    outline: unset;
    border: unset;
}

#download-form input {
    width: 100%;
    color: #000;
    background: rgb(232 240 254);
    padding: 0px 15px;
}

#download-form ::placeholder {
    color: #000;
}

#download-form button {
    min-width: 160px;
    background: rgb(247 46 46);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#download-form #copyToClipboard {
    background: #0066cc6e;
    color: #fff;
    height: 100%;
    min-width: 80px;
}

#download-form span {
    width: 4px;
    height: 4px;
    display: block;
    background: #fff;
    margin: 0px 3px;
    animation: dot ease-in-out 1s infinite;
}

#download-form span:nth-of-type(2) {
    animation-delay: 0.2s;
}

#download-form span:nth-of-type(3) {
    animation-delay: 0.3s;
}

@keyframes dot {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.6);
    }

    100% {
        transform: scale(1);
    }
}

#download-form button[disabled="disabled"] {
    cursor: not-allowed;
}

#results {
    margin-top: 15px;
}

#results .featured {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

#results .featured>img {
    min-width: 240px;
    max-width: 240px;
}

#results .featured>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#results .featured>div span {
    font-size: 16px;
}

#results h3 {
    margin-bottom: 10px;
    font-size: 16px;
}

#results .formats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#results .download-formate {
    width: calc(20% - 4.8px);
    height: 66px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0px;
    font-size: 14px;
    line-height: 16px;
    padding: 4px;
    border-radius: 2px;
    text-decoration: none;
}

#results .download-formate.av_formate {
    background: #00ad00;
}

#results .download-formate.v_formate {
    background: rgb(247 46 46);
}

#results .download-formate.a_formate {
    background: #00BFFF;
}

#results .download-formate:hover {
    background: #000;
}

#results .download-formate .ext {
    display: flex;
    align-items: center;
    gap: 4px;
}

#results .download-formate .ext svg {
    width: 14px;
    height: 14px;
}

.the-content {
    margin-top: 35px;
    display: block;
    font-size: 17px;
    line-height: 1.6;
}

.related-links {
    padding: 0px 25px 35px 25px;
}

.post-lists {
    display: flex;
    gap: 30px;
    width: 100%;
    margin: 0px auto;
    padding: 0px 25px 50px 25px;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.post-list .post-thumbnail,
.post-list .post-thumbnail img {
    display: block;
    width: 100%;
    max-width: 160px;
    object-fit: cover;
}

.post-list .post-title {
    font-size: 18px;
    line-height: 24px;
    margin: 6px 0px;
}

.post-list .post-title a {
    color: #06C;
    text-decoration: none;
}

.post-excerpt {
    font-size: 16px;
    line-height: 24px;
}

.post-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.container .post-tags {
    margin-top: 25px;
}

.post-tags .tag {
    display: inline-block;
    font-size: 16px;
}

.footer {
    padding: 20px 10px;
    margin: 20px 20px;
    background: #ffffff85;
    text-align: center;
}

.placeholder-image {
    background: #ffcece;
    padding: 60px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    width: 100%;
}

.footer-links a {
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
    color: #06C;
}

@media screen and (max-width: 767px) {
    .post-lists {
        flex-direction: column;
    }

    #results .download-formate {
        width: calc(25% - 4.5px);
    }

    .container {
        padding: 50px 12px;
    }

    .related-links {
        padding: 0px 12px 35px 12px;
    }

    .post-lists {
        padding: 0px 12px 50px 12px;
    }

    .footer {
        margin: 20px 12px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .footer-links ul {
        width: calc(50% - 15px);
    }
}

@media screen and (max-width: 480px) {
    .header .logo {
        width: 50px;
    }

    .container h1 {
        font-size: 24px;
    }

    #results .featured>img {
        min-width: 100px;
        max-width: 100px;
    }

    #download-form {
        flex-direction: column;
        height: 140px;
    }

    #results .download-formate {
        width: calc(33.33% - 4px);
    }

    .placeholder-image {
        padding: 14px;
    }

    .footer-links ul {
        width: 100%;
    }
}