@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;500;600;700;800;900&display=swap");

html,
body {
  margin: 0%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #f9f9f9;
  font-family: "Inter", sans-serif;
}

.Loop {
  position: relative;
  height: 100%;
  width: 101vw;
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
  padding-right: 37px; /* Increase/decrease this value for cross-browser compatibility */
  box-sizing: content-box;
}

section {
  position: relative;
  text-align: center;
  min-height: 300px;
  max-height: 100vh;
  height: 100vh;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section#aboutMe {
  align-items: flex-start;
}

section.works {
  display: block;
}

video.section--animation {
  animation: mover 1s ease-out;
}

@keyframes mover {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

::scrollbar {
  display: none;
}

/* header.intro {
  display: flex;
  flex-direction: column;
} */

h1 {
  margin: 0;
  /* position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%; */
  font-size: 80px;
  letter-spacing: 1.5px;
  color: rgb(5, 5, 5);
  text-transform: uppercase;
}

h1 span {
  display: inline-block;
  animation: slideLeft 2s forwards;
  opacity: 0;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(200px);
  }
  to {
    opacity: 1;
    transform: translateX(0%);
  }
}

.intro_title {
  /* position: absolute;
  top: 50px;
  left: 0; */
  font-weight: 700;
  color: rgb(5, 5, 5);
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
  margin-bottom: 10px;
}

.intro h3 {
  font-size: 1.3em;
}

.intro__title-part {
  position: absolute;
  font-size: 10.7vw;
  line-height: 1.1;
  margin-top: -2.5vw;
  opacity: 0;
  overflow: hidden;
}

.intro__title-part--top {
  top: 0;
  left: 10vw;
  height: 10.6vw;
}
.intro__title-part--bottom {
  height: 12vw;
}

div.case {
  border-top: 6px black solid;
  width: 92vw;
  /* height: 77vh; */
  margin-left: 60px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
}

div.text {
  width: 30vw;
  /* height: 76.5vh; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* border: 1px black solid; */
}

video {
  max-width: 100%;
  object-position: center;
  width: 50vw;
  border: 40px black solid;
}

video:hover {
  filter:grayscale(1);
}
video.full {
  filter:unset;
}

div.text .title {
  margin: 0;
  text-align: left;
  font-size: 2.5em;
  line-height: 0.75;
  /* margin-left: -4px; */
}

div.text .description {
  margin: 0;
  text-align: left;
  font-size: 1.5em;
  line-height: 1.3em;
  /* margin-left: -4px; */
}

.description p {
  margin-bottom: 0;
  font-size: 1em;
  font-weight: 100;
}

p.bold {
  font-weight: bold;
}
span.bold {
  font-weight: 500 !important;
  color:black !important;
}

.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  /* height: 100vh; */
  font-size: clamp(2rem, 2.8vw, 5rem);
  font-weight: bold;
}

div.typewriter {
  width: 40vw;
  text-align: left;
  margin: 0;
}

