
@import url('https://fonts.googleapis.com/css?family=Raleway:300&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Philosopher:400&display=swap');
/* @import url('https://fonts.googleapis.com/css?family=Poppins:500&display=swap'); */
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    color: #c02ce9;
    z-index: 6;
}
body {
    font-family: "Roboto", sans-serif;
  }
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
.section-font{
    font-family: 'Philosopher', sans-serif;
    /*font-size: 50px;*/
}
.hero-font{
    -webkit-text-stroke: 1px black;
}
.text-justify{
    text-align: justify;
}
.dark-btn{
    border: 1px solid #dee2e6;
    /*background-color: white;*/
    /*transition: background-color 0.3s;*/
}
.dark-btn:hover{
    background-color: #212529;
    color: whitesmoke;
}

/*.gradient {
    background: linear-gradient(to right, rgba(153, 38, 240, 0.95), rgba(209, 34, 227, 0.95));
}*/

.menu {
    /*background: linear-gradient(to right, rgba(153, 38, 240, 0.95), rgba(209, 34, 227, 0.95));*/
    background: rgba(153, 38, 240, 0.95);
}

/*.menu li {
    padding: 0 0.7rem;
}*/

.menu li a {
    color: #fff;
    /*padding: 0 0.7rem;*/
    /*text-transform: capitalize;*/
    font-weight: 600;
}
/*.menu li a:hover {*/
/*    color: #fff;*/
/*    background: #0dcaf0;*/
/*    text-underline: w;*/
/*}*/
.footer {
    /*background: linear-gradient(to right, rgba(209, 34, 227, 0.95), rgba(153, 38, 240, 0.95));*/
    background: #20232f;
}
/*..................................................................................................*/
.hero-area {
    /*padding: 200px 0 0;*/
    background: linear-gradient(to bottom, rgba(153, 38, 240, 0.95), rgba(209, 34, 227, 0.95));
    position: relative;
    overflow: hidden;
    /*width: 100%;*/
    /*height: 100%;*/
}
.hero-info{
    z-index: 2;
    padding-top: 150px;
}
.hero-card{
    padding-top: 40px;
}
@media (max-width: 767px) {
    .hero-info{
        padding-top: 0;
        padding-bottom: 40px;
        text-align: center;
    }
    .hero-card{
        padding-top: 0;
    }
    .social-info{
        display: flex;
        justify-content: center;
    }
    .cv{
        display: none;
    }
    #l3{
        display: none;
    }
    #l8{
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 815px) {
    #l4{
        display: none;
    }
    #l5{
        display: none;
    }
}

@media (max-width: 445px) {
    #l8{
        display: none;
    }
    #l9{
        display: none;
    }
}

@media (max-width: 375px) {
    #l4{
        display: none;
    }
}
/*...................................................................................................*/
.card {
    box-shadow: none;
    backface-visibility: visible;
    background: transparent;
    /*font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;*/
    transform-style: preserve-3d;
    padding: 0;
    height: auto;
    /* margin: 0 2rem 4rem 0; */
    /*width: 18rem;*/
    /*height: 25rem;*/
    /* float: left; */
    transition: all 0.2s ease-out;
    border: none;
    letter-spacing: 1px;
}
.parallax-card{
    z-index: 3;
    height: 25rem;
    width: 18rem;
}
.flip,
.unflip {
    background: #8238c8;
    font-size: 1rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 100px;
    line-height: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 20px #0b1485;
    transition: all 0.1s ease-out;
}

.unflip {
    top: 1rem;
    right: 1rem;
    background: #2d2d62;
    /*bottom: 1rem;*/
}

.flip:hover {
    background: rgb(88, 19, 179);
}

.card .flip:hover,
.card .unflip:hover {
    background: #54209a;
}

.inner-card-backface {
    transform: rotateX(0) rotateY(0deg) scale(1) translateZ(-4px);
    border-radius: 14px;
    background: linear-gradient(45deg, #371a74, #8238c8);
    position: absolute;
    top: 0;
    color: white;
    padding: 2rem;
    box-sizing: border-box;
    transition: all 0.15s ease-out;
    will-change: transform, filter;
    left: 0;
    width: 100%;
    height: 100%;
}

.card.flipped {
    transform: rotateY(180deg);
}

.card .flip-inner-card {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    padding: 2rem;
    box-sizing: border-box;
    left: 0;
    width: 100%;
    height: 100%;
}

.card .inner-card {
    /*font-size: 2rem;*/
    color: white;
    padding:2rem;
    line-height: 3rem;
    will-change: transform, filter;
    float: none;
    background: linear-gradient(45deg, #371a74, #8238c8);
    background-size: calc(100% + 6px) auto;
    background-position: -3px -3px;
    margin: 0;
    transition: all 0.15s ease-out;
    height: auto;
    border-radius: 14px;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    margin: 0px auto;
    transform: rotateX(0deg) rotateY(0deg) scale(1);
    top: 0;
    height: 100%;
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.3));
    font-weight: 500;
    perspective-origin: 0 0;
    /*letter-spacing: 0;*/
}

.card .glare {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.1s ease-out;
    opacity: 0.6;
    pointer-events: none;
    height: 100%;
    border-radius: 14px;
    z-index: 4;
    mix-blend-mode: hard-light;
    background: radial-gradient(
        circle at 50% 50%,
        rgb(199 198 243),
        transparent
    );
}

