@font-face {
  font-family: 'League Gothic';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/LeagueGothic/League\ Gothic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/Inter/Inter.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --main-dark-color: #0b0b0b;
  --ff-body: 'Inter', sans-serif;
  --ff-heading: 'League Gothic';
  --side-color: #fcd800;

  --fs-xl: 5rem;
  --fs-600: 1.5rem;
  --fs-500: 1.25rem;
  --fs-400: 1rem;
  --fs-300: 0.8rem;
}
@media (min-width: 999px) {
  :root {
    --fs-xl: 6rem;
    --fs-600: 2.4rem;
    --fs-500: 1.3rem;
    --fs-400: 1rem;
    --fs-300: 0.7rem;
  }
}

.modal-contact-wrapper h3 {
  color: #b1b1b1;
  margin-bottom: 2.2rem;
}
.modal-contact {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  z-index: 12;
  position: fixed;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
}
.modal-contact-wrapper {
  padding: 7vh 7rem;
  /* border: 1px solid red; */
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-group {
  width: 420px;
  position: relative;
  margin-bottom: 2rem;
}
.contact-group input {
  font-size: 13px;
  height: 25px;
  padding: 10px 10px 10px 5px;
  display: block;
  width: 100%;
  border: none;
  outline: none;
  border-bottom: 1px solid #b1b1b1;
  color: #b1b1b1;
  background: rgba(0, 0, 0, 0);
  opacity: 0.5;
  transition: 0.2s ease;
}
.contact-group textarea {
  font-size: 13px;
  height: 25px;
  min-height: 25px;
  padding: 10px 10px 10px 5px;
  display: block;
  width: 100%;
  border: none;
  outline: none;
  border-bottom: 1px solid #b1b1b1;
  color: #b1b1b1;
  background: rgba(0, 0, 0, 0);
  opacity: 0.5;
  transition: 0.2s ease;
  resize: vertical;
}
.contact-group textarea::-webkit-scrollbar {
  width: 5px;
  color: #b1b1b1;
}

.contact-group textarea:focus,
.contact-group input:focus {
  outline: none;
}
.contact-group input,
.contact-group label {
  display: block;
}
.contact-group label {
  color: #b1b1b1;
  font-size: 13px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 0px;
  opacity: 0.5;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

/* active state */
.contact-group input:focus ~ label,
.contact-group input:valid ~ label,
.contact-group textarea:focus ~ label,
.contact-group textarea:valid ~ label {
  top: -20px;
  font-size: 12px;
  color: #b1b1b1;
  opacity: 1;
}

a.send-btn {
  float: right;
  color: #b1b1b1;
  transition: 0.2s ease;
}

a.send-btn:hover {
  color: #fafafa;
  cursor: pointer;
}
.startProjectTxt:hover {
  cursor: pointer;
}
#newprj-arrow {
  transition: all 0.3s ease;
  transform: translate(0px, 3px);

  right: -12px;
  position: absolute;
}
.startProjectContainer:hover > svg {
  transform: translate(2px, 0px) !important;
}
.highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  /* opacity: 0.5; */
  opacity: 0;
}

/* active state */
.contact-group input:focus ~ .highlight {
  -webkit-animation: inputHighlighter 0.3s ease;
  -moz-animation: inputHighlighter 0.3s ease;
  animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
  from {
    background: #b1b1b1;
  }
  to {
    width: 0;
    background: transparent;
  }
}
@-moz-keyframes inputHighlighter {
  from {
    background: #b1b1b1;
  }
  to {
    width: 0;
    background: transparent;
  }
}
@keyframes inputHighlighter {
  from {
    background: #b1b1b1;
  }
  to {
    width: 0;
    background: transparent;
  }
}

a.send-btn {
  padding-top: 1rem;
  float: right;
  color: #b1b1b1;
  transition: 0.2s ease;
}

a.send-btn:hover {
  color: #fafafa;
  cursor: pointer;
}

#front-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
  padding-left: auto;
  padding-right: auto;
  background-color: inherit;
  overflow-x: hidden;
  background-color: #f5f5f4;
  position: static;
}

.sectionWrapper {
  display: flex;
  width: 100%;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  margin: 0 0;
  z-index: 6;
}

