@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');


/* #region Global */

:root {
  --card-black-color: #000000;
  --card-overlay-color: rgba(0, 0, 0, 0.303);
  --text-black-color: #333333;
  --text-orange-color: #ff9500;
  --text-grey-color: #757575;
  --background-grey-color: rgb(247, 247, 247);
  --background-light-white: #f2f2f2;
  --white-color: #FFFFFF;
  --tech-color: #1ba5fb;
  --design-color: #ff9500;
  --loader-dark-color: #333333;
  --loader-light-color: #FFFFFF;



  --font-DMSans: "DM Sans", sans-serif;
  --font-WorkSans: "Work Sans", sans-serif;


  /* #region Section*/

  --section-font-size: 16px;
  --section-font-normalWeight: 600;
  --section-font-boldWeight: 900;

  /* #endregion */

  /* #region Detail */

  --detail-name-font-size-xxl: 55px;  /* bigger than 1400px - default*/
  --detail-name-font-size-xl: 47px;  /* bigger than 1200px*/
  --detail-name-font-size-lg: 48px;  /* bigger than 992px*/
  --detail-name-font-size-md: 45px;  /* bigger than 768px*/
  --detail-name-font-size-sm: 47px;  /* bigger than 576px*/
  --detail-name-font-size-xs: 42px;  /* less than 576px*/

  --detail-name-font-line-height-xxl: 48px; /* bigger than 1400px - default */
  --detail-name-font-line-height-xl: 48px; /* bigger than 1200px */
  --detail-name-font-line-height-lg: 48px; /* bigger than 992px */
  --detail-name-font-line-height-md: 44px; /* bigger than 768px */
  --detail-name-font-line-height-sm: 45px; /* bigger than 576px */
  --detail-name-font-line-height-xs: 42px; /* less than 576px */

  --detail-name-font-weight: 700;


  --detail-subtitle-font-size-xxl: 25px;  /* bigger than 1400px - default*/
  --detail-subtitle-font-size-xl: 24px;  /* bigger than 1200px*/
  --detail-subtitle-font-size-lg: 24px;  /* bigger than 992px*/
  --detail-subtitle-font-size-md: 24px;  /* bigger than 768px*/
  --detail-subtitle-font-size-sm: 23px;  /* bigger than 576px*/
  --detail-subtitle-font-size-xs: 22px;  /* less than 576px*/

  --detail-subtitle-fon-weight: 700;


  --detail-intro-font-size-xxl: 25px; /* bigger than 1400px - default */
  --detail-intro-font-size-xl: 23px; /* bigger than 1200px */
  --detail-intro-font-size-lg: 23px; /* bigger than 992px */
  --detail-intro-font-size-md: 22px; /* bigger than 768px */
  --detail-intro-font-size-sm: 21px; /* bigger than 576px */
  --detail-intro-font-size-xs: 20px; /* less than 576px */

  --detail-intro-font-line-height-xxl: 37px; /* bigger than 1400px - default */
  --detail-intro-font-line-height-xl: 33px; /* bigger than 1200px */
  --detail-intro-font-line-height-lg: 32px; /* bigger than 992px */
  --detail-intro-font-line-height-md: 30px; /* bigger than 768px */
  --detail-intro-font-line-height-sm: 29px; /* bigger than 576px */
  --detail-intro-font-line-height-xs: 28px; /* less than 576px */

  --detail-intro-font-normalWeight: 350;
  --detail-intro-font-boldWeight: 600;


  --category-title-font-size-xxl: 20px; /* bigger than 1400px - default */
  --category-title-font-size-xl: 18px; /* bigger than 1200px */
  --category-title-font-size-lg: 18px; /* bigger than 992px */
  --category-title-font-size-md: 18px; /* bigger than 768px */
  --category-title-font-size-sm: 18px; /* bigger than 576px */
  --category-title-font-size-xs: 17px; /* less than 576px */

  --category-title-font-weight: 600;


  --category-content-font-size-xxl: 18px; /* bigger than 1400px - default */
  --category-content-font-size-xl: 17px; /* bigger than 1200px */
  --category-content-font-size-lg: 17px; /* bigger than 992px */
  --category-content-font-size-md: 17px; /* bigger than 768px */
  --category-content-font-size-sm: 17px; /* bigger than 576px */
  --category-content-font-size-xs: 16px; /* less than 576px */

  --category-content-font-weight: 400;


  --course-title-font-size-xxl: 20px; /* bigger than 1400px - default */
  --course-title-font-size-xl: 18px; /* bigger than 1200px */
  --course-title-font-size-lg: 18px; /* bigger than 992px */
  --course-title-font-size-md: 17px; /* bigger than 768px */
  --course-title-font-size-sm: 16px; /* bigger than 576px */
  --course-title-font-size-xs: 15px; /* less than 576px */

  --course-title-font-weight: 800;


  --course-content-font-size-xxl: 18px; /* bigger than 1400px - default */
  --course-content-font-size-xl: 17px; /* bigger than 1200px */
  --course-content-font-size-lg: 17px; /* bigger than 992px */
  --course-content-font-size-md: 16px; /* bigger than 768px */
  --course-content-font-size-sm: 15px; /* bigger than 576px */
  --course-content-font-size-xs: 14px; /* less than 576px */

  --course-content-font-weight: 400;
  --course-content-highlight-font-weight: 600;

  /* #endregion */

  /* #region Home Intro */

  --intro-margin-top-xxl: 155px; /* bigger than 1400px - default*/
  --intro-margin-top-xl: 150px;  /* bigger than 1200px*/
  --intro-margin-top-lg: 145px;  /* bigger than 992px*/
  --intro-margin-top-md: 135px;  /* bigger than 768px*/
  --intro-margin-top-sm: 100px;  /* bigger than 576px*/
  --intro-margin-top-xs: 90px;  /* less than 576px*/


  --name-font-size-xxl: 80px;  /* bigger than 1400px - default*/
  --name-font-size-xl: 76px;  /* bigger than 1200px*/
  --name-font-size-lg: 80px;  /* bigger than 992px*/
  --name-font-size-md: 65px;  /* bigger than 768px*/
  --name-font-size-sm: 70px;  /* bigger than 576px*/
  --name-font-size-xs: 63px;  /* less than 576px*/

  --name-font-weight: 700;


  --intro-font-size-xxl: 30px;  /* bigger than 1400px - default */
  --intro-font-size-xl: 26px; /* bigger than 1200px */
  --intro-font-size-lg: 27px; /* bigger than 992px */
  --intro-font-size-md: 24px; /* bigger than 768px */
  --intro-font-size-sm: 23px; /* bigger then 576px */
  --intro-font-size-xs: 20px; /* less then 576px */

  --intro-font-line-height-xxl: 42px; /* bigger than 1400px - default */
  --intro-font-line-height-xl: 37px; /* bigger than 1200px */
  --intro-font-line-height-lg: 37px; /* bigger than 992px */
  --intro-font-line-height-md: 35px; /* bigger than 768px */
  --intro-font-line-height-sm: 33px; /* bigger than 576px */
  --intro-font-line-height-xs: 29px; /* less than 576px */

  --intro-font-normalWeight: 350;
  --intro-font-boldWeight: 550;

  /* #endregion */

  /* #region Filter */

  --filter-margin-top-xxl: 155px; /* bigger than 1400px - default*/
  --filter-margin-top-xl: 150px;  /* bigger than 1200px*/
  --filter-margin-top-lg: 145px;  /* bigger than 992px*/
  --filter-margin-top-md: 135px;  /* bigger than 768px*/
  --filter-margin-top-sm: 110px;  /* bigger than 576px*/
  --filter-margin-top-xs: 100px;  /* less than 576px*/


  --filter-font-size-xxl: 24px; /* bigger than 1400px - default */
  --filter-font-size-xl: 20px; /* bigger than 1200px */
  --filter-font-size-lg: 22px; /* bigger than 992px */
  --filter-font-size-md: 20px; /* bigger than 768px */
  --filter-font-size-sm: 21px; /* bigger than 576px */
  --filter-font-size-xs: 18px; /* less than 576px */

  --filter-font-normalWeight: 400;
  --filter-font-boldWeight: 800;

  /* #endregion */

  /* #region Card */

  --card-height-xxl: 28vw; /* bigger than 1400px - default */
  --card-height-xl: 30vw; /* bigger than 1200px */
  --card-height-lg: 45.7vw; /* bigger than 992px */
  --card-height-md: 65vw; /* bigger than 768px */
  --card-height-sm: 80vw; /* less then 768px */


  --custom-menu-border-color: rgba(0, 0, 0,0.05);
  --card-border-radious: 25px;
  --card-title-font-weight: 1000;
  --card-title-font-size: 21px;
  --card-subtitle-font-weight: 500;
  --card-subtitle-font-size: 13px;
  --card-desc-font-weight: 500;
  --card-desc-font-size: 18px;

  /* #endregion */

}

