/* ==================
Body & Global
================== */

html {
  background-color: #dbecfc;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 16px;
  font-family: Verdana, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
  min-height: 100dvh;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  background-color: #dbecfc;
  border: 5px solid #087ce4;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 0;
}

h4 {
  margin-top: 1em;
  margin-bottom: 0.1em;
}

a {
  color: #0000ff;
  text-decoration: none;
}

a:hover,
a:active {
  color: #2a623d;
}

p {
  margin-top: 1em;
  margin-bottom: 0.1em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ==================
Page Header
================== */

#header {
  width: 100%;
  height: 200px; /* fixed height for the banner */
  background: url(drakirimages/SoloLeveling.gif) no-repeat center center;
  background-size: 100% 100%; /* stretch to fill exactly */
  border-radius: 5px 5px 0 0;
  text-align: center;
  line-height: 1.2;
  color: #fff;
  font: 150% "Lucida Bright", Georgia, serif;
  font-variant: small-caps;
  text-shadow: -3px -2px #0000ff;
  margin-top: 0;
  margin-bottom: 1.5em;
  padding: 1em 0;
}

#header h1 {
  margin: 0;
  margin-top: 1em;
  padding: 0;
  font-size: 3em;
}

/* ==================
Tabbed Build
================== */

.tabGroup {
  font: 14pt Arial, Verdana, sans-serif;
  width: 100%;
  max-width: 950px;
  height: auto;
  margin: auto;
}

.tabGroup > input[type="radio"] {
  position: absolute;
  left: -100px;
  top: -100px;
}

.tabGroup > input[type="radio"] + label {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #1f222b;
  border-radius: 5px 5px 0 0;
  border-bottom: 0;
  background-color: #a4bcc4;
  cursor: pointer;
  font-size: 0.9em;
  user-select: none;
  transition: background-color 0.2s, font-weight 0.2s;
}

.tabGroup > input[type="radio"]:focus + label {
  border: 1px solid #1f222b;
}

.tabGroup > input[type="radio"]:checked + label {
  background-color: #d9e0e2;
  font-weight: bold;
  border-bottom: 1px solid #d9e0e2;
  margin-bottom: -1px;
}

.tabGroup > div {
  display: none;
  padding: 10px;
  border: 1px solid #1f222b;
  border-radius: 0 5px 5px 5px;
  background-color: #d9e0e2;
  overflow: auto;
  box-shadow: 0 0 20px #8f9294;
  margin-bottom: 1em;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.tab1:checked ~ .tab1,
.tab2:checked ~ .tab2,
.tab3:checked ~ .tab3,
.tab4:checked ~ .tab4 {
  display: block;
  opacity: 1;
}

/* ==================
Two-Column Layout
================== */

.tab-columns-2 {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tab-columns-2 .column {
  flex: 1;
  min-width: 280px;
}

/* Mobile: stack into single column */
@media (max-width: 768px) {
  .tab-columns-2 {
    flex-direction: column;
  }
}

/* ==================
Fonts & Text
================== */

.font1 {
  font: 16px Verdana, sans-serif;
  text-align: justify;
  text-justify: inter-word;
}

/* ==================
Social Links
================== */

.social-links {
  list-style: none; /* remove bullets */
  padding: 0;
  margin: 0;
}

.social-links li {
  list-style: none; /* double reset for safety */
  margin: 0;
  padding: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  padding: 0.25em 0.5em;
  color: #000;
  border-radius: 0.25em;
  transition: color 0.2s, background-color 0.2s;
  font: inherit;
  line-height: 1.5;
  max-width: 100%;
  word-break: keep-all;
  text-decoration: none;
}

.social-links a img {
  width: 24px; /* fixed size */
  height: 24px;
  margin-right: 0.5em;
  vertical-align: middle;
  transition: transform 0.2s;
}

.social-links a:hover {
  color: #0c2d86;
  background-color: rgba(51, 23, 207, 0.1);
}

.social-links a:hover img {
  transform: scale(1.15);
}

/* Mobile tweak */
@media (max-width: 600px) {
  .social-links a img {
    width: 18px;
    height: 18px;
  }
  .social-links a {
    font-size: 0.9em;
  }
}

/* ==================
Arrow Bullets List
================== */

.bullet-arrows {
  list-style: none; /* Remove default bullets */
  padding-left: 1.2em; /* Indent a little */
}

.bullet-arrows li::before {
  content: "\27A3"; /* Unicode ➣ */
  margin-right: 0.5em;
  color: black; /* Change color if you want */
}

/* ==================
Calendar Frame
================== */

.calendar-container {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.calendar-container iframe {
  width: 100%;
  min-height: 600px;
  border-radius: 5px;
  /* ensure + button visible */
  border: 1px solid #777;
  box-shadow: 0 0 20px #8f9294;
}

@media (max-width: 600px) {
  .calendar-container iframe {
    min-height: 500px;
  }
}

/* ==================
Media Queries for Mobile
================== */

@media (max-width: 768px) {
  #header h1 {
    font-size: 1.2em;
  }

  .tabGroup {
    width: 100%;
  }

  .tabGroup > input[type="radio"] + label {
    font-size: 0.85em;
    padding: 4px 8px;
  }
}
