/* fonts */
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand-Medium.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Quicksand Light";
  src: url("../fonts/Quicksand-Light.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Quicksand Bold";
  src: url("../fonts/Quicksand-Bold.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Quicksand SemiBold";
  src: url("../fonts/Quicksand-SemiBold.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Poppins SemiBold";
  src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Poppins Medium";
  src: url("../fonts/Poppins-Medium.ttf") format("truetype");
  font-display: swap;
}

/* page-wide details */

* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  scroll-behavior: smooth;
  font-family: Quicksand;
}

/* when there is an admin bar, move the navbars down a bit so they don't overlap */
body.admin-bar .navbar {
  margin-top: 32px;
}
body.admin-bar .navbar-mobile {
  margin-top: 46px;
}


/* Content Block */

.content {
  margin: 125px 50px 50px 50px;
  font-family: Quicksand;
  text-decoration: none;
  font-size: 1.5rem;
  min-height: 50vh;
  }

ul {
  list-style: none;
}
.I4-video-size {
  width: 100%;
  max-width: 1000px;
  max-height: 563px;
  padding: min(562.5px, 56.25%) 0 0 0;
  position: relative;
  width: min(1000px, 100%);
  margin: auto;
}

h2 {
  font-family: "Poppins Medium";
}

@media (max-width: 800px) {
  .content {
    margin-left: 15px;
    margin-right: 15px;
  }
  h2 {
    font-size: 1.8rem;
    line-height: 120%;
    text-align: center;
  }

  p {
    font-size: 1.15rem;
    line-height: 132%;
  }
}


/* nav bar */

#menu-navigation-header-left {
  display: flex;
  flex-direction: row;
}
#menu-navigation-header-right {
  display: flex;
  flex-direction: row;
}

.navbar {
  position: absolute;
  top: -5px;
  left: 0;
  right: 0;
  display: flex;
  z-index: 7;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    to bottom,
    hsla(0deg, 0%, 100%, 0.75) 0%,
    hsla(0deg, 0%, 100%, 0.705) 15.6%,
    hsla(0deg, 0%, 100%, 0.659) 28.4%,
    hsla(0deg, 0%, 100%, 0.611) 38.6%,
    hsla(0deg, 0%, 100%, 0.561) 46.7%,
    hsla(0deg, 0%, 100%, 0.511) 53%,
    hsla(0deg, 0%, 100%, 0.459) 58%,
    hsla(0deg, 0%, 100%, 0.42) 61.8%,
    hsla(0deg, 0%, 100%, 0.39) 65%,
    hsla(0deg, 0%, 100%, 0.36) 68%,
    hsla(0deg, 0%, 100%, 0.3) 71%,
    hsla(0deg, 0%, 100%, 0.25) 74.4%,
    hsla(0deg, 0%, 100%, 0.18) 78.7%,
    hsla(0deg, 0%, 100%, 0.11) 84.1%,
    hsla(0deg, 0%, 100%, 0.05) 91.1%,
    hsla(0deg, 0%, 100%, 0) 100%
  );
  padding: 0 15px;
  transition: background-color 0.25s, transform 0.3s, padding-bottom 0.3s;
  padding-bottom: 25px;
}

.navbar > *,
.navbar ul.menu {
  display: flex;
  align-items: center;
}

.navbar img {
  max-height: 50px;
}

.navbar a {
  color: #15529a;
  text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.3), 0px 0px 0px rgba(0, 0, 0, 0.3),
    0px 0px 0px rgba(0, 0, 0, 0.3), 1px 1px 1px rgba(0, 0, 0, 0.1);
  font-size: 17px;
  text-decoration: none;
  text-align: center;
  z-index: 50;
  position: relative;
}

.navbar > div > div > ul > li > a,
.navbar > div > a,
.navbar .music-icon {
  margin: 14px calc((100vw * 11 / 90) - 135px) 14px 0px;
}

.music-icon {
  cursor: pointer;
  position: relative;
}

