* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}
:root {
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: #ff81c5;
    --main2-color: #b281f5;
}

html{
    font-size: 60%;
    overflow-x: hidden;
}
body{
    min-height: 100vh;
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
}

/* Reset */
  /* Loading Wrapper Styling */
  .loading-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #131313;
    z-index: 10;
    transition: opacity 0.5s ease;
  }
  
  /* Cube Animation */
  .cube {
    font-size: 24px;
    height: 1em;
    width: 1em;
    position: relative;
    transform: rotatex(30deg) rotatey(45deg);
    transform-style: preserve-3d;
    animation: cube-spin 1.5s infinite ease-in-out alternate;
  }
  
  .side {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform-style: preserve-3d;
  }
  
  .side::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: currentcolor;
    transform: translatez(0.5em);
    animation: cube-explode 1.5s infinite ease-in-out;
    opacity: 0.5;
  }
  
  .side:nth-child(1) { transform: rotatey(90deg); }
  .side:nth-child(2) { transform: rotatey(180deg); }
  .side:nth-child(3) { transform: rotatey(270deg); }
  .side:nth-child(4) { transform: rotatey(360deg); }
  .side:nth-child(5) { transform: rotatex(90deg); }
  .side:nth-child(6) { transform: rotatex(270deg); }
  
  @keyframes cube-spin {
    0% { transform: rotatex(30deg) rotatey(45deg); }
    100% { transform: rotatex(30deg) rotatey(405deg); }
  }
  
  @keyframes cube-explode {
    0% { transform: translatez(0.5em); }
    50% { transform: translatez(0.75em); }
    100% { transform: translatez(0.5em); }
  }
  
  /* Main Content Styling */
  .main-content {
    display: none; /* Sembunyikan konten utama saat loading */
    text-align: center;
  }
  

.slider{
    width: 1920px;
    max-width: 100vw;
    height: auto;
    margin: center;
    position: relative center;
    overflow: hidden;
}
.list{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: max-content;
    transition: 1s;
}
.list img{
    width: 1920px;
    max-width: 100vw;
    height: 700px;
    object-fit: cover;
}
.buttons{
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}
.buttons button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1313133d;
    color: whitesmoke;
    border: none;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
}
.dots{
    position: absolute;
    bottom: 10px;
    color: whitesmoke;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
.dots li{
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: whitesmoke;
    margin: 20px;
    border-radius: 20px;
    transition: 1s;
}
.dots li.active{
    width: 30px;
}
@media screen and (max-width: 768px){
    .slider{
        height: 400px;
    }
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 6% 2rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}
.logo{
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}
.logo:hover{
    transform: scale(1.1);
}
.logo span{
    text-shadow: 0 0 25px var(--main-color);
}
.navbar {
    display: flex;
    gap: 1rem;
}
.navbar a{
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}
.navbar .nav-link.active {
    color: var(--main-color);
    font-weight: bold;
}
.navbar a:hover,
.navbar .nav-link.active{
    color: var(--main2-color);

}
#menu-icon{
    font-size: 3.6rem;
    color: var(--main2-color);
    display: none;
}

