/* Import the Google Font Cairo */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

* {
  font-family: 'Cairo', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}




header {
  display: flex;
  flex-direction: column; /* stack elements vertically */
  align-items: center;
  background-color: #fff;
  color: #333;
  padding: 20px;
  margin-bottom: 20px;
  background-color: transparent;
  border: none;
}

header img {
  height: 90px;
  margin-bottom: 10px; /* add space between the logo and the header content */
}

.header-content {
  text-align: right;
  max-width: 600px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 20px;
}

header h1 {
  font-size: 23px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #1E90FF;
}




body {
  background-color: #f3f3f3;
  background-image: url('patterns/pow-star.png');
}


.footer {
text-align: center;
}

.card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  margin-top: 20px;
}

.card img.preview {
  /*display: none;*/
  width: 100%;
  height: auto;
  margin-bottom: 2px;
  border-radius: 10px; /* add round corners */
}

.card label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
  color: #1E90FF;
  text-align: right;
  
}

.card input[type="text"],
.card textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  background-color: #f3f3f3;
  font-size: 18px;
  color: #333;
  font-family: 'Cairo', sans-serif;
  text-align: right;
}

.card textarea {
  min-height: 80px;
}

.card button[type="submit"] {
  background-color: #1E90FF;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.card button[type="submit"]:hover {
  background-color: #176d7a;
}

.card a {
  display: inline-block;
  margin-right: 10px;
  text-decoration: none;
  color: #333;
  border: 1px solid #333;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 16px;
  transition: background-color 0.3s ease;
  text-align: center;
  width: 150px;
  margin-bottom: 10px;
  font-family: 'Cairo', sans-serif;
}

.card a:hover {
  background-color: #176d7a;
  color: #fff;
}





.download-button-container {
  display: felx;
  flex-direction: column;
  align-items: center;
  margin-top: 5px;
}


.share-buttons-container {
  
  flex-direction: felx;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  display: flex;
}


.card .download-link {
  display: none;
  text-align: center;
}

.card .download-link.show {
  display: block;
  margin: 0 auto;
  background-color: #1E90FF;
  color: #fff;
  padding: 12px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}


.card .radio-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
  max-width: 520px; /* adjust width to fit two images side-by-side */
}

.card .radio-group .thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 128px;
  height: 128px;
  margin-right: 20px;
  margin-bottom: 20px;
  
}


.card .radio-group label {
  margin-right: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #1E90FF;
  cursor: pointer;
  
}

.card .radio-group input[type="radio"] {
  display: none;
  outline: none;


}



.card .radio-group label span:before {
  
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 1px;
  width: 64x; /* reduce width */
  height: 64x; /* reduce height */
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid #ccc;
  border: none;
}

.card .radio-group input[type="radio"]:checked + span:before {
  background-color: #1E90FF;
  border-color: #1E90FF;
  border-width: 2px; /* add blue border */
  border: none;
}


.card .radio-group label span:after {
  content: '';
  display: inline-block;
  position: absolute;
  left: 1px;
  top: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #1E90FF;
  transform: scale(0);
  transition: transform 0.2s ease;
}

.card .radio-group label:hover span:before {
  border-color: #1E90FF;

}

.card .radio-group input[type="radio"]:checked + span:after {
  transform: scale(1);
}


.card .name {
    font-weight: Bold;

  font-size: 20px;
}

.card .message {
  font-size: 12px;
}

.download-button-container {
    text-align: center;
}

.download-link {
    display: inline-block;
    margin: 10px;
    padding: 12px 24px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.download-link:hover {
    background-color: #555;
}




.previewz {
  width: 100%;
  height: auto;
  margin-bottom: 2px;
  border-radius: 10px; /* add round corners */
  
  
  align-items: center;
}
/* Enhancement: Hover effects on buttons and links */
.card button[type="submit"]:hover {
  background-color: #176d7a;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.card a:hover {
  background-color: #176d7a;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Enhancement: Color contrast */
body {
  background-color: #f3f3f3;
  color: #333;
}

.header-content h1, .card label {
  color: #333;
}

header h1 {
  color: #1E90FF;
}

/* Enhancement: Visual effects on cards */
.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Enhancement: Smooth scroll between sections */
html {
  scroll-behavior: smooth;
}

/* Enhancement: Simple animations on page load */
.card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-in-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhancement: Background image */
body {
  background: url('path/to/your/image.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
}

/* Enhancement: Custom icons beside labels */
.card label::before {
  content: url('path/to/icon.png');
  margin-right: 8px;
  vertical-align: middle;
}

/* Enhancement: Calm and Elegant Design */
body {
  background-color: #e0f7fa;
  color: #333;
  font-family: 'Cairo', sans-serif;
}

header {
  background-color: #ffffff;
  color: #00796b;
  padding: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid #004d40;
}

header h1 {
  font-size: 28px;
  color: #004d40;
}

/* Enhancement: Visual effects on cards */
.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

/* Custom Design for Download Button */
.download-link {
  display: inline-block;
  padding: 15px 30px;
  background-color: #00796b;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.download-link:hover {
  background-color: #004d40;
  transform: scale(1.1);
}

/* Smooth scroll between sections */
html {
  scroll-behavior: smooth;
}

/* Simple animations on page load */
.card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-in-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Design for File Input */
.card input[type="file"] {
  display: none;
}

.card label[for="file-upload"] {
  display: inline-block;
  padding: 15px 30px;
  background-color: #00796b;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.card label[for="file-upload"]:hover {
  background-color: #004d40;
  transform: scale(1.1);
}

/* Custom Design for File Input */
input[type="file"] {
  display: none;
}

.custom-file-upload {
  display: inline-block;
  padding: 15px 30px;
  background-color: #00796b;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.custom-file-upload:hover {
  background-color: #004d40;
  transform: scale(1.1);
}
