:root {
  --brown: #a16d3f;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  /* background-color: var(--brown); */
}

img {
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100vh;
   /* background: radial-gradient(at center, rgba(64, 43, 17, 1.0), rgba(248, 110, 49, 1.0)) !important;  */
   overflow-y: auto;
   overflow-x: hidden;
   position: fixed;
   }

#mainPage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  /* max-width: 410px; */
  background-size: cover;
  background-color: transparent;
  margin: 0 auto;
  object-fit: cover;
  overflow: hidden;

  /* background-image: url("./assets/BG.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; */
 
}
#shader-canvas{
  position: absolute;
  width: 100%;
  height: 120vh;
  top: -15%;
}

#three-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 13%;
  transform: translate(0, -20vw);
  z-index: 3;
  pointer-events: none;
}

#leftLogo{
    width: 20%;
}

#soundButton{
  width: 15%;
}

#rightLogo{
    width: 20%;
}

#topLogos{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 90%;
    top: 2%;
    left: 0;
    right: 0;
    margin: 0 auto;
}
#background-video {
  position: absolute;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
#background-video source {
  width: 100%;
}

#startScreen {
  position: relative;
  /* top: 0; */
  left: 0;
  right: 0;
  /* z-index: 999; */
  width: 100%;
  height: 100%;
  /* max-width: 422p÷x; */
  /* background-size: cover;
    background-position: center;
    background-image: url("./assets/BG1.jpg");
    background-repeat: no-repeat; */
  margin: 0 auto;
  object-fit: cover;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#loadingScreenMain{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    object-fit: cover;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #195e95;
}

#loadingLogo{
  position: absolute;
  top: 20%;
  margin: 0 auto;
  width: 38%;
  left: 0;
  right: 0;
}

.loader {
  margin: 0 auto;
  margin-top: 78%;
    position: relative;
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  }

  #loadingText{
    
    margin: 0 auto;
    margin-top: 10%;
    position: relative;
    color: white;
    font: 3vh NexaBold;
    text-align: center;
  }

  @keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
  } 

.titleAnim{
  width: 105%;
    height: 78vw;
    position: relative;
    margin: 0 auto;
    top: 12%;
  left: 0%;
  display: block;
  transform: translate(-2.5%, 0);
  }
  .titleAnim div{
   width: 100%;
   height: 100%;
  }

  #prizesDivWin{
    position: relative;
    top: 7%;
    width: 60%;
    margin: 0 auto;
  }



#titleAnimId
{ max-width: 100%; background-size: 100%; background-image: url('./assets/eng_sprite.png'); }
 
.eng-00001 { background-position: 0 0%; background-size: 100%; }
.eng-00002 { background-position: 0 5.263158%; background-size: 100%; }
.eng-00003 { background-position: 0 10.526316%; background-size: 100%; }
.eng-00004 { background-position: 0 15.789474%; background-size: 100%; }
.eng-00005 { background-position: 0 21.052632%; background-size: 100%; }
.eng-00006 { background-position: 0 26.315789%; background-size: 100%; }
.eng-00007 { background-position: 0 31.578947%; background-size: 100%; }
.eng-00008 { background-position: 0 36.842105%; background-size: 100%; }
.eng-00009 { background-position: 0 42.105263%; background-size: 100%; }
.eng-00010 { background-position: 0 47.368421%; background-size: 100%; }
.eng-00011 { background-position: 0 52.631579%; background-size: 100%; }
.eng-00012 { background-position: 0 57.894737%; background-size: 100%; }
.eng-00013 { background-position: 0 63.157895%; background-size: 100%; }
.eng-00014 { background-position: 0 68.421053%; background-size: 100%; }
.eng-00015 { background-position: 0 73.684211%; background-size: 100%; }
.eng-00016 { background-position: 0 78.947368%; background-size: 100%; }
.eng-00017 { background-position: 0 84.210526%; background-size: 100%; }
.eng-00018 { background-position: 0 89.473684%; background-size: 100%; }
.eng-00019 { background-position: 0 94.736842%; background-size: 100%; }
.eng-00020 { background-position: 0 100%; background-size: 100%; }