a:link { text-decoration: none; }

a:visited { text-decoration: none; }

a:hover { text-decoration: none; }

a:active { text-decoration: none; }

.compact-text { white-space: nowrap; }

ul { list-style-type: none; }

body { background-color: var(--white-color); }

::selection {
  background-color: var(--text-black-color);
  color: var(--white-color);
}

/* #endregion */

/* #region Header */

.navbar {
  background-color: transparent;
  margin-top: 24px;
}

.navbar-collapse {
  height: 70px;
  display: flex!important;
}

.navbar-nav {
  display: flex;
}

.nav-item {
  display: block;
  position: relative;
}

.navbar-toggler {
  border: none;
  background-color: transparent;
}

.nav-link {
  font-family: var(--font-DMSans);
  font-size: var(--section-font-size);
  font-weight: var(--section-font-normalWeight);
  color: var(--text-black-color);
  transition: font-weight 0.2s, border-bottom 0.15s;
  border-bottom: 2px solid transparent;
}

.nav-link.active {
  font-weight: var(--section-font-boldWeight);
  background-color: var(--tech-color) !important;
}

.nav-link:hover {
  border-bottom: 2px solid var(--text-black-color);
}

.nav-link.wiki {
  border-bottom: none;
  color: var(--text-black-color);
}

