html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-image: url("../img/backback.jpg");
  background-repeat: repeat;
  background-size: auto;
  background-color: #202020;
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: hsl(0, 0%, 20%);
}

body {
  min-height: 100vh;
}

/* Scrollbars verstecken */
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

.container {
  width: 740px;
  height: 100vh;
  margin: 0 auto;
  background: #fff;
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Banner */

.banner {
  height: 120px;
  background: url("../img/banner7.png") center/cover no-repeat;
  border-bottom: 1px solid #aaa;
  flex-shrink: 0;
}

/* Navigation */

nav {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid #aaa;
  background: #fefefe;
  flex-shrink: 0;
}

nav a {
  padding: 6px 12px;
  color: #333;
  text-decoration: none;
  border-right: 1px dotted #aaa;
}

nav a:last-child {
  border-right: none;
}

/* Layout */

.content {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Sidebar */

.sidebar {
  width: 270px;
  border-right: 1px solid #aaa;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  min-height: 0;
}

.profile-pic {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #aaa;
  margin-bottom: 10px;
}

.info-box {
  border: 1px dotted #aaa;
  padding: 8px;
  background: #fdfdfd;
  margin-bottom: 12px;
  color: #8B8386;
}

.info-box p {
  border: 1px dotted #aaa;
  padding: 4px;
  margin: 6px 0;
}

.info-box span {
  color: #8B8386;
  font-weight: bold;
}

/* Kalender */

.calendar {
  border: 1px dotted #aaa;
  padding: 6px;
  text-align: center;
  color: #8B8386;
}

.calendar table {
  width: 100%;
  border-collapse: collapse;
}

.calendar th,
.calendar td {
  border: 1px dotted #aaa;
  padding: 4px;
}

.calendar th[colspan="7"] {
  font-weight: bold;
}

.calendar .today {
  color: #555;
  font-weight: bold;
}

/* Main = NUR HIER SCROLLT ES */

.main {
  flex: 1;
  padding: 10px;
  padding-bottom: 110px;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  position: relative;
}

.section {
  border: 1px solid #aaa;
  padding: 8px;
  margin-bottom: 12px;
}

.section h2 {
  margin-top: 0;
}

/* Grid Box */

.grid2 {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.left-img img {
  width: 200px;
  height: 160px;
  object-fit: cover;
  border: 1px solid #aaa;
  display: block;
}

.scrollbox {
  border: 1px solid #aaa;
  padding: 8px;
  overflow-y: auto;
  height: 160px;
  flex: 1;
  box-sizing: border-box;
}

/* Chatbox + Steam Layout */

.grid2-box {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* Chatbox */

.chatbox {
  border: 1px solid #aaa;
  padding: 8px;
  flex: 1;
}

.chatbox iframe {
  border: 2px dotted #aaa;
  border-radius: 8px;
}

/* Emoji */

.emoji-box {
  border: 1px dotted #aaa;
  padding: 6px;
  margin-bottom: 8px;
}

.emojis {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.emojis span {
  border: 1px dotted #aaa;
  padding: 4px 6px;
  cursor: pointer;
  background: #fafafa;
}

.emojis span:hover {
  background: #eee;
}

.emojis span.copied {
  background: #ccc;
}

/* Steam Bereich */

.stream-img {
  width: 220px;
}

.steam-logo {
  width: 220px;
  margin-bottom: 8px;
}

.steam-links {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.stream-img a {
  display: inline-block;
}

.steam-link {
  width: 50px;
}

/* Footer FIX UNTEN */

.footer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 740px;
  padding: 10px;
  font-size: 11px;
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  background: #fafafa;
  color: #555;
  box-sizing: border-box;
  z-index: 30000;
}

.footer-row {
  display: flex;
  justify-content: space-between;
}

.footer-stickers {
  display: flex;
  gap: 6px;
}

.footer-stickers img {
  height: 28px;
}

h2 {
  font-family: "Trebuchet MS", sans-serif !important;
}

/* Character Overlay */

.overlay-img {
  position: fixed;
  right: 250px;
  bottom: -40px;
  width: 350px;
  pointer-events: none;
  z-index: 40000;
}

/* GIF Column */

.gif-column {
  position: fixed;
  left: 10px;
  top: 10px;
  display: flex;
  gap: 6px;
  z-index: 9999;
  pointer-events: none;
}

.gif-column .gif-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gif-column img {
  width: 150px;
}

/* Rechte Overlays */

.overlay-r1,
.overlay-r2,
.overlay-r3,
.overlay-r4 {
  position: fixed;
  pointer-events: none;
  z-index: 15;
}

.overlay-r1 {
  right: 230px;
  top: 40px;
  width: 170px;
}

.overlay-r2 {
  right: 260px;
  top: 260px;
  width: 220px;
}

.overlay-r3 {
  right: 0;
  top: 0;
  width: 260px;
}

.overlay-r4 {
  right: 0;
  bottom: 0;
  width: 260px;
}

/* Linke Overlays */

.overlay-l1,
.overlay-l2 {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
}

.overlay-l1 {
  left: 120px;
  bottom: 0;
  width: 230px;
}

.overlay-l2 {
  left: 230px;
  bottom: 180px;
  width: 170px;
}

/* SMISKI FIXIERT */

.smiski1,
.smiski2,
.smiski3,
.smiski4 {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
}

.smiski1 {
  top: 0px;
  right: 245px;
  width: 110px;
}

.smiski2 {
  left: 235px;
  top: 275px;
  width: 55px;
}

.smiski3 {
  left: 380px;
  top: 338px;
  width: 65px;
}

.smiski4 {
  left: 560px;
  top: 516px;
  width: 55px;
}

/* Mobile */

@media (max-width:700px){

  html, body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .container {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    min-height: 100vh;
    border-left: none;
    border-right: none;
  }

  .content {
    flex-direction: column;
    height: auto;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #aaa;
  }

  .main {
    width: 100%;
    overflow: visible;
    padding-bottom: 20px;
  }

  .grid2,
  .grid2-box {
    flex-direction: column;
  }

  .overlay-img {
    right: 0;
    width: 160px;
  }

  .gif-column {
    display: none;
  }

  .overlay-r1,
  .overlay-r2,
  .overlay-r3,
  .overlay-r4,
  .overlay-l1,
  .overlay-l2,
  .smiski1,
  .smiski2,
  .smiski3,
  .smiski4 {
    display: none;
  }

  .footer {
    position: static;
    transform: none;
    width: 100%;
    border-left: none;
    border-right: none;
  }
}