body {
  margin: 0;
  padding: 0;
  font-family: 'Fira Sans Condensed', sans-serif, arial;
   font-size: 18px;
   overflow-x: hidden !important;
   background: #ffffff;
   text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
      top:0;
    bottom:0;
    left:0;
    right:0;
}

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

img{
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

a{
  cursor: pointer;
}

#top{
  position: absolute;
}

h2{
  font-size: 14vw;
  font-weight: 900;
  margin-bottom: 20px;
   transition: margin 0.2s;
}

h5#back span{
  border: 0 !important;
  padding: 0;
}

h5#back a{
  color: #000000;
}

@media only screen and (min-width: 2000px) {


h2{ 
  font-size: 12vw;
}

 h4.chess-title1{ 
  font-size: 12vw !important;

}
}

@media only screen and (min-width: 1700px) {
   
     #what-i-do h2,
     #who-i-am h2{ 
  font-size: 9vw !important;
}
}

@media only screen and (max-width: 992px) {

h5#back{
  display: block;
  width: 100%;
}


}

@media only screen and (max-width: 768px) {

}

#content-wrapper {
  margin-left: 200px;
   overflow-x: hidden !important;
}

.period-color{
    position: relative;
    width: 25px;
    height: 25px;
    display: inline-block;
    border-radius: 25px;
    border: 2px solid #000000;
    margin-left: 2px;
    transition: all 0.3s ease-out;
    animation-fill-mode: both;
}

#hello .period-color{
    width: 10px;
    height: 10px;
    border: 1px solid #000000;
}

#chess .period-color{
    width: 25px;
    height: 25px;
    border: 2px solid #000000;
}

#header-video2 {
  position: relative;
    width: 100%;
    height: auto;
  }

#header-video {
 position: relative;
    width: 100%;
    max-width: 700px;
    width: auto;
    height: auto;
}

h1, h2, h3, h4, h5{
  margin: 0;
  line-height: 1;

}

h3{
  font-size: 0.8em;
   font-family: 'IBM Plex Mono', sans-serif, arial;
  font-weight: bold;
  text-transform: uppercase;
  margin-left: 10%;
}


.animated-button-wrapper {
  max-width: 200px ;
}

.animated-button {
  background-color: transparent;
  border: none;
  padding: 0;
}

.animated-button a {
   font-family: 'Fira Sans Condensed', sans-serif, arial;
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 36px;
  font-size: 14px;
  background-color: #fb93ff;

  border: none;
  border-radius: 30px;
  font-weight: bold;
   color: #000000;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  border-bottom: 5px solid #222222;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 20px;
  fill: #000000;
  z-index: 1;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.yellow-button a {
  background-color: yellow;
}

.yellow-button svg {
  fill: #000000;
}

.footer-button a {
  margin-top: 10px;
  background-color: #fb93ff;
  color: #000000;
  padding: 8px 30px;
  border-radius: 20px;
  font-size: 13px;
  font-family: 'Fira Sans Condensed', sans-serif, arial, arial;
}

.footer-button svg {
  width: 17px;
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}


.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  text-transform: uppercase;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}



.mouse {
  margin-top: 30px;
  width: 15px;
  height: 27px;
  border: 1px solid #666666;
  border-radius: 60px;
  position: relative;
  &::before {
    content: '';
    width: 3px;
    height: 4px;
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fb93ff;
    border-radius: 50%;
    opacity: 1;
    animation: wheel 2s infinite;
    -webkit-animation: wheel 2s infinite;
  }
}

@keyframes wheel {
  to {
    opacity: 0;
    top: 20px;
  }
}

@-webkit-keyframes wheel {
  to {
    opacity: 0;
    top: 20px;
  }
}

.custom-list {
  list-style: none;
  padding-left: 0;
  padding-right: 10%;
  margin-top: 40px;
}

.custom-list li {
  padding: 10px 0 10px 50px;
  background-image: url('../img/yellow_arrow.webp'); 
  background-repeat: no-repeat;
  background-size: 25px 25px; 
  background-position: 0 50%; 
   font-size: 1em;
}



#project-nav .tooltip .tooltiptext {
  width: auto;
  padding: 5px 10px;
  bottom: 30px;
  text-align: center;
  left: 50%;
  -ms-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
}

#project-nav .tooltip:hover .tooltiptext {
  bottom: 35px;
}


/* Hire me and Thank you Modal starts */

#thankYou,
#hireMe {
    display: none;
    position: fixed; 
    z-index: 1000; 
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.8); 
}