.wiki-store {
  background-color: var(--design-color) !important;
  border: none;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: var(--section-font-boldWeight);
  font-family: var(--font-DMSans);
  font-size: var(--section-font-size);
}

.fade-out {
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.15s ease;
}


/*----- LOGO -----*/

.flipper-container {
  position: relative;
  perspective: 1000px;
  width: 70px;
  height: 70px;
}

.flipper-container img {
  position: absolute;
  width: 100%;
  height: auto;
}

.flip {
  height: 100%;
  width: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.3s ease-in-out;
}

.face {
  position: absolute;
  height: 100%;
  width: 100%;
  backface-visibility: hidden;
}

.front {
  transform: rotateY(0deg);
}

.back {
  transform: rotateY(180deg);
}


/*----- HAMBURGER -----*/

.hamburger {
  margin: auto;
  scale: 0.45;
}

.hamburger .line{
  width: 50px;
  height: 5px;
  background-color: var(--text-black-color);
  margin: 8px auto;
  display: block;
  -webkit-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}

.hamburger:hover{
  cursor: pointer;
}

#hamburger-1.is-active .line:nth-child(2){
  opacity: 0;
}

#hamburger-1.is-active .line:nth-child(1){
  -webkit-transform: translateY(13px) rotate(45deg);
  -ms-transform: translateY(13px) rotate(45deg);
  -o-transform: translateY(13px) rotate(45deg);
  transform: translateY(13px) rotate(45deg);
}

#hamburger-1.is-active .line:nth-child(3){
  -webkit-transform: translateY(-13px) rotate(-45deg);
  -ms-transform: translateY(-13px) rotate(-45deg);
  -o-transform: translateY(-13px) rotate(-45deg);
  transform: translateY(-13px) rotate(-45deg);
}

.custom-menu {
  display: none;
  transition: all 0.3s ease;
  padding-top: 20px;
}

.custom-menu ul {
  padding: 0px;
}

.custom-menu li {
  text-align: center;
  border-top: 2px solid var(--custom-menu-border-color);
  margin: 2px;
  width: 100%;
  display: flex;
}

.custom-menu li a {
  margin-bottom: -3px;
  padding: 3px;
}

.custom-menu li:nth-child(1) {
  border-top: transparent;
}

/* #endregion */

/* #region Modal*/

.modal-body .row {
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0px !important;
  padding-left: 0px !important;
}

.btn-close:focus {
  outline: none;
  box-shadow: none;
}

.modal-content {
  border: 2px solid var(--card-black-color);
  font-family: var(--font-WorkSans);
  box-shadow: 0px 0px 0 var(--card-black-color);
  transition: box-shadow 0.1s ease-out 0.15s;  /* Delay of 0.1s */
}

.modal-header h5 {
  font-size: 24px;
  font-weight: 600;
}

.modal-header button {
  font-size: 10px;
}

.modal-body .row {
  padding: var(--bs-modal-padding);
  padding-top: 5px;
  padding-bottom: 5px;
}

.modal-body .col-6 {
  position: relative;
}

.modal-copy {
  position: relative;
  padding: 0;
}

