
/* ========== BODY ========== */
.main-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 80px 10px;
  box-sizing: border-box;
}

.content-body {
  margin: 10px 20px 20px 20px;
  padding: 0;
  text-align: center;
}
  h3 {
    margin: 0px;
    font-size: clamp(1.3rem, 2vw, 2rem);
    transition: 0.5s ease;
  }

/* = VIDEO BOARD SECTION =*/

.video-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: auto;
}

.flex-div {
  width: 100%;
  max-width: 500px;
  border: solid 3px rgb(197, 0, 80);
  border-radius: 10px; 
  padding: 15px;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.flex-div iframe,
.flex-div video {
  width: 100%;
  height: auto;
  max-width: 100%;
}

  .video-details {
    margin-top: 10px;
  }

  .details-div {
    text-align: center;
    justify-items: center;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
  }

  .location-camera {
    display: flex;
    flex-direction: row;
    gap: 5vw;
    margin-top: 10px;
    width: 100%;
  }

    .details {
      font-size: 25px;
      font-weight: bold;
      margin-bottom: 25px;
    }

    .location-name, .camera-name, .time {
      color: rgb(70, 69, 69);
      font-size: 16px;
      margin-top: 0;
    }

    .clock-icon {
      display: inline-block;
    }

    .clock-icon img {
      width: 20px;
      margin-right: 2px;
    }

    .time-div {
      display: inline-block;
    }
    .time {
      margin-left: 5px;
    }

    .location-icon, .camera-icon {
      flex: 1;
    }

    .location-icon img {
      width: 20px; 
    }

    .camera-icon img {
      width: 25px;
    }

footer {
  width: auto;
  background-color: rgb(197, 0, 80);
  padding: 30px;
  color: white;
  text-align: center;
  font-size: larger;
  font-weight: bolder;
}

@media screen and (max-width: 900px) {
  #menu-toggle:checked ~ header .right-header-menu {
    flex-direction: row;
    top: 67px;
    border-bottom: 1px solid rgb(128, 128, 128, 0.3);
    background-color: white;
    padding: 15px;
    border-bottom-left-radius: 10px;
  }

  /* Also show middle header links */
  #menu-toggle:checked ~ header .middle-header {
    flex-direction: row;
    top: 67px;
    left: 300px;
    border-bottom: 1px solid rgb(128, 128, 128, 0.3);
    background-color: white;
    padding: 15px;
    border-bottom-right-radius: 10px;
  }

  /* Push content down */
  #menu-toggle:checked ~ main {
    margin-top: 30px;
    transition: 0.5s ease-in;
  }
}

@media screen and (max-width: 640px) {
  #menu-toggle:checked ~ header .right-header-menu,
  #menu-toggle:checked ~ header .middle-header {
    display: flex;
    flex-direction: column;
    padding: 10px 10px;
    gap: 20px;
    border-bottom: none;
    background-color: transparent;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.9);
    
    /* Delay appearance of toggled menu so it doesn't overlap h1 */
    animation: fadeInDown 0.3s ease 0.3s forwards;
    opacity: 0;
  }

  @keyframes fadeInDown {
    to {
      opacity: 1;
    }
  }

  /* Toggle: when checkbox is checked, show vertical dropdown */
  #menu-toggle:checked ~ header .right-header-menu {
    position: absolute;
    top: 70px;
    left:55px;
    border-bottom-left-radius: 0;
  }

  /* Also show middle header links */
  #menu-toggle:checked ~ header .middle-header {
    position: absolute;
    top: 192px;
    left: 55px;
    padding-right: 31px;
  }

    /* Push content down */
  #menu-toggle:checked ~ main {
    margin-top: 200px;
    transition: margin-top 0.5s ease-in;
  }

  /* Push content up */
  #menu-toggle:not(checked) ~ main {
    margin-top: 0;
    transition: margin-top 0.7s ease-out;
  }

  .highlight:hover, .about:hover,
  .contact:hover, .photos:hover,
  .videos:hover {
    color: rgb(197, 0, 80);
    scale: 1.06;
  }

  .highlight:active, .about:active,
  .contact:active, .photos:active,
  .videos:active {
    font-weight: bold;
  }  

  /* Push content down */
  #menu-toggle:checked ~ main {
    margin-top: 180px;
  }
}