@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap");

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background-image: url("./03-Dashboard-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
  overflow-y: hidden;
  font-family: "Montserrat", sans-serif;
}

/* --- Top Section --- */
.top-wrapper {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  gap: 20px;
}

.top-bar {
  height: 60px;
  background-color: #000e47;
  color: #fff;
  overflow: hidden;
  padding: 0 20px;
  border: 2px dotted #fedf08;
  border-radius: 4px;
  display: flex;
  align-items: center;
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 600;
  flex: 1;
}

.top-bar marquee {
  line-height: 24px;
}

.scrolling-text-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 30s linear infinite;
  font-size: 16px;
  line-height: 60px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* --- Exit Button --- */
.img-only-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.img-only-button img {
  width: 85px;
  height: auto;
}

.exit-button {
  height: 60px;
  display: flex;
  align-items: center;
}

.exit-button:hover {
  box-shadow: 0 0 12px 4px rgba(0, 255, 0, 0.6);
}

.ticket-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px; /* No gap so ticket edges align */
  flex-wrap: wrap;
  margin-top: 150px;
}

/* Left side of the ticket */
.ticketblock01 {
  width: 250px;
  background-color: #fbfbfb;
  border-radius: 10px 0 0 10px;
  padding: 20px;
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  position: relative;
}

/* Right side of the ticket */
.ticketblock02 {
  background-color: #fbfbfb;
  color: black;
  padding: 30px;
  border-radius: 0 10px 10px 0;
  max-width: 600px;
  min-width: 280px;
  font-size: 16px;
  line-height: 1.8;
  position: relative;
}

/* Perforated edges — left and right */
.ticketblock01::before,
.ticketblock01::after,
.ticketblock02::before,
.ticketblock02::after {
  content: "";
  position: absolute;
  width: 6px;
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      #fbfbfb 50%,
      #fbfbfb 100%
    ) -8px -7px / 16px 16px repeat-y;
  top: 5px;
  height: calc(100% - 10px);
}

.ticketblock01::before,
.ticketblock02::before {
  left: -5px; /* Left perforation */
}

.ticketblock01::after,
.ticketblock02::after {
  right: -5px; /* Right perforation */
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      #fbfbfb 50%,
      #fbfbfb 100%
    ) -2px -7px / 16px 16px repeat-y;
}
/* Profile image inside left block */
.profile-img {
  width: 80%;
  border-radius: 5px;
  margin-bottom: 16px;
}

.name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.title {
  font-size: 14px;
  font-style: italic;
  margin-top: 4px;
  color: #333;
}

.aboutme-text {
  font-size: 16px;
  line-height: 1.7;
  color: black;
}

/* --- Footer --- */
footer.footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  color: white;
  background: transparent;
  font-size: 16px;
}

.footer .mail,
.footer .text-left,
.footer-items {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-items img {
  height: 24px;
}

footer.footer .text-left,
footer.footer .mail {
  white-space: nowrap;
}

footer.footer .mail a {
  color: white;
  text-decoration: underline;
  font-weight: 500;
}

.footer-items {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.cv-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #222;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  font-family: "Pixelify Sans", sans-serif;
  transition: background-color 0.3s ease;
}

.cv-button:hover {
  background-color: #555;
}