.modal-copy img {
  width: 26px;
}

.modal.fade .modal-dialog {
  transform: scale(0.8);
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  opacity: 0;
}

.modal.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

.modal.show .modal-content {
  box-shadow: -9px 9px 0 var(--card-black-color);
}

.copy-balloon {
  display: none;
  position: absolute;
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  right: 0px;
  margin-top: 10px;
}

.copy-balloon.active {
  display: inline-block;
}

.no-effect {
  transition: none;
  background-color: transparent;
  border: none;
}

.no-effect:focus, .no-effect:active {
  outline: none;
  box-shadow: none;
}

/* #endregion */

/* #region Intro */

.intro {
  margin-top: var(--intro-margin-top-xxl);
}

.intro h1 {
  font-family: var(--font-WorkSans);
  font-size: var(--name-font-size-xxl);
  font-weight: var(--name-font-weight);
  color: var(--text-black-color);
  line-height: 75px;
}

.intro h2 {
  font-family: var(--font-WorkSans);
  font-size: var(--intro-font-size-xl);
  font-weight: var(--name-font-weight);
  color: var(--text-black-color);
  line-height: 75px;
  margin-top: 100px !important;
}

.intro p {
  font-family: var(--font-DMSans);
  font-size: var(--intro-font-size-xxl);
  font-weight: var(--intro-font-normalWeight);
  color: var(--text-black-color);
  margin-top: 56px;
  line-height: var(--intro-font-line-height-xxl);
}

.intro .tech {
  display: inline-block;
  font-weight: var(--intro-font-boldWeight);
  animation: stagger-text 1s linear infinite;
  color: var(--tech-color);
}

.intro .design {
  display: inline-block;
  animation: wave-text 1s ease-in-out infinite;
  font-weight: var(--intro-font-boldWeight);
  color: var(--tech-color);
}

@keyframes stagger-text{
  0% { transform: translateX(0); }
  20% { transform: translateX(-0.02em); }
  40% { transform: translateX(0.02em); }
  60% { transform: translateX(-0.02em); }
  80% { transform: translateX(0.02em); }
  100% { transform: translateX(0); }
}

@keyframes wave-text{
  0%{ transform: translateY(0em); }
  60%{ transform: translateY(-0.15em); }
  100%{ transform: translateY(0em); }
}


/*----- SCALING -----*/

@media (max-width: 1400px) {
  .intro h1 {
    font-size: var(--name-font-size-xl);
  }

  .intro p {
    font-size: var(--intro-font-size-xl);
    line-height: var(--intro-font-line-height-xl);
  }

  .intro {
    margin-top: var(--intro-margin-top-xl);
  }
}

@media (max-width: 1200px) {
  .intro h1 {
    font-size: var(--name-font-size-lg);
  }

  .intro p {
    font-size: var(--intro-font-size-lg);
    line-height: var(--intro-font-line-height-lg);
  }

  .intro {
    margin-top: var(--intro-margin-top-lg);
  }
}

@media (max-width: 992px) {
  .intro h1 {
    font-size: var(--name-font-size-md);
  }

  .intro p {
    font-size: var(--intro-font-size-md);
    line-height: var(--intro-font-line-height-md);
  }

  .intro {
    margin-top: var(--intro-margin-top-md);
  }
}

@media (max-width: 768px) {
  .intro h1 {
    font-size: var(--name-font-size-sm);
  }

  .intro p  {
    font-size: var(--intro-font-size-sm);
    line-height: var(--intro-font-line-height-sm);
  }

  .intro {
    margin-top: var(--intro-margin-top-sm);
  }
}

@media (max-width: 576px) {
  .intro h1 {
    font-size: var(--name-font-size-xs);
  }

  .intro p  {
    font-size: var(--intro-font-size-xs);
    line-height: var(--intro-font-line-height-xs);
  }

  .intro {
    margin-top: var(--intro-margin-top-xs);
  }
}

/* #endregion */

/* #region Filter */

.filter {
  margin-top: var(--filter-margin-top-xxl);
}

.filter .d-flex {
  display: flex;
  flex-wrap: wrap;
}

.filter-link {
  font-family: var(--font-DMSans);
  font-size: var(--filter-font-size-xxl);
  font-weight: var(--filter-font-normalWeight);
  color: var(--text-black-color);
  margin-right: 25px !important;
  transition: font-weight 0.2s, border-bottom 0.15s;
  border-bottom: 2px solid transparent;
}