.music-icon::after {
  content: '';
  pointer-events: none;
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  box-sizing: content-box;
  top: -5px;
  left: -5px;
  padding: 0;
  z-index: -1;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
  opacity: 0;
  transform: scale(0.9);
}

.music-icon:hover::after {
  animation: sonarEffect 1.3s ease-out 75ms;
}


@keyframes sonarEffect {
  0% {
    opacity: 0.3;
  }
  40% {
    opacity: 0.5;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #15529a, 0 0 0 10px rgba(255,255,255,0.5);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #15529a, 0 0 0 10px rgba(255,255,255,0.5);
    transform: scale(1.5);
    opacity: 0;
  }
}

.music-icon svg {
  fill: #15529a;
  width: 1.5rem;
  transition: color 0.15s linear;
}

.navbar-mobile .music-icon svg {
  width: 1.75rem;
}

.logo {
  transition: all 0.3s linear;
  will-change: filter;
}

.logo:hover {
  filter: drop-shadow(0px 0px 7px #83dd81) drop-shadow(0px 0px 9px #83dd81)
    drop-shadow(0px 0px 15px #83dd81) drop-shadow(0px 0px 25px #83dd81);
}

.navbar ul li a {
  transition: all 0.2s ease;
}

.navbar ul,
.navbar ul li {
  margin-block: 0px;
  padding-inline: 0px;
}

/* navbar dropdown */

.navbar .menu > li {
  position: relative;
}

.navbar .sub-menu {
  opacity: 0;
  flex-direction: column;
  position: absolute;
  top: 0;
  display: flex;
  padding-top: 40px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, .2));
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  min-width: 95%;
  transform: translateX(-13px) translateY(-30px);
}

.navbar .sub-menu > li:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.navbar .sub-menu > li:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.navbar .sub-menu:before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--color);
  top: 32px;
  right: 50%;
  z-index: -1;
  border-radius: 4px;
  transform: translateX(50%) rotate(45deg);
  position: absolute;
}

.navbar .sub-menu > li {
  background: var(--color);
  transition: background .2s;
}

.navbar .sub-menu > li > a {
  color: white !important;
  display: inline-block;
  padding: 15px;
  text-align: left;
  width: 100%;
}

.navbar .sub-menu > li:hover {
  background: var(--darker-color);
}

.navbar .menu > li:hover > .sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-13px) translateY(0);
}

/* navbar rainbow hovers: */

#menu-left-header-menu > li:nth-child(1) {
  --color: #fa8989;
  --darker-color: #e96666;
}

#menu-left-header-menu > li:nth-child(2) {
  --color: #fca241;
  --darker-color: #ce7f2a;
}

#menu-left-header-menu > li:nth-child(3) {
  --color: #e6c543;
  --darker-color: #cca91c;
}

#menu-right-header-menu > li:nth-child(1) {
  --color: #62c6eb;
  --darker-color: #47afd8;
}

#menu-right-header-menu > li:nth-child(2) {
  --color: #8497ec;
  --darker-color: #4f6df1;
}

#menu-right-header-menu > li:nth-child(3) {
  --color: #9a7cf3;
  --darker-color: #8866ee;
}

#menu-right-header-menu > li:hover > a,
#menu-left-header-menu > li:hover > a {
  color: #ffffff;
  text-shadow: -1px -1px 0 var(--color), 1px -1px 0 var(--color), -1px 1px 0 var(--color),
    1px 1px 0 var(--color), 0 0 5px var(--color), 0 0 6px var(--color), 0 0 10px var(--color),
    0 0 14px var(--color), 0 0 18px var(--color), 0 0 20px var(--color), 0 0 22px var(--color),
    0 0 24px var(--color);
}


/* mobile navbar */

.navbar-mobile img {
  max-height: 50px;
}

.navbar-mobile-top {
  justify-content: space-between;
  align-items: center;
  display: flex;
  width: 100%;
  flex-flow: row-reverse nowrap;
  padding: 5px 30px;
  box-sizing: border-box;
}