span-1{
    color: transparent;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
    background-image: linear-gradient( to left, #8454ff, #ff34b5, #ff9901, #8454ff);
    background-clip: text;
    background-size: 200% auto;
    animation: gradientAnimation 5s linear infinite;
}

.parallax {
    margin: auto;
    overflow: hidden;
    height: 100vh;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: absolute;
    right: 5%;
    top: 44%;
    width: 90%;
    justify-content: space-between;
}
.text{
    font-family: "Poppins", sans-serif;
    margin: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: absolute;
    z-index: 2;
    font-size: 6rem;
    color: #fff;
    margin-bottom: 1rem;
}

section{
    min-height: 100vh;
    padding: 10rem 12% 10rem;
}
.aboutme{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}
.aboutme-content{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    margin-top: -3%;
}

@keyframes gradientAnimation{
    0%{
        background-position: 200% 50%;
    }
    100%{
        background-position: 0% 50%;
    }
}
span{
    color: var(--main2-color);
}
.logo span{
    color: var(--main-color);
}

.aboutme-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
}
.aboutme-content h1{
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}
.aboutme-img{
    border-radius: 50%;
}
.aboutme-img img{
    position: relative;
    top: 3rem;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main2-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.aboutme-img img:hover{
    box-shadow: 0 0 25px var(--main2-color),
                0 0 50px var(--main2-color),
                0 0 70px var(--main2-color);
}
.aboutme-content p{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 5px;
    max-width: 1200px;
    width: 100%;
}

/* Column styling */
.col {
    margin-left: -9%;
    padding-left: 25px;
    gap: 20px;
    box-sizing: border-box;
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
}
.btn-group{
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.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 span{
    position: relative;
}
.text-animation span::before{
    content: "Web Developer";
    color: var(--main2-color);
    animation: words 20s infinite;
}
.text-animation span::after{
    content: "";
    background-color: var(--bg-color);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid var(--bg-color);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}
@keyframes cursor{
    to{
        border-left: 2px solid var(--main-color);
    }
}
@keyframes words{
    0%,
    20%{
        content: "a Binus University Student";
        color: #3e6fd8;
    }
    21%,
    40%{
        Content: "a New Media Student";
        color: #f58881;
    }
    41%,
    60%{
        content: "a Graphic Designer";
        color: cornflowerblue;
    }
    61%,
    80%{
        content: "an Illustrator";
        color:#f5b681;
    }
    81%,
    100%{
        content: "a Night Owl";
        color: #de3d93;
    }
}
@keyframes typing{
    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95%{
        width: 0;
    }
    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85%{
        width: calc(100% + 8px);
    }
}

.text-skills h3{
    margin-top: 30px;
    margin-bottom: 3px;
}

.gallery .heading {
    padding-top: 110px;
    font-size: 5rem;
    text-align: center;
    margin-bottom: 0.8rem;
}


@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

.container {
  max-width: 124rem;
  margin: 0 auto;
  padding: 10px 0;
}

#slider-gallery .tranding-slider {
  height: 52rem;
  padding: 2rem 0;
  position: relative;
}

.tranding-slide {
  width: 37rem;
  height: 42rem;
  position: relative;
}

.tranding-slide .tranding-slide-img {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease;
}

.tranding-slide:hover .tranding-slide-img {
  transform: scale(1.05);
}

.tranding-slide .tranding-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

.tranding-slide .tranding-slide-content {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tranding-slide:hover .tranding-slide-content {
  opacity: 1;
}

.tranding-slide-content-bottom {
  position: absolute;
  bottom: 8%;
  left: 40%;
  transform: translateX(-50%);
  text-align: left;
  color: whitesmoke;
}

.tranding-slide-content-bottom h3 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--main2-color);
}

.tranding-slide-content-bottom p {
  font-size: 1.4rem;
}

.tranding-slide-content-bottom a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: var(--main-color);
  color: whitesmoke;
  border-radius: 20px;
  text-decoration: none;
  font-size: 1.3rem;
}

.glow-effect {
  position: relative;
}

.glow-effect::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 15px;
  opacity: 0.5;
  filter: blur(10px);
  transition: opacity 0.3s ease;
}

.tranding-slide:hover .glow-effect::before {
    background: linear-gradient(45deg, var(--main-color), var(--main2-color));
  opacity: 0.7;
}

#slider-gallery-2 .tranding-slider {
    height: 52rem;
    padding: 2rem 0;
    position: relative;
  }
.gallery .heading-2 {
    padding-top: 5px;
    font-size: 5rem;
    text-align: center;
    margin-bottom: 0.8rem;
}
.tranding-slide-content-bottom-2 {
    position: absolute;
    bottom: 5%;
    left: 38%;
    transform: translateX(-50%);
    text-align: left;
    color: whitesmoke;
  }

  .tranding-slide-content-bottom-2 a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.1rem 1rem;
    background-color: var(--main-color);
    color: whitesmoke;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1.3rem;
  }
