@charset "utf-8";
/* my-teacher.css | Thrash 2025-09-26 | Final NivoSlider styling */

/* ==== Base page styles ==== */
html, body {
  height: 100%;
}

body {
  position: relative;
  min-height: 100%;
  background-image: url("../images/backg16.gif");
  margin: 0 auto;
  padding: 0;
}

footer {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 795px;
  width: 100%;
  height: 100px;
  padding: 10px;
}

section {
  max-width: 795px;
  margin: 25px auto;
  padding: 20px;
  background-color: #000;
  border: 3px #222 solid;
  border-radius: 25px;
  box-shadow: 10px 10px 35px #888;
  color: rgba(255, 0, 0, 0.5);
}

h1 {
  color: #FFF;
  text-align: center;
  text-shadow: 2px 2px 2px #000;
}

h2 {
  color: #F00;
  text-align: center;
  text-shadow: 2px 2px 2px #FF0;
}

.button {
    color: #FF0;
    background-color: #000;
    border: 2px solid;
    border-color: #B62C03 #D22E04 #D22E04 #B62C03;
    padding: 2px 5px;
    cursor: pointer;
    font-family: georgia, "Times New Roman", serif;
    font-size: 16px;
    height: 30px;
    width: 120px;
    margin: 20px auto; /* centers horizontally */
    display: block;     /* ensures margin auto works */
    position: relative;
    top: 20px;          /* pushes it down from the top */
}

#center {
  position: fixed;
  bottom: 10%;
  left: 35%;
}

/* ==== Slider wrapper & loader ==== */
#slider-wrapper {
  position: relative;
  overflow: hidden;
  min-height:320px; /* ← set this roughly to your slide height */
}

#slider-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

#slider-loader img {
  width: 48px;
  height: 48px;
}

.slider-ready #slider-loader {
  display: none !important;
}

/* ==== NivoSlider core overrides ==== */
.nivoSlider {
  position: relative !important;
  background-color: #000 !important;
}

.nivoSlider img {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: none !important;
}

.nivoSlider img.nivo-main-image {
  display: block !important;
}

/* ==== Bulleted nav ==== */
.nivo-controlNav {
  position: absolute !important;
  bottom: -30px !important;              /* tuck below the frame */
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  padding: 0 5px !important;
  white-space: nowrap !important;
  z-index: 1000 !important;
}

.nivo-controlNav a {
  margin: 0 3px !important;
}

/* ==== Responsive tweaks ==== */
@media (max-width: 768px) {
  section {
    margin: 15px;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 5px 5px 15px #444;
  }
  #center {
    position: static;
    margin: 20px auto;
    text-align: center;
  }
  h1, h2 {
    font-size: 1.5em;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}