.main-menu {
  padding: 1em;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.main-menu-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.main-menu-links * {
  font-size: var(--fs-400);
}

.main-menu-links a:link {
  color: var(--main-light);
  text-decoration: none;
}
.main-menu-links a:visited {
  color: var(--main-light);
}
.whiteOverlay {
  position: fixed;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  transition-delay: 0.1s;
  backdrop-filter: blur(4px);
  z-index: -1;
  display: none;
}
.first {
  padding-left: 1em;
  display: flex;
}
.second {
  height: max-content;
  align-items: center;
  display: block;
}
.startProjectContainer {
  display: flex;
  max-height: 32px;
  flex-direction: row;
  position: relative;
}
.startProjectTxt {
  padding-right: 0.2em;
  color: var(--main-light);
  display: block;
  align-self: center;
  text-decoration: none;
}

.startProjectBtn svg {
  width: 11px;
  height: 11px;
}
.projectCircle {
  border-radius: 50%;
  background-color: var(--side-color);
  width: 24px;
  height: 24px;
  position: absolute;
  opacity: 0;
  z-index: 6;
}

@keyframes change {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes scaleIn {
  from {
    transform: scale(0.5, 0.5);
    opacity: 0.5;
  }
  to {
    transform: scale(2.5, 2.5);
    opacity: 0;
  }
}
.link-wrapper {
  margin-right: 5rem;
  text-decoration: none;
}
.link-wrapper:hover {
  text-decoration: underline;
}
#MAINMENULOGO {
  max-width: 154px;
  height: auto;
  position: relative;
  top: 0;
}
#MAINMENULOGO:hover {
  filter: brightness(1.5);
}
.header {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
.menu-btn {
  display: none;
}
.areasSection {
  height: fit-content;
  /* padding: 4em 12vw; */
  padding: 4em 0vw;
  padding-top: 4em;
  padding-bottom: 0em;
  justify-content: center;
  align-items: center;
  background-color: var(--main-dark-color);
  z-index: 4;
}

@media only screen and (max-width: 999px) {
  #newprj-arrow {
    display: none;
  }
  .stepsContainer {
    flex-direction: column;
  }
  .stepsContainer .stepsLeft--num {
    display: none;
  }
  .areasSection {
    padding-bottom: 4em;
  }
  .works-img--after {
    padding-bottom: 4px;
  }
  .imgWrapper img {
    max-height: 345px;
  }
  .imgWrapper .works-img--after {
    animation: fadingImg 5s linear infinite;
  }
  .works-img--delayed {
    animation-delay: 2.5s !important;
  }

  @keyframes fadingImg {
    0% {
      opacity: 0;
    }
    40% {
      opacity: 1;
    }
    80% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  .contact-group {
    width: 100%;
  }
  .modal-contact-wrapper {
    padding: 7vh 1rem;
  }
  #MAINMENULOGO {
    position: absolute;
    top: 0;
    margin-left: -16px;
  }
  #MainMenuId {
    padding: 10px 2vw;
  }
  .play-widget {
    top: 60%;
    transform: translate(-50%, 0%);
  }
  .video-preview {
    padding: 1.2rem 0rem 0rem;
  }
  .contact-section .btn {
    font-size: 1.5rem;
    padding: 1rem;
  }
  .second {
    overflow: hidden;
    width: 500px;
  }

  .main-menu-links {
    overflow: hidden;
    flex-direction: column;
    clear: both;
    max-height: 0;
    height: 100vh;
    transition: max-height 0.2s ease-out;
    justify-content: center;
    align-items: flex-end;
  }
  .link-wrapper {
    margin-right: 1.35rem;
    padding: 3rem 0;
  }
  .link-wrapper a {
    font-size: 2rem;
    margin: 0 0;
  }
  .menu-icon {
    padding: 28px 20px;
    position: relative;
    float: right;
    cursor: pointer;
  }
  .menu-icon .nav-icon {
    background: var(--main-light);
    display: block;
    height: 2px;
    width: 18px;
    position: relative;
    transition: background 0.2s ease-out;
  }
  .menu-icon .nav-icon:before {
    background: var(--main-light);
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 7px;
    transition: all 0.2s ease-out;
  }
  .menu-icon .nav-icon:after {
    background: var(--main-light);
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all 0.2s ease-out;
    top: -7px;
  }
  .second .menu-btn:checked ~ .main-menu-links {
    height: 93vh;
    max-height: 100vh;
  }
  .second .menu-btn:checked ~ .menu-icon .nav-icon {
    background: transparent;
  }
  .second .menu-btn:checked ~ .menu-icon .nav-icon:before {
    transform: rotate(-45deg);
    top: 0;
  }
  .second .menu-btn:checked ~ .menu-icon .nav-icon:after {
    transform: rotate(45deg);
    top: 0;
  }
}
@media only screen and (max-width: 850px) {
  .link-wrapper {
    margin-right: 1rem;
    padding: 2rem 0;
  }
}
@media only screen and (max-width: 500px) {
  .link-wrapper {
    margin-right: 0.7rem;
    padding: 1rem 0;
  }
  .link-wrapper a {
    font-size: 1.82rem;
  }
}

