/* Body styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa; /* Light gray background */
  background-image: url('feedback.png');
  background-position: center; /* Position the image at the center */
  background-repeat: no-repeat;
  background-size: cover; /* Ensure the image covers the entire viewport */
}

/* Container styles */
.container {
  max-width: 550px;
  margin: 180px auto 50px; /* Adjust margin to accommodate the fixed header */
  padding: 25px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 0, 0, 0.644); /* White background */
  color: #fff; /* White text color */
}

/* Heading styles */
h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #007bff; /* Blue heading text */
  font-size: 32px; /* Increased font size */
}
/* Label styles */
label {
  font-weight: bold;
  color: white; /* White text */
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
}

/* Input and textarea styles */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
  color: #333; /* Dark text color */
}

textarea {
  height: 150px;
}

/* Add hover effects */
input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover,
button[type="submit"]:hover {
  border-color: #007bff; /* Blue border on hover */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Blue shadow on hover */
}

/* Add focus styles */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: #007bff; /* Blue border on focus */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Blue shadow on focus */
}

/* Rating styles */
.rating {
  unicode-bidi: bidi-override;
  direction: rtl;
  font-size: 25px;
  margin-bottom: 20px;
}

.rating > span {
  display: inline-block;
  width: 1.2em;
  cursor: pointer;
  color: #ccc; /* Gray star outline */
}

.rating > span:hover:before,
.rating > span.checked:before {
  content: "\2605";
  position: relative;
  color: #ffc107; /* Gold star */
  font-size: 1.5em;
  top: -0.1em;
}

/* Button styles */
button[type="submit"] {
  padding: 12px 24px;
  background-color: #007bff; /* Blue button */
  border: none;
  border-radius: 5px;
  color: #fff; /* White text */
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #0056b3; /* Darker blue on hover */
}
/* Header styles */
header {
  position: fixed; /* Change position to fixed */
  top: 0; /* Stick it to the top */
  height: 120px; /* Adjust height as needed */
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.5) 100%);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 24px;
  z-index: 1; /* Ensure the header is above other content */
  box-sizing: border-box;
  width: 100%;
  border-bottom: 1px solid #fff;
  border-radius: 0 0 50px 50px; /* Adjust border-radius for the corners */
}

header h1 {
  margin-bottom: 10px;
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase; /* Convert text to uppercase */
}

header p {
  font-size: 18px;
  font-style: italic; /* Italicize the text */
}

/* Add some hover effects to header elements */
header h1:hover {
  color: #ffc107; /* Gold text color on hover */
}

header p:hover {
  color: #ffc107; /* Gold text color on hover */
}

/*------------------------------------------Dark mode on off ------------------------------------*/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-top: -50px;
  margin-left: 90%;
  top: -13px;
  visibility: hidden;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
.Light {
  background-color:  rgba(241, 209, 150, 0.532); /* Light mode background color */
  color: black; /* Text color remains black for better readability */
}
.Dark {
  background-color: rgba(0, 0, 0, 0.919);
  color: white;
}
.LightHeader {
  background-color: linear-gradient(45deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.5) 100%);
}

.DarkHeader {
  background: linear-gradient(45deg, rgba(21, 149, 104, 0.5) 0%, rgba(32, 182, 32, 0.8) 50%, rgba(13, 152, 145, 0.5) 100%);
  color: #000000;
}
.BlackText {
  color: black;
}
@media only screen and (max-width: 1080px) {

  /* Adjust body background image */
  body {
    background-image: url(feedback.phone.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Arial, sans-serif; 
  }
  
  /* Adjust container styles */
  .container {
    margin: 69px auto;
    padding: 20px;
    max-width: 70%;
    height: 50%;
  }

  /* Adjust input and textarea styles */
  input[type="text"],
  input[type="email"],
  textarea {
    width: calc(100% - 24px); /* Adjust input width */
    margin-top: -23px; /* Adjust input margin */
    background-color: #ffffff8a; /* Semi-transparent white background */
  }

  /* Adjust heading size */
  h1 {
    font-size: 24px; /* Decrease font size for the header */
  }

  /* Adjust rating star size */
  .rating span {
    font-size: 20px; /* Decrease font size for the rating stars */
  }

  /* Adjust submit button width */
  #submitBtn {
    width: 100%; /* Make the submit button full width */
  }

  /* Adjust header styles */
  header {
    height: 60px; /* Auto height to fit content */
    padding: 10px; /* Decrease padding for compactness */
    font-size: 20px; /* Decrease font size for header text */
  }

  header h1 {
    font-size: 28px; /* Increase font size for header title */
  }

  #H2{
    display: none;
  }
}