.navbar-mobile {
  display: none;
  position: absolute;
  top: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    hsla(0deg, 0%, 100%, 0.75) 0%,
    hsla(0deg, 0%, 100%, 0.705) 15.6%,
    hsla(0deg, 0%, 100%, 0.659) 28.4%,
    hsla(0deg, 0%, 100%, 0.611) 38.6%,
    hsla(0deg, 0%, 100%, 0.561) 46.7%,
    hsla(0deg, 0%, 100%, 0.511) 53%,
    hsla(0deg, 0%, 100%, 0.459) 58%,
    hsla(0deg, 0%, 100%, 0.42) 61.8%,
    hsla(0deg, 0%, 100%, 0.39) 65%,
    hsla(0deg, 0%, 100%, 0.36) 68%,
    hsla(0deg, 0%, 100%, 0.3) 71%,
    hsla(0deg, 0%, 100%, 0.25) 74.4%,
    hsla(0deg, 0%, 100%, 0.18) 78.7%,
    hsla(0deg, 0%, 100%, 0.11) 84.1%,
    hsla(0deg, 0%, 100%, 0.05) 91.1%,
    hsla(0deg, 0%, 100%, 0) 100%
  );
  box-sizing: border-box;
  width: 100%;
  height: 105px;
  transition: background 0.2s, transform 0.3s;
}

@media (max-width: 1200px) {
  .navbar-mobile {
    display: block;
  }

  .navbar {
    display: none;
  }
}

.navbar-mobile-expanded {
  display: flex;
  flex-flow: column nowrap;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 3px rgba(187, 187, 187, 0.5);
  max-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  transition: max-height 0.3s, background 0.2s, padding 0.3s;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar-mobile-logo-white {
  display: none;
}

.navbar-mobile-expanded.open {
  padding: 7px 0;
  max-height: 600px;
}

.navbar-mobile-expanded > a {
  color: #15529a;
  padding: 10px 0;
  font-size: 17px;
  text-decoration: none;
  transition: color 0.15s;
  margin-left: 30px;
}

/* Mobile Nav Items */
#menu-mobile-menu {
  margin-block: 0;
  padding-inline-start: 0;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  row-gap: 10px;
  padding: 15px 30px;
}

#menu-mobile-menu a {
  color: #15529a;
  font-size: 17px;
  padding: 10px 12px;
  display: inline-block;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

#menu-mobile-menu > li:not(.menu-item-has-children) > a {
  width: 100%;
}

#menu-mobile-menu > li.menu-item-has-children::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 0;
  width: 100%;
  transition: box-shadow .3s;
  height: 3px;
}

#menu-mobile-menu > li.menu-item-has-children.open::before {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

#menu-mobile-menu a:active {
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
  1px 1px 0 #fff, 0 0 5px #fff, 0 0 6px #fff, 0 0 10px #fff,
  0 0 14px #fff, 0 0 18px #fff, 0 0 20px #fff, 0 0 22px #fff,
  0 0 24px #fff;
}

#menu-mobile-menu > li {
  border-radius: 7px;
  font-family: "Quicksand SemiBold";
  background-color: var(--color);
}

#menu-mobile-menu .sub-menu {
  max-height: 0;
  overflow: hidden;
  display: flex;
  padding-inline-start: 0;
  flex-direction: column;
  padding-left: 20px;
  transition: max-height .3s;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  background: var(--darker-color);
}

#menu-mobile-menu .sub-menu > li:first-child {
  margin-top: 5px;
}

#menu-mobile-menu .sub-menu > li:last-child {
  margin-bottom: 5px;
}

#menu-mobile-menu > li.open > .sub-menu {
  max-height: 100px;
}

#menu-mobile-menu > li.menu-item-has-children {
  position: relative;
}

