@import url("https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Iceberg&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Jost:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&family=Righteous&family=Smooch+Sans:wght@100..900&family=Tektur:wght@400..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

:root {
  --blue: #081b29;
  --lightblue: #40a8f1;
}

body {
  background-color: var(--blue);
  color: white;
  width: 80vw;
  margin: auto;
  transition: all 1s ease-in;
}

#top_page {
  margin: auto;
  height: 100dvh;
  position: relative;
  transition: all 1s ease;
}

header {
  height: 10%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo {
  position: relative;
  font-family: "Jost", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 700;
}

#logo::before {
  top: 0;
  right: 0;
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: var(--blue);
  animation: showRight 0.7s ease forwards;
  animation-delay: 0.3s;
}

@keyframes showRight {
  100% {
    width: 0%;
  }
}

header ul li {
  display: inline-block;
  margin-left: 1.6em;
}

header ul li a {
  text-decoration: none;
  font-size: 1.1em;
  font-family: "Quicksand";
  font-weight: 500;
  color: white;
}

header ul li a:hover {
  color: var(--lightblue);
}

#openMenuBtn,
#closeMenuBtn {
  display: none;
}

@media screen and (max-width: 600px) {
  body {
    position: relative;
    overflow-x: hidden;
    width: 90vw;
  }

  header #navbar {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    height: 100vh;
    position: fixed;
    display: block;
    right: -225px;
    top: 0;
    z-index: 10;
    background: linear-gradient(
      black 5%,
      var(--blue) 25%,
      var(--blue) 75%,
      black 100%
    );
    width: 225px;
    transition: 0.75s ease-in-out;
  }

  header #navbar ul {
    display: flex;
    margin-top: 5%;
    align-items: center;
    flex-direction: column;
    gap: 35px;
  }

  /* Removes the margin-left property we are using to space the menu items on Desktop */
  header #navbar ul li {
    margin: 0;
  }

  header #navbar ul li a {
    padding: 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
  }

  #openMenuBtn,
  #closeMenuBtn {
    display: inline-block;
    font-size: 1.5em;
    align-content: center;
    height: 10%;
  }

  #openMenuBtn {
    position: absolute;
    right: 0px;
    padding: 0 5%;
  }

  #closeMenuBtn {
    padding: 0 10%;
  }
}

#page_cover {
  position: relative;
  height: 90%;
  display: flex;
  flex-direction: column;
  transition: all 1s ease;
}

#page_cover img {
  position: absolute;
  height: 90%;
  width: auto;
  right: 0px;
  bottom: 0px;
  opacity: 0;
  z-index: -1;
  /* filter: blur(0.5px); */
  mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0, 100%) 50%
  );
  animation-name: delayImage;
  animation: delayImage 4s ease-in forwards;
}

@keyframes delayImage {
  to {
    opacity: 100;
    /* filter: blur(0px); */
  }
}

@media screen and (max-width: 600px) {
  main {
    width: 90%;
  }

  #page_cover img {
    height: 55%;
    top: 0px;
    z-index: -1;
    mask-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0) 0%,
      rgb(0, 0, 0, 100%) 50%
    );
    display: inline-flex;
  }
}

/* Profile Intro */
#intro {
  height: 100%;
  width: 100%;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#intro .content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#intro .content > * {
  width: fit-content;
}

#intro h2 {
  position: relative;
  font-size: 3em;
  line-height: 1.05em;
  display: inline-block;
}

#intro h2::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--blue);
  animation: showRight 0.7s ease-in forwards;
  animation-delay: 0.7s;
}

#intro .content .animate {
  position: relative;
}

#intro .content .animate::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--blue);
  animation: showRight 1s ease-in forwards;
  animation-delay: 1.2s;
}

#intro h3 {
  margin-top: 6px;
  font-size: 1.4em;
  font-family: "Quicksand";
  color: var(--lightblue);
}

#intro p {
  margin-top: 30px;
  max-width: 50vw;
  font-weight: 300;
  line-height: 1.35em;
  color: rgb(220, 220, 220);
  font-family: "Tektur";
}

#intro p b {
  font-family: "Quicksand";
  font-size: 1.15em;
  color: white;
  font-weight: 900;
}

#intro #take_action {
  margin-top: 32px;
  position: relative;
  display: flex;
}

#intro #take_action::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--blue);
  z-index: 2;
  animation: showRight 0.7s ease-in forwards;
  animation-delay: 1.2s;
}

/* Color Change During HOVER animation */
#intro #take_action a {
  text-decoration: none;
  padding: 10px 20px;
  background-color: white;
  color: var(--blue);
  font-weight: 600;
  font-size: 1.075em;
  font-family: "Quicksand";
  border-radius: 8px;
  border: none;
  margin-right: 12px;
  transition: 0.75s;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#intro #take_action a:hover {
  color: white;
}

