@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    font-family: gilroy;
    cursor: none;
    font-family: "Roboto", sans-serif;
}
html,body{
    height: 100%;
    width: 100%;
    background-color: #EDEDED;
}
.container-full{
  position: relative;
}
.layout{
    background-color: transparent;
    position: absolute;
    z-index: 1000000000;
    height: 100%;
    width: 100%;
    bottom: 100%;
    background-image: url(imgs/horse/turn02_0000.png);
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
}

#main{
    position: relative;
    overflow: hidden;
    background:#EDEDED!important;
}
#page{
    position: fixed;
    /* height: 600%; */
    width: 100vw;
    background:#EDEDED!important;
    opacity: 0;
}

canvas{
  background-image: url(../imgs/hatch_logo_black.png)!important;
  /* background: #333; */
  background-position: center 60%;
  background-repeat: no-repeat;
}
canvas{
    position: relative;
    z-index: 9;
    max-width: 100vw;
    max-height: 100vh;
    /* filter: drop-shadow(2.5px 2.5px 5px #0000006c); */
}
@media (max-width:1200px) {
  canvas{
    background-size: contain;
  }
  .layout{
    background-size: contain;
  }
}

.click_graphics{
  /*background-color: aqua;
  */width: 100px;
  height: 100px;
  position: fixed;
  z-index: 8;
  opacity: 0;
  filter: drop-shadow(2.5px 2.5px 5px #02182043);
}
@media(max-width:1200px){
  .click_graphics{
    display: none;
  }
}
.click_graphics.at{
  top: 75%;
  left: 25%;
}
.click_graphics.click{
  top: 20%;
  left: 30%;
}
.click_graphics.text{
  top: 50%;
  left: 10%;
}
.click_graphics.like{
  top: 20%;
  right: 25%;
}
.click_graphics.hashtah{
  top: 60%;
  right: 15%;
}

.click_graphics.shake {
  animation: shakeAnimation 0.5s ease-in-out 2;
}

@keyframes shakeAnimation {
  0%, 100% {
    transform: translateX(0);
    /* filter: drop-shadow(0px 0px 0px #02182043); */
}
  25%, 75% {
    transform: translateX(-5px);
    /* filter: drop-shadow(1px 1px 2px #02182043); */
}
  50% {
    transform: translateX(5px);
    /* filter: drop-shadow(2.5px 2.5px 5px #02182043); */
}
}

.click_graphics.glow {
  animation: glowAnimation 1s ease-in-out;
}




@keyframes anim{
    0%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(-100%);
    }
}
#nav,#nav_about{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    z-index: 99999999999999999999999;
    padding: 0px 0px;
    opacity: 0;
}


/*********************** Navbare *****************************/