#menu-mobile-menu > li.menu-item-has-children::after {
  content: '';
  top: 12px;
  right: 15px;
  transform: rotate(45deg);
  transition: transform .3s;
  border: solid #15529a;
  position: absolute;
  border-width: 0 3px 3px 0;
  padding: 5px;
}

#menu-mobile-menu > li.menu-item-has-children.open::after {
  transform: rotate(225deg) translateY(-5px) translateX(-2.5px);
}

#menu-mobile-menu > li:nth-child(1) {
  --color: #ffc3c2;
}

#menu-mobile-menu > li:nth-child(2) {
  --color: hsl(31, 100%, 85%);
  --darker-color: hsl(31, 100%, 78%);
}

#menu-mobile-menu > li:nth-child(3) {
  --color: hsl(60, 82%, 89%);
  --darker-color: hsl(60, 82%, 82%);
}

#menu-mobile-menu > li:nth-child(4) {
  --color: hsl(115, 92%, 90%);
  --darker-color: hsl(115, 92%, 83%);
}

#menu-mobile-menu > li:nth-child(5) {
  --color: hsl(177, 100%, 88%);
  --darker-color: hsl(177, 100%, 81%);
}

#menu-mobile-menu > li:nth-child(6) {
  --color: hsl(201, 77%, 86%);
  --darker-color: hsl(201, 77%, 79%);
}

#menu-mobile-menu > li:nth-child(7) {
  --color: hsl(272, 57%, 89%);
  --darker-color: hsl(272, 57%, 82%);
}

/* hamburger */

.hamburger {
  cursor: pointer;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  margin-top: 4px;
  height: 59px;
}

.hamburger div {
  width: 30px;
  height: 2px;
  background: #15529a;
  margin: 3px 0;
}

.hamburger div:last-child {
  width: unset;
  height: unset;
  background: none !important;
  font-size: 1rem;
  margin-top: 4px;
  color: #15529a;
  -webkit-user-select: none;
  user-select: none;
  font-family: 'Quicksand';
}

.hamburger.open > :last-child {
  margin-top: 6.5px;
}

.hamburger.open :first-child {
  transform: rotate(45deg);
  margin-left: 10px;
  transform-origin: left top;
}

.hamburger.open :nth-child(4) {
  transform: rotate(-45deg);
  margin-top: 0px;
  margin-left: 8px;
  transform-origin: left bottom;
}

.hamburger.open :nth-child(2),
.hamburger.open :nth-child(3) {
  transform: translateX(-20px);
  opacity: 0;
}

.hamburger * {
  transition: all 0.2s;
}

/* go to top button */

#TopBtn {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  bottom: 45px;
  right: 30px;
  z-index: 99;
  font-size: 32px;
  border: none;
  outline: none;
  background-color: #2493e4;
  color: white;
  cursor: pointer;
  padding: 12px 15px 0;
  border-radius: 50%;
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  font-family: inherit;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.5);
  transition: background-color 0.15s, opacity 0.15s;
}

#TopBtn:hover {
  background-color: #15529a;
}

/* search */

.i4-search {
  text-shadow: none !important;
  transition: none !important;
  display: flex;
  flex-direction: row;
  --color: #15529a;
  margin-left: 20px;
}

.mobile-search {
  text-shadow: none !important;
  transition: none !important;
  display: inline-flex;
  flex-direction: row-reverse;
  width: min-content;
  --color: #15529a;
  margin-left: 30px;
  padding: 10px 0;
}

.search-box {
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.15s, padding 0.15s;
  display: flex;
  align-items: center;
  z-index: 10;
  cursor: default;
}

.search-box input {
  border: none;
  padding: 7px 10px;
  background: transparent;
  /* border-radius: 7px; */
  outline: none;
  border-bottom: 2px solid var(--color);
  caret-color: var(--color);
  color: var(--color) !important;
  width: 200px;
  padding-right: 35px;
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--color);
}

.search-btn {
  border: none;
  outline: none !important;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transform: translateX(-160%);
}

.search-btn svg {
  fill: var(--color);
  width: 1em;
}