#prizesDiv{
  width: 100%;
  height: 40%;
  position: relative;
    top: 0%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#prizesDiv1{
  width: 31%;
  z-index: 3;
  top: 0;
  position: relative;
  left: 0;
  transform: translate(40%, -99%);
}

#prizesDiv2{
    width: 100%;
    z-index: 6;
}

#prizesDiv3{
    width: 31%;
    z-index: 3;
    top: 0;
  position: relative;
  right: 0;
  transform: translate(-25%, 90%);
}

#startButton{
  position: relative;
  text-align: center;
  width: 48%;
  height: 7%;
  margin: 0 auto;
  bottom: 16vw;
  color: #2852a4;
  background-color: white;
  font: 3vh NexaBold;
  border-radius: 4vh;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  border: 1px solid #2852a4;
  cursor: pointer;
}

#selectLanguageScreen{
  position: absolute;
   left: 0;
   right: 0;
   top: 0;
   width: 100%;
   height: 100%;
   margin: 0 auto;
   object-fit: cover;
   overflow: hidden;
   display: flex;
   flex-direction: column;
   z-index: 999;
}

#languageContainer{
    width: 90%;
    height: 35%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: #2852a4;
    border-radius: 2vh;

}

#languageHeadingEng{
  position: relative;
  text-align: center;
  font: 3vh NexaBold;   
  margin-top: 9%;
  color: white;
}

#languageHeadingArabic{
  position: relative;
  text-align: center;
  font: 3vh arabicBold;
  color: white;
}

#languageButtons{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vh;
    transform: translate(0, -25%);
   
}

#englishButton{
  width: 74%;
  height: 23%;
  background-color: #2852a4;
  border-radius: 4vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font: 3vh NexaBold ;
  border: 1px solid white;
  cursor: pointer;
}

#englishButton.active {
  background-color: #63a544;
  border: 1px solid white;
}

#arabicButton{
  width: 74%;
  height: 23%;
  background-color: #2852a4;
  border-radius: 4vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font: 3vh arabicBold;
  border: 1px solid white;
  cursor: pointer;
}

#arabicButton.active {
  background-color: #63a544;
  border: 1px solid white;
}

#selectLanguageScreen #overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#selectLanguageScreen #languageContainer{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

#enterDetailsScreen {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
}

#enterDetailsHeading{
  width: 40vh;
  margin: 0 auto;
  margin-top: 25vw;
  margin-bottom: 0vh;
  text-align: center;
  font: 3.5vh NexaBold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

#enterDetailsBox{
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
 padding: 0;
  border-radius: 15px;
}

#nameInput, #emailInput, #phoneInput, #uploadImageInput {
  margin: 0 auto;
  width: 87%;
}

#phone{
  text-indent: 5vh;
}

#phonePrefix{
  position: absolute;
  font: 2vh NexaLight;
  color: white;
  transform: translate(1vh, 0);
  line-height: 2.7;
}

#uploadImagDivBar {
  background-color: rgba(255, 255, 255, 0.4);
  min-height: 40px;
  margin: 5px 0;
  padding: 10px 15px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  font-family: NexaLight;
  font-size: 14px;
  color: #2852a4;
}

.upload-field-container {
  position: relative;
  display: flex;
  align-items: center;
}

.upload-icon-box {
  position: absolute;
  right: 0.5vh;
  bottom: 1vh;
  /* transform: translate(66vw, -6.2vh); */
  width: 32px;
  background-color: rgb(153, 197, 84);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 0.9vh;
}

.upload-icon {
  width: 20px;
  height: 20px;
}

#uploadImage {
  padding-left: 60px;
  opacity: 0;
  position: absolute;
  z-index: 2;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-label {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brown);
  font: 2vh NexaBold;
  pointer-events: none;
  z-index: 1;
}

#submitButtonContainer {
  width: 100%;
  display: flex;
  justify-content: center;
}

#submitButton {
  border: none;
  font: 3vh NexaBold;
  cursor: pointer;
}

#nameHeading, #emailHeading, #phoneHeading, #uploadImageHeading {
  color: white;
  font: 2.2vh NexaLight;
  margin-bottom: 5px;
  text-align: left;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.inputClass{
  width: 100%;
  margin: 0 auto;
  margin-bottom: 10px;
}

