/* General Page Styling */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

/* Header Styling */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1560bd;
  color: white;
  padding: 15px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .logo {
  display: flex;
  align-items: center;
}

.header .logo img {
  height: 50px;
  margin-right: 15px;
}

.header .name {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

/* Navbar Styling */
.navbar {
  background-color: #e3f2fd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  color: #333;
  font-size: 16px;
  padding: 10px 20px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #1560bd;
  font-weight: bold;
  border-bottom: 2px solid #1560bd;
}

.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1);
}

/* Styling the profile image in the navbar */
.auth img {
  width: 40px;  /* Size of the profile image */
  height: 40px;  /* Size of the profile image */
  border-radius: 50%;  /* Make the image round */
  object-fit: cover;  /* Ensure the image fits the circle */
  margin-left: 10px;  /* Space between the image and the username */
  transition: transform 0.3s ease-in-out;  /* Smooth scaling on hover */
}

/* Hover effect for the profile image */
.auth img:hover {
  transform: scale(1.1);  /* Slightly enlarge the image on hover */
}

/* Optional: Add styling for the username */
.auth a {
  color: #333;  /* Dark color for the username */
  text-decoration: none;  /* Remove underline from the username */
  display: flex;
  align-items: center;
}


/* Main Content Styling */
.main {
  padding: 30px;
}

/* Container for the animated circles */
.all {
display: flex;
justify-content: space-between;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

/* Individual container for each set of circles */
.container1 {
height: 120px;
margin: 0 20px;
position: relative;
}

/* Circle styling */
.container1 .circle {
width: 20px;
height: 20px;
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
}

/* Styling and animation for the first circle */
.container1 .circle:nth-child(1) {
top: 0;
background-color: #ff0000; /* Red */
animation: anim_a 2s infinite ease-in-out;
}

/* Styling and animation for the second circle */
.container1 .circle:nth-child(2) {
top: calc(100% - 20px); /* Adjusted to match circle height */
background-color: #e1e1e1; /* Light Gray */
animation: anim_b 2s infinite ease-in-out;
transform: scale(1.5);
}

/* Animation for the first circle */
@keyframes anim_a {
0% {
top: 0;
z-index: 50;
}
20% {
transform: scale(1.5);
}
50% {
top: calc(100% - 20px); /* Adjusted to match circle height */
}
50.1% {
z-index: 0;
}
75% {
transform: scale(0.8);
z-index: 0;
}
100% {
top: 0;
z-index: 2;
}
}

/* Animation for the second circle */
@keyframes anim_b {
0% {
top: calc(100% - 20px); /* Adjusted to match circle height */
z-index: 1;
}
25% {
transform: scale(0.8);
}
50% {
top: 0;
}
50.1% {
z-index: 2;
}
80% {
transform: scale(1.5);
z-index: 2;
}
100% {
top: calc(100% - 20px); /* Adjusted to match circle height */
z-index: 0;
}
}

/* Staggered animation delays for multiple containers */
.container1:nth-child(2) .circle {
animation-delay: -0.1s;
}
.container1:nth-child(3) .circle {
animation-delay: -0.2s;
}
.container1:nth-child(4) .circle {
animation-delay: -0.3s;
}
.container1:nth-child(5) .circle {
animation-delay: -0.4s;
}
.container1:nth-child(6) .circle {
animation-delay: -0.5s;
}
.container1:nth-child(7) .circle {
animation-delay: -0.6s;
}
.container1:nth-child(8) .circle {
animation-delay: -0.7s;
}
.container1:nth-child(9) .circle {
animation-delay: -0.8s;
}
.container1:nth-child(10) .circle {
animation-delay: -0.9s;
}
.container1:nth-child(11) .circle {
animation-delay: -1s;
}
.container1:nth-child(12) .circle {
animation-delay: -1.1s;
}
.user-icon img {
width: 20px;
height: 20px;
object-fit: cover; /* Ensures the image fits within the specified width and height */
border-radius: 50%; /* Makes the image round */
background-color: transparent; /* Ensures the background remains transparent */
}

/* Footer Styling */
.footer {
  background-color: #1560bd;
  color: white;
  padding: 20px; /* Increased padding for more space */
  text-align: center;
  font-size: 14px; /* Increased font size for better visibility */
  transition: transform 0.3s ease; /* Smooth transition for showing/hiding */
  position: relative; /* Ensure it stays in the flow of the document */
}

.footer a {
  color: white;
  text-decoration: underline;
}

.floating-container {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
border: 2px solid #ccc;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
display: none;
z-index: 9999;
}

.floating-container .close-btn {
position: absolute;
top: 5px;
right: 10px;
font-size: 20px;
cursor: pointer;
background: transparent;
border: none;
}

/* Optional styling for the container */
.floating-container .content {
padding: 20px;
}
.btn-link{
margin:2px;
}



.auth {
  display: flex;            /* Set the container to a flexbox layout */
  align-items: center;      /* Vertically center the items in the flex container */
}

.display_name {
  font-size: 16px;          /* Set font size for the name */
  font-weight: bold;        /* Make the text bold */
  color: #333;              /* Set text color */
}

#show_name {
  text-align: center;       /* Center-align the text */
}
