@import url("https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Noto+Sans+JP:wght@100..900&family=Oswald:wght@200..700&family=Pacifico&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
}

:root {
  --background: rgb(24, 24, 24);
  --second-background: rgb(21, 21, 21);
  --babi: #6cff52;
}

html {
  font-size: 80%;
}

body {
  background-color: var(--background);
  font-family: serif;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2em 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(10px);
  z-index: 999;
}

ul {
  display: flex;
  align-items: center;
  gap: 3em;
}

nav ul a {
  font-size: 15px;
  color: white;
  opacity: 0.7;
  transition: 0.2s ease-in-out;
}

nav ul a:hover {
  opacity: 1;
}

.logo {
  position: relative;
  font-size: 2rem;
  color: white;
  font-weight: 800;
  opacity: 0.8;
  transition: 0.2s ease-in-out;
  font-family: "Pacifico";
}

.logo:hover {
  opacity: 1;
}

.tmbl {
  padding: 0.5em 1em;
  background-color: var(--background);
  color: white;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 0.5em;
  font-size: 1.1em;
  border: 2px solid white;
  cursor: pointer;
  transition: 0.5s ease-in-out;
}

.tmbl:hover {
  background-color: white;
  color: var(--background);
}

span {
  background: linear-gradient(to right, #6cff52, #3ec5ff);
  background-clip: text;
  color: transparent;
}

#menu {
  color: white;
  font-size: 3em;
  display: none;
}

section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

#beranda {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5rem;
}

.beranda-image img {
  width: 25vw;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--babi);
  cursor: pointer;
  animation: floatImage 4s ease-in-out infinite;
  transition: 0.4s ease;
}

#beranda img:hover {
  box-shadow:
    0 0 25px var(--babi),
    0 0 25px var(--babi),
    0 0 25px var(--babi);
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.4rem);
  }
  100% {
    transform: translateY(0);
  }
}

.info-box {
  margin-left: 5rem;
}

.info-box h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
}

.info-box h3 {
  font-size: 2rem;
  font-weight: 700;
}

.info-box .gonta-ganti {
  font-size: 3rem;
}

.info-box h3:nth-of-type(2) {
  margin-bottom: 2rem;
}

.info-box p {
  color: beige;
  opacity: 0.7;
  font-size: 1.6rem;
}

::-webkit-scrollbar {
  width: 10px;
  background-color: var(--background);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #6cff52, #3ec5ff);
}

#tentang {
  background-color: var(--second-background);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5em;
}

#tentang img {
  width: 30vw;
  border-radius: 1em;
}

.tentang-box {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2em;
}

.tentang-box h1 {
  font-size: 5em;
}

.tentang-box p {
  color: white;
  opacity: 0.8;
}

.skill {
  display: flex;
  text-align: left;
  gap: 10em;
}

.skill ul {
  font-size: 1.3em;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  color: white;
  opacity: 0.8;
  align-items: baseline;
}

.skill ul li span {
  display: flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  font-size: 1.3em;
  transition: 0.3s ease-in-out;
}

.skill ul li span:hover {
  transform: translateX(10px);
}

.skill ul li i {
  font-size: 1.2em;
}

.tentang-box h2 {
  font-size: 2.5em;
}

#layanan {
  background-color: var(--background);
}

.ndas {
  text-align: center;
  font-size: 5em;
  margin: 0.5em 0;
}

.layanan-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
}

.box {
  border: 3px solid rgb(49, 49, 49);
  border-radius: 0.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  object-fit: cover;
  padding: 3em;
  gap: 2em;
  color: white;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.box:hover {
  border: 3px solid rgb(100, 100, 100);
}

.box p {
  opacity: 0.8;
}

.box h1 {
  font-size: 2em;
}

.box img {
  min-width: 25px;
  border-radius: 0.5em;
}

#kontak {
  background-color: var(--second-background);
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2em;
}

form .input-box {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 1em;
}

.info-box span {
  font-size: 1.5em;
}

form input {
  font-size: 1.3em;
  padding: 1em 5em;
  border-radius: 0.5em;
  border: none;
  outline: none;
}

form textarea {
  font-size: 1.3em;
  padding: 1em 5em;
  border-radius: 0.5em;
  border: none;
  outline: none;
}

form input:focus {
  background: rgb(229, 229, 229);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10em;
  bottom: 0;
  background-color: var(--background);
  width: 100%;
  padding: 5em 15%;
}

.CKiri {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.CBox {
  display: flex;
  align-items: center;
  gap: 1em;
}

.CBox i {
  font-size: 2em;
}

.CBox span {
  font-size: 1.2em;
}

.CKanan {
  display: flex;
  flex-direction: column;
  gap: 1em;
  color: white;
  max-width: 500px;
}

.CKanan span {
  font-size: 1.3em;
}

.CKanan .sosial-ikon {
  display: flex;
  align-items: baseline;
  justify-content: left;
  gap: 1em;
}

.CKanan .sosial-ikon i {
  font-size: 2em;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}

.sosial-ikon i:hover {
  color: white;
}

@media (max-width: 968px) {
  section {
    padding: 8em 15%;
  }

  nav .tmbl {
    display: none;
  }

  #menu {
    display: block;
  }

  .alucard {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1em 3em;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    display: none;
  }

  .alucard a {
    margin: 2em 0;
    display: block;
    font-size: 1.5em;
    color: white;
  }

  .alucard.active {
    display: block;
  }

  #beranda h1 {
    font-size: 2rem;
  }

  #beranda h3 {
    font-size: 1rem;
  }

  .info-box .gonta-ganti {
    font-size: 2rem;
  }

  #beranda img {
    width: 24vw;
  }

  @keyframes floatImage {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(2.4rem);
    }
    100% {
      transform: translateY(0);
    }
  }

  #tentang {
    flex-direction: column;
  }

  #tentang img {
    width: 32vw;
  }

  #tentang h1 {
    font-size: 3em;
  }

  #tentang ul {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  #beranda {
    flex-direction: column;
    text-align: center;
  }

  .beranda-image {
    margin-bottom: 2rem;
  }

  #beranda img {
    width: 45vw;
  }

  .info-box {
    margin-left: 0;
  }

  #tentang .skill {
    gap: 3em;
  }

  #kontak .ndas {
    font-size: 3em;
  }

  #kontak .input-box span {
    font-size: 1.2em;
  }

  .input-box input {
    padding: 0.5em 1em;
  }

  footer {
    flex-direction: column;
    gap: 5em;
    align-items: baseline;
  }
}
