
/* =========================================================
   FONTS
   ========================================================= */

@font-face{
  font-family:"LTOksana";
  src:url("https://maxwelldemille.com/fonts/LTOksana/LTOksana.woff") format("woff"),
      url("https://maxwelldemille.com/fonts/LTOksana/LTOksana.ttf") format("truetype"),
      url("https://maxwelldemille.com/fonts/LTOksana/LTOksana.svg#LTOksana") format("svg");
  font-display:swap;
}

/* =========================================================
   ROOT TYPE SCALING (ONE KNOB)
   ========================================================= */

*{ box-sizing:border-box; }

html{ font-size:14px; }

@media (min-width:1024px){
  html{ font-size:18pt; }
}

/* =========================================================
   GLOBAL TYPOGRAPHY / LAYOUT
   ========================================================= */

html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

body,
a,
p,
h1, h2, h3, h4, h5, h6{
  font-family:"LTOksana", Arial, sans-serif !important;
  letter-spacing:2px;
  color:white;
  overflow:visible;
}

body{
  margin:0;
  padding:0;
  background-image:url("brown_paper.gif");
  background-color:black;
  line-height:1.5;

  /* CENTERING FOR NON-P ELEMENTS */
  text-align:center;
}

/* Paragraphs JUSTIFIED (as requested) */
p{
  font-size:1rem;
  margin:1.1rem 0;
  line-height:1.5;

  text-align:justify;
  text-justify:inter-word;

  hyphens:none;
  -webkit-hyphens:none;
  -ms-hyphens:none;
}

/* Headings centered */
h1, h2, h3, h4, h5, h6{ text-align:center; }

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:768px){
  body{
    background-image:url("brown_paper.gif");
    margin:0;
    padding:0;
  }
  p{
    margin:0.9rem 0;
    line-height:1.45;
  }
}

/* =========================================================
   IMAGES & BANNERS
   ========================================================= */

img{ max-width:100%; height:auto; }

.poster{
  width:100%;
  max-width:590px;
  height:auto;
  display:block;
  margin:15px auto;
}

@media (max-width:768px){
  .poster{ max-width:350px; }
}

.banner{
  max-width:590px;
  height:auto;
  margin:15px auto;
  display:block;
  border:3px outset #663300;
  box-shadow:5px 5px 5px black;
  border-radius:20px;
}

@media (max-width:768px){
  .banner{ max-width:350px; }
}

.image{
  border:3px outset #663300;
  box-shadow:5px 5px 5px black;
  border-radius:20px;
}

/* =========================================================
   CONTENT COLUMN WIDTH
   ========================================================= */

.centered-div{
  width:100%;
  max-width:100%;
  padding:16px;
  margin:0 auto;
  background-image:url("brown_paper.gif");

  /* keep centered items centered */
  text-align:center;
}

@media (min-width:1024px){
  .centered-div{
    max-width:880px;
    padding:30px;
  }
}

/* =========================================================
   LINKS
   ========================================================= */

a{
  color:white;
  text-decoration:none;
  letter-spacing:2px;
}

a:hover{
  color:gold;
  text-decoration:underline;
  font-weight:bold;
}

/* =========================================================
   MENU
   ========================================================= */

.menu{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:5px;
  padding:10px;
}

.menu-item{
  display:block;
  max-width:150px;
  height:auto;
  padding:5px;
  transition:transform 0.3s ease;
}

.menu-item:hover{ transform:scale(1.05); }

@media (max-width:768px){
  .menu-item{ max-width:121px; }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.rounded-button{
  display:inline-block;
  background-color:#004400;
  color:white;
  text-decoration:none;
  padding:0.6rem 1.1rem;
  border-radius:25px;
  font-family:mousedeco, sans-serif;
  font-size:1rem;
  font-weight:bold;
  text-align:center;
  border:2px solid #5c5c5c;
  box-shadow:
    2px 2px 4px #ffffff inset,
   -2px -2px 4px #a5a5a5 inset;
  transition:background-color 0.3s ease, transform 0.2s ease;
}

.rounded-button:hover{
  background-color:#ca7c09;
  color:black;
  transform:scale(1.05);
}

.rounded-button.large{ font-size:1.25rem; }

/* =========================================================
   MEDIA
   ========================================================= */

.video-container{
  position:relative;
  padding-bottom:56.25%;
  height:0;
  overflow:hidden;
  max-width:100%;
  background:#000;
  border-radius:8px;
  margin:20px auto;
}

.video-container iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

/* =========================================================
   SECTION DIVIDER
   ========================================================= */

.section-divider{
  border:0;
  height:2px;
  background:#663300;
  margin:2rem auto;
  max-width:100%;
}

/* =========================================================
   ON AIR SIGN (RESPONSIVE + HARD CUTS)
   ========================================================= */

:root{
  --onair-max-width:200px;
  --onair-cycle:2000ms;
}

.onair-sign{
  width:min(70vw, var(--onair-max-width)) !important;
  margin:0 auto !important;
  padding:0 !important;
  display:block !important;
  overflow:hidden !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  line-height:0 !important;
  font-size:0 !important;
}

.onair-wrapper{
  position:relative !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

.onair-wrapper img{
  width:100% !important;
  height:auto !important;
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

.onair-frame1{ animation:onair1 var(--onair-cycle) steps(1,end) infinite !important; }
.onair-frame2{
  animation:onair2 var(--onair-cycle) steps(1,end) infinite !important;
  position:absolute !important;
  inset:0 !important;
}

@keyframes onair1{ 0%,100%{opacity:1;} 50%{opacity:0;} }
@keyframes onair2{ 0%,100%{opacity:0;} 50%{opacity:1;} }

@media (prefers-reduced-motion: reduce){
  .onair-frame1, .onair-frame2{ animation:none !important; }
  .onair-frame2{ display:none !important; }
}

/* =========================================================
   SCHEDULE BOX
   ========================================================= */

.schedule-wrapper{
  display:flex;
  justify-content:center;
  width:100%;
}

.schedule-box{
  background:#440000;
  border:3px solid black;
  border-radius:12px;
  padding:1rem;
  display:inline-block;
  margin:0 auto;
  text-align:center;
}

/* IMPORTANT: override your global p justification INSIDE the schedule box */
.schedule-box p{
  text-align:center;
  text-justify:auto;
}

.center-image{
  display:block !important;
  margin:20px auto !important;
}