#thankYou .modal-content,
#hireMe .modal-content {
    position: relative;
    background-color:#ffffff;
    margin: auto;
    max-width: 600px;
    border-radius: 0;
    padding: 60px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    -webkit-animation: godown 0.3s 1;
    -moz-animation: godown 0.3s 1;
    -o-animation: godown 0.3s 1;
    overflow: hidden;
    margin-bottom: 200px;
}

#thankYou .modal-content{
   text-align: center;
   max-width: 400px;
    padding: 20px;
}

#hireMe .modal-content .content,
#hireMe .modal-content .form {
    flex: 1;
}

#hireMe .modal-content .content{
    padding-right: 10%;
}

#thankYou .modal-content .content h2,
#hireMe .modal-content .content h2 {
   color: #000000 ;
   font-size: 2.5em;
   margin: 50px auto 30px;
   font-weight: 900;
}

#thankYou .modal-content .content p,
#hireMe .modal-content .content p {
   font-size: 20px;
   line-height: normal;
   color: #000000 ;
   font-size: 1em;
   line-height: 1.5;
   font-weight: 300;
}

#hireMe .modal-content .content img {
   width: 50px;
}

#thankYou .modal-content .content img {
   width: 300px;
}

#hireMe .modal-content .content img {
   padding: 0px;
}


#thankYou img.close-btn,
#hireMe img.close-btn{
    width: 30px;
    height: auto;
    transition: all 0.6s ease;
    transition-delay: 0.1s;
    top:30px;
    right:30px;
    position: absolute;
    cursor: pointer;
    z-index: 2;
}

#thankYou img.close-btn:hover,
#hireMe img.close-btn:hover{
    rotate: 90deg;
}

.hidebrand{
    width: 350px;
    height: 100px;
    bottom: -12px;
    position: absolute;
    background: #ffffff;
    z-index: 2;
}

#hireMe .form-content{
    width: 250px;
    height: 400px;
    position: absolute;
}

#hireMe .modal-content .form {
     height: 400px;
}


/* Lightbox Modal starts */

#lightbox {
  display: none;
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.8); 
}

#lightbox .modal-content {
    position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
     width: 80%;
     height: auto;
   margin: auto;
   max-width: 600px;
}

#lightbox .content{
   position: relative;
   line-height: 0;
  font-size: 0;
  box-shadow: 5px 5px 10px rgba(0,0,0,.2), 
              5px 5px 25px rgba(0,0,0,.1);
  -webkit-animation: godown 0.3s 1;
    -moz-animation: godown 0.3s 1;
    -o-animation: godown 0.3s 1;
}

#lightbox .content .img{
  position: relative;
}

#lightbox .content .img p{
    position: absolute;
  font-size: 10px;
  left: -60px;
  bottom: 55px;
  color: #ffffff;
  margin: 0;
  rotate:-90deg;
}

#lightbox .content img{
  width: 100%;
}

#lightbox img.close-btn{
    width: 30px;
    height: auto;
    transition: all 0.6s ease;
    transition-delay: 0.1s;
    top: -20px;
    right: -40px;
    position: absolute;
    cursor: pointer;
    filter: invert(100%);
    z-index: 2;
}

#lightbox img.close-btn:hover{
    rotate: 90deg;
}


/* Video Modal starts */

#videobox {
  display: none;
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.8); 
}

#videobox .modal-content {
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
     width: 80%;
     height: auto;
   margin: auto;
   max-width: 800px;



}

#videobox .content{
   position: relative;
   line-height: 0;
  font-size: 0;  
  box-shadow: 5px 5px 10px rgba(0,0,0,.2), 
              5px 5px 25px rgba(0,0,0,.1);
  -webkit-animation: godown 0.3s 1;
    -moz-animation: godown 0.3s 1;
    -o-animation: godown 0.3s 1;
}

#videobox .content .img{
  position: relative;
}

#videobox .content .img p{
    position: absolute;
  font-size: 10px;
  left: -100px;
  bottom: 90px;
  color: #ffffff;
  line-height: 0;
   margin: 0;
  transform: rotate(-90deg);
}

#videobox .content video{
  width: 100%;
}

#videobox img.close-btn{
    width: 30px;
    height: auto;
    transition: all 0.6s ease;
    transition-delay: 0.1s;
    top: -20px;
    right: -40px;
    position: absolute;
    cursor: pointer;
    filter: invert(100%);
    z-index: 2;
}

