#templateContainer {
  background-image: url("http://jdevadf.oracle.com/workbetter/afr/alta-v1/tile.png");
  background-repeat: repeat;
  color: #606062;
  overflow: auto;
  /* Changed to auto to prevent unnecessary scroll bars */
}

#templateContainer.fullscreen {
  z-index: 9999;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.navbar.alta-theme {
  border-bottom: 1px solid #c0c0c0;
  box-shadow: 0px 5px 10px #c0c0c0;
  height: auto;
  /* Allow height to adjust automatically */
  background-color: #F5F5F5;
  padding: 10px 15px;
  /* Add padding for spacing */
}

.navbar-header {
  display: flex;
  justify-content: space-between;
  /* Align items in the header */
  align-items: center;
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-size: 18px;
  /* Adjusted font size */
}

.navbar-brand img {
  margin-right: 10px;
  height: 40px;
  /* Reduced height for smaller screens */
}

.navbar-fixed-top {
  border: 0;
}


h1 {
  margin: 0 auto;
  /* Center-align title with automatic margins */
  padding: 10px;
  /* Add padding for better spacing */
  font-size: 1.5em;
  /* Use relative units for font size */
}

.container-fluid.alta-theme {
  background-color: #FFF;
  margin: 0 auto;
  /* Center-align container */
  padding: 15px;
  /* Use padding for spacing */
}

.main {
  padding: 10px;
  /* Reduce padding for smaller screens */
}

.main.alta-theme {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .main {
    padding-right: 30px;
    /* Adjust padding for larger screens */
    padding-left: 30px;
  }
}

.main .page-header {
  margin-top: 0;
}

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}

.placeholders h4 {
  margin-bottom: 0;
  font-weight: bold;
}

.placeholder {
  margin-bottom: 30px;
  /* Reduced margin for smaller screens */
}

.placeholder img {
  display: inline-block;
  border-radius: 50%;
  max-width: 100%;
  /* Ensures image doesn't exceed container width */
  height: auto;
  /* Maintain aspect ratio */
}

.placeholder .dashboard-item {
  display: inline-block;
  width: 150px;
  /* Reduced size for smaller screens */
  height: 150px;
  border: 5px double #EFF;
  /* Adjusted border size */
  border-radius: 50%;
  vertical-align: middle;
  font-size: 1.5em;
  /* Relative font size */
  color: #FFF;
  box-shadow: 0px 0px 10px #999;
}

.placeholder .dashboard-item:hover {
  box-shadow: 0px 0px 20px #888;
  /* Adjusted shadow size */
}

.circular-menu {
  width: 200px;
  /* Adjusted width */
  height: 200px;
  margin: 0 auto;
}

.circle {
  width: 200px;
  /* Adjusted width */
  height: 200px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease-out;
}

.open.circle {
  opacity: 1;
  transform: scale(1);
}

.circle a {
  text-decoration: none;
  display: block;
  height: 40px;
  width: 40px;
  line-height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  position: absolute;
  text-align: center;
  font-weight: bold;
}

.menu-button {
  position: relative;
  top: -175px;
  /* Adjusted for smaller screen sizes */
}

.dashboard-item.menu-button.selected {
  top: -150px;
  /* Adjusted for smaller screen sizes */
  width: 80px;
  height: 80px;
  font-size: 1.2em;
  /* Use relative font size */
  transition: all 0.4s linear;
}

/* Media Queries for Mobile Devices */
@media (max-width: 767px) {
  .navbar.alta-theme {
    height: 60px;
    /* Reduce height on smaller screens */
  }

  h1 {
    font-size: 1.2em;
    /* Smaller font size for h1 on mobile */
    margin: 0 10px;
    /* Smaller margins for mobile */
  }

  .container-fluid.alta-theme {
    padding: 10px;
    /* Reduce padding for mobile */
  }

  .placeholder .dashboard-item {
    width: 100px;
    /* Further reduce size on mobile */
    height: 100px;
    font-size: 1em;
    /* Adjust font size */
  }

  .circular-menu,
  .circle {
    width: 150px;
    height: 150px;
    /* Reduce size for circular menu */
  }

  .menu-button {
    top: -130px;
    /* Adjust positioning for smaller screens */
  }
}

/* Media Queries for Mobile Devices */
@media (max-width: 767px) {
  .navbar-header {
    padding: 5px;
  }

  .navbar-brand {
    font-size: 16px;
    /* Smaller font size for mobile */
  }

  .navbar.alta-theme {
    padding: 5px;
    /* Reduce padding for smaller screens */
  }

  .navbar-brand img {
    height: 30px;
    /* Further reduce logo size on mobile */
  }
}