.filter-link.active {
  font-weight: var(--filter-font-boldWeight);
}

.filter-link:hover {
  border-bottom: 2px solid var(--text-black-color);
}

.fade-out {
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.15s ease;
}


/*----- SCALING -----*/

@media (max-width: 1400px) {
  .filter-link {
    font-size: var(--filter-font-size-xl);
  }

  .filter .d-flex {
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
  }

  .filter {
    margin-top: var(--filter-margin-top-xl);
  }
}

@media (max-width: 1200px) {
  .filter-link {
    font-size: var(--filter-font-size-lg);
  }

  .filter .d-flex {
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
  }

  .filter {
    margin-top: var(--filter-margin-top-lg);
  }
}

@media (max-width: 992px) {
  .filter-link {
    font-size: var(--filter-font-size-md);
  }

  .filter .d-flex {
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
  }

  .filter {
    margin-top: var(--filter-margin-top-md);
  }
}

@media (max-width: 768px) {
  .filter-link  {
    font-size: var(--filter-font-size-sm);
  }

  .filter .d-flex {
    flex-direction: column;
  }

  .filter {
    margin-top: var(--filter-margin-top-sm);
  }
}

@media (max-width: 576px) {
  .filter-link  {
    font-size: var(--filter-font-size-xs);
  }

  .filter .d-flex {
    flex-direction: column;
  }

  .filter {
    margin-top: var(--filter-margin-top-xs);
  }
}

/* #endregion */

/* #region Quick Scroll*/

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--text-black-color);
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.scroll-to-top img {
  position: relative;
  width: 81%;
  height: auto;
}

.scroll-to-top.show {
  visibility: visible;
  opacity: 1;
}

/* #endregion */

/* #region Element List*/

.element .backdrop {
  height: var(--card-height-xxl);
  width: 100%;
  background-color: var(--card-black-color);
  border-radius: var(--card-border-radious);
}

.element .item {
  position: absolute;
  top: 0;
  height: var(--card-height-xxl);
  width: 100%;
  border-radius: var(--card-border-radious);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.element .outline {
  position: absolute;
  top: 0;
  height: var(--card-height-xxl);
  width: 100%;
  border-radius: var(--card-border-radious);
  border: 4px solid var(--card-black-color);
  z-index: 10;
}

.element_list {
  margin-top: 100px;
}

.element_list .element {
  position: relative;
}

.element .type-box {
  background-color: var(--card-black-color);
  position: absolute;
  top: 0;
  left: 0;
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 5px;
  border-bottom-right-radius: 25px;
  z-index: 10;
}

.element .type-image {
  position: absolute;
  top: 11px;
  left: 9px;
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 5px;
}

.element .item-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: 4px solid black;
  border-bottom-right-radius: var(--card-border-radious);
  border-bottom-left-radius: var(--card-border-radious);
  transition: opacity 0.2s ease-in-out;
  opacity: 1;
  position: absolute;
  z-index: 2;
}

.opacity-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--card-overlay-color);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 3;
}

.item {
  position: relative;
}

.element .fallback-item-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: 4px solid black;
  border-bottom-right-radius: var(--card-border-radious);
  border-bottom-left-radius: var(--card-border-radious);  
  position: absolute;
  z-index: 1;
}