#videobox img.close-btn:hover{
    rotate: 90deg;
}

video::-webkit-media-controls-fullscreen-button {
            display: none;
        }

/*
@media only screen and (min-width: 992px) {

.common-txt-animation4{
    animation: fade-in-top linear forwards;
   animation-timeline: view();
   animation-range-start: contain -500px;
   animation-range-end: exit 1000px;
  transform: translateX(300px);
}

}
*/
@media only screen and (min-width: 600px) {

/*
.common-txt-animation{
   animation: fade-in-top linear forwards;
   animation-timeline: view();
   animation-range-start: contain -330px;
   animation-range-end: exit -200px;
  transform: translateY(100px);
}

.common-txt-animation2{
    animation: fade-in-top linear forwards;
   animation-timeline: view();
   animation-range-start: contain -330px;
   animation-range-end: exit -200px;
  transform: translateY(-200px);
}

.common-txt-animation3{
    animation: fade-in-top linear forwards;
   animation-timeline: view();
   animation-range-start: contain -500px;
   animation-range-end: exit -300px;
  transform: translateX(200px);
}

.common-txt-animation3a{
    animation: fade-in-top2 linear forwards;
   animation-timeline: view();
   animation-range-start: contain -500px;
   animation-range-end: exit -300px;
  transform: translateX(200px);
  opacity: 0;
}
*/

.chess-animation{
   animation: fade-in-top linear forwards;
   animation-timeline: view();
   animation-range-start: contain -530px;
   animation-range-end: exit 1000px;
  transform: translateY(200px);
}


@-webkit-keyframes godown {
    from {transform: translateY(-40px);}
    to {transform: translateY(0);}
}
@-moz-keyframes godown {
     from {transform: translateY(-40px);}
    to {transform: translateY(0);}
}
@-o-keyframes godown {
    from {transform: translateY(-40px);}
    to {transform: translateY(0);}
}

@keyframes godown {
    from {transform: translateY(-40px);}
    to {transform: translateY(0);}
}
}

@-webkit-keyframes goup {
    from {transform: translateY(40px);}
    to {transform: translateY(0);}
}
@-moz-keyframes goup {
     from {transform: translateY(40px);}
    to {transform: translateY(0);}
}
@-o-keyframes goup {
    from {transform: translateY(40px);}
    to {transform: translateY(0);}
}

@keyframes goup {
    from {transform: translateY(40px);}
    to {transform: translateY(0);}
}

.goup{
    -webkit-animation: goup 1s 1;
    -moz-animation: goup 1s 1;
    -o-animation: goup 1s 1;
    animation-fill-mode: both;
}

@-webkit-keyframes goright {
     from {margin-left:-80px; opacity: 0}
    to {margin-left:0; opacity: 1}
}
@-moz-keyframes goright {
     from {margin-left:-80px; opacity: 0}
    to {margin-left:0; opacity: 1}
}
@-o-keyframes goright {
     from {margin-left:-80px; opacity: 0}
    to {margin-left:0; opacity: 1}
}

@keyframes goright {
    from {margin-left:-80px; opacity: 0}
    to {margin-left:0; opacity: 1}
}

@-webkit-keyframes goright2 {
    from {margin-left:-200px;}
    to {margin-left:0;}
}
@-moz-keyframes goright2 {
    from {margin-left:-200px;}
    to {margin-left:0;}
}
@-o-keyframes goright2 {
     from {margin-left:-200px;}
    to {margin-left:0;}
}

@keyframes goright2 {
    from {margin-left:-200px;}
    to {margin-left:0;}
}


@-webkit-keyframes goleft {
    from {margin-left:-80px;}
    to {margin-left:0;}
}
@-moz-keyframes goleft {
    from {margin-left:-80px;}
    to {margin-left:0;}
}
@-o-keyframes goleft {
    from {margin-left:-80px;}
    to {margin-left:0;}
}

@keyframes goleft {
    from {margin-right:-80px; opacity: 0}
    to {margin-right:0; opacity: 1}
}


@-webkit-keyframes godown2 {
     from {transform: translateY(-80px);}
    to {transform: translateY(0);}
}
@-moz-keyframes godown2 {
      from {transform: translateY(-80px);}
    to {transform: translateY(0);}
}
@-o-keyframes godown2 {
     from {transform: translateY(-80px);}
    to {transform: translateY(0);}
}

@keyframes godown2 {
     from {transform: translateY(-80px);}
    to {transform: translateY(0);}
}