/* Blue Background Animation on HOVER */
#intro #take_action a::before {
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  z-index: -1;
  width: 0%;
  height: 100%;
  background: var(--lightblue);
  transition: 0.75s;
}

#intro #take_action a:hover::before {
  width: 100%;
}

/* Responsive */
@media screen and (max-width: 600px) {
  #intro .content {
    flex-direction: column;
    width: 90%;
    justify-content: flex-end;
    padding-bottom: 7%;
  }

  #intro h2 {
    font-size: 1.8em;
  }

  #intro h3 {
    font-size: 1.15em;
  }

  #intro p {
    margin-top: 18px;
    max-width: 100%;
  }
}

#media {
  display: flex;
  width: auto;
  flex-direction: row;
  align-items: center;
  position: absolute;
  gap: 5px;
  bottom: 5%;
}

#media::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--blue);
  animation: showRight 0.6s ease-in forwards;
  animation-delay: 1.5s;
}

#media a i {
  color: var(--lightblue);
  width: 32px;
  height: 32px;
  margin-right: 8px;
  text-align: center;
  align-content: center;
  border-radius: 50%;
  border: 2px var(--lightblue) solid;
  transition: 0.5s;
}

#media a i:hover {
  width: 34px;
  height: 34px;
  color: var(--blue);
  background-color: white;
  border: none;
}

@property --fill {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

#scroll_down {
  aspect-ratio: 1;
  width: 2.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4%;
  border-radius: 50%;
  text-decoration: none;
  transition: 1s ease-in forwards;
}

#scroll_down:hover {
  --fill: 100%;
}

#scroll_down i {
  color: white;
  width: 100%;
  height: 100%;
  background: var(--blue);
  border-radius: 50%;
  text-align: center;
  align-content: center;
  font-size: 1.3em;
  position: relative;
}

#scroll_down::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: conic-gradient(
    var(--lightblue) var(--fill),
    transparent var(--fill)
  );
  transition: --fill 0.8s ease-in-out;
  z-index: -1;
}

/* Responsive */
@media screen and (max-width: 600px) {
  #scroll_down {
    /* justify-self: flex-end;
    right: 0px; */
    left: auto;
    bottom: 3%;
    right: 2%;
    transform: none;
  }

  #media {
    display: none !important;
  }
}

#projects {
  color: white;
  padding-top: 5vh;
}

.section_title {
  text-align: center;
  font-family: "Jost", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
}

#projects .slider-wrapper {
  display: flex;
  flex-shrink: 0;
  width: 100%;
  margin-top: 5vh;
  margin-bottom: 5vh;
  flex-grow: 1;
  justify-content: center;
  gap: 5px;
}

.slide {
  position: relative;
  width: 10vw;
  height: 75vh;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  transition: all 1s;
  overflow: hidden;
}

.slide::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(0, 0, 0, 0.7);
}

.slide.active {
  width: 35vw;
}

.slide.active::before {
  width: 0%;
}

.slide img {
  width: 100%;
  height: 100%;
  /* height: 100%; */
  object-position: 0% 0%;
  object-fit: cover;
}

 .slide h1 {
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0px;
  rotate: 270deg;
  position: absolute;
  color: white;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1.6rem;
  text-transform: uppercase;
  text-align: center;
  transition: all 1s 0.3s ease;
  align-content: center;
}

.slide.active h1 {
  display: none;
}

.slide a {
  opacity: 0;
  transition: initial 1s 1s ease;
}

.slide .details {
  display: none;
}

.slide.active .details {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 1;
  text-transform: uppercase;
  flex-shrink: 0;
  flex-grow: 1;
  background: white;
  color: var(--blue);
  border-radius: 8px;
  bottom: 0px;
  left: 0px;
  right: 0px;
}

.slide.active .details .content {
  padding-top: 2%;
  padding-bottom: 2%;
  padding-left: 4%;
}

.slide.active .details h3 {
  font-weight: 800;
  font-family: "Quicksand";
  font-size: 1.55rem;
}

.slide.active .details p {
  /* font-weight: 600; */
  font-family: "Tektur";
  font-size: 1.25rem;
  margin-top: 3px;
}

.slide.active a {
  margin-right: 2%;
  margin-left: 3%;
  padding: 2% 5%;
  background: var(--blue);
  color: white;
  border-radius: 6px;
  text-transform: capitalize;
  display: inline-block;
  opacity: 1;
  text-decoration: none;
  font-weight: 600;
  font-family: "Iceberg";
}