.type {
  color: #0000;
  background: linear-gradient(-90deg, #090a0a 5px, #0000 0) 10px 0,
    linear-gradient(#121414 0 0) 0 0;
  background-size: calc(var(--n) * 1ch) 200%;
  -webkit-background-clip: padding-box, text;
  background-clip: padding-box, text;
  background-repeat: no-repeat;
  animation: b 0.7s infinite steps(1),
    t calc(var(--n) * 0.3s) steps(var(--n)) forwards;
}
@keyframes t {
  from {
    background-size: 0 200%;
  }
}
@keyframes b {
  50% {
    background-position: 0 -100%, 0 0;
  }
}

/* .typewriter {
  width: 21.5ch;
  white-space: nowrap;
  overflow: hidden;
  border-right: 4px solid #212121;
  animation: cursor 1s step-start infinite, text 5s steps(18) alternate;
}
.typewriter.done {
  border: none;
}

@keyframes cursor {
  0%,
  100% {
    border-color: #212121;
  }
}

@keyframes text {
  0% {
    width: 0;
  }
  100% {
    width: 21.5ch;
  }
}

.type.hidden {
  display: none;
} */

div.icons {
  width: 36%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: flex-start;
}

svg {
  height: 50px;
  margin: 20px;
}

.topbar {
  left: 0;
  top: 0;
  width: 120px;
  z-index: 9999;
  visibility: inherit;
  position: absolute;
}
/*.topbar:hover {*/
/*  background-color: var(--color_secondary);*/
/*  left: 0;*/
/*  position: fixed;*/
/*  top: 0;*/
/*  width: 120px;*/
/*  z-index: 9999;*/
/*}*/

.topbar__wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.burger {
  display: flex;
  flex-direction: column;
  height: 16px;
  justify-content: space-between;
  position: absolute;
  right: 25px;
  top: 25px;
  width: 40px;
}

.topbar__nav {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.topbar__nav .menu-item:first-child {
  margin-top: 0;
}

.topbar__nav .menu-item {
  margin-top: 40px;
  transform: rotate(-180deg);
  width: 100%;
  -ms-writing-mode: tb-rl;
  writing-mode: tb-rl;
}

ul {
  list-style: none;
}

li {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
}

.topbar__nav .menu-item a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.topbar__nav .menu-item a span {
  transition: transform 0.3s ease;
}

.topbar__nav .menu-item a:hover span {
  transform: rotate(-10deg);
}

svg.contact{
    border-radius: 10px;
    enable-background: new 0 0 41.7 50;
    border: 4px solid black;
    padding: 15px;
}
a{
    text-decoration:none;
}

/* typewriting  */

/* body {
  background: #182028;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  margin: 0;
} */

/* h3 {
  font-size: 9vmin;
  color: #8bf;
  text-align: left;
  font-family: Lato, sans-serif;
  font-weight: 700;
  margin: 1rem 0 1rem 2rem;
} */

/* Typewriter effect 1 */
/* @keyframes typing {
  0.0000%,
  27.3488% {
    content: "";
  }
  1.1395%,
  26.2093% {
    content: "F";
  }
  2.2791%,
  25.0698% {
    content: "Fr";
  }
  3.4186%,
  23.9302% {
    content: "Fro";
  }
  4.5581%,
  22.7907% {
    content: "Fron";
  }
  5.6977%,
  21.6512% {
    content: "Front";
  }
  6.8372%,
  20.5116% {
    content: "Front ";
  }
  7.9767%,
  19.3721% {
    content: "Front e";
  }
  9.1163%,
  18.2326% {
    content: "Front en";
  }
  10.2558%,
  17.0930% {
    content: "Front end";
  }

  30.7674%,
  51.2791% {
    content: "";
  }
  31.9070%,
  50.1395% {
    content: "w";
  }
  33.0465%,
  49.0000% {
    content: "wr";
  }
  34.1860%,
  47.8605% {
    content: "wri";
  }
  35.3256%,
  46.7209% {
    content: "writ";
  }
  36.4651%,
  45.5814% {
    content: "write";
  }
  37.6047%,
  44.4419% {
    content: "writer";
  }

  54.6977%,
  75.2093% {
    content: "";
  }
  55.8372%,
  74.0698% {
    content: "r";
  }
  56.9767%,
  72.9302% {
    content: "re";
  }
  58.1163%,
  71.7907% {
    content: "rea";
  }
  59.2558%,
  70.6512% {
    content: "read";
  }
  60.3953%,
  69.5116% {
    content: "reade";
  }
  61.5349%,
  68.3721% {
    content: "reader";
  }

  78.6279%,
  96.8605% {
    content: "";
  }
  79.7674%,
  95.7209% {
    content: "h";
  }
  80.9070%,
  94.5814% {
    content: "hu";
  }
  82.0465%,
  93.4419% {
    content: "hum";
  }
  83.1860%,
  92.3023% {
    content: "huma";
  }
  84.3256%,
  91.1628% {
    content: "human";
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.typewriter {
  --caret: currentcolor;
}

.typewriter::before {
  content: "";
  animation: typing 13.5s infinite;
}

.typewriter::after {
  content: "";
  border-right: 1px solid var(--caret);
  animation: blink 0.5s linear infinite;
}

.typewriter.thick::after {
  border-right: 1ch solid var(--caret);
}

.typewriter.nocaret::after {
  border-right: 0;
}

@media (prefers-reduced-motion) {
  .typewriter::after {
    animation: none;
  }

  @keyframes sequencePopup {
    0%,
    100% {
      content: "developer";
    }
    25% {
      content: "writer";
    }
    50% {
      content: "reader";
    }
    75% {
      content: "human";
    }
  }

  .typewriter::before {
    content: "developer";
    animation: sequencePopup 12s linear infinite;
  }
} */

/**/

@media screen and (max-width: 800px) {
  .topbar {
    display: none;
  }

  div.text {
    width: auto;
  }

  div.case {
    margin: 0 auto;
    width: 90vw;
    margin-left: 20px;
    flex-direction: column;
  }

  section {
    height: 100vh;
    max-height: 100vh;
  }
  video {
    margin-top: 10px;
    border: 0;
    width: 100%;
  }

  div.icons {
    width: auto;
    margin: 30px auto;
    justify-content: space-between;
    order: 2;
  }
  svg {
    height: 31px;
    margin:9px;
  }
  div.typewriter {
    width: auto;
 
  }

   div.typing {
    order:1;
    font-size:1.7rem;
  } 
}

div.contact {
  margin-top: 40px;
  order:0;
}
a.bold {
font-weight:bold;
}
