html,
body {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  height: 100%;
  /* background: linear-gradient(1deg, #361b4a, rgb(12 5 20)); */
  background: #353654;
  background: #dee2ed;
  background: #5cd1c5;
  background: #fcfcfc;
  padding: 0;
  margin: 0;
}

p,
h1,
h2,
h3,
h5,
h4,
div,
nav,
span {
  cursor: default;
}

::-webkit-scrollbar {
  background: rgba(0, 0, 0, 0.192);
  width: 0.4rem;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(9 42 68);
  box-shadow: inset 0 0 3px 0px rgb(4, 1, 15);
}

a:hover {
  text-decoration: none;
}

.hidden-left {
  opacity: 0;
  filter: blur (5px);
  transform: translateX(-100%);
  transition: all 1s;
}

.hidden-right {
  opacity: 0;
  filter: blur (5px);
  transform: translateX(100%);
  transition: all 1s;
}

.hidden-top {
  opacity: 0;
  filter: blur (5px);
  transform: translateY(-4rem);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
  transform: translateZ(0);
}

@font-face {
  font-family: SpaceG;
  src: url("../Fonts/SpaceG.ttf");
}

@font-face {
  font-family: Limonmilk;
  src: url("../Fonts/LEMONMILK.otf");
}

@font-face {
  font-family: Created;
  src: url("../Fonts/Created.ttf");
}

@font-face {
  font-family: Brexon;
  src: url("../Fonts/Brexon.ttf");
}

@font-face {
  font-family: Kiak;
  src: url("../Fonts/Kiak.otf");
}

* {
  font-family: "SpaceG", sans-serif;
  box-sizing: border-box;
  transition: 0.35s;
  scroll-behavior: smooth;
}

/* Home Section */

.navigation {
  width: 100%;
  padding: 1rem;
  background: #fcfcfcbf;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  box-shadow: 4px 4px 20px #0000004a;
  position: fixed;
  backdrop-filter: blur(7px);
  z-index: 9;
  height: 5rem;
}

.navigation .logo {
  margin: auto;
  margin-left: 0;
  color: #353654;
  font-size: 2rem;
  font-family: "Limonmilk", sans-serif;
}

.navigation .logo img {
  width: 3rem;
}

.navigation .nav-list {
  margin: auto;
  margin-right: 0;
}

.navigation .nav-list a {
  color: #353654;
  padding: 1rem;
  text-decoration: none;
  transition: 0.25s;
}

.navigation .nav-list a:hover {
  transition: 0.25s;
  background: #5cd1c5;
}

.home {
  margin-top: 5rem;
  width: 100%;
  /* min-height: 100vh; */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* padding: 2rem; */
}

.home .left {
  width: 60%;
  margin: auto;
  margin-left: 0;
  padding: 2rem;
  background: #5cd1c5;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home .left h1 {
  display: flex;
  flex-direction: row;
  margin: 0;
}

.home .left h1 span {
  font-weight: 100;
  font-size: 4rem;
  font-family: "Brexon";
  color: #353654;
  transition: 0.35s;
  /* -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #4586ff; */
}

.home .left h1 span:hover {
  color: #ffffff00;
  transition: 0.35s;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: #35365433;
  text-shadow: -1px -12px #353654;
}

.home .left h2 {
  margin: 0;
  font-size: 2rem;
  color: white;
}

.home .left h5 {
  margin: 0;
  font-size: 1.5rem;
}

.home .left h5 p {
  display: inline-block;
  vertical-align: top;
  margin: 0;
}

.home .word {
  position: absolute;
  opacity: 0;
  color: #07403a;
}

.home .letter {
  display: inline-block;
  position: relative;
  float: left;
  transform: translateZ(25px);
  transform-origin: 50% 50% 25px;
}

