

@font-face {
    font-family: 'Space Mono';
    src: url('/fonts/SpaceMono-Regular.woff2') format('woff2'),
        url('/fonts/SpaceMono-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}



@font-face {
    font-family: 'Space Mono';
    src: url('/fonts/SpaceMono-Bold.woff2') format('woff2'),
        url('/fonts/SpaceMono-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}






body {
  font-size: 100%;
}








.fade {
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}


@keyframes fadeIn {
  to {
    opacity: 1;
  }
}








h1, h2, h3, h4 {
  
line-height: 1.4;
  
  }





h1 {
  text-align: left;
  font-family: "Space Mono", monospace;
  font-size: 4.5vw;
  font-weight: 400;
  font-style: normal;
  margin-left: 30%;
  margin-top: 5%;

  color: #ff0000; /* fallback for non-supporting browsers */

  background: linear-gradient(
    270deg,
    #ff0000 0%,    
    #ff9900 14%,   
    #ffff00 18%,   
    #33cc33 35%,   
    #00ccff 55%,   
    #6600cc 75%,   
    #ff0066 90%,   
    #ff0000 100%   
  );
  background-size: 200% 200%;

  background-clip: text;
  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  transform: translateZ(0);

  animation: rainbow 8s linear infinite;
}

@keyframes rainbow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}







h2 {
    text-align: left;
     font-family: "Space Mono", monospace;
    font-size:18vw;
    font-weight: 400;
    font-style: normal;
    margin-top:-12%;
    margin-bottom:-21%;
    margin-left:5%;
    
    
}


h3 {
  text-align: left;
  font-family: "Space Mono", monospace;
  font-size: 4.5vw;
  font-weight: 400;
  font-style: normal;
  margin-left: 30%;
  margin-bottom: -4%;
  color: #778899;
}





h4 {
    text-align: left;
    font-family: "Space Mono", monospace;
    font-size:4.5vw;
    font-weight: 400;
    font-style: normal;
    margin-left: 30%;
    color: #E0DDDD;
    margin-bottom: 2%;
    margin-top: 5%;
}





h5 {
    
     font-family: "Space Mono", monospace;
    font-weight: 400;
    font-size:3.5vw;
    font-style: normal;
    color: #778899;
    margin-top: -1%;
    margin-bottom: 5%;
    line-height: 1.5;
   display: inline-block; 

}












.answer {
    width: 50%; /* Adjusts the width */
    font-size: 5vw;
    font-family: "Anonymous Pro", monospace;
    font-weight: 700;
    background-color: black;
    color: #73DE8C;
    visibility: hidden;  
}

input::placeholder {
    color: #73DE8C; /* Set placeholder text color to green */
    opacity: 1; /* Ensure opacity is 1 for visibility */
}








.button {
    width: 95%;
    font-family: "Space Mono", monospace;
    font-size: 6vw;
    font-weight: 700;
    padding: 0.3em 0em;
    border: none;
    outline: none;
    color: rgb(156, 164, 173);
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 40px; /* Increased for more rounded corners */
    user-select: none;
    display: block;
    margin: 0 auto 6%;
    
}




.button:before {
  content: "";
  background: linear-gradient(
    270deg,
    rgba(255, 0, 0, 0.5),     /* Soft Red */
    rgba(255, 153, 0, 0.5),   /* Soft Orange */
    rgba(255, 255, 0, 0.5),   /* Soft Yellow */
    rgba(51, 204, 51, 0.5),   /* Soft Green */
    rgba(0, 204, 255, 0.5),   /* Soft Cyan */
    rgba(102, 0, 204, 0.5),   /* Soft Purple */
    rgba(255, 0, 102, 0.5),   /* Soft Pink */
    rgba(255, 0, 0, 0.5)      /* Loop Soft Red */
  );
  position: absolute;
  top: -0.94px;
  left: -0.94px;
  width: calc(100% + 1.875px);
  height: calc(100% + 1.875px);
  background-size: 200% 200%;
  z-index: -1;
  animation: rainbow 10s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 40px;
}




@keyframes glowing-button-85 {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 200% 0%;
    }
    100% {
        background-position: 0% 0%;
    }
}


.button:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: black;
    left: 0;
    top: 0;
    border-radius: 40px; /* Match the button's border-radius */
}




.flag-container {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  margin-top:-6%;
  margin-bottom:0%;
  margin-left:0%;
  margin-right:0%;
  scroll-behavior: smooth;
  scrollbar-width: none;
}


.flag-container::-webkit-scrollbar {
  display: none;              /* Chrome, Safari, Edge */
}





.translate-btn {
  color:white;
  font-size: 14vw;            /* your big emoji size */
  margin: 0 2.3vw;              /* horizontal spacing */
  vertical-align: middle;
  flex: 0 0 auto;             /* prevent shrinking */
  user-select: none;
}

.flag-container .translate-btn:first-child {
  margin-left: -1%;
}






.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8vw; /* gap scales with viewport width */
  text-align: center;
  margin-top:-4%;
}




.icon {
  width: 15vw;     /* scales with viewport */
  height: auto;   /* maintain aspect ratio */
}









