/* Header CSS */
header {
	background-color: #ffcdd2;
	color: #333;
	padding: 20px;
	text-align: center;
}

/* Footer CSS */
footer {
	background-color: #ffcdd2;
	color: #333;
	padding: 20px;
	text-align: center;
	position: absolute;
	bottom: 0;
	width: 100%;
}

/*Ads*/
.ad-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px 0;
}

.ad-container ins {
	max-width: 100%;
}


/* Button Box CSS */
.button-box {
	background-color: #f8bbd0;
	border: 2px solid #ffcdd2;
	border-radius: 10px;
	display: inline-block;
	margin: 150px 0;
	padding: 10px;
	text-align: center;
	width: 150px;
	transition: transform 0.3s ease;
}

.button-box:hover {
	transform: scale(1.1);
}

.button-box a {
	color: #333;
	text-decoration: none;
}

.button-box h2 {
	margin-bottom: 5px;
	font-size: 18px;
	font-weight: bold;
	color: #333;
	text-shadow: 1px 1px #fff;
}

.button-box p {
	font-size: 14px;
	color: #333;
	text-shadow: 1px 1px #fff;
}



main {
	max-width: 600px;
	margin: 50px auto;
	padding: 20px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Form styles */
form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

label {
	font-size: 18px;
	margin-bottom: 10px;
}

input[type="file"] {
	margin-bottom: 20px;
}

input[type="submit"] {
	padding: 10px 20px;
	font-size: 16px;
	background-color: #4caf50;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
	background-color: #3e8e41;
}

/* Converted image styles */
img {
	max-width: 100%;
	margin-top: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
/* Back button styles */
.back-button {
	display: block;
	margin-top: 20px;
	padding: 8px 16px;
	background-color: #aaa;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.back-button:hover {
	background-color: #666;
}

@media screen and (max-width: 768px) {
			.button-container {
				display: flex;
				flex-wrap: wrap;
				justify-content: center;
			}
			.button-box {
				flex-basis: 45%;
				margin: 10px;
			}
			footer {
                 position: static;
	             font-size: 12px;
                 padding: 5px;
            }
			/* Adjust header font size */
  header h1 {
    font-size: 24px;
  }
  /* Center form elements */
  main form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  main {
    padding: 10px;
  }
  
  input[type="submit"] {
    font-size: 16px;
    padding: 10px 20px;
  }
  
  .back-button {
    font-size: 16px;
    padding: 10px 20px;
  }
  
		}






