body {
    text-align: center;
}


select {
    border-radius: 5px;
    background-color: bisque;
    cursor: pointer;
}

h1 {
    text-align: center;
    
}

h3 {
    margin: 0;
}

.secondLine, .disclaimer {
    text-align: center;
}

.secondLine {
    color: white;
    background-color: #007bff;
}


.banner-bar {
    width: 250px;
    margin: 0 auto;

}

.banner-bar a {
    display: block;
    text-align: center;
    line-height: 20px;

}

.converter {
    display: grid;
    grid-template-rows: 0.5fr 0.5fr 0.5fr 0.5fr;
    grid-template-columns: 350px;
    width: 98%;
    min-height: 200px;
    max-height: 400px;
    margin: 40px auto 25px;
    border-radius: 5px;
    justify-items: center;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    
}

.converter-block {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px;
}

.convert {
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color:#00ff808f;
    color: whitesmoke;
    border: none;
    transition: background-color 0.5s ease-in;
    height: 35px;
    cursor: pointer;
    margin-left: 2px;
    padding: 4px;
}

.convert:hover {
    background-color: #007bff;
}

.select-block {
    height: 30px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

/* 2. Hide the stubborn native input completely */
#file-upload {
    display: none;
}

/* 3. Give the label a shape and size so it can be clicked */
.custom-file-button {
    display: inline-block;
    padding: 4px;
    background-color: #007bff; /* Blue button color */
    color: white;              /* White text color */
    border-radius: 5px;
    cursor: pointer;
              /* Shows the hand icon on hover */
}


.selected {
    margin: 0 5px;
    font-size: 0.8rem;
    width: 60px;
    padding: 1px;
}

.progress-bar {
    width: 70%;
    border: 1px solid blacK;
    border-radius: 5px;
    height: 25px;
    
}

.bar {
    background: linear-gradient(90deg,rgba(0, 159, 222, 1) 0%, rgba(87, 199, 133, 1) 82%, rgba(237, 221, 83, 1) 100%);
    width: 0%;
    height: 95%;
    transition: width 0.5s ease-in;
    border-radius: 5px;
}

.quality {
    width: 50%;
    display: grid;
    justify-items: center;
}


.input-block {
    width: 80%;
    display: flex;
    justify-content: center;
}

.input-block p {
   
    font-size: 0.8rem;
}

.input-block-text {
    display: flex;
    justify-content: center;
    gap: 4px;

}

.input-block input {
    width: 20%;
    cursor: pointer;
    
}

#medium-checkbox {
    margin-left: 20px;
    margin-right: 20px;
}

.bottom-text {
    width: 80%;
    margin: 80px auto 20px;
    border: 1px solid black;
    border-radius: 5px;
    padding: 5px;
    

}

.bottom-text p {
    text-align: start !important;
}

.bottom-text h4 {
    margin: 20px 0 20px;
}


.loading-gif {
    display: none;
}

footer {
    text-align: center;
    margin-bottom: 20px;
}
