
/* TAGS */

html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Source Code Pro", monospace;
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (max-width: 600px) {
  body {
    font-size: 12px;
  }
}

h1 {
  padding-top: 30px;
  padding-bottom: 30px;
  font-size: 2.5em; /* Adjust size as needed */
  margin: 30px 0 0; /* Increase the top margin value */
  font-style: normal;
}

blockquote {
  position: relative;
  padding: 20px;
  margin: 20px auto;
  border-left: 5px solid #f4f4f4; /* Line on the left */
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
  border-radius: 10px; /* Rounded edges */
  font-size: 1.2em; /* Larger font size for the quote */
  font-style: italic; /* Italicize the quote */
  margin-left: 20px; /* Adjust the left padding */
  margin-right: 20px; /* Adjust the right padding */
}

p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-left: 20px; /* Adjust the left padding */
  margin-right: 20px; /* Adjust the right padding */
}

hr {
  width: calc(100% - 300px); /* Full width minus 50px on each side */
  margin: 0 auto; /* Center the line horizontally */
  border: none; /* Remove default border */
  border-top: 2px solid #000; /* Change the color and thickness of the line */
  border-top: 2px solid #e4e4e4; /* Set the color of the line */
}

a {
  color: #e4e4e4;
}

footer {
  width: 100%;
  margin: 0 auto; /* Center the line horizontally */
}

/* CLASSES */

.background {
  background-image: url('../resources/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh; /* Full viewport height */
}

.overlay {
  top: 0;
  left: 0;
  max-width: 1000px;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.logo-container {
  display: inline-block;
  border-radius: 50%; /* Makes the logo circular */
  overflow: hidden; /* Hides anything outside the circle */
  width: 150px; /* Adjust size as needed */
  height: 150px; /* Adjust size as needed */
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the logo fills the circle */
}

.profilepic {
  aspect-ratio: 1;
  object-fit: cover;
  min-width: 100px;
  max-width: 300px;
  width: 50%;
  height: auto;
}

.quote-footer {
  font-style: normal;
  margin-top: 10px;
  font-size: 0.9em;
  color: #e4e4e4;
}

.rounded-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff; /* White background */
  color: #0d1b80; /* Black text */
  border-radius: 20px; /* Rounded corners */
  text-decoration: none; /* Remove underline from the link */
  font-size: 16px; /* Adjust font size as needed */
  text-align: center;
  font-style: bold;
  transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effects */
}

.rounded-button:hover {
  background-color: rgba(255, 255, 255, 0.3); /* Change background color on hover */
  color: #fff; /* Change text color on hover */
}

.row {
  display: flex;
  justify-content: center; /* Center buttons horizontally */
  gap: 10px; /* Space between buttons */
  overflow: hidden; /* Prevent overflow */
}

.responsive-row {
  display: flex;
  justify-content: center; /* Center buttons horizontally */
  gap: 10px; /* Space between buttons */
}

@media (max-width: 600px) {
  .responsive-row {
    flex-direction: column; /* Stack buttons vertically on small screens */
    align-items: center; /* Center buttons */
  }
}

.glow {
  box-shadow: 0 0 30px 5px rgba(255, 255, 255, 0.8); /* White glow */
}

.colorful {
  /* Colorful pastell gradient background */
  background: linear-gradient(135deg, #fac482 0%, #c6ff9a 100%);
}

.colorful:hover {
  background: linear-gradient(135deg, #fac48255 0%, #c6ff9a55 100%);
  color: #fff; /* Change text color on hover */
}

.event {
  width: 80%;
  position: relative;
  margin: 20px auto;
  border: 2px solid #f4f4f4;
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
  border-radius: 15px; /* Rounded edges */
  font-size: 1.2em;
  padding-bottom: 3px;
}

.passed-event {
  width: 80%;
  position: relative;
  margin: 20px auto;
  background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent background */
  border-radius: 15px; /* Rounded edges */
  font-size: 1.2em;
  padding-bottom: 3px;
}

.event-headline {
  width: calc(100% - 40px);
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff; /* White background */
  color: #0d1b80; /* Black text */
  border-top-left-radius: 10px; /* Adjust radius as needed */
  border-top-right-radius: 10px;
}

.passed-event-headline {
  width: calc(100% - 40px);
  display: inline-block;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.8); /* White background */
  color: #0d1b80; /* Black text */
  border-top-left-radius: 10px; /* Adjust radius as needed */
  border-top-right-radius: 10px;
  text-decoration: none; /* Remove underline from the link */
}

.event-details {
  text-align: left;
  margin: 20px;
}

.iframe-container {
  position: relative;
  width: 100%; /* Full width */
  max-width: 600px; /* Maximum width for larger screens */
  aspect-ratio: 560 / 315; /* Maintain 16:9 aspect ratio */
  /* padding-bottom: 56.25%; /* Aspect ratio: height / width * 100 = 315 / 560 * 100 = 56.25% */
  overflow: hidden;
  margin: 0 auto; /* Center the container horizontally */
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 20px);
  height: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

.marginized {
  margin: 0px auto; /* Center the div horizontally and keep 20px vertical margin */
  padding-left: 20px; /* Add internal padding for spacing */
  padding-right: 20px; /* Add internal padding for spacing */
  max-width: 700px; /* Maximum width constraint */
}

.tooltipped {
  position: relative;
  display: inline-block;
  font-size: 0.9em;
}

.tooltipped .tooltip {
  visibility: hidden;
  min-width: 120px;
  background-color: rgb(255, 255, 255); /* Semi-transparent background */
  color: #0d1b80; /* Black text */
  text-align: center;
  padding: 5px 5px;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltipped .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltipped:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.back-to-top {
  display: block;
  visibility: hidden; /* Hidden by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
}
