@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
  font-family: "OrkneyRegular";
  src: url("./fonts/OrkneyRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  background-color: rgb(18, 18, 18);
  color: rgba(255, 255, 255, 0.87);
  font-size: 1rem;
  font-family: "OrkneyRegular";
  line-height: 1.5rem;
  font-weight: 400;
  text-rendering: optimizelegibility;
}

html {
  scroll-behavior: smooth;
}

h1 {
  background-color: #4158d0;
  background-image: linear-gradient(
    43deg,
    #a162e8 0%,
    #f7ce68 46%,
    #85ffbd 100%
  );

  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: 1.4rem !important;
  background-color: #8e9ffa;
  background-image: linear-gradient(
    45deg,
    #8e9ffa 0%,
    #f874ef 10%,
    #ffcc70 29%,
    #ffffff 100%
  );

  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.patterns {
  background-image: url("./images/bg-effects.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

img {
  display: block;
  width: 100%;
  height: 100%;
}

input {
  height: 40px;
}

.gradient:focus {
  border: 1px solid transparent;
  background-image: linear-gradient(#141414, #141414),
    linear-gradient(43deg, #a162e8 0%, #f7ce68 46%, #85ffbd 100%);
  background-origin: border-box;
  background-clip: content-box, border-box;
}

input,
textarea {
  background: #121212c5;
  border-radius: 0.3rem;
  border: 1px solid transparent;
}

*:focus:not(.focus-visible) {
  outline: none;
}

/* Loader */

.sk-folding-cube {
  margin: 20px auto;
  width: 40px;
  height: 40px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sk-folding-cube .sk-cube {
  float: left;
  width: 50%;
  height: 50%;
  position: relative;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.sk-folding-cube .sk-cube:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
  animation: sk-foldCubeAngle 2.4s infinite linear both;
  -webkit-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}
.sk-folding-cube .sk-cube2 {
  -webkit-transform: scale(1.1) rotateZ(90deg);
  transform: scale(1.1) rotateZ(90deg);
}
.sk-folding-cube .sk-cube3 {
  -webkit-transform: scale(1.1) rotateZ(180deg);
  transform: scale(1.1) rotateZ(180deg);
}
.sk-folding-cube .sk-cube4 {
  -webkit-transform: scale(1.1) rotateZ(270deg);
  transform: scale(1.1) rotateZ(270deg);
}
.sk-folding-cube .sk-cube2:before {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.sk-folding-cube .sk-cube3:before {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.sk-folding-cube .sk-cube4:before {
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
}
@-webkit-keyframes sk-foldCubeAngle {
  0%,
  10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%,
  75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%,
  100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}

@keyframes sk-foldCubeAngle {
  0%,
  10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%,
  75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%,
  100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}

.main-cont {
  height: 100%;
  box-sizing: border-box;
}

.cd-container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
  /* background: #2b343a; */

  padding: 0 10%;
  border-radius: 2px;
}
.cd-container::after {
  content: "";
  display: table;
  clear: both;
}

#cd-timeline {
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
#cd-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25px;
  height: 100%;
  width: 4px;
  background: #7e57c2;
}
@media (min-width: 1170px) {
  #cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  #cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}

.cd-timeline-block {
  position: relative;
  margin: 2em 0;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}
@media (min-width: 1170px) {
  .cd-timeline-block {
    margin: 4em 0;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}

.cd-timeline-img {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px #7e57c2,
    inset 0 2px 0 rgba(0, 0, 0, 0.08),
    0 3px 0 4px rgba(0, 0, 0, 0.05);
}
.cd-timeline-img {
  background: #673ab7;
}
@media (min-width: 1170px) {
  .cd-timeline-img {
    width: 30px;
    height: 30px;
    left: 50%;
    margin-left: -15px;
    margin-top: 7px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
}

.cd-timeline-content {
  position: relative;
  margin-left: 60px;
  margin-right: 30px;
  background: #323232;

  border-radius: 2px;
  padding: 1em;
  text-align: left !important;
}

.cd-timeline-content,
.timeline-content-info {
  background: #323232;

  padding: 5px 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  /* box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.08); */
  border-radius: 2px;
  text-align: left;
}
@media (max-width: 500px) {
  .timeline-content-info-title,
  .timeline-content-info-date {
    display: block;
    width: 100%;
  }
}
.cd-timeline-content,
.timeline-content-info,
i {
  width: 80%;
  margin-right: 5px;
}
.cd-timeline-content,
.timeline-content-info,
.timeline-content-info-title,
.timeline-content-info-date {
  display: inline-block;
}

.cd-timeline-content,
.content-skills {
  font-size: 12px;
  padding: 0;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.cd-timeline-content,
.content-skills {
  /* background: #40484d; */
  border-radius: 2px;
  display: inline-block;
  padding: 2px 10px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  flex-grow: 1;
}

.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-content h2 {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0;
  margin-bottom: 5px;
}
.cd-timeline-content p,
.cd-timeline-content .cd-date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-size: 0.8125rem;
}
.cd-timeline-content .cd-date {
  display: inline-block;
}
.cd-timeline-content p {
  margin: 1em 0;
  line-height: 1.6;
}

.cd-timeline-content::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid #333c42;
}

@media (min-width: 768px) {
  .cd-timeline-content h2 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .cd-timeline-content p {
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-content .cd-read-more,
  .cd-timeline-content .cd-date {
    font-size: 14px;
    font-size: 0.875rem;
  }
}
@media (min-width: 1170px) {
  .cd-timeline-content {
    color: white;
    margin-left: 0;
    padding: 1.6em;
    width: 40%;
    margin: 0 5%;
  }
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #333c42;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #333c42;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
}
/*=============================================
[ Rocket ]
==============================================*/

.rocket_inner {
  transform: translateY(15px) translateX(-3px);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}

.icon_circle {
  fill: #282e3a;
  stroke: #fff;
  stroke-width: 7px;
  cursor: pointer;
}

.large_window_path {
  fill: url(#SVGID_2_);
  stroke-width: 0px;
}

.small_window_path {
  fill: #28b767;
  stroke-width: 0px;
}

.wing_shadow {
  display: block;
  fill: #fc9252;
}

.rocket_bottom {
  fill: #34495e;
}

.rocket_base {
  fill: #ffffff;
  stroke-width: 0px;
}

.rocket_shadow {
  fill: #ededed;
  stroke-width: 0px;
}

.window_grandient {
  stop-color: #2dcb73;
}

.window_grandient1 {
  stop-color: #2ac16d;
}

.window_grandient2 {
  stop-color: #29b968;
}

.window_grandient3 {
  stop-color: #28b767;
}

.wing_base {
  fill: #e16e36;
  stroke-width: 0px;
}

.fire_path {
  fill: #fc0;
}

/*=============================================
[ Hover Styles ]
==============================================*/

.rocket_wrap:hover .rocket_bottom {
  fill: #2dcb73 !important;
  stroke-width: 0px !important;
}

.rocket_wrap:hover .rocket_inner {
  transform: translateY(0px) translateX(-3px) !important;
}

/*=============================================
[ Animation Classes ]
==============================================*/
.fire {
  display: none;
  animation-delay: 0s;
  fill-opacity: 1;
  animation-timing-function: ease-in;
  stroke-width: 0px;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  transform-origin: 50% 50%;
  animation-direction: normal;
}

.rocket_wrap:hover #fireLeft {
  display: block;
  animation-delay: 0s;
  animation-name: fireLeft, fillOpacity1;
  animation-duration: 1.2s;
}

.rocket_wrap:hover #fireMiddle {
  display: block;
  animation-delay: 0s;
  animation-name: fireMiddle, fillOpacity1;
  animation-duration: 1s;
}

.rocket_wrap:hover #fireRight {
  display: block;
  animation-delay: 0s;
  animation-name: fireRight, fillOpacity1;
  animation-duration: 1.3s;
}

.rocket_wrap:hover #fireSmallLeft {
  display: block;
  animation-delay: 0s;
  animation-name: fireSmall, fillOpacity2;
  animation-duration: 1.3s;
  transform-origin: bottom;
}

.rocket_wrap:hover #fireSmallRight {
  display: block;
  animation-delay: 0.3s;
  animation-name: fireSmall, fillOpacity3;
  animation-duration: 1.6s;
  transform-origin: bottom;
}

/*=============================================
[ KeyFrame Animations ]
==============================================*/
@keyframes fireSmall {
  10% {
    transform: rotate(17deg) translateY(1px);
  }

  20% {
    transform: rotate(-13deg) translateY(2px);
  }

  30% {
    transform: rotate(21deg) translateY(3px);
  }

  40% {
    transform: rotate(-34deg) translateY(4px);
  }

  50% {
    transform: rotate(24deg) translateY(5px);
  }

  60% {
    transform: rotate(-17deg) translateY(6px);
  }

  70% {
    transform: rotate(31deg) translateY(7px);
  }

  80% {
    transform: rotate(-28deg) translateY(8px);
  }

  90% {
    transform: rotate(14deg) translateY(9px);
  }

  99% {
    transform: rotate(0deg) translateY(10px);
  }
}

@keyframes fireLeft {
  6% {
    transform: rotate(25deg);
  }

  15% {
    transform: rotate(-19deg);
  }

  25% {
    transform: rotate(25deg);
  }

  32% {
    transform: rotate(-30deg);
  }

  46% {
    transform: rotate(22deg);
  }

  54% {
    transform: rotate(-29deg);
  }

  61% {
    transform: rotate(32deg);
  }

  74% {
    transform: rotate(-9deg);
  }

  83% {
    transform: rotate(16deg);
  }

  99% {
    transform: rotate(0deg);
  }
}

@keyframes fireMiddle {
  10% {
    transform: rotate(25deg);
  }

  20% {
    transform: rotate(-25deg);
  }

  30% {
    transform: rotate(30deg);
  }

  40% {
    transform: rotate(-22deg);
  }

  50% {
    transform: rotate(29deg);
  }

  60% {
    transform: rotate(-45deg);
  }

  70% {
    transform: rotate(37deg);
  }

  80% {
    transform: rotate(-15deg);
  }

  90% {
    transform: rotate(16deg);
  }

  99% {
    transform: rotate(0deg);
  }
}

@keyframes fireRight {
  15% {
    transform: rotate(17deg);
  }

  23% {
    transform: rotate(-13deg);
  }

  37% {
    transform: rotate(21deg);
  }

  45% {
    transform: rotate(-34deg);
  }

  54% {
    transform: rotate(24deg);
  }

  67% {
    transform: rotate(-17deg);
  }

  72% {
    transform: rotate(31deg);
  }

  84% {
    transform: rotate(-28deg);
  }

  96% {
    transform: rotate(14deg);
  }

  99% {
    transform: rotate(0deg);
  }
}

@keyframes fillOpacity1 {
  0% {
    fill-opacity: 1;
    stroke-opacity: 1;
  }

  50% {
    fill-opacity: 1;
    stroke-opacity: 1;
  }

  100% {
    fill-opacity: 0;
    stroke-opacity: 0;
  }
}

@keyframes fillOpacity2 {
  0% {
    fill-opacity: 1;
    stroke-opacity: 1;
  }

  25% {
    fill-opacity: 1;
    stroke-opacity: 1;
  }

  100% {
    fill-opacity: 0;
    stroke-opacity: 0;
  }
}

@keyframes fillOpacity3 {
  0% {
    fill-opacity: 1;
    stroke-opacity: 1;
  }

  67% {
    fill-opacity: 1;
    stroke-opacity: 1;
  }

  100% {
    fill-opacity: 0;
    stroke-opacity: 0;
  }
}

@keyframes rocektMove {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(20px);
  }
}
