#mainHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 10px;
  position: fixed;
  width: 100%;
  top: 0;
  transition: top 0.3s;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.logo img {
  height: 40px;
}

/* 

.login button {
  background-color: #e26a0d;
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 15px;
  border: none;
  cursor: pointer;
}

#login-btn a{
  color: #ffffff;
} */

nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.menuBar {
  display: flex;
  /* Hidden by default, will be shown on small screens */
}

.hamburger-icon {
  fill: #000;
  height: 40px;
  /* Change color to black */
}

/* .hamburger-icon .hamburger-line {
  stroke: #000;
} */

#alertModal{
  display:none;
  z-index:200;
}

#navLinks {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100%;
  width: 100vh;
  width: 100%;
  /* background-color: #fff; */
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  padding: 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: auto;
}

#navLinks.open {
  transform: translateX(0);
}

#navLinks ul {
  width:100%;
  list-style: none;
  padding: 0;
}

#navLinks ul li {
  font-size: 20px;
  margin-bottom: 20px;
}

#navLinks ul li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

#close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: none;
  font-size: 30px;
  cursor: pointer;
  color:#000;
}

.loginButtonStyle {
  color: #fff;
  background: linear-gradient(135deg, #fe6300, #ffba00);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 500;
  width: 100%;
  max-width: 380px;
  height: 60px;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  margin:auto;
}

.loginButtonStyle img {
  height: 20px;
  width: auto;
  margin-right: 15px;
}

.logoutButton {
  color: #fff;
  background: linear-gradient(135deg, darkgray, gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 500;
  width: 100%;
  max-width: 380px;
  height: 60px;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  margin:auto;
}

.logoutButton img {
  height: 20px;
  width: auto;
  margin-right: 15px;
}


@media (max-width: 768px) {
  .menuBar {
    display: flex;
    /* Show hamburger icon on small screens */
  }
}


/* Loading Screen */

#loadingScreen {
  position: fixed;
  z-index: 101;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#loadingText {
  color: #fff;
  font-size: 20px;
  margin-top: 20px;
}

/* Survey */

/* Modern, iOS-like styles */
#surveyModal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  padding-top: 20px;
  overflow: auto;
  overflow-x:hidden;
  z-index: 100;
}

.survey-close {
  position: absolute;
  right: 5px;
  top: 10px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
  z-index: 101;
}

.survey-content {
  background-color: #fff;
  padding: 20px;
  margin-top: 5vh;
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: auto;
  max-height: 75vh;
}

#survey-submit {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  background: linear-gradient(to right, #f8bd00, #f19500, #eb6c00);
  color: white;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  margin-top: 20px;
  transition: background-color 0.3s;
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
}



#survey-submit:disabled {
  pointer-events: none;
  background: linear-gradient(to right, darkgray, gray);
}

#survey-form p {
  font-size: 1.2em;
  font-family: 'Noto Sans JP';
  font-weight: 500;
  margin-bottom: 15px;
}

#survey-form select {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 25px;
  border: 1px solid #ccc;
  font-size: 1.1em;
}

@media (max-width: 375px) {
  .logoutButton, .loginButtonStyle{
    font-size:4.5vw;
  }
}