/* Bootstrap overrides */
:root {
  --bs-blue: #375a7f;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #e83e8c;
  --bs-red: #e74c3c;
  --bs-orange: #fd7e14;
  --bs-yellow: #f39c12;
  --bs-green: #00bc8c;
  --bs-teal: #20c997;
  --bs-cyan: #3498db;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #888;
  --bs-gray-dark: #303030;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #ebebeb;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #888;
  --bs-gray-700: #444;
  --bs-gray-800: #303030;
  --bs-gray-900: #222;
  --bs-primary: #ffb700;
  --bs-primary-darken: #dd9f02;
  --bs-secondary: #005d92;
  --bs-secondary-darken: #024d79;
  --bs-success: #008564;
  --bs-info: #2a7bb1;
  --bs-warning: #ffb63f;
  --bs-danger: #cf4536;
  --bs-light: #adb5bd;
  --bs-dark: #303030;
  --bs-primary-rgb: 255, 183, 0;
  --bs-secondary-rgb: 68, 68, 68;
  --bs-success-rgb: 0, 133, 100;
  --bs-info-rgb: 42, 123, 177;
  --bs-warning-rgb: 255, 182, 63;
  --bs-danger-rgb: 207, 69, 54;
  --bs-light-rgb: 173, 181, 189;
  --bs-dark-rgb: 48, 48, 48;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 255, 255, 255;
  --bs-body-bg-rgb: 34, 34, 34;
  --bs-font-sans-serif: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0)
  );
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #111;
  --bs-body-bg: #fefefe;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;
  --bs-link-color: #2a7bb1;
  --bs-link-hover-color: #0f517e;
  --bs-dark-link-color: #ffb63f;
  --bs-dark-link-hover-color: #ffd187;
  --bs-code-color: #ff9fc2;
  --bs-highlight-bg: #fdebd0;
}
:root.dark-mode {
  --bs-body-color: #fff;
  --bs-body-bg: #222;
  --bs-link-color: var(--bs-dark-link-color);
  --bs-link-hover-color: var(--bs-dark-link-hover-color);
}
:root {
  --width: min(100vw, 84rem);
  --full-width: 100vw;
}
.card {
  --bs-card-bg: #eee;
  --bs-card-border-radius: 0.25rem;
  --bs-card-inner-border-radius: calc(0.25rem - 1px);
}
:root.dark-mode .card {
  --bs-card-bg: #303030;
}

.bg-white {
  color: var(--bs-black);
}
.bg-dark {
  color: var(--bs-white);
}
.bg-dark a {
  color: var(--bs-dark-link-color);
}
.bg-dark a:hover {
  color: var(--bs-dark-link-hover-color);
}
.text-primary {
  color: var(--bs-primary) !important;
}

.list-group {
  --bs-list-group-bg: unset;
  --bs-list-group-border-color: #fff;
}

.primary-bg {
  --skew-bg: var(--bs-primary);
  --skew-bg-hover: var(--bs-primary-darken);
  --skew-color: var(--bs-gray-800);
  --skew-color-hover: var(--bs-gray-800);
}
.secondary-bg {
  --skew-bg: var(--bs-secondary);
  --skew-bg-hover: var(--bs-secondary-darken);
  --skew-color: var(--bs-gray-100);
  --skew-color-hover: var(--bs-gray-100);
}

.btn-skew {
  position: relative;
  z-index: 2;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  color: var(--skew-color);
  transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  --bs-btn-border-width: 0px;
}
.btn-skew:hover {
  color: var(--skew-color-hover);
}
.btn-skew::after {
  background: var(--skew-bg);
  z-index: -1;
}
.btn-skew:hover::after {
  background: var(--skew-bg-hover);
  color: var(--skew-color-hover);
}
.btn-skew:active {
  color: var(--skew-color-hover) !important;
  border: none;
}
*,
::after,
::before {
  box-sizing: border-box;
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}
/* Make .bg-light work like .card */
.bg-light {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.175) !important;
  border-radius: 0.375rem;
  background-color: #303030 !important;
  background-clip: border-box;
}
.break-container {
  width: 100vw;
  position: relative;
  left: calc(-1 * (100vw - 100%) / 2);
}

