*,
html {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

*,
:after,
:before {
  box-sizing: inherit;
}

body {
  background-color: #fafafa;
  color: #333;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Rackhams Theme Specific */
.rackhams-theme body {
  background-color: #faf8f2;
  color: #333;
  font-family: Helvetica Neue, Arial, sans-serif;
}

/* Navbar Styling for Logo Centring */
.navbar {
  background: linear-gradient(180deg, #1b5036, #2c6a4d);
  position: relative;
  padding-top: 120px;
}

.navbar-brand {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  z-index: 10;
}

.navbar-nav {
  width: 100%;
  justify-content: center;
}

.navbar-toggler {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 11;
}

.navbar-collapse {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rackhams-logo {
  background-image: url("./assets/rackhams.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 200px;
  height: 100px;
  text-indent: -9999px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .rackhams-logo {
    width: 150px;
    height: 75px;
  }

  .navbar {
    padding-top: 90px;
  }

  .navbar-brand {
    top: 10px;
  }

  .navbar-collapse {
    padding-top: 0.5rem;
  }
}

.app-footer {
  background: linear-gradient(180deg, #1b5036, #2c6a4d);
  color: #fff;
  padding: 1rem;
  text-align: center;
}

.app-footer a {
  color: #fff;
  text-decoration: none;
}

.app-footer a:hover {
  text-decoration: underline;
}

.iframe-container iframe {
  width: 100%;
  border: none;
  height: 90vh;
}

@media (max-width: 768px) {
  .iframe-container iframe {
    height: 100vh;
  }
}
