* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Pantasia Regular';
   

  }
  @font-face {
    font-family: 'Pantasia Regular';
    src: url('fonts/PantasiaUnlicencedTrial-Regular.otf') format('opentype'),
         url('fonts/PantasiaUnlicencedTrial-Regular.ttf') format('truetype');
  }
  
  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
  }
  
  .header {
    text-align: left;
    margin-bottom: 20px;
    width: 100%;
    max-width: 950px;
    letter-spacing: -2px;
  }
  
  .header h1 {
    font-size: 1.8rem;
    font-weight: normal;
    letter-spacing: -2px;
  }
  
  .modal-container {
    width: 100%;
    max-width: 950px;
    border: 1px solid #000;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .close-button {
    position: absolute;
    right: 10px;
    top: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    
  }
  
  .modal-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    min-height: 500px;
  }
  
  .main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 150px 0 100px 0; 
  }
  
  .main-row .question {
    align-self: flex-start;
    margin-left: 0;
  }
  
  .main-row .slider-container {
    align-self: flex-end;
    margin-right: 0;
  }
  
  .question {
    font-size: 2.5rem;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
    letter-spacing: -3px;
  }
  
  .slider-container {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 0;
  }
  
  .slider {
    -webkit-appearance: none;
    width: 100%;
    height: 17px;
    border-radius: 10px;  
    background: linear-gradient(to right, #a3ff9e, #feec94, #f06d6d);
    outline: none;
    margin-bottom: 20px;
    transition: all 0.3s ease;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 20px;
    border-radius: 25px;
    background: #adadad;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 25%;
    background: #adadad;
    cursor: pointer;
  }
  
  .faces {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    text-align: right;
  }
  
  .face {
    font-size: 1.5rem;
  }
  
  .mood-text {
    text-align: center;
    margin-top: 5px;
    font-size: 1rem;
  }
  
  .button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
  }
  
  .submit-button {
    padding: 8px 25px;
    background-color: #6c7cff;
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.4s ease all;
  }
  .submit-button:hover{
    background-color: #000;
    cursor: pointer;
    transform: scale(1.05);
  }
  .mood-svg {
    width: 24px;
    height: 24px;
 
  }
  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
  }
  
  .footer h2 {
    font-size: 2rem;
    margin-left: 20px;
  }
 
  @media (max-width: 450px) {

    

  
  @media (max-width: 768px) {
    .mood-svg {
        width: 20px;
        height: 20px;
      }
    }
   
    .main-row {
      flex-direction: column;
      gap: 40px;
      margin: 40px 0;
    }
    
    .question {
      padding-left: 0;
      text-align: center;
    }
    
    .button-container {
      justify-content: center;
    }
  }