.header {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  margin: 25px 0;
  color: #1a73e8;
  text-shadow: 0 0 10px #000000;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 250px;
  overflow: hidden;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
  margin-bottom: 10px;
}


body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

h3 {
  font-size: 18px; /* Reduce the font size */
  margin-bottom: 5px; /* Reduce the margin */
}

.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
    position: relative;
  width: 500px;
    max-width: 90%; /* Add max-width */
}


.image-upload-container {
  position: relative;
  width: 100%;
  gap: 10px;
}

.form-input {
  width: calc(85%);
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border-radius: 10px;
  border: none;
  background-color: #ffffff;
  box-shadow: 0 0 10px #cccccc;
  font-size: 16px;
  justify-content: center;
  position: relative;
}



.form-input:after {
    content: '\f078';
    font: normal normal normal 17px/1 FontAwesome;
    color: #0ebeff;
    right: 11px;
    top: 6px;
    height: 34px;
    padding: 15px 0px 0px 8px;
    border-left: 1px solid #0ebeff;
    position: absolute;
    pointer-events: none;
}

/* IE11 hide native button (thanks Matt!) */
select::-ms-expand {
display: none;
}

.form-input select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Add some styling */

  display: block;
  width: 100%;
  max-width: 320px;
  height: 50px;
  float: right;
  margin: 5px 0px;
  padding: 0px 24px;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #0ebeff;
  -ms-word-break: normal;
  word-break: normal;
}

.file-input-wrapper {
   width: calc(10%);
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding-right: 10px;
  z-index: 1;
}

.file-input-label {
  background-color: transparent;
  color: #1a73e8;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}

.file-input-label:hover {
  background-color: #1a73e8;
  color: white;
}

.file-input-label i {
  margin-right: 0;
}

.file-input-label span {
  display: none;
}

input[type="text"]:focus,
select:focus {
  box-shadow: 0 0 10px #1a73e8;
  outline: none;
  transition: box-shadow 0.3s ease;
}

.select-submit-wrapper {
  position: relative;
  width: 100%;
  gap: 10px;
}

#submit {
   width: calc(10%);
  background-color: #1a73e8;
  position: absolute;
  color: white;
  display: flex;
  padding: 10px;
  justify-content: center;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  right: 0;
  top: 0;
  bottom: 0;
  align-items: center;
  padding-right: 10px;
  z-index: 1;
}

.image {
  display: block;
  position: relative;
   width: 500px;
  max-width: 100%;
  height: auto;
}

.image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px
  margin-top: 10px;
  max-width: 500px;
  overflow: hidden;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: auto;
  background-color: #ffffff;
  border-radius: 2px;
  box-shadow: 0px 0px 5px 0px #aaaaaa;
}

/* Add a media query for larger screens */
@media (min-width: 768px) {
.share-container img:hover {
    transform: scale(1.2);
  }
.share-container fb-share-button{
    transform: scale(1.2);
  }

  h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .form-container {
    margin: 10px 0;
  }

  form {
    padding: 30px;
  }

  .image-container {
    padding: 20px;
    margin-top: 10px;
  }
    .logo-container {
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .header {
    font-size: 48px;
    margin: 10px 0;
  }


}

@media (max-width: 767px) {
  .select-submit-wrapper {
    flex-direction: column;
  }

  #submit {
    margin-left: 0;
  }
}

#submit:hover {
    background-color: #155dc1;
}

.share-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 20px;
  border-radius: 25px;
  padding: 1px;
  position: relative;
    margin-top: 20px;

}

.share-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 25px;
  z-index: -1;
}

.share-icon {
  font-size: 24px; /* Set the default icon size */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.share-icon:hover {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .share-icon {
    font-size: 20px; /* Set a smaller icon size for screens less than 767px wide */
  }
}

@media (min-width: 768px) {
  .share-icon {
    font-size: 30px; /* Set a larger icon size for screens wider than 767px */
  }
}


.text {
  text-align: center;
  color: white;
  font-size: 20px;
}

.download-url {
    display:none;
 }

.message {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    display: none;
    z-index: 9999;
}

#copy-url:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

#copy-url.copied {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#copy-url.copied::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: -1;
    border-radius: 50%;
    animation: ripple 0.5s linear;
}

@keyframes ripple {
    from {
      transform: scale(0);
      opacity: 1;
    }

    to {
      transform: scale(2);
      opacity: 0;
    }
}




@keyframes flash {
  0%, 100% {
    background-color: transparent;
  }
  50% {
    background-color: #ffcccc;
  }
}

.flash {
  animation: flash 1s linear;
}
