/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  #discriminator {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
    background: black;
  }

  #information{
    font-family: Arial, sans-serif;
  }

  @keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
  }

  /*Infomration page formatting*/

  header {
    min-height: 100vh;
  }

  #headerText {
    font-weight: bold;
    font-size: 80pt;
    text-align: left;
    position: absolute;
    bottom: 10px;
    left: 30px;
  }

  .introduction {
    position: relative;
    width: 100%;
    min-height: 220vh;
    overflow: hidden;
  }
  
  #crouchWoman {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: auto;
    object-fit: cover;
    z-index: -1;

    animation: float 5s ease-in-out infinite;
  }
  

  #definitionText {
    position: absolute;
    bottom: 100px;
    left: 40px;
    color: black;
    background-color: white;
    font-size: 40pt;
    font-weight: bold;
    z-index: 2;
    max-width: 60%;
  }

  .stats-section {
    background-color: black;
    color: #FCE74C;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 80px 40px;

    margin-top: -10px;
    z-index: 3;
  }
  
  .stat-block {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding-top: 40px;
    flex-wrap: wrap;
  }
  
  #percentage {
    font-size: 200pt;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
  }
  
  #stat-text {
    font-size: 35pt;
    font-weight: bold;
    line-height: 1.3;
    max-width: 600px;
    padding-left: 40px;
    padding-bottom: 20px;
  }  

  #techHeader {
    font-size: 35pt;
    font-weight: bold;
    margin-left: 40px;
    margin-top: 20px;
    margin-bottom: 250px;
  }

  .cardContainer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 850px;
    flex-wrap: wrap;
    margin: 40px;
  }
  
  .infoCard {
    background-color: #fff;
    flex: 1 1 30%;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
  }
  
  .infoCard:hover {
    transform: scale(103%);
  }
  
  #techName {
    font-size: 8pt;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
  }
  
  #techDef {
    font-size: 8pt;
    color: #666;
    text-align: left;
  }

  a {
    text-decoration: none;
  }

  #restartExpButton {
    color: black;
    font-size: 18pt;
    font-weight: bold;
    background-color: transparent;
    border: none;

    display: block;
    margin: 80px auto;
    transition: background-color 0.3s ease;
    cursor: pointer;
    transition: color 0.3s;
    }

    #restartExpButton:hover {
    color: #FCE74C;
    }


  /* Quiz area */
  #quiz {
    display: flex;
    width: 100%;
    height: 100vh;
  }
  
  /* Image containers */
  .image-container {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Hover effect */
  .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
  }
  
  .image-container:hover .hover-overlay {
    background: rgba(0,0,0,0.3);
  }
  
  /* "Which is real?" overlay text */
  #overlayText {
    position: absolute;
    font-size: 100pt;
    font-weight: bold;
    color: #FCE74C;
  
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    z-index: 10;
    text-align: center; /* Center the text horizontally */
    white-space: nowrap;
    
    display: flex;
    align-items: center; /* Center the text vertically */
    justify-content: center; /* Center the text horizontally */
  
    opacity: 1;
    transition: opacity .5s ease-out; /* Smooth fade out */
  }
  
  
  /* Result screen */
  #result {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align children to the top */
    height: 100vh;
    background: black;
    color: white;
    padding: 20px;
    position: relative; /* Allow absolute positioning of buttons */
  }
  
  /* Result content */
  #resultContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  #resultText {
    position: absolute;
    bottom: 10px;
    left: 30px;
    font-size: 80pt;
    text-align: left;
  }

    /* Restart button (at the top) */
    #restartButton {
        position: absolute;
        top: 10px;
        left: 20px;
        padding: 10px 20px;
        font-size: 18pt;
        font-weight: bold;
        text-transform: uppercase;

        border: none;
        background-color: transparent;
        color: white;
        cursor: pointer;
        transition: color 0.3s;
      }
      
      #restartButton:hover {
        color: #FCE74C;
      }
  
  /* Continue button */
  #continueButton {
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 10px 20px;
    font-size: 18pt;
    font-weight: bold;
    text-transform: uppercase;
    
    border: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  #continueButton:hover {
    color: #FCE74C;
  }
  