@-webkit-keyframes fade-in-top {
    80%,100% {transform: translateY(0);}
}

@-moz-@keyframes fade-in-top {
    80%,100% {transform: translateY(0);}
}

@-o-@keyframes fade-in-top {
    80%,100% {transform: translateY(0);}
}

@keyframes fade-in-top {
    80%,100% {transform: translateY(0);}
}

@-webkit-keyframes fade-in-top2 {
    80%,100% {transform: translateY(0);opacity: 1}
}
@-moz-keyframes fade-in-top2 {
    80%,100% {transform: translateY(0);opacity: 1}
}

@-o-keyframes fade-in-top2 {
    80%,100% {transform: translateY(0);opacity: 1}
}

@keyframes fade-in-top2 {
    80%,100% {transform: translateY(0);opacity: 1}
}

@-webkit-keyframes reveal {
     from {transform: translateY(-60px);opacity: 0}
    to {transform: translateY(0);opacity: 1}
}
@-moz-keyframes reveal {
     from {transform: translateY(-60px);opacity: 0}
    to {transform: translateY(0);opacity: 1}
}
@-o-keyframes reveal {
    from {transform: translateY(-60px);opacity: 0}
    to {transform: translateY(0);opacity: 1}
}

@keyframes reveal {
    from {transform: translateY(-60px);opacity: 0}
    to {transform: translateY(0);opacity: 1}
}


.godown{
    -webkit-animation: godown 1s 1;
    -moz-animation: godown 1s 1;
    -o-animation: godown 1s 1;
    animation-fill-mode: both;
}

.godown2{
    -webkit-animation: godown2 1s 1;
    -moz-animation: godown2 1s 1;
    -o-animation: godown2 1s 1;
    animation-fill-mode: both;
}


.reveal{
    -webkit-animation: reveal 0.5s 1;
    -moz-animation: reveal 0.5s 1;
    -o-animation: reveal 0.5s 1;
    animation-fill-mode: both;
}

.animate-on-scroll{
   opacity: 0;
}

.bouncingball {
  animation: bounce 1s;
  transform: translateX(0px);
  animation-iteration-count: infinite;
  position:absolute;
  margin:50px;
}

@keyframes bounce {
    0% {right: -100px;
        -webkit-animation-timing-function: ease-in;
    }
    40% {}
    50% {right: -60px; width: 13px; 
      
        -webkit-animation-timing-function: ease-out;
    }
    55% {right: -75px; 
        -webkit-animation-timing-function: ease-in;}
    65% {right: -90px; width: 14px; 
        -webkit-animation-timing-function: ease-out;}
    95% {
        right: -100px; 
        -webkit-animation-timing-function: ease-in;
    }
    100% {right: -100px; 
        -webkit-animation-timing-function: ease-in;
    }
}


html {
  scroll-behavior: smooth;
}

.slide2,
.slide3,
.slide4,
.slide5,
.slide6,
.slide7 {
  display: none;
}

span.number{
  padding-right: 100px;
}


@media only screen and (max-width: 1192px) {

  .hide-big-desktop {
  display: none!important;
}

    
}

@media only screen and (max-width: 992px) {

h2{
  margin-bottom: 40px;
  font-size: 20vw;
}

#content-wrapper {
  margin-left: 0;
}

.period-color{
    width: 20px;
    height: 20px;
}

.footer-button a {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px 35px;
    font-size: 17px;
    border-radius: 40px;
}

.mouse{
  display: none;
}


}


@media only screen and (max-width: 768px) {


.animate-on-scroll{
   opacity: 1;
}

.reveal{
    animation: none;
}

  .hide-tablet {
  display: none!important;
}


}


@media only screen and (max-width: 600px) {

body{
    font-size: 20px;
}

#contact h2{
  margin-bottom: 20px;
}

#chess .period-color{
    width: 10px;
    height: 10px;
    border: 1px solid #000000;
}


span.number{
  padding-right: 30px;
}


  .hide-mobile {
  display: none!important;
}

#hireMe .modal-content {
   flex-direction: column;
}

#thankYou .modal-content,
#hireMe .modal-content {
    padding: 30px 20px;
}


#hireMe .form-content{
    width: 250px;
    height: 400px;
    position: relative;
    margin: auto;
}

#hireMe .modal-content .form {
     height: 400px;
}

#hireMe .modal-content .content {
    padding-right: 0;
}

#hireMe .modal-content .content p,
#hireMe .modal-content .content h2 {
    text-align: center;
}
}