.popover {
    display: none;
    box-shadow: 0px 6px 8px rgba(19, 19, 19, .7);
 }
 
 .popover:target {
   position: absolute;
   left: 0;
   right: 0;
   top: 0;
   bottom: 0;
   width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   background:#191919;
   z-index: 1000000000000;
 }
 
 .popover .content {
   display: flex;
   align-items: center;
   justify-content: start;
   position: relative;
   width: 0;
   height: 0;
   color: #fff;
   background-color: #191919;
   animation: 1s grow ease forwards;
   text-align: center;
   -webkit-animation: 1s grow ease forwards;
}
 
 .nav_list  {
   list-style-type: none;
 }
 
 .nav_list a {
   text-decoration: none;
   font-size: 50px;
   color: #fff;
 }
 .nav_list a:active{
    text-decoration:line-through;
    text-decoration-color: #fff;
    -moz-text-decoration-color: #fff;
}
 
 .nav_list_item {
   height: 100%;
   overflow: hidden;
   width: fit-content;
 }
 .nav_list_item{
  filter: blur(3px);
}
.nav_list_item.active,.nav_list_item:hover{
  filter: blur(0px)!important;
}
 

 .nav_list li {
   padding: 15px 0;
   text-transform: uppercase;
   transform: translateY(200px);
   opacity: 0;
   animation: 2s slideUp ease forwards .5s;
   position: relative;
   text-align: left;
   -webkit-animation: 2s slideUp ease forwards .5s;
}

 .this_is_hatch{
    /* background-color: blueviolet; */
    width: 100%;
    font-size: 5em;
    font-weight: bolder;
    opacity: 0;
    animation: 2s slideUp ease forwards 1s;
    position: relative;
    text-align: left;
    -webkit-animation: 2s slideUp ease forwards 1s;
    -webkit-transform: translateY(200px);
    -moz-transform: translateY(200px);
    -ms-transform: translateY(200px);
    -o-transform: translateY(200px);
}
.this_is_hatch h1{
    text-align: center;
}
@media(max-width:1000px){
    .this_is_hatch {
        display: none;
    }
}
 
 .nav_list li::before {
   content: '';
   position: absolute;
   height: 3px;
   width: 0px;
   left: 0;
   bottom: 50%;
   background: #fff; 
   transition: all .5s ease;
 }
 
 .nav_list li:hover:before {
       width: 100%;
 }
 
 .nav_list_item.active{
    width: fit-content!important;
 }
 .nav_list_item.active li:before {
       width: 100%;
 }


 .popover p {
   padding: 50px;
   opacity: 0;
   animation: 1s fadeIn ease forwards 1s;
 }
 
 .popover .close::after {
   right: 0;
   top: 3%;
   width: 50px;
   height: 50px;
   position: absolute;
   display: flex;
   z-index: 1;
   font-size: 30px;
   align-items: center;
   justify-content: center;
   background-color: #ffffff;
   color: #000000;
   content: "×";
   cursor: pointer;
   opacity: 0; 
   animation: 1s fadeIn ease forwards .5s;
 }
 .popover .hatch_logo{
   left: 0;
   top: 0;
   width: 200px;
   position: absolute;
   display: flex;
   z-index: 1000;
   color: #fff;
   cursor: pointer;
   opacity: 0; 
   animation: 1s fadeIn ease forwards .5s;
 }
 .popover .hatch_logo img{
    width: 100%;
 }
 
 @keyframes grow {
   100% {
     height: 90%;
     width: 90%;
  }
 }
 
 @keyframes fadeIn {
 100% {
   opacity: 1;
  }
 }
 
 @keyframes slideUp {
   100% {
     transform: translateY(0);
     opacity: 1;
   }
 }

 /********************** Start Mouse Move **************************/
 .cursor {
  pointer-events: none;
  position: fixed;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  mix-blend-mode: difference;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 10000000000000000000;
}

@media(max-width:1200px){
  .cursor{
    display: none;
  }
}
.mouseMove_hover {
  transition: all 0.3s ease;
  display: inline-block;
}

.mouseMove_hover:hover ~ .cursor {
  transform: translate(-50%, -50%) scale(4);
  -webkit-transform: translate(-50%, -50%) scale(4);
  -moz-transform: translate(-50%, -50%) scale(4);
  -ms-transform: translate(-50%, -50%) scale(4);
  -o-transform: translate(-50%, -50%) scale(4);
}

.mouseMove_hover span {
  display: none;
}

.mouseMove_hover:hover span {
  display: inline-block;
}

@media (max-width: 900px) {
  .mouseMove_hover {
    width: 50px;
    padding: 20px 0;
  }

  .click_graphics.at{
    top: 70%;
    left: 25%;
  }
  .click_graphics.click{
    top: 20%;
    left: 10%;
  }
  .click_graphics.text{
    top: 10%;
    left: 80%;
  }
  .click_graphics.like{
    top: 40%;
    right: 10%;
  }
  .click_graphics.hashtah{
    top: 70%;
    right: 15%;
  }

}
/* -------------------------------- End Header and nav -------------------- */


/* -------------------------------- Start timeline_video -------------------- */
#page2{
  /* background-image: url('imgs/timeline-video.png'); */
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 100000000;
  position: relative;
  opacity: 0;
  background-color: #ededed;
}