/*
*
*
Nav
*
*
*/
#topNav {
  position: fixed;
  z-index: 99;
  width: 100%;

  background: #242526;
}
#topNav .wrapper {
  position: relative;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#topNav ~ .site {
  margin-top: 70px;
}
.wrapper .logo a {
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}
.wrapper .nav-links {
  display: inline-flex;
}
.nav-links li {
  list-style: none;
}
.top-item a {
  color: #f2f2f2;
}
.nav-links li a {
  text-decoration: none;
  z-index: 2;
  font-size: 18px;
  font-weight: 500;
  padding: 25px 15px;
  border-radius: 5px;
  transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.nav-links .skewed-bg a:hover,
.btn-skew:hover {
  transform: scale(1.1);
  filter: drop-shadow(3px 5px 2px rgba(0, 0, 0, 0.4));
}
.nav-links .mobile-item {
  display: none;
}
.nav-links .drop-menu {
  position: absolute;
  background: #242526;
  width: 300px;
  padding: 0 30px;
  line-height: 45px;
  margin-left: -2em;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}
.mega-box {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 30px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
}
.mega-box .content {
  background: #242526;
  padding: 25px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.mega-box .content .row {
  line-height: 45px;
}
.three-col .content .row {
  width: calc(33% - 30px);
  display: block;
}

.four-col .content .row {
  width: calc(25% - 30px);
  display: block;
}

.content .row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content .row header {
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
  align-self: flex-start;
}
.content .row .mega-links {
  margin-left: -40px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.row .mega-links li {
  padding: 0 20px;
}
.row .mega-links li a {
  padding: 0px;
  padding: 10px 20px;
  color: #d9d9d9;
  font-size: 17px;
  display: block;
  line-height: 1.2em;
}
.row .mega-links li a:hover {
  color: #000;
}

.wrapper .btn {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.wrapper .btn.close-btn {
  position: absolute;
  right: 30px;
  top: 10px;
}

.desktop-item,
.skewed-item,
.skewed-bg a {
  position: relative;
}
.nav-links li .skewed-item:hover,
.skewed-bg li a:hover {
  background-color: unset;
  color: #000;
}
.nav-links li .skewed-item::after {
  border-left: 1px solid #d9d6d1;
  border-right: 1px solid #d9d6d1;
  z-index: 2;
}
.skewed-bg a {
  z-index: 2;
}

.nav-links li .skewed-item::after,
.skewed-bg a::after,
.btn-skew::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.logo {
  width: 200px;
  transition: all 0.3s ease;
}
.logo:hover {
  filter: drop-shadow(3px 5px 2px rgba(0, 0, 0, 0.4)) contrast(1.5);
  scale: 1.1;
}
.skewed-bg a::after {
  z-index: -1;
}
.skewed-bg a:hover {
  color: #000;
}

.skewed-bg a:hover::after {
  background-color: var(--bs-primary);
}

#menu-bg-special {
  display: block;
  position: fixed;
  opacity: 0;
  top: 0;
  right: 0;
  margin: 0;
  background-color: var(--bs-primary);
  transition: all 0.15s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  z-index: -100;
  pointer-events: none;
}

.nav-clock {
  height: 70px;
  margin-right: -4rem;
  background: #e1e1e1;
  padding: 0 3rem 0 2rem;
  line-height: 1.5em;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-left: 1px solid #fff;
}

.nav-clock span {
  width: 100%;
  text-align: center;
  color: #242526;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.1s ease-in-out;
}

.nav-clock:hover {
  color: #585858;
}
/*
*
*
Heading
*
*
*/
.heading-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 4em 0;
}
.heading-bg h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--bs-white);
}
.heading-bg h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bs-primary);
}
/*
*
*
Center Subheader
*
*
*/
.center-subheader {
  padding: 2em 0;
  text-align: center;
}
.center-subheader h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bs-black);
}
.center-subheader h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--bs-primary);
}

/*
*
*
Cards
*
*
*/

.card:has(img.half-up) {
  margin-top: 10%;
}
.card img.half-up {
  width: 50%;
  margin: -10% auto 0;
}

/*
*
*
Video
*
*
*/

.video-container {
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  position: relative;
  right: 50%;
  width: 100vw;
}

.video-container .video {
  width: 64vw;
  left: 18vw;
  position: relative;
  z-index: 1;
  padding: 40px;
}

.video-container .content {
  position: absolute;
  top: 50%;
  left: 23vw;
  z-index: 2;
}
.over-image {
  text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}

.video-container .alt {
  color: #f48024;
}
.video-container h1 {
  font-weight: 900;
}

footer::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--bs-primary);
}

.diagonal-box,
.diagonal-box-alt {
  position: relative;
  margin-top: -1px;

  &:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform-origin: 50% 0;
    outline: 1px solid transparent;
    backface-visibility: hidden;
  }
}

