/* Make sure the body and html fill the full viewport height */
html,
body {
  /*height: 100vh;*/
  min-height: -webkit-fill-available;
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
  overflow-y: auto; /* Allow vertical scrolling */
}

html {
  padding: 20px;
}

/* Body styling with reversed background gradient */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  flex-direction: column;
  background-image: linear-gradient(
    to right,
    rgba(255, 175, 37, 1),
    rgba(245, 232, 19, 1)
  );
  background: -webkit-linear-gradient(
    to right,
    rgba(255, 175, 37, 1),
    rgba(245, 232, 19, 1)
  );
}

body.dark {
  background-image: none;
  background-color: white;
  background: none;
}

/* Main wrapper styling */
.main-wrapper {
  width: 100%;
  background-color: #fff;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.fader.dark {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}
.fader {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}
.dark {
  border-image: none;
  border-color: white;
  background-color: black;
  color: white;
  padding: 20px;
}

/* Style the main logo to be at the top */
.main-logo {
  padding: 20px; /* Adjust padding around the logo */
  margin-left: 0; /* Remove any left margin */
  display: flex;
  justify-content: flex-start; /* Align the logo to the left */
  z-index: 100;
}

.dark .main-logo {
  background: none;
}
/* Limit the logo size and maintain aspect ratio */
.main-logo img {
  max-width: 300px; /* Set a max-width to control size */
  height: auto; /* Maintain aspect ratio */
}

@media only screen and (max-width: 768px) {
  .main-wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: white; /* White background for the main wrapper */
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .dark {
    border-image: none;
    border-color: white;
    background-color: black;
    color: white;
  }

  .main-logo img {
    max-width: 70%; /* Set a max-width to control size */
    height: auto; /* Maintain aspect ratio */
  }
}
