/* body */
body {
    background-color: rgb(0, 0, 0);
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* header */
.header {
    height: 80px;
    background-color: rgba(14, 17, 20, 0.5);
    color: white;
    display: flex;
    align-items: center;
    position: fixed; /* 🔥 dari sticky jadi fixed */
    top: 0;
    width: 100%; /* biar full layar */
    z-index: 100;

    backdrop-filter: blur(10px);
    border-bottom: 0.01px solid aliceblue;
    padding: 0 40px;
}


/* logo */
.header img {
    width: 120px;
    height: auto;
}

/* nav-bar */
.nav-bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* biar benar-benar di tengah */
}

.nav-bar ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
}

.nav-bar ul li a {
    text-decoration: none;
    color: rgb(237, 237, 237);
    font-size: 18px;
    transition: 0.3s;
}

/* -------------------container 1------------------------ */
.con1 {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;

    background-image: url(img/bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-size: 100%;

    transform: translateY(-70px);
    padding-top: 130px;
}

.con1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgb(15, 18, 32) 0%, transparent 100%);
    z-index: 1;
}

.con1> * {
  position: relative;
  z-index: 2;
}

/* title and photos */
.title {
    grid-row: span 2 / span 2;
}

.con1 .photos {
    grid-row: span 2 / span 2;
}

.photos img {
    transform: translate(200px, -300px);
    transition:  0.3s ease;
}

.photos img:hover {
    transform: translate(201px, -301px) scale(1.02);
    filter: drop-shadow(0 0 10px rgb(23, 19, 44));
}

/* title claas (h1 and char name) */
.title {
    margin-top: 100px;
    margin-left: 100px;
}

h1 {
    color: white;
    font-size: 100px;
}

.name-char {
    font-size: 200px;
    color:rgb(88, 170, 241);
    margin-top: -99px;
}

.title p {
    font-size: 50px;
    margin-top: -200px;
    margin-right: -400px;
    color: aliceblue;
}

/* ------------container 2------------------- */

.con2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;

    background-image: url(img/wpp8.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    transform: translateY(-1300px);
}

.con2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(42, 123, 155, 0) 0%, rgba(22, 25, 75, 0.65) 75%, rgb(22, 22, 44) 100%);
    z-index: 1;
}

.con2> * {
  position: relative;
  z-index: 2;
}
    
.empty {
    grid-row: span 2 / span 2;
}

.text{
    grid-row: span 2 / span 2;
    margin-left: 30px;
    margin-right: 30px;
}

.con2 p {
    color: aliceblue;
    font-size: 20px;
    margin-bottom: 100px;
    margin-top: -70px;
}

/* -----------------container 3----------------- */

.con3 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    transform: translateY(-1300px);
    background-color: rgb(9, 8, 19);
    padding: -599px;
}

/* any boxxes here */
/* title about char gallery */
.div1 {
    grid-column: span 5 / span 5;
}

.div1 h1 {
    text-align: center;
}

/* icon */
.div2 {
    grid-row: span 2 / span 2;
    grid-row-start: 2;
}

.div2 img{
    width: 400px;
    transform: translateX(80px);
    transform: translateY(-400px);
    padding-left: 70px;
    transition: 0.3s ease;
}

.div2 img:hover {
    transform: scale(1.05);
}

/* item */
.div3 {
    grid-row: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 4;
}

.div3 img{
    width: 500px;
    transform: translateY(-1210px);
}

/* namecard */
.div4 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 2;
    grid-row-start: 2;
}

.div4 img {
    width: 800px;
    transform: translateY(-400px);
}
/* namecard 2 */
.div5 {
    grid-column: span 2 / span 2;
    grid-column-start: 2;
    grid-row-start: 5;
    transform: translateY(-400px);
}
/* inside div 5 abt namecard, side icon, and cons */

.boxis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    color: aliceblue;
    transform: translateY(-1430px);
}
    
.boxi1 {
    grid-column: span 3 / span 3;
}

.boxi1 img {
    width: 620px;
}

.boxi2 {
    grid-column-start: 4;
}

.boxi2 img {
    width: 140px;
    transform: translateY(-50px);
}

.boxi3 {
    grid-column: span 2 / span 2;
    grid-row-start: 2;
}

.boxi3 img {
    width: 300px;
    transform: translateY(-150px);
}

.boxi4 {
    grid-column: span 2 / span 2;
    grid-column-start: 3;
    grid-row-start: 2;
}

.boxi4 img {
    width: 300px;
        transform: translateY(-150px);
}
        
/* ------------------------------------- */

/* card char */
.div6 {
    grid-row: span 4 / span 4;
    grid-column-start: 4;
    grid-row-start: 2;
}

.div6 img {
    width: 400px;
    transform: translateY(-400px);
    transition: 0.3s ease;
}

/* sidebar img */
.div7 {
    grid-row: span 4 / span 4;
    grid-column-start: 5;
    grid-row-start: 2;
    display: flex;
    flex-direction: column;
    transform: translateY(-400px);
}

/* sidebar img box */
.box {
    width: 400px;
    padding: 10px;
    margin-right: 10px;
    transition: 0.3s ease;
}

.box:hover {
    transform: scale(1.05);
}

/* ----------------container 4------------------- */
.con4 {
    background-color: black;
    transform: translateY(-3200px);
    display: flex;
    justify-content: center;
    align-items: center;
}


.con4 img {
    width: 2000px;
}