@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FAFAFA;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Poppins';
    padding: 10px;
}

.converter-container {
    background-color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 5px; 
    width: 100%;
    max-width: 670px;
    border-radius: 10px;
}

.img-converter-banner {
    background-image: url(../img/bg-img-converter.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 42vh;
    border-radius: 10px;
    margin: 10px auto;
}

.input-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    gap: 16px;
}

input#imageInput {
    padding: 14px;
}

input[type="file"], select {
    padding: 14px;
    border-radius: 8px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    box-shadow: 1px 2px 5px #cccccc85;
    border: none;
}

.progress-container {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 30px;
    overflow: hidden;
    margin: 8px 0;
    height: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #7400c1;
    transition: width 0.2s ease-in-out;
}

.paragraph-convertButton {
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.paragraph-downloadAllButton {
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

#trash-link {
    text-decoration: none;
    width: 100%;
}

.btn-trash {
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    margin-top: 5px;
    cursor: pointer;
    transition: background-color 0.5s;
    box-shadow: 0 0 10px #ccc;
}

button:hover {
    background-color: #7400c1;
}

button i {
    font-size: 14px;
    margin: 8px 0;
}

.download-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 10px;
    max-height: 130px;
    overflow-y: auto;
    border-radius: 10px;
}

.download-links li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
    color: #7400c1;
    border-radius: 8px;
    box-shadow: 0 0 16px #d8d8d8;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins';
}

.download-links a {
    text-decoration: none;
    color: #FFFFFF;
    background-color: #7400c1;
    border-radius: 6px;
    padding: 10px;
    transition: background-color 0.5s;
}

.download-links a:hover {
    background-color: #8e0be6;
}

.pdf-download {
    color: #d33682; /* Cor para o texto do link */
  }
  
.copyright {
    color: #ccc;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 12px;
    text-align: center;
    padding: 5px;
    margin-top: 24px;
}

  

/* Responsive */

@media (max-width: 768px) {
     body {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    .converter-container {
        display: flex;
        flex-direction: column;
        gap: 0.8em;
        border-radius: 10px;
        padding: 16px;
        margin-top: -3rem;
    }
    
    .img-converter-banner {
        background-image: url(../img/bg-img-converter.webp);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
        min-height: 26vh;
        border-radius: 10px;
        margin: 10px auto;
    }
    
    .download-links {
     padding: 5px;
     max-height: 180px;
     overflow-y: auto;
     border-radius: 10px;
    }

    
    .btn-container {
        display: flex;
        flex-direction: column;
        margin-bottom: 0.8rem;
    }
    
    .button {
        margin-bottom: 1rem;
    }
    
    .download-links li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
    color: #7400c1;
    border-radius: 8px;
    box-shadow: 0 0 16px #d8d8d8;
    padding: 10px;
    font-size: 10px;
    font-weight: 500;
    font-family: 'Poppins';
}
    
    button i {
        font-size: 16px;
    }
    
}