.inputField{
  width: 100%;
  height: 100%;
  padding: 1.5vh 2vh;
  text-align: left;
  font-family: NexaLight, Arial, sans-serif;
  font-size: 2vh;
  font-weight: normal;
  background-color: rgba(255, 255, 255, 0.4);
  background-image: none;
  border: 1px solid transparent;
  border-radius: 7px;
  outline: none;
  color: white;
  box-sizing: border-box;
  
  /* Cross-browser appearance reset */
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  
  /* Ensure consistent border radius across browsers */
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  
  /* Force background consistency */
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  
  /* Cross-browser box-sizing */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  
  /* Ensure consistent text rendering */
  -moz-font-feature-settings: normal;
  -webkit-font-feature-settings: normal;
  font-feature-settings: normal;
  
  /* Prevent zoom on iOS */
  -webkit-text-size-adjust: 100%;
  
  /* Smooth transitions */
  transition: all 0.2s ease-in-out;
}

/* Focus state for better accessibility and visual feedback */
.inputField:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Active state */
.inputField:active {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Disabled state */
.inputField:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.inputField input:placeholder{
    color: white;
    font-family: NexaLight;
}

/* Cross-browser placeholder styling */
.inputField::-moz-placeholder {
  color: white;
  font-family: NexaLight;
  opacity: 1; /* Firefox reduces opacity by default */
}


.inputField::-webkit-input-placeholder {
  color: white;
  font-family: NexaLight;
}

.inputField::placeholder {
  color: white;
  font-family: NexaLight;
  opacity: 1;
}

/* Remove Firefox validation styling */
.inputField:-moz-ui-invalid {
  box-shadow: none;
}

.inputField:invalid {
  box-shadow: none;
}


#loadingImage{
  position: absolute;
  top:30%;
  margin: 0 auto;
  width: 30%;
  left: 35%;
}



#nameInput input::placeholder{
  color: var(--brown);
  font-family: NexaBold;
}

.buttonClass {
  cursor: pointer;
  width: 28vh;
  position: relative;
  left: 5%;
  margin: 0 auto;
  /* margin-top: calc(5% + 220px); */
}

#termsAndConditions{
    width: 100%;
    margin: 0 auto;
    margin-top: 4vh;
    color: white;
    text-align: center;
    font: 2vh NexaLight;
}

#termsCheckbox{
    margin-right: 1vh;
    transform: scale(1.5); /* Increase size by 50% */
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
}
#termsAndConditions span{
    color: white;
    font: 2vh NexaBold;
}

#errorContainer{
  opacity: 0;
  color: red;
    font-family: 'NexaBold';
    text-align: center;
    height: 4%;
    margin: 0 auto;
}

#selectScreen{
  position: relative;
  /* top: 0; */
  left: 0;
  right: 0;
  /* z-index: 999; */
  width: 100%;
  height: 100%;
  /* max-width: 422p÷x; */
  /* background-size: cover;
    background-position: center;
    background-image: url("./assets/BG1.jpg");
    background-repeat: no-repeat; */
  margin: 0 auto;
  object-fit: cover;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#selectHeading{
  position: relative;
  text-align: center;
  margin-top: 26%;
  font: 3vh NexaBold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

#selectContainer{
  position: relative;
  height: 60%;
  display: flex;
  flex-direction: column;
  gap: 3%;
  margin-top: 2%;
}

.selectContainer{
  width: 78%;
    margin: 0 auto;
}

.selectContainerHeading{
  position: relative;
    color: white;
    font: 2vh NexaLight;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

select {
  position: relative;
  padding: 1.3vh 1vh;
  border: none;
  border-radius: 1vh;
  background-color: rgba(255, 255, 255, 0.4);
  color:#2852a4 ;
  appearance: none;
  left: 0;
  top: 5%;
  width: 100%;
  line-height: 4;
  font: 2.5vh NexaLight;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#dropDownImg {
  position: absolute;
  width: 8%;
  padding: 0.6vh;
  right: 12%;
  transform: translate(0, -9.5vw);
  opacity: 1;
  z-index: 10;
  background-color: rgb(153, 197, 84);
  border-radius: 5px;
  text-align: center;
  pointer-events: none;
}

#dropDownImg img {
  width: 15px;
}

