@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@1,300&display=swap');
body {
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
}



.container {
    max-width: 100%;
    margin: 20px auto;
    margin-right: 20px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
  }
  
  .container:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  }

.card {
    max-width: 400px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0 10px;
}

.card h1 {
    text-align: center;
    color: #333;
}

.card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
}

.file-input {
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}
.typewriter h1 {
overflow: hidden; /* Ensures the content is not revealed until the animation */
border-right: .15em solid orange; /* The typwriter cursor */
white-space: nowrap; /* Keeps the content on a single line */
margin: 0 auto; /* Gives that scrolling effect as the typing happens */
letter-spacing: .15em; /* Adjust as needed */
animation: 
typing 3.5s steps(40, end),
blink-caret .75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
@media only screen and (max-width: 768px) {
.container {
flex-direction: column;
}

#card-textarea {
width: 100%;
}
#ldownloadEngSrtBtn{
margin-top: 10px;
}
}

/* The typewriter cursor effect */
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: orange; }
}
.output{
display: flex;
justify-content: center;
flex-direction: row;
padding: 40px;
}
.edited_image {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
border-radius: 8px;
padding: 20px;
margin-left: 50px;
}

.edited_image img {
border-radius: 8px;
max-width: 100%;
height: auto;
}
.original_image {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
border-radius: 8px;
background-color: #fff;
padding: 10px;
height: fit-content;
}

.original_image img {
border-radius: 8px;
max-width: 100%;
height: auto;
}
#add_back_div{
justify-content: center;
}
.download-button {
display: inline-block;
padding: 10px 20px;
background-color: #007bff;
color: #ffffff;
text-decoration: none;
border-radius: 4px;
border: none;
font-size: 16px;
margin-right: 10px;
margin-top: 30px;
}

.download-button:hover {
background-color: #45a049;
}
@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}
.floating-animation {
    animation: floatAnimation 3s ease infinite;
}