.coverSection {
  height: 100vh;
  display: block;
  margin: 0 0;
  padding: 0 0;
  justify-content: center;
  align-items: center;
  background-image: url(img/Animation_Preview.jpg);
  background-size: cover;
  background-color: var(--main-dark-color);
}
.coverSection h1 {
  margin: 0;
  color: var(--main-light);
  position: absolute;
  font-size: 3em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#btn {
  background-color: #cf245f;
  background-image: linear-gradient(to bottom right, #fcd34d, #ef4444, #ec4899);
  border: 0;
  border-radius: 0.25rem;
  box-sizing: border-box;
  color: var(--main-light);
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, system-ui, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
    'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.75rem;
  padding: 1rem 1.25rem;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  z-index: 10;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px #cf245f;
}
#btn:active {
  box-shadow: none;
}
#cover-img-main {
  background-size: 100%;
  transform: scale(1) translateX(0px) translateY(0px);
  transition: all 0.3 ease-in-out;
  background-position: top;
  background-repeat: no-repeat;
  background-image: url(img/coverpic.png);
  background-position-y: 0;
  align-items: center;
  justify-content: center;
  width: inherit;
  height: 100%;
  z-index: 5;
  overflow-y: hidden;
}
.cover-video-anim {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
  transition: all 500ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.coverOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
}
#blink-text {
  color: var(--main-light);
  z-index: 10;
  font-size: 1.5em;
  position: absolute;
  text-align: center;
  top: 17%;
  text-transform: lowercase;
  transition: 0.5s ease-in-out;
  opacity: 0;
  left: 45%;
}
.showreel {
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.aboutSection {
  height: fit-content;
  padding: 8em 5vw;
  padding-bottom: 10em;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f4;
  display: flex;
  z-index: 6;
}
.textWrapper {
  text-align: center;
  justify-content: center;
  align-self: center;
}
.aboutSection .textWrapper {
  width: 100%;
  margin-top: 2em;
  max-width: 1100px;
}
.gradientTop {
  position: absolute;
  top: -0.2em;
  margin: 0 0;
  padding: 0 0;
  width: 100%;
  box-shadow: -10px -10px 50px 50px rgb(0 0 0);
  clip-path: inset(0px 0px -255px 0px);
}

.gradientBottom {
  position: absolute;
  margin: 0 0;
  padding: 0 0;
  bottom: -1em;
  width: 100%;
  box-shadow: -10px -10px 50px 50px rgb(0 0 0);
  clip-path: inset(-255px 0px 0px 0px);
}

.videosBlockAll {
  height: fit-content;
  justify-content: space-evenly;
  align-items: center;
  display: flex;
  width: 100%;
}
.videoBlock {
  width: 30em;
  height: 15em;
  background-color: rgb(255, 255, 255);
}

.playBtn {
  text-align: center;
  line-height: 14.5em;
  color: rgba(0, 0, 0, 0.8);
}

.text-cont {
  overflow: hidden;
  line-height: 2rem;
}

.text-anim {
  transition: all 0.8s ease-out;
  will-change: transform;
}

.clip-cont {
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.clip-t {
  line-height: 1.4;
  overflow: hidden;
  margin-top: -0.1em;
  animation: clipt;
  animation-duration: 5s;
  animation-delay: 1s;
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  animation-fill-mode: both;
}
@keyframes clipt {
  from {
    line-height: 0;
  }

  to {
    line-height: 1.4;
  }
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  display: flex;
  min-height: 10px;
  justify-content: flex-end;
  align-items: center;
  background-color: #1b1c25;
  transition: width 200ms ease, opacity 200ms ease;
  z-index: 10;
}

.scroll-progress-percentage {
  display: block;
  padding: 5px 10px;
  color: #ebecf1;
}

#scroll-progress-1 {
  background-color: #e11d74;
  border-radius: 0 5px 5px 0;
}

#scroll-progress-2 {
  background-color: #17b978;
  top: auto;
  bottom: 0;
  border-radius: 0 15px 15px 0;
  transition: width 500ms ease, opacity 200ms ease;
}
.progress-area {
  z-index: -1;
  height: 97%;
  width: 90%;
  position: absolute;
}
.debuggerTxt {
  display: none;
  z-index: 99;
  position: fixed;
  bottom: 0;
  left: 0;
  font-size: 1.2rem;
  background-color: var(--side-color);
  opacity: 0.6;
}
.progress-bar {
  background-color: var(--side-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 0.33%;
  overflow: hidden;
  height: 0%;
  transition: all 0.3s ease;
  z-index: 5;
  opacity: 0.8;
}

#scroll-progress-3 > .scroll-progress-percentage {
  display: none;
  padding: 0 20px;
  color: #1b1c25;
}
.stepsProgresOut {
  position: absolute;

  bottom: 0;
  left: 0;
  z-index: 9;
  width: 1px;
  height: 80%;
  background-color: rgba(10, 10, 10, 0.2);
  transition: opacity 0.3s linear;
  background-color: rgba(10, 10, 10, 0.2);
  position: absolute;
  min-height: 20px;
  border-radius: 15px;
  transition: height 200ms ease, opacity 200ms ease;
  transition-duration: 0.3s;
  align-items: flex-end;
  z-index: 8;
}