.full-width {
  padding: 0;
}
.full-width .diagonal-content {
  padding: 0;
  max-width: 100%;
}

html.dark-mode .bg-bla:before {
  background-image: linear-gradient(0deg, #151515, #000);
}
.bg-dar:before {
  background-image: linear-gradient(0deg, #2e2e2e, #1f1f1f);
}

.bg-one:before {
  background-image: linear-gradient(45deg, #26242b, #c5c5c4);
}

.bg-two:before {
  background-image: linear-gradient(-135deg, #d71, #c60);
}

.bg-three:before {
  background-image: linear-gradient(-135deg, #007, #003);
}

.content {
  max-width: var(--width);
  margin: 0 auto;
  padding: 1.5em;
  position: relative;

  /* border: 2px dashed #fff8;*/
}

.carousel-item {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.carousel-item .item-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50%;
  height: 300px;
}

.carousel-caption {
  top: 20%;
}
.as-card {
  z-index: 1;
  position: relative;
  margin-left: 1em;
  margin-right: 1em;
}
.as-card .as-card-header,
.as-card .as-card-content {
  position: relative;
  padding: 1rem;
  &:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #05334d;
    z-index: -1;
    border: 2px solid #fff;
  }
}

.as-card .as-card-footer {
  position: relative;
  padding: 1rem;
  text-align: right;
  margin-right: 9%;
  &:before {
    content: "";
    position: absolute;
    left: 60%;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #05334d;
    z-index: -1;
    border: 2px solid #fff;
    margin: -2px 0 0;
  }
}
.as-card .as-card-header {
  width: 80%;
  margin-left: 5%;
  padding: 0 3rem;
  min-height: 3rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
.as-card .as-card-header p {
  margin-bottom: 0;
}
.as-card .as-card-header .as-card-header-img {
  min-width: 80px;
  max-width: 80px;
  height: 80px;
  overflow: hidden;
  border: 2px solid #fff;
  & img {
    width: 125%;
    height: 125%;
    object-fit: cover;
    translate: -7% -5%;
  }
}

.as-card .as-card-content:before {
  margin: -2px 10px 0 -10px;
}
.as-card .as-card-content p:last-child {
  margin-bottom: 0;
}
.as-card .as-card-content .as-card-content-inner::-webkit-scrollbar {
  display: none;
}
.as-card .as-card-content .as-card-content-inner {
  font-size: 1rem;
  padding: 0 2rem;
  max-height: 9.5em;
  overflow-y: scroll;
  scrollbar-width: none;
}

.carousel-item .item-image.a.visible {
  background-image: url("https://prop.animschool.edu/assets/test3.png");
}

.carousel-item .item-image.b.visible {
  background-image: url("https://prop.animschool.edu/assets/test4.png");
}

.carousel-item .item-image.c.visible {
  background-image: url("https://prop.animschool.edu/assets/test3.png");
}

.carousel-item .item-image.d.visible {
  background-image: url("https://prop.animschool.edu/assets/test3.png");
}

.carousel-item .item-image.e.visible {
  background-image: url("https://prop.animschool.edu/assets/test4.png");
}

.carousel-item .item-image.f.visible {
  background-image: url("https://prop.animschool.edu/assets/test4.png");
}
.carousel-item .item-image.lazy {
  background-image: none;
}

.btn {
  text-shadow: none;
}

.programs .item,
.courses .item {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.programs .item .character,
.programs .item .animation,
.programs .item .games {
  background-size: cover;
  background-position: 50%;
  height: 24rem;
  margin-left: -16%;
  width: 132%;
  background-image: none;
  transition: transform 0.5s ease, translate 0.3s ease,
    background-position 0.3s ease;
  &:hover {
    transition: transform 2.5s ease, translate 20s ease,
      background-position 20s ease;
    transform: scale(1.1);
    translate: -4%;
    background-position: 0%;
  }
}

.courses .item .anim-track,
.courses .item .anim-program {
  background-size: cover;
  background-position: 50%;
  height: 12rem;
  margin-left: -16%;
  width: 132%;
  background-image: none;
  transition: transform 0.5s ease, translate 0.3s ease,
    background-position 0.3s ease;
  &:hover {
    transition: transform 2.5s ease, translate 20s ease,
      background-position 20s ease;
    transform: scale(1.1);
    translate: -4%;
    background-position: 0%;
  }
}

.program-catch {
  position: absolute;
  right: calc(-53% + 2rem);
  width: 100%;
  font-size: 2rem;
  line-height: 0;
  top: 50%;
  rotate: -90deg;
  z-index: 2;
}
.program-catch.over-image {
  text-shadow: -2px 3px rgba(0, 0, 0, 0.5);
}
.item .program-content {
  position: absolute;
  z-index: 3;
  max-width: 25vw;
  bottom: 10%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.item .program-content:hover + .animation,
.item .program-content:hover + .character,
.item .program-content:hover + .games {
  transition: transform 2.5s ease, translate 20s ease,
    background-position 20s ease;
  transform: scale(1.1);
  translate: -4%;
  background-position: 0%;
}

.courses .anim-track.visible {
  background-image: url("https://animschool.edu/Uploads/Programs/452017c6c66f5294.jpg");
}
.courses .anim-program.visible {
  background-image: url("https://animschool.edu/Uploads/Programs/452017a596d338dc.jpg");
}

.programs .character.visible {
  background-image: url("https://animschool.edu/Uploads/Public/Images/bg_homepage2.jpg");
}

.programs .animation.visible {
  background-image: url("https://animschool.edu/Uploads/Public/Images/bg_homepage3.jpg");
}

.programs .games.visible {
  background-image: url("https://animschool.edu/Uploads/Public/Images/bg_homepage2.jpg");
}

.table > :not(caption) > * > * {
  vertical-align: middle;
}

.table-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

@media screen and (max-width: 992px) {
  .program-catch {
    right: calc(-53% + 2.5rem);
    font-size: 1.5rem;
  }
  .programs .item .character,
  .programs .item .animation,
  .programs .item .games {
    height: 20rem;
  }

  .item .program-content {
    max-width: 100%;
    bottom: 20%;
  }

  .wrapper .btn {
    display: block;
  }
  .wrapper .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #242526;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3a3b3c;
  }
  #menu-btn:checked ~ .nav-links {
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn {
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn {
    display: block;
  }
  .nav-links li {
    margin: 15px 10px;
  }
  .nav-links li a {
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }
  .nav-links .drop-menu {
    position: static;
    opacity: 1;
    top: 65px;
    margin: 0;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box,
  #showMega2:checked ~ .mega-box,
  #showMega3:checked ~ .mega-box {
    max-height: 100%;
  }
  .nav-links .desktop-item {
    display: none;
  }
  .nav-links .mobile-item {
    display: block;
    z-index: 2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  }

  .drop-menu li {
    margin: 0;
  }
  .drop-menu li a {
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box {
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  }
  .mega-box .content {
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .row {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2) {
    border-top: 0px;
  }
  .content .row .mega-links {
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li {
    margin: 0;
  }
  .content .row header {
    font-size: 19px;
  }

  .nav-links li.active label::after,
  .nav-links li.active > a::after {
    z-index: -1;
  }
  .active label,
  .nav-links li.active > a {
    color: #000;
  }

  .active label::after,
  .active > a::after {
    background-color: var(--bs-primary);
  }
  #menu-bg-special {
    display: none;
  }
  .video-container .video {
    width: 100vw;
    left: 0;
    padding: 0;
  }
  .video-container .content {
    top: 40%;
    left: 2vw;
  }
}
nav input {
  display: none;
}

nav #theme-toggle-checkbox {
  display: block;
}
/** Bootstrap icons and colors **/
.bi {
  transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.bi-facebook:hover {
  color: #3498db;
}
.bi-instagram:hover {
  color: #e84393;
}
.bi-twitter:hover {
  color: #1da1f2;
}
.bi-twitter-x:hover {
  color: #000;
}
.bi-linkedin:hover {
  color: #0077b5;
}
.bi-youtube:hover {
  color: #ff0000;
}
.bi-whatsapp:hover {
  color: #25d366;
}
.bi-telegram:hover {
  color: #0088cc;
}
.bi-discord:hover {
  color: #7289da;
}
.bi-github:hover {
  color: #333;
}
.bi-stackoverflow:hover {
  color: #f48024;
}
.bi-medium:hover {
  color: #00ab6c;
}
.bi-twitch:hover {
  color: #9146ff;
}
.bi-reddit:hover {
  color: #ff4500;
}
.bi-pinterest:hover {
  color: #bd081c;
}
.bi-snapchat:hover {
  color: #fffc00;
}
.bi-tiktok:hover {
  color: #000;
}
.bi-spotify:hover {
  color: #1db954;
}
.bi-soundcloud:hover {
  color: #ff7700;
}
.bi-vimeo:hover {
  color: #1ab7ea;
}
