/* Home Nav Buttons*/
.nav-button {
  display: inline-block;
  
  min-width: 150px;
  max-width: 200px;
  padding: 0.8rem 1.5rem;
  margin: 0.5rem;
  
  color: #FAFAFA;
  background-color: #FF9335;
  border: none;
  border-radius: 24px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Scroll-to-Top Button */
#scroll-to-top {
  display: flex;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  
  width: 50px;
  height: 50px;
  /*padding: */
  /*margin: */
  
  color: #FAFAFA;
  background-color: #FF9335;
  border: none;
  border-radius: 50%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  opacity: 0; /* isn't this redundant? */
  
  justify-content: center;
  align-items: center;
  
  /*text properties*/
  
  cursor: default;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
}

#scroll-to-top.visible {
  visibility: visible;
  opacity: 1;
}

#scroll-to-top:focus, .nav-button:focus {
  transform: translateY(-3px);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

#scroll-to-top:hover, .nav-button:hover {
  transform: translateY(-3px);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}


/* Switch Privacy Declaration Language and Complexity */
.switch-button-container {
  display: flex;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1000;
  
  margin: 0.5rem;
  gap: 10px;
  
  justify-content: center;
  align-items: center;
}

.switch-button {
  display: inline-flex;
  
  padding: 0.8rem 1.5rem;
  
  color: #FF9335;
  background-color: #FAFAFA;
  border: none;
  border-radius: 24px;
  
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  
  cursor: auto;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hide switch-buttons if JavaScript disabled */
noscript .switch-button-container, noscript .switch-button {
  display: none;
}


/* Back to Home */
.back-home-button {
  display: inline-flex;
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 1000;
 
  padding: 0.8rem 0.8rem;
  margin: 0.5rem;
  
  color: #FF9335;
  background-color: #FAFAFA;
  border: none;
  border-radius: 24px;
  
  justify-content: center;
  align-items: center;
  
  text-decoration: none;
  font-weight: 500;
  
  cursor: default;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Focus styling for accessibility */
.back-home-button:focus, .switch-button:focus {
  color: #FAFAFA;
  background-color: #FF9335;
}

.back-home-button:hover, .switch-button:hover {
  color: #FAFAFA;
  background-color: #FF9335;
}


/* Media Queries */
@media (max-width: 768px) {
  .back-home-button {
    padding: 0.4rem 0.4rem;
    margin: 0;
    border-radius: 18px;
  }
  .switch-button {
    padding: 0.4rem 0.8rem;
    border-radius: 18px;
  }
  .button-container {
    margin: 0;
  }
}