.element .info-box {
  width: 88%;
  bottom: 48px;
  right: -20px;
  z-index: 11;
  border: 4px solid black;
  position: absolute;
  background-color: var(--white-color);
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 12px;
  padding-right: 12px;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.element:hover .item {
  transform: translate(13px, -13px);
}

.element:hover .info-box,
.element:hover .type-box,
.element:hover .type-image {
  opacity: 1;
}


/*----- SCALING -----*/

.element .backdrop, .element .item, .element .outline {
  height: var(--card-height-xxl);
}

@media (max-width: 1400px) {
  .element .backdrop, .element .item, .element .outline {
    height: var(--card-height-xl);
  }
}

@media (max-width: 1200px) {
  .element .backdrop, .element .item, .element .outline {
    height: var(--card-height-lg);
  }
}

@media (max-width: 992px) {
  .element .backdrop, .element .item, .element .outline {
    height: var(--card-height-md);
  }
}


@media (max-width: 767px) {
  .element .backdrop, .element .item, .element .outline {
    height: var(--card-height-sm);
  }
}

/* #endregion */

/* #region Loader */

.loading-icon {
  justify-content: center;
  position: absolute;
  top: 32px;
  right: 25px;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.1s ease;
  z-index: 2;
}

.loading-icon.visible {
  opacity: 1;
  visibility: visible;
}

.loading-icon .square {
  display: block;
  margin: 2px;
  width: 7px;
  height: 7px;
  position: absolute;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.loading-icon.light .square {
  background: var(--loader-light-color);
}

.loading-icon.dark .square {
  background: var(--loader-dark-color);
}

@keyframes pulse {
  0%   {opacity: 1;}
  25%  {opacity: 0.7;}
  50%  {opacity: 0.2;}
  100% {opacity: 0;}
}

.square:nth-child(1) {
  opacity: 1;
  top:0;
  left:0;
  animation: pulse 0.8s ease-in-out 0.2s infinite;
}

.square:nth-child(2) {
  opacity: 0.7;
  top:0;
  right:0;
  animation: pulse 0.8s ease-in-out 0.4s infinite;
}

.square:nth-child(3) {
  opacity: 0.2;
  bottom:0;
  right:0;
  animation: pulse 0.8s ease-in-out 0.6s infinite;
}

.square:nth-child(4) {
  opacity: 0;
  bottom:0;
  left:0;
  animation: pulse 0.8s ease-in-out 0.8s infinite;
}

.loading-icon.hidden {
  opacity: 0;
  display: none;
}

/* #endregion */

/* #region Element Description */

.info-title {
  font-family: var(--font-DMSans);
  font-size: var(--card-title-font-size);
  font-weight: var(--card-title-font-weight);
  color: var(--text-black-color);
  margin-bottom: 0px;
}

.info-title .design {
  color: var(--design-color);
}

.info-title .tech {
  color: var(--tech-color);
}

.info-title .both {
  text-align: center;
  background: linear-gradient(to right, var(--design-color) 0%, var(--design-color) 25%, var(--tech-color) 50%, var(--design-color) 100%);
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-animation: shine 5s linear infinite;
          animation: shine 5s linear infinite;
}

@-webkit-keyframes shine {
  to {
    background-position: 200% center;
  }
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.info-subtitle {
  font-family: var(--font-DMSans);
  font-size: var(--card-subtitle-font-size);
  font-weight: var(--card-subtitle-font-weight);
  color: var(--text-grey-color);
  margin-top: -2px;
}

.info-description {
  font-family: var(--font-DMSans);
  font-size: var(--card-desc-font-size);
  font-weight: var(--card-desc-font-weight);
  color: var(--text-black-color);
  margin-top: 12px;
  line-height: 19px;
  margin-bottom: 0px;
}

/* #endregion */

/* #region Footer*/

footer {
  padding-top: 60px;
}

footer.grey {
  background-color: var(--background-grey-color);
}

.text-left {
  text-align: left;
  padding-left: 0px;
}

.text-right {
  text-align: right;
  padding-right: 0px;
}

.footer-content {
  font-family: var(--font-WorkSans);
  color: var(--text-black-color);
  background-color: transparent;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid var(--text-black-color);
}

.heart {
  width: 20px;
  margin: 0 3px;
  font-size: 10px;
  animation: pound 0.35s infinite alternate;
  -webkit-animation: pound 0.35s infinite alternate;
}

@-webkit-keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@keyframes pound {
  to {
    transform: scale(1.1);
  }
}

/* #endregion */

/* #region Detail */

.spacer-study {
  margin-bottom: 40px;
}

.detail.intro h1 {
  font-size: var(--detail-name-font-size-xxl);
  font-weight: var(--detail-name-font-weight);
  line-height: var(--detail-name-font-line-height-xxl);
  margin-bottom: 0px;
}

.detail.intro.short {
  margin-top: 0px !important;
}

#toc-sidebar {
  padding-top: 0px !important;
}

.container-fluid.wiki {
  padding-top: 100px;
}



.detail.intro h3 {
  font-weight: var(--detail-subtitle-fon-weight);
  font-size: var(--detail-subtitle-font-size-xxl);
  margin-bottom: 0px;
  margin-top: 3px;
  color: var(--text-grey-color);
}

.detail.intro p {
  font-size: var(--detail-intro-font-size-xxl);
  font-weight: var(--detail-intro-font-normalWeight);
  line-height: var(--detail-intro-font-line-height-xxl) !important;
  margin-top: 56px;
  line-height: 42px;
}

.detail.intro.doc p {
  font-size: var(--detail-intro-font-size-md) !important;
  font-weight: var(--detail-intro-font-normalWeight);
  line-height: var(--detail-intro-font-line-height-md) !important;
  margin-top: 40px !important;
  line-height: 42px;
}

.detail.intro.doc li p {
  font-size: var(--detail-intro-font-size-md) !important;
  font-weight: var(--detail-intro-font-normalWeight);
  line-height: var(--detail-intro-font-line-height-md) !important;
  margin-top: 20px !important;
  line-height: 42px;
}

.detail.intro.doc.top h3 {
  font-size: var(--detail-intro-font-size-md) !important;
  margin-top: 0px !important;
  line-height: 42px;
}

.detail.intro.doc h3 {
  font-size: var(--detail-intro-font-size-md) !important;
  margin-top: 40px !important;
  line-height: 42px;
}

.detail.intro.doc img {
  height: 100%;
  width: auto;
  display: block;
  margin: 0px auto;
  margin-top: 40px;
}

.dotted-list {
  list-style-type: disc;
  margin-left: 20px;
}

.category-title {
  font-family: var(--font-DMSans);
  font-size: var(--category-title-font-size-xxl);
  font-weight: var(--category-title-font-weight);
  color: var(--text-black-color);
  margin: 0px;
}

.course-title {
  font-family: var(--font-DMSans);
  font-size: var(--course-title-font-size-xxl);
  font-weight: var(--course-title-font-weight);
  color: var(--text-black-color);
  margin: 0px;
}

.category-content {
  font-size: var(--category-content-font-size-xxl);
  font-weight: var(--category-content-font-weight);
  color: var(--text-grey-color);
  font-family: var(--font-DMSans);
}

.course-content {
  font-size: var(--course-content-font-size-xxl);
  font-weight: var(--course-content-font-weight);
  color: var(--text-grey-color);
  font-family: var(--font-DMSans);
}

.course-content b{
  font-weight: var(--course-content-highlight-font-weight);
  color: var(--text-black-color);
}


.detail.intro a {
  font-weight: var(--detail-intro-font-boldWeight);
  color: var(--text-orange-color);
  font-style: italic;
}

.detail-roles {
  font-family: var(--font-DMSans);
  color: var(--text-black-color);
  margin-top: 80px;
}

.responsive-container-xo {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: 2%;
}

.responsive-iframe-xo {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

.responsive-iframe {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  overflow: hidden;
  margin: 0px;
  border-radius: 15px;
}

.responsive-iframe > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.grid-item {
  width: 100%;
  object-fit: cover;
  padding: 0px;
  margin: 0px;
  border-radius: 15px;
  width: 100%;
  height: auto;
  display: block;
}

.album {
  padding: 5px;
  margin: 0px !important;
}

.album img {
  margin: 0px;
}

.vid-element {
  padding: 5px;
}

.detail-pics {
  margin-top: 80px;
}

.video-container img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.course-section {
  background-color: var(--background-light-white);
  padding-bottom: 80px;
  padding-bottom: 80px;
}

.title-course-spacer {
  margin-top: 65px;
}

.rounded-border {
  border-radius: 15px;
}

.course-spacer {
  margin-top: 40px;
}

.course-image {
  padding: 0px;
}

.course-text {
  margin: 0px;
  padding: 0px;
}

.course-text p {
  margin: 0px;
}

.video-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.video-container video {
  width: 100%;
  height: 100%;
}

.col-custom {
  width: 45.83%;
}

/*----- SCALING -----*/

@media (max-width: 1400px) {
  .detail.intro h1 {
    font-size: var(--detail-name-font-size-xl);
    line-height: var(--detail-name-font-line-height-xl);
  }

  .detail.intro h3 {
    font-size: var(--detail-subtitle-font-size-xl);
  }

  .detail.intro p {
    font-size: var(--detail-intro-font-size-xl);
    line-height: var(--detail-intro-font-line-height-xl) !important;
  }

  .category-title {
    font-size: var(--category-title-font-size-xl);
  }

  .category-content {
    font-size: var(--category-content-font-size-xl);
  }

  .course-title {
    font-size: var(--course-title-font-size-xl);
  }

  .course-content {
    font-size: var(--course-content-font-size-xl);
  }
}

@media (max-width: 1200px) {
  .detail.intro h1 {
    font-size: var(--detail-name-font-size-lg);
    line-height: var(--detail-name-font-line-height-lg);
  }
  
  .detail.intro h3 {
    font-size: var(--detail-subtitle-font-size-lg);
  }
  
  .detail.intro p {
    font-size: var(--detail-intro-font-size-lg);
    line-height: var(--detail-intro-font-line-height-lg) !important;
  }
  
  .category-title {
    font-size: var(--category-title-font-size-lg);
  }
  
  .category-content {
    font-size: var(--category-content-font-size-lg);
  }

  .course-title {
    font-size: var(--course-title-font-size-lg);
  }
  
  .course-content {
    font-size: var(--course-content-font-size-lg);
  }
}

@media (max-width: 992px) {
  .detail.intro h1 {
    font-size: var(--detail-name-font-size-md);
    line-height: var(--detail-name-font-line-height-md);
  }
  
  .detail.intro h3 {
    font-size: var(--detail-subtitle-font-size-md);
  }
  
  .detail.intro p {
    font-size: var(--detail-intro-font-size-md);
    line-height: var(--detail-intro-font-line-height-md) !important;
  }
  
  .category-title {
    font-size: var(--category-title-font-size-md);
  }
  
  .category-content {
    font-size: var(--category-content-font-size-md);
  }

  .course-title {
    font-size: var(--course-title-font-size-md);
  }
  
  .course-content {
    font-size: var(--course-content-font-size-md);
  }

  .col-custom {
    all: unset;
  }
}

@media (max-width: 768px) {
  .detail.intro h1 {
    font-size: var(--detail-name-font-size-sm);
    line-height: var(--detail-name-font-line-height-sm);
  }
  
  .detail.intro h3 {
    font-size: var(--detail-subtitle-font-size-sm);
  }
  
  .detail.intro p {
    font-size: var(--detail-intro-font-size-sm);
    line-height: var(--detail-intro-font-line-height-sm) !important;
  }
  
  .category-title {
    font-size: var(--category-title-font-size-sm);
  }
  
  .category-content {
    font-size: var(--category-content-font-size-sm);
  }

  .course-title {
    font-size: var(--course-title-font-size-sm);
  }
  
  .course-content {
    font-size: var(--course-content-font-size-sm);
  }

  .col-custom {
    all: unset;
  }
}

@media (max-width: 576px) {
  .detail.intro h1 {
    font-size: var(--detail-name-font-size-xs);
    line-height: var(--detail-name-font-line-height-xs);
  }
  
  .detail.intro h3 {
    font-size: var(--detail-subtitle-font-size-xs);
  }
  
  .detail.intro p {
    font-size: var(--detail-intro-font-size-xs);
    line-height: var(--detail-intro-font-line-height-xs) !important;
  }
  
  .category-title {
    font-size: var(--category-title-font-size-xs);
  }
  
  .category-content {
    font-size: var(--category-content-font-size-xs);
  }

  .course-title {
    font-size: var(--course-title-font-size-xs);
  }
  
  .course-content {
    font-size: var(--course-content-font-size-xs);
  }

  .col-custom {
    all: unset;
  }
}

/* #endregion */

/* #region Image Modal */

.gallery-img {
  /*cursor: pointer;*/
}

.modal-lg {
  max-width: 75%;
}

.modal-content {
  max-height: 90vh;
  overflow-y: auto;
}

.carousel-inner img {
  max-height: 70vh;
  object-fit: contain;
  width: 100%;
}

.carousel-control-prev-icon {
  background-image: url('src/icons/common/arrow_left.png');
  background-size: 100% 100%;
  width: 30px;
  height: 30px;
}

.carousel-control-next-icon {
  background-image: url('src/icons/common/arrow_right.png');
  background-size: 100% 100%;
  width: 30px;
  height: 30px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: transparent;
}

.img-fullstretch {
  width: 100%;
  height: auto;
  display: block;
}

.row.detail-block {
  background-color: var(--background-grey-color);
  margin-top: 55px;
}

.detail-block .col-12{
  padding: 0px !important;
}

.text-opener {
  margin-top: 50px;
}

.image-opener {
  margin-top: 80px;
}

@media (max-width: 576px) {
  .modal-lg {
    max-width: 100%;
  }
}


/* #region Mobile Hover */

@media (hover: none) {
  .element:hover {
    pointer-events: none;
  }
}

/* #endregion */

/* #region Lazy loading */

video.lazy-video {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

video.fade-in {
  opacity: 1;
}

img.lazy-image {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

img.fade-in {
  opacity: 1;
}

.filter-item {
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.filter-item.loaded {
  opacity: 1;
}

.vid-element {
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.vid-element.loaded {
  opacity: 1;
}

/* #endregion */