body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #929292;
  color: #333;
  text-align: center;
}

header {
  background-color: #333;
  color: white;
  padding: 20px;
  position: relative;
}

header h1 {
  margin: 0;
  font-size: 2em;
}

header p {
  margin: 5px 0 0;
  font-size: 1.1em;
}

#chat::-webkit-scrollbar {
  width: 6px;
}

#chat::-webkit-scrollbar-track {
  background: transparent;
}

#chat::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 3px;
}

.main-content {
  padding: 20px;
}

.main-photo {
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
}

.description {
  margin-top: 20px;
  font-size: 1.2em;
  line-height: 1.6;
}

footer {
  background-color: #222;
  color: #ccc;
  padding: 20px 0;
  font-size: 0.9em;
}

footer a {
  color: #ffcc00;
  text-decoration: none;
}

.header-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.header-text {
  text-align: center;
  max-width: 100%;
}

.header-text h1 {
  margin: 0;
  font-size: 2em;
}

.header-text p {
  margin: 5px 0 0;
  font-size: 1.1em;
}

.header-link {
  align-self: start;
}

.header-button-container {
  position: absolute;
  top: 20px;
  right: 30px;
}

.live-button {
  background-color: #ffcc00;
  color: #000;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.live-button:hover {
  background-color: #e6b800;
}


@media  only screen and (orientation: portrait) {
  header {
    background-color: #333;
    color: white;
    padding: 45px;
    padding-bottom: 10px;
    position: relative;
  }

  #admin-panel-link {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 2;
  }

  .header-button-container {
    position: static;
    text-align: center;
    margin-bottom: 15px;
  }

  .live-button {
    font-size: 0.9em;
    padding: 6px 14px;
    margin-bottom: 12px;
    background-color: transparent;
    border: 2px solid #ffcc00;
    color: #ffcc00;
    border-radius: 6px;
  }


  .live-button:hover {
    background-color: #ffcc00;
    color: #000;
  }

  .header-text h1 {
    font-size: 1.4em;
    margin-top: 5px;
  }

  .header-text p {
    font-size: 0.95em;
    margin: 4px 0;
  }
  .description {
    margin-top: 0px;
  }
}