.tranding-slide-content-bottom-2 h3 {
    color: var(--main-color);
    font-size: 3rem;
    margin-bottom: 0.1rem;
  } 
  .tranding-slide-content-bottom-2 h5 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  } 
  .tranding-slide-content-bottom-2 p {
    font-size: 1.4rem;
  }

.contact{
    padding: 2rem;
    padding-top: 13rem;
    padding-left: 19rem;
    padding-right: 19rem;
    text-align: center;
    background-color: var(--bg-color);
}
.contact .heading {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.contact span {
    color: var(--main2-color)
}
.contact form{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
    margin: 2rem auto;
    text-align: center;
    flex-wrap: wrap;
}
.input-group, .input-group-2{
    flex: 1;
    min-width: 300px;
}
.input-group-2 textarea{
    height: 273.5px;
    padding: 2.5rem;
    resize: none;
}
.contact form .input-box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.contact form .input-box input, .contact form textarea{
    width: 100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 1.5rem 0;
    resize: none;
}
.contact form .btn{
    margin-top: 3rem;
}
.footer{
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: var(--second-bg-color);
}
.footer .social{
    text-align: center;
    padding-top: 30px;
    padding-bottom: 20px 0;
    color: var(--main-color);
}
.footer .social a{
    font-size: 18px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease-in-out;
}
.footer .social a:hover{
    transform: scale(1.2)translateY(-10px);
    background-color: var(--main-color);
    color: whitesmoke;
    box-shadow: 0 0 25px var(--main-color);
}
.footer ul{
    margin: 10px 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}
.footer ul li a{
    color: whitesmoke;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
    font-size: 14px;
}
.footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
}
.footer ul li{
    display: inline-block;
    padding: 0 15px;
}
.footer .copyright{
    margin-top: 35px;
    text-align: center;
    font-size: 12px;
    color: rgb(121, 121, 121);
}

@media(max-width:1280px){
    html {
        font-size: 55%;
    }
}
@media(max-width:991px){
    header {
        padding: 2rem 3%;
    }
    section {
        padding: 10rem 3% 2rem;
    }
    .aboutme-content h1{
        margin-top: -10px;
    }
    .aboutme-content h3{
        padding-top: -5%;
    }
    .contact form {
        flex-direction: column;
    }
    .footer {
        padding: 2rem 3%;
    }
    .input-group-2{
        max-width: 558px;
    }
    .parallax{
        top: 46%;
    }
    .text{
        font-size: 4rem;
    }
}
@media(max-width:767px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: fixed;
        top: 100%;
        right: 0;
        width: 30%;
        padding: 1rem 6%;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(50px);
        border-bottom-left-radius: 2rem;
        display: none;
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: whitesmoke;
    }
    .home{
        flex-direction: column-reverse;
        margin: 5rem 4rem;
    }
    .aboutme{
        flex-direction: column-reverse;
        margin: 5rem 4rem;
    }
    .aboutme-content h3{
        font-size: 2.6rem;
        margin-top: 10px;
    }
    .about-content h1{
        font-size: 8rem;
        margin-top:-15px;
    }
    .aboutme-content p{
        max-width: 600px;
        margin: 0 auto;
        margin-top: 0;
    }
    .aboutme-img img{
        width: 56vw;
    }
    .contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 4rem 1rem;
        padding-top: 20rem;
    }
    .contact .heading {
        text-align: center;
    }
    .contact form {
        display: flex;
        flex-direction: column;
        align-content: center;
        gap: 1.5rem;
    }
    .input-group, .input-group-2{
        padding-left: 4.3rem;
        padding-right: 4.3rem;
    }
    .text{
        font-size: 3rem;
    }
    .parallax {
        top: 47%;
    }
}