#page3{
  height: 80vh;
  /* background-image: url('imgs/timeline-video.png'); */
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 100000000;
  position: relative;
  opacity: 0;
  background-color: #ededed;

}
.swiper-button-next::after,
.swiper-button-prev::after{
  content: '';
  font-weight: 100;
  color: #1D1D1D;
}
.swiper-button-next i,
.swiper-button-prev i{
  color: #0514F0;
}

.swiper-button-next,
.swiper-button-prev{
  color: #1D1D1D;
  top: 80%;
  width: 10%;
  display: flex;
  font-weight: 100;
  justify-content: space-evenly;
  align-items: center;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
@media(max-width:1200px){
  #video,#page2{
    height: 300px;
  }
  .swiper-button-next,
  .swiper-button-prev{
    width: 40%;
    top: 85%;
  }
  #page3{
    height: 90vh;
  }
}

video{
  position: absolute;
  z-index: 1;
}

.sound-ctrl{
  opacity: 0;
}

/* End Dog Notifications */
#dog {
  width: auto;
  position: fixed;
  z-index: 999999999999999999999999999999999999999;
  padding: 0px 0px;
  bottom: 10px;
  right: 0%;
  display: flex;
  justify-content: end;
  transition: all 1s;
  /* animation: shake 0.5s; */
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
}
@keyframes shake {
  0% { transform: translate(0, 0) rotate(0); }
  10% { transform: translate(-5px, 0) rotate(-5deg); }
  20% { transform: translate(5px, 0) rotate(5deg); }
  30% { transform: translate(-5px, 0) rotate(-5deg); }
  40% { transform: translate(5px, 0) rotate(5deg); }
  50% { transform: translate(-5px, 0) rotate(-5deg); }
  60% { transform: translate(5px, 0) rotate(5deg); }
  70% { transform: translate(-5px, 0) rotate(-5deg); }
  80% { transform: translate(5px, 0) rotate(5deg); }
  90% { transform: translate(-5px, 0) rotate(-5deg); }
  100% { transform: translate(0, 0) rotate(0); }
}

#dog img {
  width: 100px;
  transition: all .5s;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -ms-transition: all .5s;
  -o-transition: all .5s;
}

#dog:hover img {
  width: 200px;
}

#dog span.dog-bubble {
  background-image: url(../imgs/dog-bubble.png);
  background-size: 100% 100%;
  position: absolute;
  padding: 8px 20px;
  font-size: 5px;
  width: 100%;
  height: 40px;
  color: white;
  top: -55%;
  left: -60%;
  opacity: 0;
  transition: all .5s;
}

.dog-bubble-scale {
  animation: pop 0.6s ease;
  transition: all .5s;
}

#dog:hover span.dog-bubble {
  width: 90%;
  height: 90px;
  top: -66%;
  left: -40%;
  font-size: smaller;
  padding: 10px 20px;
  opacity: 1;
  animation: pop 0.6s ease;
}

@keyframes pop {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  50% {
    transform: scale(1);
    opacity: .5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* الشاشات الكبيره */
@media(min-width:1200px){
  #dog span.dog-bubble {
    width: 90%;
    height: 90px;
    top: -66%;
    left: -40%;
    font-size: smaller;
    padding: 10px 20px;
  }
  #dog img {
    width: 200px;
  }
}


/* End Dog Notifications */