.search-btn svg:hover {
  filter: brightness(85%);
}

.search-open .search-box {
  max-width: 500px;
  padding-left: 20px;
  padding-right: 20px;
}

.search-icon {
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  margin: auto;
  color: #15529a;
}

.search-icon::after {
  content: '';
  pointer-events: none;
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  box-sizing: content-box;
  top: -5px;
  left: -5px;
  padding: 0;
  z-index: -1;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
  opacity: 0;
  transform: scale(0.9);
}

.search-icon:hover::after {
  animation: sonarEffect 1.3s ease-out 75ms;
}

.search-line {
  width: 15px;
  height: 2px;
  background: var(--color);
  display: inline-block;
  transform: rotate(45deg);
  position: absolute;
  top: 17px;
  left: 9px;
  transition: all 0.15s ease-in 0s;
  color: #15529a;
}

.search-open .search-line {
  width: 30px;
  left: 0;
  top: 15px;
  transition: all 0.15s ease-out 0s;
}

.search-circle {
  width: 15px;
  height: 15px;
  border: 2px solid var(--color);
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transition: top 0.15s ease-in 0s, left 0.15s ease-in 0s, border-radius 0.15s ease-in 0s,
    border-width 0.15s ease-in 0s, width 0.15s ease-in 0s, height 0.15s ease-in 0s,
    background-color 0.1s ease-in 0s;
  color: #15529a;
}

.search-open .search-circle {
  width: 0;
  height: 0;
  border-width: 0;
  top: 12px;
  left: 12px;
  transition: top 0.15s ease-in 0s, left 0.15s ease-in 0s, border-radius 0s ease-in 0.15s,
    border-width 0.15s ease-in 0s, width 0.15s ease-in 0s, height 0.15s ease-in 0s,
    background-color 0s ease-in 0.15s;
}

.search-open .second-line {
  transform: rotate(135deg);
}

.search-line {
  transition: all 0.15s linear;
}

.search-circle {
  transition: all 0.15s linear;
}

/* comments style */

.comment-list {
  padding-inline-start: 0;
  max-width: 1000px;
  margin: auto;
}

.comments ul.children {
  padding-inline-start: 70px;
}

.comment img {
  border-radius: 50%;
}

div.comment {
  display: flex;
  gap: 25px;
  background: #e9e9e8;
  border-radius: 20px;
  padding: 30px;
  margin-top: 40px;
}

.comment-author-name {
  font-family: 'Quicksand Semibold';
}

.comment-date {
  color: #444;
  font-family: "Quicksand Light";
  text-decoration: none;
  text-decoration-color: #444;
}

.comment-date:hover {
  text-decoration: underline;
}

.comment-reply-link {
  color: #444 !important;
  text-decoration-color: #444;
  font-family: "Quicksand Light";
  text-decoration: none;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

.comments-title {
  text-align: center;
}

/* comments form style */

.form-group {
  display: flex;
  flex-flow: column wrap;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 20px;
}

.form-group textarea, .form-group input {
  width: 100%;
  border: 3px solid #ccc;
  border-radius: 7px;
  padding: 5px 10px;
  font: inherit;
  outline: none !important;
  transition: box-shadow .1s;
}

.form-group textarea:focus,
.form-group input:focus {
  box-shadow: 0px 0px 8px #2493e4;
  border-color: #2493e4;
}

.comment-form .submit {
  background-color: #15529a;
  color: white;
  border: none;
  padding: 10px 15px;
  font: inherit;
  border-radius: 10px;
  cursor: pointer;
}

.comment-form .submit:hover {
  background-color: #0f3b6e;
}

.comment-respond {
  margin: auto;
  max-width: 500px;
}

.comment-respond h3 {
  text-align: center;
  font-size: 2rem;
}

#cancel-comment-reply-link {
  display: block;
  margin-top: 10px;
  color: #15529a;
  text-decoration: none;
}

#cancel-comment-reply-link:hover {
  text-decoration: underline;
}
