/* Basic reset to remove default browser spacing */
body, ul {
    margin: 0;
    padding: 0;
}

.site-header {
    background-color: #333; /* Dark background color */
    color: white;
	height: 80px;
    /*padding: 0px 0%; /* Space inside the header */
	position: relative;/* Use flexbox for layout */
}

.site-background {
	background-image: url("Background.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: -1;
	background-attachment: fixed;
}

.site-sidebar {
	height: 100%;
	width: 7%;
	z-index: 2;
	position: fixed;
    background-color: #787878; /* Dark background color */
    color: white;
    padding: 0px 0px; /* Space inside the header */
    display: flex; /* Use flexbox for layout */
    
	/*justify-content: space-between; /* Pushes logo to left, nav to right */
    align-items: center; /* Vertically centers the items */
}


.register-form {
  width: clamp(280px, 40vw, 400px);
  padding: 2rem;
  opacity: 0;
  margin-left: 37%;
  margin-top: 3%;
  background: #4069b4;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: opacity 0.33s;
  opacity: 1.0;
  animation: fadeInUp 0.5s ease forwards;
}

.error-box {
  width: clamp(280px, 40vw, 400px);
  padding: 1rem;
  opacity: 0;
  margin-left: 37.8%;
  margin-top: 1%;
  background: #a21b1b;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: opacity 0.33s;
  animation: fadeInUp 0.5s ease forwards;
}

.logo {
	height: 100%;
	width: auto;
    position: absolute;
	left: 50%;
	transform: translateX(-50%);
	transform: translate(-50%, 0%);
}

/* Container for the dropdown button and content */
.dropdown {
  position: relative; /* Needed to position the dropdown content correctly below the button */
  display: flex;
}

/* Style the dropdown button */
.dropbtn {
  background-color: #4069b4;
  color: white;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  visibility: hidden;
  font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
  opacity: 0;
  transform: translateY(-25%);
  transition: transform 0.33s ease,
  opacity 0.33s ease;

  display: block; /* Hide the content initially */
  position: absolute; /* Position it relative to the parent .dropdown container */
  margin-top: 60%;
  background-color: #5e6a80;
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1; /* Ensure it appears above other elements */
}

.sidebar-button-container {
  visibility: hidden;
  font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
  transform: translateY(-25%);

  display: block; /* Hide the content initially */
  position: absolute; /* Position it relative to the parent .dropdown container */
  margin-top: 60%;
  background-color: #5e6a80;
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1; /* Ensure it appears above other elements */
}

/* Links inside the dropdown */
.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
  display: block; /* Make links take the full width */
}


/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #92a1bd;
}

/* Show the dropdown menu when the user mouses over the dropdown container */
.dropdown:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0%);
  visibility: visible;
}

.dropdown-container {
  display: flex;
  justify-content: center; /* centers them horizontally */
  gap: 20px;              /* space between buttons */
  margin-top: 25px;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

.colored-box {
	margin-left: 28.7%;
	margin-top: 3%;
	height: 900px;
	width: 800px;
	background-color: #4069b4;
	border: 32px solid #4f7fd5;
}

.colored-box-content {
	clear: both;
	float: left;
	width: 100%;
	box-sizing: border-box;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
	
}

.colored-box-content-small {
	background-color: white;
	clear: both;
	float: left;
	width: 45%;
	height: 66%;
	box-sizing: border-box;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
}
.colored-box-content-small2 {
	background-color: white;
	clear: both;
	float: left;
	width: 45%;
	height: 66%;
	margin-left: 50%;
	box-sizing: border-box;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Starts slightly below final position */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Ends at final position */
    }
}

/* Apply the animation to the body or a main container */

.topbar {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.topbar a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
}

.button-link {
  /* Remove default link styling */
  text-decoration: none;
  color: white; /* Text color */
  
  /* Add button-like styling */
  background-color: #007bff; /* Button color */
  padding: 10px 20px; /* Space around the text */
  border-radius: 5px; /* Rounded corners */
  border: 1px solid #0056b3; /* Border */
  cursor: pointer; /* Changes cursor to a hand pointer */
  text-align: center;
}

.button-link:hover {
  background-color: #0056b3; /* Hover effect */
}

.under-boxes {
  display: flex;
  flex-direction: row;
}

.under-box {
	background-color: white;
	clear: both;
	float: left;
	width: 45%;
	height: 66%;
	box-sizing: border-box;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
}