/* CSS Document */

/**************** Colour Scheme *****************/
/* background: #000033; /* dark blue background colour - same colour as rgb = (0, 0, 51) */
/* color: #9999CC;      /* light blue colour - same colour as rgb = (153, 153, 204) */
/* color: #CC9966;      /* light orange colour - same colour as rgb = (204, 153, 102) */
/* color: #99FF33;      /* light green colour - same colour as rgb = (153, 255, 51) */
.section {
  padding: 30px 0;
  color: #999966;
}
.section .top-side {
  text-align: center;
}
.section .top-side .title {
  font-weight: 500;
  font-size: 15px;
  display: inline-block;
}
.section .top-side .title::after {
  content: "";
  display: block;
  width: 50%;
  border-bottom: 1px solid #cc9966; /* #494949; very dark gray */
  margin: 8px auto;
}

/* Video Gallery Heading */
.section .top-side h2 {
  color: #cc9966;
  font-weight: 700;
}
.section.portfolio .filters {
  text-align: center;
  margin-top: 20px;
}
.section.portfolio .filters ul {
  padding: 0;
}
.section.portfolio .filters ul li {
  list-style: none;
  display: inline-block;
  padding: 20px 30px;
  cursor: pointer;
  position: relative;
}
.section.portfolio .filters ul li::after {
  content: "";
  display: block;
  width: calc(0% - 60px);
  position: absolute;
  height: 2px;
  background: #99ff33; /* lime green */
  transition: width 350ms ease-out;
}
.section.portfolio .filters ul li:hover::after {
  width: calc(100% - 60px);
  transition: width 350ms ease-out;
}
.section.portfolio .filters .active::after {
  width: calc(100% - 60px);
}
.section.portfolio .filters-content {
  margin-top: 50px;
}
.section.portfolio .filters-content .show {
  opacity: 1;
  visibility: visible;
  transition: all 350ms;
}
.section.portfolio .filters-content .hide {
  opacity: 0;
  visibility: hidden;
  transition: all 350ms;
}
.section.portfolio .filters-content .item {
  text-align: center;
  cursor: pointer;
  margin-bottom: 30px;
}
.section.portfolio .filters-content .item .p-inner {
  padding: 20px 30px;
  box-shadow: 0 0 5px rgba(204, 153, 102, .8); /* light orange box shadow */
}
.section.portfolio .filters-content .item .p-inner h5 {
  font-size: 15px;
}
.section.portfolio .filters-content .item .p-inner .cat {
  font-size: 13px;
}
.section.portfolio .filters-content .item img {
  width: 100%;
}

/* Styling for the button to protected student resources */
.button-wrapper {
  display: flex;
  justify-content: center;
  margin: 2em 0;
}

.button-3r {
  width: 25%;
  min-width: 150px; /* ensures it doesn't get too small on mobile */
  max-width: 300px; /* optional: limit its size */
  text-align: center;

  padding: 0.6em 1.2em;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-accent);
  background-color: var(--color-background);
  border: 1px solid var(--color-accent);
  border-radius: 0.75em;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(204, 153, 102, 0.3);
}

.button-3r:hover,
.button-3r:focus {
  background-color: var(--color-highlight);
  border: 1px solid var(--color-highlight);
  color: var(--color-background);
  box-shadow: 0 0 15px rgba(204, 153, 102, 0.6);
  font-weight: bold;
}

.button-3r:active {
  transform: scale(0.98);
}

