/* Default CSS configuration */
html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  font-size: 50%;
  overflow-x: hidden;
  --bg-color: #252525;
  --second-bg-color: #112e42;
  --text-color: #ededed;
  --main-color: #00abf0;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 1rem;
  margin-top: 150px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1vw 12% 1vw;
  background: rgba(50, 50, 50, 0.3);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

/* Logo class */
.logo {
  font-size: 2vw;
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.logo span {
  text-shadow: 0 0 25px var (--main-color);
}

/* Nav Bar */
.navigation a {
  font-size: 2vw;
  color: var(--text-color);
  margin-right: 100%;
  margin-left: -60%;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

.navigation a:hover,
.navigation a:active {
  color: var(--main-color);
  border-bottom: 3px solid var(--main-color);
}

#menu-icon {
  font-size: 3vw;
  color: var(--main-color);
  display: none;
}

section {
  min-height: 10vh;
  padding: 1vw 12% 1vw;
}

.home {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4vw;
  margin-top: 1vw;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  text-align: left;
  justify-content: center;
  margin-top: 1vw;
}

span {
  color: var(--main-color);
}

.logo span {
  color: var(--main-color);
}

.home-content h3 {
  margin-bottom: 2vw;
  margin-top: 1vw;
  font-size: 3vw;
}

.home-content h1 {
  font-size: 5vw;
  font-weight: 700;
  margin-top: 2vw;
  line-height: 1;
}

.home-img img {
  position: relative;
  top: -5vw;
  width: 32vw;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  cursor: pointer;
  transition: 0.4s ease-in-out;
}

.home-img img:hover {
  box-shadow:
    0 0 25px var(--main-color),
    0 0 50px var(--main-color),
    0 0 100px var(--main-color),
}

.home-content p {
  font-size: 2vw;
  font-weight: 500;
  line-height: 2;
  max-width: 1000px;
}

.social-icons i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5vw;
  height: 5vw;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  font-size: 3vw;
  border-radius: 50%;
  color: var(--main-color);
  margin: 1vw 2vw 3vw 0;
  transition: 0.3s ease-in-out;
}

.social-icons i:hover {
  color: var(--text-color);
  transform: scale(1.3)translateY(-5px);
  box-shadow: 0 0 25px var(--main-color);
  background-color: var(--main-color);
}

.btn {
  display: inline-block;
  padding: 1vw 3vw;
  background: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
  border-radius: 4vw;
  font-size: 1.5vw;
  color: black;
  border: 2px solid transparent;
  letter-spacing: 0.1vw;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px var(--main-color);
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 1vw;
}

.btn-group a:nth-of-type(2) {
  background-color: black;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-of-type(2):hover {
  box-shadow: 0 0 25px var(--main-color);
  background-color: var(--main-color);
  color: black;
}

.text-animation {
  font-size: 35px;
  font-weight: 600;
  min-width: 200px;
}

.text-animation span {
  position: relative;
}

.text-animation span::before {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--main-color);
  transition: 0.5s;
}

.text-animation span::after {
  content: "";
  background-color: var(--bg-color);
  position: absolute;
  height: 100%;
  border-left: 3px solid var(--bg-color);
  animation: typing 20s steps(15) infinite;
  animation-name: typing;
  width: calc(100% + 8px);
}


@keyframes typing {
  0% {
    content: "Networking";
    width: 100%;
  }

  10% {
    content: "LAN";
    width: 100%;
  }

  20% {
    content: "Systems";
    width: 100%;
  }

  30% {
    content: "Integrate";
    width: 100%;
  }

  40% {
    content: "Security";
    width: 100%;
  }

  50% {
    content: "Programming";
    width: 100%;
  }

  60% {
    content: "Software";
    width: 100%;
  }

  70% {
    content: "Web";
    width: 100%;
  }

  80% {
    content: "Hacking";
    width: 100%;
  }

  90% {
    content: "InfoSec";
    width: 100%;
  }

  100% {
    content: "Tester";
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .header {
    padding: 1.5vw 5%;
  }

  .navigation a {
    font-size: 1.6vw;
    color: var(--text-color);
    margin-right: 3%;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
  }

  .logo {
    font-size: 2vw;
  }

  .navigation a {
    font-size: 1.4vw;
    margin-right: 2%;
  }

  .home-content h1 {
    font-size: 4vw;
  }

  .home-img img {
    width: 80%;
  }
}

@media screen and (max-width: 480px) {
  .home {
    margin-top: -15rem;
  }

  body {
    font-size: 0.8vw;
  }

  h1 {
    font-size: 1.5vw;
  }

  p {
    font-size: 0.9vw;
  }
}