#doneButtonContainer {
  width: 100%;
  display: flex;
  justify-content: center;
}

#doneButton {
  background-color: white;
  color: #2852a4;
  border: none;
  border-radius: 30px;
  padding: 12px 40px;
  font: 3vh NexaBold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.buttonStyleClass{
  background-color: white;
  color: #2852a4;
  border: none;
  border-radius: 30px;
  padding: 12px 40px;
  font: 3vh NexaBold;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 48%;
  height: 7%;
  border-radius: 4vh;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  margin:0 auto;
}


#uploadImgScreen{
  position: absolute;
  left: 0;
  right: 0;
  top: 0%;
  margin: 0 auto;
  height: 100%;
  /* background-size: cover;
    background-position: center;
    background-image: url("./assets/mock.jpg");
    background-repeat: no-repeat; */

    display: none;
    align-items: center;
    /* justify-content: center; */
    overflow: hidden;
    font-family: 'NexaBold';
    flex-direction: column;
}

#uploadImgScreen #heading{
  text-align: center;
  width: 45vh;
  height: 15%;
  margin: 0 auto;
  font-size: 4vh;
  color:white;
  font-family: NexaBold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
  margin-top: 30%;
}


#upload-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#file-input {
  display: none;
}

.upload-button {
  background-color: orange;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-family: NexaLight;
  font-size: 2vh;
}

#image-container {
  width: 300px;
  height: 300px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s;
  border: 2px solid transparent;
  border-radius: 15px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.6);
}

#image-container.dragover {
  background-color: #f0f0f0;
  border-color: #aaa;
}

#image-container:not(:has(img))::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: #666;
  font-family: NexaLight;
  text-align: center;
}

#image-container.dragover::before {
  content: "Drop image here";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: #666;
}

#image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#close-button {
    position: absolute;
    top: 2%;
    right: 13vw;
    font-size: 6vh;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    display: none; /* Hidden by default */
    line-height: 1;
    text-align: center;
}



.image-loaded #close-button {
  display: block; /* Show when image is loaded */
}

.image-loaded #image-container {
  cursor: grab; /* Change cursor when image is present */
}

#upload-icon{
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background-color: rgb(153, 197, 84);
  width: 26%;
  padding: 3vh;
  border-radius: 12px;
}

#upload-icon-placeholder {
  width: 25px;
  height: 25px;
}

#upload-icon-text{
  color: white;
  font-family: "NexaBold";
  font-size: 2vh;
  margin-top: 1vh;
}

#instructionText{
  position: absolute;
  top: 70%;
  left: 50%;
  width: 75%;
  transform: translate(-50%, -50%);
  color: #2852a4;
  font-family: NexaLight;
  font-size: 2vh;
  margin-top: 1vh;
  text-align: center;
}

#instructionText2{
  position: absolute;
  top: 100%;
  width: 110%;
  color: white;
  font-family: NexaLight;
  font-size: 2vh;
  text-align: center;
}

.image-loaded #upload-icon-placeholder,
.image-loaded #upload-icon,
.image-loaded #instructionText {
  display: none;
}

#image-options {
  margin-top: 10px;
}

#done-button{
    position: relative;
    top:5%;
}


.control-button {
  background-color:#ed2024;
  color: white;
  font-family: DINCondBlack;
  padding: 2vh 6vh;
  cursor: pointer;
  margin: 0 5px;
  border: none;
  border-radius: 4vh;
}

.buttonClass img {
  /* position: relative; */
  width: 100%;
}

#option1 {
  /* background-image: url(./assets/html/Drop-down.png); */
  /* background-repeat: no-repeat; */
  background-position: right;
  background-size: contain;
  /* z-index: 100; */
  width: 30vh;
  max-width: 62%;
  margin: 2.5% auto;
  opacity: 1;
  color: transparent;
  margin-left: 0%;
}

.LoaderTryAgain {
  bottom: 3%;
}
/* select test css */

#loadingScreen {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
}

#loadingScreen #loadingText1{
  font-size: 3vh;
  color: white;
  font-family: NexaBold;
  margin-top: 100%;
  text-align: center;
}