.home .letter.out {
  transform: rotateX(90deg);
  transition: transform 0.32s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.home .letter.behind {
  transform: rotateX(-90deg);
}

.home .letter.in {
  transform: rotateX(0deg);
  transition: transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.home .right {
  padding: 2rem;
  width: 40%;
  margin: auto;
  margin-right: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  min-height: 90vh;
  background-color: #dee2ed;
}

.home .right img {
  width: 32%;
  margin: auto;
  border: 0 solid rgba(255, 255, 255, 0.308);
  /* border-radius: 1rem; */
  /* transform: translate(0px, 0px); */
  transition: 0.35s;
}

.home .right img:nth-child(1) {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  width: 45%;
}

.home .right img:nth-child(2) {
  margin-left: 0.5rem;
  margin-bottom: 0.5rem;
}

.home .right img:nth-child(3) {
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

.home .right img:nth-child(4) {
  margin-left: 0.5rem;
  margin-top: 0.5rem;
  width: 45%;
}

.home .right img:nth-child(1):hover {
  transition: 0.35s;
  transform: translate(0px, -10px);
  box-shadow: 6px 6px 0px #353654;
}

.home .right img:nth-child(2):hover {
  transition: 0.35s;
  transform: translate(0px, -10px);
  box-shadow: 6px 6px 0px #353654;
}

.home .right img:nth-child(3):hover {
  transition: 0.35s;
  transform: translate(0px, 10px);
  box-shadow: -6px -6px 0px #353654;
}

.home .right img:nth-child(4):hover {
  transition: 0.35s;
  transform: translate(0px, 10px);
  box-shadow: -6px -6px 0px #353654;
}

@media screen and (max-width: 500px) {
  .navigation {
    flex-direction: column;
    position: relative;
    height: auto;
  }

  .navigation .logo {
    margin: auto !important;
    margin-bottom: 0.5rem !important;
  }

  .navigation .nav-list {
    width: 100%;
    /* justify-content: flex-start; */
    justify-content: center;
    align-items: center;
    display: flex;
    margin: auto !important;
    overflow-x: scroll;
  }

  .home {
    flex-direction: column-reverse;
    margin-top: 0;
  }

  .home .left {
    width: 100%;
    min-height: auto;
  }

  .home .right {
    width: 100%;
    min-height: auto;
  }

  .home .left h1 span {
    font-size: 2.5rem;
  }
}

/* About */
.about {
  margin-top: 2rem;
  width: 100%;
  background: #fcfcfc;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #353654;
  overflow: hidden;
}

.about h1 {
  margin: 0.25rem;
  font-weight: 100;
  font-size: 5rem;
  font-family: "Created", sans-serif;
  text-transform: uppercase;
}

.about p {
  width: 90%;
  text-align: justify;
}

.about p a {
  text-decoration: none;
  color: #5cd1c5;
}

.about .skills {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  padding: 0 1rem;
}

.about .skills .skill-card {
  width: 23%;
  background: #dee2ed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
  margin: 0.5rem;
}

.about .skills .skill-card img {
  width: 5rem;
}

.about .skills .skill-card h5 {
  text-align: center;
  font-family: "Limonmilk";
  color: #353654;
  font-weight: 100;
}

.about .skills .skill-card > span {
  height: 0.5rem;
  display: flex;
  justify-content: start;
  align-items: start;
  width: 100%;
}

.about .skills .skill-card > span > span {
  height: 0.5rem;
  margin: auto;
  margin-left: 0;
  background: #5cd1c5;
}

.about h4 {
  margin: 1rem 0 0 0;
  text-align: left;
  width: 100%;
  padding-left: 1.5rem;
  font-size: 1.5rem;
}

@media screen and (max-width: 500px) {
  .about h1 {
    font-size: 4rem;
  }

  .about p {
    width: 96%;
  }

  .about .skills .skill-card {
    width: 45%;
  }

  .about h4 {
    width: 96%;
    padding-left: 0;
  }

  .about .skills {
    width: 100%;
    padding: 0;
  }
}

/* Project Section */
.projects {
  margin-top: 2rem;
  background-color: #5cd1c5;
  padding: 1rem 0;
  width: 100%;
  /* display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; */
}

.projects .project-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.projects h2 {
  margin: 0;
  font-weight: 100;
  font-size: 5rem;
  font-family: "Created", sans-serif;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fcfcfc;
  text-align: center;
  width: 100%;
}

.projects .project-switcher {
  width: 50%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem;
  margin: 1rem auto;
  border-radius: 5rem;
  border: 2px solid white;
}

.projects .project-switcher .project-switch {
  text-align: center;
  border-radius: 5rem;
  width: -webkit-fill-available;
  padding: 1rem;
}

.projects .project-switcher .project-switch.active {
  background: #fcfcfc;
}

.projects .project-card .project-name {
  text-align: center;
  font-size: 1.5rem;
  color: #353654;
  margin-bottom: 0;
}

.projects .project-card .website-view {
  display: flex;
  width: 100%;
  height: 40vw;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.projects .project-card .website-desktop {
  width: 100vw;
  height: 40vw;
  border: 5px solid #e8e8e8;
  border-radius: 8px;
  transform: scaleX(0.8);
  position: relative;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  margin: auto;
}

.projects .project-card .web-bar{
  margin: auto;
  width: 100vw;
  transform: scaleX(0.8);
  height: 4rem;
  background-color: #e8e8e8;
  border: 5px solid #e8e8e8;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  padding: 0 1rem;
}

.projects .project-card .web-bar .browser-nav{
  width: 1rem;
  height: 1rem;
  border-radius: 100%;
  margin: auto 0.3rem;
}

.projects .project-card .web-bar .browser-nav:nth-child(1){
  background-color: #fe5f57;
}

.projects .project-card .web-bar .browser-nav:nth-child(2){
  background-color: #febd2e;
}

.projects .project-card .web-bar .browser-nav:nth-child(3){
  background-color: #26c740;
}

/* .projects .project-card .website-msg{
  width: 100vw;
  height: 40vw;
  border: 5px solid #fcfcfc;
  border-radius: 8px;
  transform: scaleX(0.8);
  position: absolute;
  background-color: #000000b0;
  z-index: 9;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fcfcfc;
  font-size: 3rem;
}

.projects .project-card .website-desktop:hover .website-msg{
  transition: 0.2s;
  display: none;
} */

.projects .project-card p {
  text-align: center;
  width: 85%;
  margin: 1rem auto;
}

.projects .project-card .visit-website-btn {
  padding: 1rem;
  margin: auto;
  background: #353654;
  color: #dee2ed;
  text-decoration: none;
  border-radius: 5rem;
}

.projects .project-card .visit-website-btn:hover {
  transition: 0.35s;
  background: #07403a;
}

.projects .project-card .application-view {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  padding-bottom: 0;
  margin-bottom: -5rem;
}

.projects .project-card .application-view img {
  width: 32%;
  height: max-content;
  margin: auto;
}

.projects .project-card .application-view .img-2 {
  margin: auto;
  padding-bottom: 10rem;
}

.project .swiper {
  width: 100%;
  height: 100%;
}

.project .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-wrapper {
  position: relative;
  width: 100% !important;
  height: auto !important;
}

@media screen and (max-width: 500px) {
  .projects h2 {
    padding: 1rem;
    font-size: 4rem;
    text-align: left;
  }

  .projects .project-card .website-view {
    height: 60vh;
  }

  .projects .project-card .website-desktop {
    height: 60vh;
  }

  .projects .project-switcher {
    width: 90%;
  }

  .projects .project-card .application-view {
    padding: 1rem;
  }

  .projects .project-card p {
    text-align: justify;
  }
}

/* Contact Section */
.contact {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(45deg, rgb(23, 18, 41), rgb(6, 13, 37));
}

.contact .contact-page {
  width: 50%;
  padding: 1rem;
  background: linear-gradient(
    45deg,
    rgba(48, 48, 48, 0.37),
    rgba(39, 39, 39, 0.356)
  );
  border-radius: 5px;
  backdrop-filter: blur(10px);
}

.contact .contact-page .contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.contact .contact-form .form-field {
  outline: none !important;
  border: none;
  border-bottom: 1.5px solid #dee2ed;
  margin-bottom: 1rem;
  background: transparent;
  width: 100%;
  color: #fcfcfc;
  line-height: 2rem;
}

.contact .contact-form .form-field::placeholder {
  color: #dee2ed;
}

.glitch-wrapper {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding-left: 2rem;
  user-select: none;
  flex-direction: column;
}

.glitch-wrapper img {
  width: 50%;
  margin-bottom: 1rem;
}

.glitch {
  position: relative;
  font-size: 50px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 3px;
  z-index: 1;
  font-family: "Kiak", sans-serif;
  font-size: 3rem;
}

.glitch:before,
.glitch:after {
  display: block;
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
}

.glitch:before {
  animation: glitch-it 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
  color: #40ffa9;
  z-index: -1;
}

.glitch:after {
  animation: glitch-it 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both
    infinite;
  color: #ff5f2c;
  z-index: -2;
}

@keyframes glitch-it {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  to {
    transform: translate(0);
  }
}

.contact .contact-form .submit-btn {
  padding: 0.5rem 1rem;
  outline: 0;
  background: #5c6fd1;
  border: 7px solid #5c71d1;
  box-shadow: 0.5rem 0.5rem 0 0 #5400f9;
  width: 50%;
  color: #dee2ed;
  transition: 0.25s;
  cursor: pointer;
}

.contact .contact-form .submit-btn:disabled,
.contact .contact-form .submit-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  background: #5c6fd1 !important;
  border: 7px solid #5c71d1 !important;
  box-shadow: 0.5rem 0.5rem 0 0 #5400f9 !important;
}

.contact .contact-form .submit-btn:hover {
  background: #5400f9;
  transition: 0.25s;
  border: 7px solid #5400f9;
  box-shadow: 0.5rem 0.5rem 0 0 #5c6fd1;
}

.contact .contact-page .action-buttons {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.contact .contact-page .action-buttons a {
  width: 3rem;
  height: 3rem;
  background: #dee2ed;
  font-size: 1rem;
  color: #353654;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  text-decoration: none;
  margin: auto 0.5rem;
}

.contact .contact-page .action-buttons .call:hover {
  transition: 0.25s;
  background: #5400f9;
  color: #fcfcfc;
}

.contact .contact-page .action-buttons .whatsapp:hover {
  transition: 0.25s;
  background: rgb(0, 189, 0);
  color: #fcfcfc;
}

.contact .contact-page .action-buttons .github:hover {
  transition: 0.25s;
  background: #0d1117;
  color: #fcfcfc;
}

.contact .contact-page .action-buttons .insta:hover {
  transition: 0.25s;
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  color: #fcfcfc;
}

.contact .contact-page .action-buttons .web:hover {
  transition: 0.25s;
  background: rgb(168, 30, 30);
  color: #fcfcfc;
}

@media screen and (max-width: 500px) {
  .contact {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
  }

  .contact .contact-page {
    width: 100%;
    padding: 1rem;
  }

  .contact .glitch-wrapper {
    width: 100%;
    margin-bottom: 1rem;
  }
}
