body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0.1px solid black;
  background-image: linear-gradient(to bottom, turquoise, #00ff00, gold);
  font-family: Arial, sans-serif;
  height: 100vh; /* Set body height to fill the viewport */
  animation: scrollGradient 6s linear infinite; /* Apply animation */
}

.Main_container {
  margin: 0px;
  padding: 0px;
  height: 100%;
  width: 100%;
  background-color: #F0F8FF;
  overflow-x: hidden;
  overflow-y: auto;
  /*border-radius: 10px;*/
  box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.Menu {
  visibility: hidden;
  display: none;
}

header {
  background-image: linear-gradient(to bottom, gold, #00ff00);
}

.chapters {
  margin: 0px;
  background-color: black;
  padding: 1px;
  height: 35px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center; 
}



.Midsection {
  height: 100%;
}

.title {
  display: none;
  visibility: hidden;
}

.Logo {
  margin: 0px;
  padding: 0px;
  overflow: visible;
}

.Menu button {
  outline: none;
  background-color: #F0F8FF;
  color: black;
  font-size: 100%;
  /*background-color: rgb(246, 252, 255);*/
}

.Menu button:focus {
  outline: none;
  box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
}

.Menu button {
  transition: all 0.05s ease 0s;
}
.Menu button:hover {
  color: black;
  background-color: #00ccff;
  box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
}

header {
  /*background-color: #333;
  color: #fff;*/
  color: black;
  padding: 20px 0;
  text-align: center;
}
.container {
  max-width: 90%;
  margin: 20px auto;
  padding: 0 10px;
}

.Logo1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (orientation: landscape) {
  @keyframes scrollGradient {
    0% {
      background-image: linear-gradient(
        to bottom,
        blue,
        #00ced1,
        turquoise,
        #00ff00,
        gold,
        red
      );
    }
    16.67% {
      background-image: linear-gradient(
        to bottom,
        red,
        blue,
        #00ced1,
        turquoise,
        #00ff00,
        gold
      );
    }
    33.33% {
      background-image: linear-gradient(
        to bottom,
        gold,
        red,
        blue,
        #00ced1,
        turquoise,
        #00ff00
      );
    }
    50% {
      background-image: linear-gradient(
        to bottom,
        #00ff00,
        gold,
        red,
        blue,
        #00ced1,
        turquoise
      );
    }
    66.67% {
      background-image: linear-gradient(
        to bottom,
        turquoise,
        #00ff00,
        gold,
        red,
        blue,
        #00ced1
      );
    }
    83.33% {
      background-image: linear-gradient(
        to bottom,
        #00ced1,
        turquoise,
        #00ff00,
        gold,
        red,
        blue
      );
    }
    100% {
      background-image: linear-gradient(
        to bottom,
        blue,
        #00ced1,
        turquoise,
        #00ff00,
        gold,
        red
      );
    }
  }
  .title {
    display: block;
    visibility: visible;
  }
  .circle {
    border-radius: 500px;
    height: 100%;
    width: 100%;
    background-color: #F0F8FF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .Main_container {
    margin: 0px;
    padding: 0px;
    /*min-height: 600px;*/
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    width: 100%;
    background-color: #F0F8FF;
    box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .Menu {
    overflow-y: auto;
    /*min-height: 600px;*/
    margin: 0px;
    padding: 3px;
    height: 100%;
    width: 13%;
    display: block;
    visibility: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F0F8FF;
    border: 0.5px solid gold;
    /*background-color: rgb(246, 252, 255);*/
    position: absolute;
    top: 50%;
    left: 6.6%;
    transform: translate(-50%, -50%);
  }

  .Logo {
    margin: 10px auto;
    margin-bottom: 3vh;
    padding: 0px;
    width: 50%;
  }

  .Menu a {
    min-height: 5vh;
    width: 90%;
  }

  .Menu button {
    padding: 3px;
    background-color: #F0F8FF;
    white-space: normal;
    text-align: center;
    margin: 5px auto;
    min-height: 5vh;
    outline: none;
    width: 100%;
    border: none;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
    transition: all 0.05s ease 0s;
  }

  .Menu button:hover {
    background-color: #00ccff;
    box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
  }

  .Midsection {
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 86.2%;
    overflow: visible;
    display: flex;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0.5px solid gold;
    flex-direction: column;
    background-color: #F0F8FF;
    box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
    position: absolute;
    top: 50%;
    left: 56.6%;
    transform: translate(-50%, -50%);
  }
}

@media (orientation: landscape) and (min-height: 1080px) {
  .Main_container {
    border-radius: 10px;
    height: 97%;
    width: 98%;
  }
  .Chatbot {
    border: 1px solid black;
    background-color: #F0F8FF;
    border-radius: 5px;
    height: 730px;
    width: 620px;
    position: fixed;
    bottom: 170px; /* 10px from the bottom for mobile */
    right: 20px; /* 10px from the right for mobile */
    z-index: 1000; /* Make sure it's above other elements */
    box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
  }
  .Chatbot_Button {
    position: fixed;
    bottom: 30px; /* 10px from the bottom for mobile */
    right: 30px; /* 10px from the right for mobile */
    z-index: 1000; /* Make sure it's above other elements */
    box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
    background-image: linear-gradient(to bottom, #00ff00, gold);
    border: 1px solid black;
    height: 130px;
    width: 130px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  .chat {
    width: 620px;
    height: 560px;
    border: 1px solid blue;
    overflow: auto;
  }
  .Chatbot_Button img {
    width: 90%;
  }
  .chat-input-form {
    height: 73px;
    border: 1px solid black;
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 3px;
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
  }

  .chat-input-field {
    flex: 1; /* Allow the input field to grow to fill available space */
    padding: 10px; /* Add padding for better user experience */
    border: 1px solid #ccc; /* Create a thin border */
    border-radius: 5px; /* Add rounded corners */
    font-size: 16px; /* Set the font size */
  }

  .chat-send-button {
    height: 45px;
    width: 45px;
    background-color: turquoise; /* Blue color for the button */
    color: #F0F8FF; /* #F0F8FF text color */
    border: none; /* Remove default button border */
    border-top-right-radius: 10px; /* Add rounded corners */
    border-bottom-left-radius: 10px;
    margin-left: 5px;
    cursor: pointer; /* Indicate clickable behavior */
  }

  .chat-send-button:hover {
    background-color: #00ff00;
  }
  .message {
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid black;
    max-width: 98%; /* Limit message width */
    word-wrap: break-word; /* Wrap long words */
  }
}
