/* ===== MOBILE ONLY ===== */

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;

  background: repeating-linear-gradient(
    0deg,
    #4f86b8,
    #4f86b8 10px,
    #ffffff 10px,
    #ffffff 20px
  );
}

.container {
  width: 92% !important;
  max-width: 92% !important;

  margin: 15px auto;
  padding: 12px;

  background: #ececec;
  border: 4px solid #1d1675;
  border-radius: 18px;

  box-sizing: border-box;
}

/* HEADER */
.header {
  font-size: 42px;
  text-align: center;
  color: #2b178f;

  text-shadow:
    3px 3px #8b6db7,
    -1px -1px white;

  margin-bottom: 10px;
}

/* NAV */
.nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav button {
  width: 100%;
  padding: 10px;

  border-radius: 12px;
  border: 2px solid #666;

  background: linear-gradient(#d9d9d9, #bfbfbf);

  font-size: 16px;
}

/* CONTENT WRAPPING */
.content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.left,
.right {
  width: 100% !important;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* BOXES */
.box {
  background: #f3f3f3;

  border: 2px solid #3e82c4;
  border-radius: 14px;

  padding: 10px;
  box-sizing: border-box;

  /* auto sizing */
  flex: 1 1 300px;
}

/* make longer text sections full width automatically */
.box:has(p),
.box:has(.grid:first-child:last-child) {
  flex-basis: 100%;
}

/* TITLES */
.box-title {
  background: #1f1a84;
  color: white;

  padding: 6px 10px;
  border-radius: 10px;

  margin-bottom: 10px;

  font-size: 18px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* PLAYER */
.player,
.window {
  width: 100% !important;
  max-width: 100%;
}

/* TEXT */
p {
  font-size: 15px;
  line-height: 1.4;
}

/* TABLES */
table {
  width: 100%;
  font-size: 12px;
}

/* IMAGES */
img {
  max-width: 100%;
  height: auto;
}