/* ==RESET== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: white;
  max-width: 100%;
  font-family: Candara, Calibri, Segoe, Segoe UI, Optima, Arial, sans-serif;
}

/* ===COLORS=== */
:root {
  --grad-pink-cyan: linear-gradient(180deg,
      #d403e1 0%,
      #b85cf2 45%,
      #03ccff 100%);

  --grad-electric-cyan: linear-gradient(180deg,
      #03ccff 0%,
      #6ae1ff 50%,
      #b7feff 100%);

  --grad-cyan-purple: linear-gradient(300deg,
      #09bfff 0%,
      #4fa3d1 50%,
      #460071 100%);

  --grad-magenta-deep: linear-gradient(180deg,
      #460071 0%,
      #6b0fa8 50%,
      #d403e1 100%);

  --white-to-magenta: linear-gradient(180deg, white 0%, #d403e1 100; );

  --grad-cyan-purple-radial: radial-gradient(circle farthest-corner at center,
      #09bfff 0%,
      #4fa3d1 50%,
      #460071 100%);
  --grad-electric-cyan-radial: radial-gradient(circle,
      #b7feff 0%,
      #6ae1ff 80%,
      #03ccff 100%);
  --grad-video-card:
    linear-gradient(45deg, #460071 0%, #4fa3d1 50%, #09bfff 100%),
    linear-gradient(225deg, #460071 0%, #4fa3d1 50%, #09bfff 100%);
  --gold-soft: #e6c87a;
}


/* ===UTILITY=== */
.round {
  border-radius: 15px;
}

#alertMessage {
  background-color: #444;
}

#itovibutton {
  border-radius: 15px;
  padding: 10px 20px;
  border: none;
  background: var(--grad-electric-cyan);
  color: white;
  cursor: pointer;
  background-size: 100%;
  background-position: center;
}

/* ===NAV=== */
.logo {
  width: 40px;
  height: 40px;
  background: var(--gold-soft);
  border-radius: 50%;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* ===PORTRAITS=== */
.portrait {
  height: 60vh;
  background-position: center;
  background-size: cover;
  color: transparent;
  background-repeat: no-repeat;
}

.portrait-1 {
  background-image: url("Timi.jpeg");
}

.portrait-2 {
  background-image: url("Vivi.jpeg");
  background-size: 135%;
}

.portrait-3 {
  background-image: url("Petra.png");
  background-position-x: calc(5* -11px);
}

#popup {
  padding: 0.5em;
  background: var(--grad-pink-cyan);
  width: 30em;
  max-width: 90%;
  height: max-content;
  visibility: collapse;
  overflow: hidden;
  display: block;
  position: sticky;
  bottom: 4em;
  left: 50%;
  transform: translateX(-50%);
  word-wrap: break-word;
  z-index: 2000;
}

#popup button {
  border-style: none;
  background: transparent;
  width: 1em;
  position: absolute;
  right: 0.25em;
}

h3 {
  display: inline;
}


/* ===IMAGES=== */
.wide-image {
  height: 40vh;
  background: url("HeaderImage2_pay to get.jpg") center / cover no-repeat;
}

.image-left {
  height: 100%;
  min-height: 280px;
  background: #ddd;
}

#reglog {
  position: fixed;
  top: 50%;
  left: 50%;
  /* This keeps the center of the box at the center of the screen */
  transform: translate(-50%, -7.5%);

  width: 50%;
  min-width: 300px;
  max-width: 600px;

  /* Start with hidden properties */
  height: 0;
  opacity: 0;
  overflow: hidden;

  /* Important: Ensure the transition only affects the properties you change */
  transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out;

  background: var(--grad-cyan-purple-radial);
  z-index: 2000;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Ensure inputs and buttons inside are visible */
#reglog input,
#reglog button {
  color: black;
  width: 85%;
  /* Slightly wider for better looks */
  margin: 0.5em auto;
  display: block;
  /* Simpler centering than margin-left 50% */
  border-style: none;
  border-radius: 5px;
  padding: 0.4em;
  text-align: center;
}

#reglogtitle {
  margin-top: 0.5em;
}

#reglogbutton {
  margin-bottom: 1em;
}

@media (max-width: 769.98px) {


  .image-left {
    display: none;
  }
}

/* ===COLOR BLOCKS=== */
.color-block {
  height: 120px;
}

.color-block.light {
  background: #eee;
}

.color-block.dark {
  background: #444;
}

.box {
  height: 20vh;
  aspect-ratio: 1;
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

.image_container {
  background: #ccc;
  background-position: center;
  background-size: cover;
}

.scroll-card {
  overflow-y: auto;
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 0.5em;
}

.icon-row .box {
  width: 100px;
  /* fixed width */
  height: 100px;
  flex: 0 0 auto;
  /* disables flex resizing */
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

.navbar {
  display: block;
  position: sticky;
  top: 0;
}

footer {
  height: 2em;
  text-decoration: none;
  background: var(--grad-cyan-purple);
  display: block;
  position: sticky;
  bottom: 0;
  padding-left: 0.5em;
}

@media (pointer: coarse) {
  footer {
    height: auto;
    /* Matches content height */
    padding: 1em 0.5em;
    /* Add vertical padding for better touch spacing */
    position: static;
    /* Moves it to the bottom of the document flow */
  }

  body {
    width: 100%;
  }
}

/*misc => fixing what other stuff breaks:    */


/*making hamburger menu animations not trigger when clicking on the trigger on larger sizes*/
@media (min-width: 768px) {
  .collapsing {
    -webkit-transition: none !important;
    transition: none !important;
    display: none;
  }

  .navbar-collapse.collapse {
    display: flex !important;
    height: auto !important;
    transition: none !important;
  }

  .portrait {
    height: 75vh;
  }
}