:root {
  --main-color: #3460e1;
  --nav-text-color: #fffdfd8c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #222;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #191919;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

main {
  height: 100vh;
  width: 100vw;
  padding: 0;
  margin: 0;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 8px solid #f3f3f3;
  border-top: 8px solid var(--main-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body.loaded #preloader {
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  overflow: auto;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 45px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
  z-index: 3;
}

.default {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
}

nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
}

nav ul li {
  margin: 0 5px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.1rem;
  display: flex;
}

nav ul li a {
  text-align: center;
  color: var(--nav-text-color);
  font-weight: 600;
  text-decoration: none;
  width: 10vw;
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  padding: 8px 12px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

nav ul li a:hover {
  color: #3460e1;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

nav ul li span {
  color: var(--main-color);
  font-weight: 700;
  margin-right: 15px;
}

.line1 {
  height: 1.6rem;
  background-color: var(--nav-text-color);
  width: 1px;
  margin-right: 25px;
}

.line2 {
  height: 1.6rem;
  background-color: var(--nav-text-color);
  width: 1px;
  margin-left: 25px;
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger i {
  font-size: 2rem;
  color: var(--nav-text-color);
}

.dots {
  height: 100vh;
  position: fixed;
  z-index: 1;
  transform: rotate(180deg);
}

.hero {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh;
  background-color: transparent;
}

.hero h1 {
  font-family: "Oxanium", sans-serif;
  font-weight: 800;
  font-size: 9vw;
  font-style: italic;
  color: white;
  text-align: center;
  margin-top: 100px;
}

.sticky-image2 {
  position: fixed;
  bottom: -20px;
  left: 70vw;
  z-index: 2;
}

.sticky-image2 img {
  width: 25vw;
  height: auto;
  pointer-events: none;
}

.sticky-image {
  position: fixed;
  bottom: -20px;
  left: 40vw;
  z-index: 2;
}

.sticky-image img {
  width: 25vw;
  height: auto;
  pointer-events: none;
}

.sticky-image3 {
  position: fixed;
  bottom: -20px;
  left: 10vw;
  z-index: 2;
}

.sticky-image3 img {
  width: 25vw;
  height: auto;
  pointer-events: none;
}

.centered-box {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  background-color: #ffffff15;
  backdrop-filter: blur(10px);
  color: white;
  width: 15vw;
  height: 15vh;
  border-radius: 35px;
  text-align: center;
  z-index: 3;
}

.centered-box3 {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
  background-color: #ffffff15;
  backdrop-filter: blur(10px);
  color: white;
  width: 15vw;
  height: 15vh;
  border-radius: 35px;
  text-align: center;
  z-index: 3;
}

.title {
  font-weight: 800;
  font-size: 3vh;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin: 0;
}

.subtitle {
  font-weight: 400;
  font-size: 2vh;
  color: #ddd;
  margin-top: 0.5vh;
}

.read-more-btn {
  margin-top: 1.5vh;
  padding: 8px 16px;
  background-color: var(--main-color);
  color: white;
  font-size: 1.8vh;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.read-more-btn:hover {
  background-color: #2446a9;
  box-shadow: 0 4px 15px rgba(52, 96, 225, 0.3);
}

.read-more-btn:active {
  background-color: #1b3478;
  box-shadow: 0 2px 10px rgba(52, 96, 225, 0.5);
  transform: scale(0.98);
}

.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #262626;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  color: #e0e0e0;
  max-height: 80vh;
  overflow-y: auto;
  text-align: left;
  box-shadow: 0 10px 40px rgba(255, 51, 51, 0.5);
}

.modal-content h2 {
  color: #ff3333;
}

.modal-content p {
  font-size: 1.1rem;
  margin-top: 10px;
  line-height: 1.8;
  border-left: 3px solid #ff3333;
  padding-left: 15px;
}

.modal-content2 {
  background-color: #262626;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  color: #e0e0e0;
  text-align: left;
  box-shadow: 0 10px 40px #3460e150;
}

.modal-content2 h2 {
  color: var(--main-color);
}

.modal-content2 p {
  font-size: 1.1rem;
  margin-top: 10px;
  line-height: 1.8;
  border-left: 3px solid var(--main-color);
  padding-left: 15px;
}

.modal-content3 {
  background-color: #262626;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  color: #e0e0e0;
  text-align: left;
  box-shadow: 0 10px 40px #ffffff50;
}

.modal-content3::-webkit-scrollbar,
.modal-content2::-webkit-scrollbar,
.modal-content3::-webkit-scrollbar {
  width: 0;
}

.modal-content3 h2 {
  color: #fff;
}

.modal-content3 p {
  font-size: 1.1rem;
  margin-top: 10px;
  line-height: 1.8;
  border-left: 3px solid #fff;
  padding-left: 15px;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: var(--main-color);
  cursor: pointer;
}

.close:hover {
  color: #ff3333;
}

@media only screen and (max-width: 768px) {
  nav ul.komputer {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 15px;
    left: 15px;
  }

  nav ul.komputer li {
    margin: 0;
    text-align: center;
  }

  nav ul li .line1,
  nav ul li .line2 {
    display: none;
  }

  nav ul.komputer li a {
    font-size: 5vw;
    width: 100vw;
  }

  nav ul li.status {
    order: 1;
    margin-top: 20px;
  }

  .sticky-image {
    left: 25vw
  }

  .sticky-image img {
    width: 60vw;
    height: auto;
    pointer-events: none;
  }

  .sticky-image2 {
    left: 55vw;
    z-index: 1;
  }

  .sticky-image2 img {
    width: 60vw;
    height: auto;
    pointer-events: none;
  }

  .sticky-image3 {
    left: 0;
    z-index: 1;
  }

  .sticky-image3 img {
    width: 55vw;
    height: auto;
    pointer-events: none;
  }

  .centered-box {
    top: 50%;
    left:40%;
    transform: translate(-50%, -50%);
    background-color: #22222290;
    backdrop-filter: blur(10px);
    color: white;
    width: 25vw;
    height: 15vh;
    border-radius: 3vw;
  }

  .centered-box3 {
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);
    background-color: #22222290;
    backdrop-filter: blur(10px);
    color: white;
    width: 25vw;
    height: 15vh;
    border-radius: 3vw;
  }

  .sticky-image3 .centered-box3 {
    top: 50%;
    left:30% !important;
  }

    .title {
        font-size: 5vw;
    }

    .subtitle {
        font-size: 3vw;
    }
}