.play_video_bg {
  background-color: rgba(165, 42, 42, 0);
    position: absolute;
    z-index: 11;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.play_video{
    background: blue;
    border: 0;
    color: white;
    font-size: xx-large;
    padding: 44px 30px;
    border-radius: 50%;
    font-family: 'Public Sans';
    font-weight: 400;
}

.d-none{
  display: none;
 }

/* -------------------------------- End timeline_video -------------------- */

/**Typeo CSS End**/
.video-custom {
  margin: 0px auto;
  max-width: 100%;
  position: relative;
  height: 100%;
  width: 100%;
 }

 
 .video-custom .poster-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
 }
 
 .video-custom video {
  position: absolute;
  left: 0px;
  top: 0px;
  display: block;
  width: 100%;
  opacity: 1;
 }
 
 .video-custom .play-btn, .video-custom .pause-btn {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  top: 0px;
  margin: auto;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  background-color: #0514F0;
  z-index: 3;
  cursor: pointer;
  transition: 0.5s all;
  overflow: hidden;
 }
 
 .video-custom .pause-btn {
  display: none;
 }
 
 .video-custom .play-btn i {
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 18px solid #ffffff;
  border-right: 0;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  top: 0px;
  margin: auto;
 }
 
 .pause-btn i {
  position: absolute;
  left: -3px;
  right: 0px;
  bottom: 0px;
  top: 2px;
  margin: auto;
  width: 16px;
  height: 24px;
  flex-flow: row wrap;
 }
 
 .pause-btn i:before {
  content: '';
  width: 4px;
  height: 100%;
  background-color: #000;
  display: inline-block;
 }
 
 .pause-btn i:after {
  content: '';
  width: 4px;
  height: 100%;
  margin-left: 8px;
  background-color: #000;
  display: inline-block;
 }
 
 .playvideo .video-custom img {
  opacity: 0;
  width: 100%;
    height: 100%;
 }
 
 .playvideo .video-custom video {
  opacity: 1;
 }
 
 .video-custom .vplay {
  display: none;
 }
 
 .video-custom:hover .vplay + .pause-btn {
  display: block;
 }
 
 /***Volume Control***/
 html:not(.playvideo) .sound-ctrl {
  display: none;
 }
 
 .sound-ctrl {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 5px;
  cursor: pointer;
 }
 
 .sound-ctrl .on-button {
  display: none;
 }
 
 .sound-ctrl img {
  opacity: 0;
 }
 
 .sound-ctrl .off-button, .sound-ctrl .on-button {
  position: absolute;
  left: 0px;
  top: 0px;
  font-size: 0px;
  background-color: transparent;
  border: none;
  width: 100%;
  height: 100%;
  padding: 0px;
  cursor: pointer;
 }
 
 .soundctrlshow .on-button {
  display: block;
 }
 
 .soundctrlshow .off-button {
  display: none;
 }
 
 .playvideo .video-custom .sound-ctrl img {
  opacity: 1;
 }
 
 .soundctrlshow .on-button:before {
  content: '';
  position: absolute;
  left: 12px;
  top: -5px;
  z-index: 10;
  width: 3px;
  height: 32px;
  background-color: #fff;
  transform: rotate(45deg);
 }
 
 /***Volume Control***/
 @media(max-width:800px) {
  .video-custom {
   width: 100%
  }
 
 }


 #page2:hover .play-btn,#page2:hover .pause-btn{
  opacity: 0;
  width: 100%;
  height: 100%;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
}




/*
|------------------------------------------------------
|  CSS: Swiper
|------------------------------------------------------
*/


body.open-card {
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.swiper-container {
  padding: 80px 0;
}

.swiper-slide {
  overflow: hidden;
  position: relative;
  z-index: 1;
  height: 450px;
  padding: 20px;
  cursor: pointer;
  display: block;
  text-align: center;
  background: #fff;
  border-radius: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
}
.swiper-slide.swiper-slide-active {
  z-index: 3;
}
.swiper-slide.swiper-slide-prev {
  z-index: 1;
}
.swiper-slide.swiper-slide-next {
  z-index: 1;
}

/*
|------------------------------------------------------
|  CSS: Cards with Fullscreen zoom
|------------------------------------------------------
*/


.click_graphics {
  animation: continuousMove 6s infinite;
}
.click_graphics.at {
  animation: continuousMove 5s ease infinite;
}
.click_graphics.click {
  animation: continuousMove 5s linear infinite;
}
.click_graphics.like {
  animation: continuousMove 6s linear infinite;
}
.click_graphics.text {
  animation: continuousMove 7s  infinite;
}

@keyframes continuousMove {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(0);
  }
}
#play_button,#pause_button{
  cursor: none;
}


.custom-link-footer {
  color: black;
  text-decoration: none;
}