#loadingScreen #loadingText2{
  font-size: 3vh;
  color: white;
  font-family: NexaBold;
  text-align: center;
}

#loadingScreen #loadingText1.en::after {
  content: '';
  display: inline-block;
  width: 3ch; /* Reserve space for 3 dots */
  text-align: left;
  animation: typewriter 2s ease-in-out infinite;
}

#loadingScreen #loadingText1.ar::before {
  content: '';
  display: inline-block;
  width: 3ch; /* Reserve space for 3 dots */
  text-align: right; /* Changed to right for Arabic */
  animation: typewriter-ar 2s ease-in-out infinite;
}

@keyframes typewriter {
  0%, 25% {
    content: '';
  }

  26%, 50% {
    content: '.';
  }

  51%, 75% {
    content: '..';
  }

  76%, 100% {
    content: '...';
  }
}

@keyframes typewriter-ar {
  0%, 25% {
    content: '';
  }

  26%, 50% {
    content: '.';
  }

  51%, 75% {
    content: '..';
  }

  76%, 100% {
    content: '...';
  }
}

select option {
  background: var(--brown);
  text-align: center !important;
}

select.ar{
    font-family: arabicBold !important;
    direction: rtl;
}




p {
  color: var(--blue);
  color: black;
  text-align: center;
  /* font-family: "bell"; */
  font-size: 2.55vh;
  text-align: left;
}


#dropDownImage {
  position: absolute;
  background-image: url("./assets/drop-down-arrow.png");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position-y: 61%;
  background-position-x: 100%;
  z-index: 999;
  width: 3.7vh;
  height: 100%;
  right: 1.2%;
}

button {
  border: none;
  cursor: pointer;
  appearance: none;
  background-color: inherit;
}

.s-hidden {
  opacity: 0;
}

#resultScreen {
  position: absolute;
  left: 0;
  right: 0;
  top: 0%;
  margin: 0 auto;
  height: 100%;
  /* background-size: cover;
    background-position: center;
    background-image: url("./assets/mock.jpg");
    background-repeat: no-repeat; */

    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'NexaBold';
    flex-direction: column;
}


#resultImage{
  width: 58%;
  height: 122vw;
  position: relative;
  top: 12%;
  margin: 0 auto;
}

#downloadBar{
  position: relative;
  width: 59%;
  height: 7%;
  margin: 0 auto;
}

#downloadBar p{
  font-size: 1.4vh;
  position: absolute;
  top: 0;
  left: 0;
  text-indent: 0px;
  margin-left: 1vh;
  width: 90%;
}

#downloadIcon{
  position: absolute;
  width: 24%;
  top: 0;
  right: -12%;
  transform: translate(0, -30%);
}

#downloadText{
  font-size: 2.5vh;
  position: relative;
  top: 0;
  left: 0;
  text-indent: 0px;
  margin-left: 1vh;
  width: 82%;
  margin: 0 auto;
  margin-bottom: 5%;
  text-align: center;
  color: white;
}

#downloadAppButton{
  position: relative;
  text-align: center;
  width: 70%;
  height: 6%;
  bottom: 0%;
  color: #2852a4;
  background-color: white;
  font: 3vh NexaBold;
  border-radius: 4vh;
  padding: 2vh;
}

@media (min-width: 765px) {
  body {
  }
  #mainPage {
    max-width: 60vh;
  }

  .titleAnim{
    height: 47vh;
  }

  #startButton{
    bottom: 6%;
  }
  #enterDetailsHeading{
    margin-top: 15vh;
  }

  #dropDownImg{
    width: 8%;
    padding: 0.6vh;
    transform: translate(0%, -4.4vh);
  }

  #resultImage{
    height: 73%;
  }

  #uploadImagDivBar{
    min-height: 5vh;
  }

  select{
    padding:1.3vh 1vh;
  }

  #upload-icon{
    padding: 4vh;
  }

  #image-container{
    width: 46vh;
    height: 46vh;
  }

  #close-button{
    right: 8vh;
  }

  
}

