@font-face {
    font-family: BabyGemoy ;
    src: url("./font/baby-gemoy/Baby-Gemoy.ttf");
}
@font-face {
    font-family: ChildHood ;
    src: url("./font/child-hood/Child-Hood.otf");
}
@font-face {
    font-family: HoneyBear ;
    src: url("./font/honey-bear/Honey-Bear.ttf");
}
@font-face {
    font-family: MilkyWay ;
    src: url("./font/milkyway-demo/Milkyway-DEMO.ttf");
}

body {
    font-family: ChildHood;
    background-color: deepskyblue;
    color: white;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.change-theme {
    background-color: black;
}

#headText {
    font-family: HoneyBear;
    /* font-size: 2em;
    -webkit-text-stroke-color: black;
    -webkit-text-stroke-width: 2px; */
}

#app {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: 240px;
    height: 50px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: box-shadow 0.3s ease-in-out;
    text-decoration: none;
  }
  
  .google-btn:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }
  
  .google-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    border-right: 1px solid #e0e0e0;
  }
  
  .google-icon {
    width: 24px;
    height: 24px;
  }
  
  .btn-text {
    flex-grow: 1;
    text-align: center;
    color: #757575;
    font-size: 30px;
    font-weight: 200;
  }

  .profile-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .profile-button:hover {
    background-color: #0056b3;
  }
  
  /* Popup styling */
  .popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
  }
  
  .popup.hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  .popup-content {
    background-color: white;
    color: #333;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .close-button {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  
  .profile-section,
  .settings-section {
    margin: 20px 0;
  }
  
  .settings-item {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: none;
    background-color: #f0f0f0;
    color: #333;
    /* 757575 */
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .settings-item:hover {
    background-color: #ddd;
  }
  
  /* Responsive adjustments */
  @media (min-width: 600px) {
    .popup-content {
      width: 80%;
    }
  }

  #login-container {
    margin-top: 35vh;
  }

  .quiz-container {
    font-family: Poppins;
  }

  .profile-section, .settings-section {
    font-family: Poppins;
  }

  .settings-section button {
    width: fit-content;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
    font-family: Child-Hood;
  }

  .settings-section button:hover {
    cursor: pointer;
    opacity: 0.8;
  }

  .settings-section #themeBtn {
    background-color: black;
    color: white;
  }

  .settings-section #logout-btn {
    background-color: white;
    color: black;
  }

  #themeBtn.changeBgColor {
    background-color: deepskyblue;
  }



  #dashboard-container p {
    font-family: Poppins;
  }

  /* quiz container */
  .quiz-container {
    max-width: 500px;
    margin: auto;
    margin-top: 20px;
    background: mediumspringgreen;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  .quiz-container h2 {
    margin-bottom: 20px;
  }
  .form-group {
    margin-bottom: 15px;
  }
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  .form-group select,
  .form-group button {
    width: 50%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .form-group input[type="number"] {
    font-size: 1em;
    font-family: HoneyBear;
    width: 10%;
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .form-group button {
    border: none;
    background-color: #007BFF;
    color: white;
    font-size: 16px;
    cursor: pointer;
  }
  .form-group button:hover {
    background-color: #0056b3;
  }
  .timer-options {
    display: none;
  }

  #greeting{
    font-family: Child-Hood;
    font-size: 1.5em;
  }

  #logoutIcon {
    width: 30%;
    height: auto;
    margin-left: 0;
  }