.noScroll {
  width: 100vw;
}
.areaScroll {
  background-color: var(--main-light);
  width: 100vw;
}
#howwedo {
  padding: 0em;
  padding-bottom: 2rem;
  align-self: center;
  color: var(--main-light);
}

.stepsContainer {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  width: 100%;
  padding: 5vw;
}

.stepsLeft {
  color: var(--main-light);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-top: 2rem;
}
.stepsLeft--txt {
  width: 100%;
  margin-top: 1em;
  text-align: left;
}
.stepsLeft h3,
.stepsLeft h4 {
  color: #fff;
}
.stepsLeft--num {
  margin-top: 8em;
  text-align: left;
}
.stepsRight {
  color: #ec4899;
  width: 100%;
  box-sizing: border-box;
}

.stepsRight img {
  width: 800px;
  height: auto;
}

.stepsProgress {
  transform: scale3d(1, 0, 1);
  width: 100%;
  height: 100%;
  background-color: #2b2b2b;
  transform-origin: bottom left;
  will-change: transform;
}
.fade-in {
  animation-name: fadeInUp;
  animation-duration: 1.2s;
  animation-delay: 1s;
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    transform: translate3d(0, 40px, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@-webkit-keyframes fadeInUp {
  from {
    transform: translate3d(0, 40px, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: both;
}
.fadeAnim {
  animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: both;
}

.fadeInUp {
  opacity: 0;
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
}
.rail_track-group--wrapper {
  margin-bottom: 0rem;
  position: relative;
  top: 0;
  overflow: hidden;
  pointer-events: none;
  display: inline-flex;
  position: absolute;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
}
.rail_track-group {
  white-space: nowrap;
  display: inline-flex;
  width: 100%;
  animation: marquee 10s linear infinite;
}
.rail_track {
  color: white;
  position: relative;
  left: 0%;
}
.rail_track2 {
  color: white;
  position: relative;
  left: 0%;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes swap {
  0%,
  50% {
    left: 0%;
  }
  50.01%,
  100% {
    left: 100%;
  }
}
.mail-to {
  font-size: var(--fs-400);
}
.footerSection {
  height: fit-content;
  padding: 0.5rem 5vw;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  background-color: var(--main-light);
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}
#rightsText {
  color: rgb(0 0 0);
  font-size: var(--fs-300);
  text-align: center;
  margin-bottom: -5px;
}

#AD-logo {
  font-family: Qwigley;
  line-height: 0.75em;
  font-size: 1.52em;
}
.socialMedia {
  font-size: 2rem;
  margin-top: 1.4rem;
  letter-spacing: 1rem;
  line-height: 2rem;
  color: rgb(0, 0, 0);
  padding: 1rem 3.5rem;
  display: flex;
  width: 100vw;
  justify-content: space-around;
}

.fa-brands:hover {
  color: var(--side-color);
}
.fa-solid:hover {
  color: var(--side-color);
}
.adLogo {
  width: 98px;
  position: relative;
  opacity: 0.6177;
  cursor: pointer;
}

.adLogo:hover {
  opacity: 1;
}
.adLogo .after {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
.adLogo .before:hover + .after,
.after:hover {
  display: block;
}

.player .player__controls {
  position: absolute;
  bottom: 8rem;
  width: 100%;
}

.gallerySection {
  height: fit-content;
  padding: 0.7rem 0vw;

  justify-content: center;
  align-items: center;
  background-image: url('img/2.jpg');
  background-size: cover;
  background: #fcfcfc;
  z-index: 6;
}

.mainGallery {
  width: 100%;
  padding: 3.5rem 15%;
  background: #fcfcfc;
  gap: 0.7vw;
  display: block;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  margin: auto;
}
.grid-col-span-2 {
  grid-column: span 2;
  height: 100%;
  max-height: 50rem;
}
.imgWrapper {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  position: relative;
}

.imgWrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.startpSection {
  z-index: 1;
  width: 100%;
  padding: 5em 0vw;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f4;
  display: flex;
  flex-direction: column;
}
.startpSection h2 {
  width: 100%;
  text-align: center;
  font-size: 6rem;
  max-width: 460px;
}
.startpSection-container {
  margin-top: 4.19em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-basis: 15%;
  max-width: 16rem;
}
.startpSection-container a {
  width: inherit;
}

/* ==========================================================================
   #Custom HTML5 Video Player
   ========================================================================== */

:root {
  --youtube-red: #fe0900;
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  width: 800px;
  border-radius: 4px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

video {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.video-controls {
  right: 0;
  left: 0;
  bottom: -40px !important;
  padding: 10px;
  position: absolute;
  bottom: 0;
  transition: all 0.3s ease;
  /* background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)); */
  clip-path: inset(0px 0px 40px 0px);
}
.video-controls-bg {
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.5)
  );
}
.video-controls:hover {
  bottom: 0px !important;
  clip-path: inset(0px 0px 0px 0px);
}

.video-controls.hide {
  opacity: 0;
  pointer-events: none;
}

.video-progress {
  position: relative;
  height: 8.4px;
  margin-bottom: 10px;
}
.socialMedia .fa-brands {
  color: rgb(74, 74, 74);
  opacity: 0.95;
}
.socialMedia .fa-brands:hover {
  color: var(--selection);
  opacity: 1;
  text-decoration: none;
}
progress {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 2px;
  width: 100%;
  height: 8.4px;
  pointer-events: none;
  position: absolute;
  top: 0;
}

progress::-webkit-progress-bar {
  background-color: #474545;
  border-radius: 2px;
}

progress::-webkit-progress-value {
  background: var(--youtube-red);
  border-radius: 2px;
}

progress::-moz-progress-bar {
  border: 1px solid var(--youtube-red);
  background: var(--youtube-red);
}

.seek {
  position: absolute;
  top: 0;
  width: 100%;
  cursor: pointer;
  margin: 0;
}

.seek:hover + .seek-tooltip {
  display: block;
}

.seek-tooltip {
  display: none;
  position: absolute;
  top: -50px;
  margin-left: -20px;
  font-size: 12px;
  padding: 3px;
  content: attr(data-title);
  font-weight: bold;
  color: var(--main-light);
  background-color: rgba(0, 0, 0, 0.6);
}

.bottom-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-controls {
  display: flex;
  align-items: center;
  color: var(--main-light);
}

.volume-controls {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.volume-controls input {
  width: 100px;
  opacity: 1;
  transition: all 0.4s ease;
}

.volume-controls:hover input,
.volume-controls input:focus {
  width: 100px;
  opacity: 1;
}

.fullscreen-button {
  margin-right: 0;
}

.pip-button svg {
  width: 26px;
  height: 26px;
}

.playback-animation {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -40px;
  margin-top: -40px;
  width: 80px;
  height: 80px;
  border-radius: 80px;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

input[type='range'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 8.4px;
  background: transparent;
  cursor: pointer;
}

input[type='range']:focus {
  outline: none;
}

input[type='range']::-webkit-slider-runnable-track {
  width: 100%;
  cursor: pointer;
  border-radius: 1.3px;
  -webkit-appearance: none;
  transition: all 0.4s ease;
}

input[type='range']::-webkit-slider-thumb {
  height: 16px;
  width: 16px;
  border-radius: 16px;
  background: var(--youtube-red);
  cursor: pointer;
  -webkit-appearance: none;
  margin-left: -1px;
}

input[type='range']:focus::-webkit-slider-runnable-track {
  background: transparent;
}

input[type='range'].volume {
  height: 5px;
  background-color: var(--main-light);
}

input[type='range'].volume::-webkit-slider-runnable-track {
  background-color: transparent;
}

input[type='range'].volume::-webkit-slider-thumb {
  margin-left: 0;
  height: 14px;
  width: 14px;
  background: var(--main-light);
}

input[type='range']::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 1.3px;
}

input[type='range']::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50px;
  border: 1px solid var(--youtube-red);
  background: var(--youtube-red);
  cursor: pointer;
  margin-top: 5px;
}

input[type='range']:focus::-moz-range-track {
  outline: none;
}

input[type='range'].volume::-moz-range-thumb {
  border: 1px solid var(--main-light);
  background: var(--main-light);
}

.hidden {
  display: none;
}

.preview {
  width: 100%;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.row > .col {
  padding: 0 8px;
}

.col {
  float: left;
  width: 25%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding: 10px 62px 0px 62px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  padding: 0 0 0 0;
  width: 80%;
  max-width: 1200px;
}

.slide {
  display: none;
}

.image-slide {
  width: 100%;
}

.modal-preview {
  width: 100%;
}

.dots {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

img.preview,
img.modal-preview {
  opacity: 0.6;
}

img.active,
.preview:hover,
.modal-preview:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.close-contact {
  color: #b1b1b1;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  opacity: 0.8;
}

.close-contact:hover,
.close-contact:focus {
  color: white;
  opacity: 1;
  text-decoration: none;
  cursor: pointer;
}
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.previous,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.previous:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* - The MOBILE - */

@media only screen and (max-width: 999px) {
  .progress-bar {
    width: 2px;
  }
  .mainGallery {
    padding: 0rem 8px 3.5rem;
  }
  #front-app {
    font-size: 17px;
  }

  #aboutMe {
    width: fit-content;
    font-size: 1.4em;
  }

  /* video section */
  .video-container {
    width: 348px;
  }
  .videosBlockAll {
    width: fit-content;
  }
  .pip-button {
    display: none;
  }
  .time {
    font-size: 70%;
    padding: 1em 1em;
  }
  svg {
    width: 20px;
  }
  /* - - - - - */
  .mainGallery {
    grid-template-columns: repeat(1, 1fr);
  }
  .mainGallery figure:nth-child(8n + 2) {
    height: 100%;
    grid-column: span 2;
  }
  .mainGallery figure:nth-child(8n + 1) {
    height: 100%;
  }
  .grid-col-span-2 {
    height: 100%;
  }

  #rightsText {
    padding-left: 0;
    padding-right: 4%;
  }
  .adLogo {
    margin-right: 6%;
  }
}
@media only screen and (min-width: 1920px) {
  .stepsRight img {
    width: 1200px;
  }
}
@media (min-width: 999px) {
  .works-img--before:hover + .works-img--after,
  .works-img--after:hover {
    opacity: 1;
  }
  /* What we do */
  .textWrapper {
    width: 80%;
  }
  /* How we do it  */
  .stepsContainer {
    flex-direction: row;
  }
  .stepsLeft {
    width: 50%;
    margin-top: 0rem;
  }

  .stepsRight {
    width: 50%;
  }
  .stepsLeft--txt {
    width: 75%;
  }
  #howwedo {
    padding: 1rem;
  }
  /* our orjects */
  .rail_track-group--wrapper {
    margin-bottom: 4rem;
    padding-top: 3rem;
  }
  .gallerySection {
    padding: 0.7rem 5vw;
  }
  .mainGallery {
    display: grid;
  }
  /* footer */
  .startpSection {
    padding: 5em 8vw;
  }
  .startpSection h2 {
    width: 50%;
    text-align: center;
  }
  .socialMedia {
    font-size: var(--fs-400);
    letter-spacing: 1em;
    color: rgb(0, 0, 0);
    padding: 0em 1.75em 0em;
    display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 16px;
  }
  .fa-brands,
  .fab {
    width: 16px;
  }
  .startpSection {
    flex-direction: row;
    width: 100%;
  }
  .startpSection-container {
    margin: auto 0;
  }
  .socialMedia a {
    width: 16px;
  }
  .socialMedia a:hover {
    text-decoration: none;
  }
  /* top navigation */
  .second {
    display: flex;
  }
  .whiteOverlay {
    display: block;
  }
}

.works-img--before {
  opacity: 1;
  position: relative;
}
.works-img--after {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  transition: all 1s ease;
  cursor: pointer;
}

.virtual-real-box {
  display: block;
  height: 320px;
  width: 320px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  padding: 1rem;
  background-clip: content-box;
  box-shadow: 5px 12px rgb(0, 0, 0);
  align-self: center;
  position: absolute;
  margin: 0 0;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  z-index: 6;
  text-align: left;
  user-select: none;
  background: rgb(0, 0, 0, 0.12);
}
@keyframes changeBorders {
  0% {
    opacity: 0;
    border: solid 5px white;
    border-left: solid 5px var(--side-color);
  }
  25% {
    border: solid 5px white;
    border-left: solid 5px var(--side-color);
    opacity: 1;
  }
  25.02% {
    border: solid 5px white;
    border-left: solid 5px var(--side-color);
    border-bottom: solid 5px var(--side-color);
  }
  50% {
    border: solid 5px white;
    border-left: solid 5px var(--side-color);
    border-bottom: solid 5px var(--side-color);
  }
  50.02% {
    border: solid 5px white;
    border-left: solid 5px var(--side-color);
    border-bottom: solid 5px var(--side-color);
    border-right: solid 5px var(--side-color);
  }
  75% {
    border: solid 5px white;
    border-left: solid 5px var(--side-color);
    border-bottom: solid 5px var(--side-color);
    border-right: solid 5px var(--side-color);
    opacity: 1;
  }
  99.92% {
    border: solid 5px white;
    border-left: solid 5px var(--side-color);
    border-bottom: solid 5px var(--side-color);
    border-right: solid 5px var(--side-color);
    border-top: solid 5px var(--side-color);
    opacity: 0;
  }
}
.virtual-real-box-loading {
  animation: changeBorders 5s linear infinite;
}
.virtual-real-box-loading::after {
  width: 5px;
  background-color: #fff;
  height: 0px;
  position: absolute;
  bottom: 0;
  left: -5px;
  z-index: 1;
  animation: movedown 5s linear infinite;
  animation-fill-mode: forwards;
  content: '';
  display: inline-block;
}
@keyframes movedown {
  0% {
    height: calc(100% + 10px);
    width: 5px;
    bottom: -5px;
    left: -5px;
  }
  25% {
    height: 5px;
    width: 5px;
    bottom: -5px;
    left: -5px;
  }
  25.01% {
    height: 5px;
    width: calc(100% + 10px);
    bottom: -5px;
    left: -5px;
  }
  50% {
    height: 5px;
    width: 0%;
    left: 100%;
    bottom: -5px;
  }
  50.01% {
    height: calc(100% + 10px);
    width: 5px;
    left: 100%;
    bottom: -5px;
  }
  75% {
    height: 0;
    width: 5px;
    left: 100%;
    bottom: 100%;
  }
  75.01% {
    height: 5px;
    width: calc(100% + 10px);
    left: 0%;
    bottom: 100%;
  }
  99.01% {
    height: 5px;
    width: 0;
    left: 0;
    bottom: 100%;
  }
}
.virtual-real-box__text {
  color: white;
  padding: 1rem;
  font-size: 6rem;
  text-shadow: #000 -1px 1px;
}