.card .glare {
    opacity: 0;
}

.card.animated .glare {
    opacity: 0.3;
}

.card.animated.user .glare {
    opacity: 0.15;
}

/*...........................................................................................................*/

.layer {
    position: absolute;
    z-index: 1;
}
/*vuejs*/
#l2 {
    top: 40px; /*190px*/
    left: 50%;
}
/*html*/
#l3 {
    top: 200px;
    left: 42%;
}
/*css*/
#l4 {
    top: 40%;
    right: 10%;
}
/*js*/
#l5 {
    top: 150px;
    right: 5%;
}
/*php*/
#l6 {

    top: 210px;
    left: 5%;
}
/*laravel*/
#l7 {
    top: 70px;
    left: 20%;
}
/*react*/
#l8 {
    top: 50%;
    left: 45%;
}
/*mysql*/
#l9 {
    top: 55%;
    left: 15%;
}

/*...........................................................................................................*/

.service-title {
    font-family: Raleway;
}

/*...........................................................................................................*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

.tech-wrapper {
  width: 90%;
  max-width: 1536px;
  margin-inline: auto;
  position: relative;
  height: 200px;
  margin-top: 5rem;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0)
  );
}

@keyframes scrollLeft {
  to {
    left: -200px;
  }
}

.tech-item {
  width: 200px;
  height: 200px;
  /* background-color: red; */
  border-radius: 6px;
  position: absolute;
  left: max(calc(200px * 8), 100%);
  animation-name: scrollLeft;
  animation-duration: 30s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@media screen and (max-width: 430px) {
    .tech-wrapper {
        height: 100px;
    }
    .tech-item {
        left: max(calc(100px * 8), 100%);
        width: 100px;
        height: 100px;
    }
    .tech-item6 img {
        width: 100px;
    }
}
@media screen and (min-width: 421px) {
  .tech-item6 img {
    width: 200px;
  }
}

.tech-item1 {
  animation-delay: calc(30s / 8 * (8 - 1) * -1);
}

.tech-item2 {
  animation-delay: calc(30s / 8 * (8 - 2) * -1);
}

.tech-item3 {
  animation-delay: calc(30s / 8 * (8 - 3) * -1);
}

.tech-item4 {
  animation-delay: calc(30s / 8 * (8 - 4) * -1);
}

.tech-item5 {
  animation-delay: calc(30s / 8 * (8 - 5) * -1);
}

.tech-item6 {
  animation-delay: calc(30s / 8 * (8 - 6) * -1);
}

.tech-item7 {
  animation-delay: calc(30s / 8 * (8 - 7) * -1);
}

.tech-item8 {
  animation-delay: calc(30s / 8 * (8 - 8) * -1);
}

/*..............................................projects.............................................................*/
.project-img {
  position: relative;
  width: 100%;
  /* height: 370px; */
  aspect-ratio: 5/3;
  overflow: hidden;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: all var(--scroll-duration) ease-in-out;
}
.project-card:hover img {
  object-position: bottom center;
}
.project-badge {
  top: 0;
  position: absolute;
  z-index: 5;
  padding: 0.5rem 0.5rem;
  border-radius: 5px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  backdrop-filter: blur(5px);
  background-color: #e1e1e190;
  box-shadow: #20232f 0px 0px 8px;
}
.project-fade-top {
  position: absolute;
  width: 100%;
  height: 50%;
  top: 0;
  left: 0;
}
.project-fade-bottom {
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
  transform: rotate(180deg);
}
.project-title {
  position: absolute;
  bottom: 6%;
  right: 0%;
  text-align: left;
  z-index: 5;
  font-size: 1.5rem;
  color: #292929;
  font-weight: 600;
  border-radius: 5px;
  padding-left: 0.5rem;
  border-top-right-radius: 0%;
  padding-right: 0.5rem;
  padding-bottom: 0.8rem;
  padding-top: 0.2rem;
  background: #e1e1e190;
  backdrop-filter: blur(5px);
  box-shadow: #20232f 0px 0px 8px;
}
.project-subtitle {
  box-shadow: #20232f 0px 0px 8px;
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: left;
  z-index: 5;
  font-size: 0.8rem;
  font-style: italic;
  color: #292929;
  font-weight: 300;
  border-radius: 5px;
  border-top-right-radius: 0%;
  border-bottom-left-radius: 0%;
  border-bottom-right-radius: 0%;
  padding: 0.2rem 0.5rem 0.5rem 0.5rem;
  background: #e1e1e190;
  backdrop-filter: blur(5px);
}



/*...........................................................................................................*/
.go-top-btn {
    position: fixed;
    bottom: 45px;
    right: 20px;
    border-radius: 20%;
    cursor: pointer;
    height: 40px;
    width: 40px;
    background: #9e31ee;
    /*background: linear-gradient(45deg, rgba(153, 38, 240, 0.85), rgba(209, 34, 227, 0.85));*/
    border: 1px solid #9e31ee;
    /*background-color: transparent;*/
    display: none;
    justify-content: center;
    align-items: center;
}
.go-top-btn:hover {
    box-shadow: 0 7px 15px #ed34ff;
    transition-delay: 0.3s;
}
.fade-in {
    animation: fade-in 0.5s ease-in-out;
    /*animation-delay: 1s;*/
}
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}