@media (min-width: 1025px) {
  /* big landscape tablets, laptops, and desktops */
  body {
  }
  #mainPage {
    max-width: 60vh;
  }

  .titleAnim{
    height: 47vh;
  }


  #startButton{
    bottom: 6%;
  }

  #enterDetailsHeading{
    margin-top: 15vh;
  }

  #dropDownImg{
    transform: translate(0%, -4vh);
  }

  #resultImage{
    height: 73%;
  }

  #uploadImagDivBar{
    min-height: 6vh;
  }

  .upload-icon-box{
    bottom: 1.5vh;
    width: 48px;
  }

  .dropDownImage{
  padding: 1vh;
  }

  #close-button{
    right: 8vh;
  }

}

@media (min-width: 1281px) {
  /* hi-res laptops and desktops */
  body {
  }
  #mainPage {
    max-width: 60vh;
  }

  .titleAnim{
    height: 47vh;
  }


  #startButton{
    bottom: 6%;
  }

  #enterDetailsHeading{
    margin-top: 15vh;
  }

  #resultImage{
    height: 73%;
  }
  #close-button{
    right: 8vh;
  }

 
}



::-webkit-scrollbar {
  width: 6px;
}
/* Track */

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}
/* Handle */

::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 10px;
}
/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  background: white;
}


#preview-image {
  width: 100%;
  height: auto;
  background: #eee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  columns: 600px 1;
  border:none;
}
#upload-area {
  width: 100%;;
  height: 27vh;
  min-height: 0vh;
  max-height: 0vh;
  margin: auto;
  border-radius: 18px;
  overflow: auto;
  overflow-x: hidden;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  background-color: transparent;
  margin-bottom: 1vh;
}

/* a {
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  background: #eee;
} */

.img {
  width: 100%;
  /* max-height: 25vh;
  min-height: 24vh;
  object-fit: cover; */
  overflow: auto;
}
#placeholder {
  display: flex;
  flex-direction: column;
  height: 22vh;
  width: 100%;
  background: url("assets/upload.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  justify-content: center;
  align-items: center;
  border:none;
  border-radius: 8px;
}
#inputImage {
  display: none;
  width: 600px;
  color: black;
  background: none;
  cursor: pointer;
}


/* end card */


/* spark animation */

 

/* Landscape orientation block */
.landscape-block {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

.landscape-message {
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 80%;
}

.rotate-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: rotate-pulse 5s linear infinite;
}

.landscape-message h2 {
  font-family: NexaBold;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.landscape-message p {
  font-family: NexaLight;
  font-size: 1.2rem;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes rotate-pulse {
  0% {
    transform: rotate(-90deg) scale(1);
  }
  25% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(0deg) scale(1);
  }
}

/* Show landscape block only in landscape orientation */
@media screen and (orientation: landscape) and (max-height: 600px) {
  .landscape-block {
    display: flex !important;
  }
  
  #mainPage {
    display: none !important;
  }
}


.s-hidden {
  opacity: 0;
}

/* Landscape Orientation Block */
.landscape-block {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

.landscape-message {
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 80%;
}

.rotate-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: rotate-pulse 5s linear infinite;
}

.landscape-message h2 {
  font-family: NexaBold;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.landscape-message p {
  font-family: NexaLight;
  font-size: 1.2rem;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes rotate-pulse {
  0% {
    transform: rotate(-90deg) scale(1);
  }
  25% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(0deg) scale(1);
  }
}

/* Show landscape block only in landscape orientation */
@media screen and (orientation: landscape) and (max-height: 600px) {
  .landscape-block {
    display: flex !important;
  }
  
  #mainPage {
    display: none !important;
  }
}

/* Page Transition Animations */
.page-transition-enter {
  opacity: 0;
  transform: translateX(100%);
  animation: slideInRight 0.4s ease-out forwards;
}

.page-transition-exit {
  opacity: 1;
  transform: translateX(0);
  animation: slideOutLeft 0.4s ease-out forwards;
}

.page-transition-enter-reverse {
  opacity: 0;
  transform: translateX(-100%);
  animation: slideInLeft 0.4s ease-out forwards;
}

.page-transition-exit-reverse {
  opacity: 1;
  transform: translateX(0);
  animation: slideOutRight 0.4s ease-out forwards;
}

.page-transition-fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.page-transition-fade-out {
  opacity: 1;
  animation: fadeOut 0.3s ease-out forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-100%);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