@media screen and (max-width: 600px) {
  #projects .slider-wrapper {
    margin-top: 2vh;
  }

  .slider-wrapper .slide {
    width: 10vw;
    height: 50vh;
  }

  .slider-wrapper .slide img {
    height: 100%;
    object-position: 0% 0%;
  }

  .slider-wrapper .slide.active {
    width: 400px;
  }

  .slide.active .details .content {
    min-width: 130px;
  }

  .slider-wrapper .slide h1 {
    font-size: 1em;
  }

  .slide.active .details h3 {
    font-size: 1rem;
  }

  .slide.active .details p {
    font-size: 0.75rem;
  }

  .slide.active a {
    font-size: 0.85rem;
  }
}

#services {
  display: block;
  padding-top: 5vh;
}

#services h2 {
  font-family: "Jost", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-align: center;
}

#services .container {
  display: flex;
  column-gap: 20px;
  /* width: 85%; */
  margin: auto;
}

.service {
  position: relative;
  margin-top: 12px;
  background: url(/images/android.png);
  background: linear-gradient(
    120deg,
    rgba(192, 192, 192, 0.2) 20%,
    rgba(47, 47, 47, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 70%
  );
  overflow: hidden;
  padding-bottom: 12px;
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: all 1s;
  opacity: 0.5f;
  filter: blur(5px);
  transform: translateX(-90vw);
}

.service.animate_in_scroll {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0vh);
}

.service:nth-child(1) {
  transition-delay: 600ms;
}

.service:nth-child(2) {
  transition-delay: 400ms;
}

.service:nth-child(3) {
  transition-delay: 200ms;
}

.service img {
  object-fit: cover;
  height: 240px;
  object-position: 100%;
  width: 100%;
}

.service .content {
  padding: 12px 16px;
}

.service h3 {
  text-align: center;
  font-family: "Quicksand", sans-serif;
  font-size: 1.3rem;
}

.service p {
  margin-top: 8px;
  line-height: 1.45rem;
  color: rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 600px) {
  #services .container {
    flex-direction: column;
    width: 100%;
    row-gap: 8px;
  }

  .service img {
    height: 180px;
  }

  .service h3 {
    font-size: 1.1rem;
  }

  .service p {
    font-size: 0.95rem;
    line-height: 1.2rem;
  }

  .service:nth-child(1) {
    transition-delay: 200ms;
  }

  .service:nth-child(2) {
    transition-delay: 400ms;
  }

  .service:nth-child(3) {
    transition-delay: 600ms;
  }
}

#contacts {
  margin-top: 5vh;
  margin-bottom: 5vh;
}

/* 081b29 */
#contacts .container {
  /* width: 100%; */
  margin-top: 2vh;
  background: white;
  color: var(--blue);
  padding: 40px 0px;
  /* min-width: 400px; */
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#contacts .company {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
}

#contacts .company img {
  width: 80px;
  object-fit: cover;
}

#contacts .company h3 {
  font-size: 1.2rem;
  font-weight: 500;
  font-family: "Jost", sans-serif;
  text-transform: uppercase;
  text-align: center;
  width: 75%;
  line-height: 1.2rem;
  margin-top: 12px;
}

#contacts .content {
  width: 50%;
}

#contacts .content #name {
  text-transform: uppercase;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
}

#contacts .content #title {
  font-family: "Tektur";
  color: black;
}

#contacts .content ul {
  margin-top: 14px;
}

#contacts .content ul li {
  display: flex;
  align-items: center;
  margin-top: 4px;
}

#contacts .content ul li i {
  font-size: 1.4rem;
}

#contacts .content ul li a {
  text-decoration: none;
  cursor: pointer;
  color: var(--blue);
}

#contacts .content ul li a p {
  margin-left: 12px;
  font-size: 1rem;
  font-family: "Quicksand";
  font-weight: 600;
}

@media screen and (max-width: 600px) {
  #contacts .content {
    width: 50%;
  }

  #contacts .company {
    width: 40%;
  }

  #contacts .company img {
    width: 50px;
  }

  #contacts .company h3 {
    font-size: 1rem;
  }
}

/* 
@property --borderAngle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.service:hover::after {
  animation-play-state: running;
}


.service::after {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 4px;
  content: "";
  top: 50%;
  left: 50%;
  background: conic-gradient(
    from var(--borderAngle),
    transparent 15%,
    rgb(255, 85, 0) 15%,
    rgb(255, 85, 0) 25%,
    var(--blue) 25%,
    var(--blue) 65%,
    rgb(255, 85, 0) 65%,
    rgb(255, 85, 0) 75%,
    transparent 75%
  );
  translate: -50% -50%;
  z-index: -1;
  border-radius: 12px;
  animation-name: animateBorder;
  animation-duration: 5s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  animation-play-state: paused;
}

@keyframes animateBorder {
  from {
    --borderAngle: 0deg;
  }
  to {
    --borderAngle: 90deg;
  }
} */
