@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

@font-face {
    font-family: "Evogria";
    src: url("assets/fonts/Evogria.otf") format('openType');
}
@font-face {
    font-family: "AkkuratMono-Regular";
    src: url('assets/fonts/AkkuratMono-Regular.ttf') format('trueType');
}
@font-face {
    font-family: "Psilograph";
    src: url('assets/fonts/Psilograph-Bold.ttf') format('trueType');
}

html, body{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: url("https://i.pinimg.com/originals/c1/19/1a/c1191a038f417e788b0b8191eed1ff14.gif") no-repeat 50% 68%;
    background-size: cover;
    font-family: "Poppins", sans-serif;
}

.logo, .menu-logo{
    position: absolute;
    top: 2em;
    left: 2em;
}
.logo a ,  .menu-logo a{
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Psilograph', sans-serif;
    font-size: 60px;
    font-weight: lighter;
}
.logo a{
    color: #fff;
}
.menu-logo a{
    color: #fff;
}

.menu-toggle{
    position: fixed;
    top: 2em;
    right: 2em;
    width: 120px;
    height: 60px;
    background-color: #0f0f0f;
    border-radius: 8em;
    transition: width 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    transform-origin: left;
    cursor: pointer;
    z-index: 2;
}

.menu-toggle.opened{
    width: 60px;
}

.menu-copy{
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    transition: left 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    z-index: 1;
}

.menu-copy p{
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12;
    margin: 0;
    padding: 0;
    color: #fff;
}

.menu-toggle:hover .menu-copy{
    left: 20px;
}
.menu-toggle.opened .menu-copy{
    opacity: 0;
}
.menu-toggle-icon{
    position: absolute;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    clip-path: circle(10% at 50% 50%);
    background-color: white;
    transition: all 0.5s cubic-bezier(0.075, 0.82,  0.165, 1);
    z-index: 10;
    overflow: hidden;
}
.menu-toggle:hover .menu-toggle-icon{
    clip-path:circle(35% at 50% 50%);
}
.menu-toggle.opened .menu-toggle-icon{
    clip-path: circle(50% at 50% 50%);
    transform: scale(1.125);
}
.hamburger{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s cubic-bezier(0.075, 0.82,  0.165, 1);
    opacity: 0;
}
.menu-toggle:hover .hamburger, 
.menu-toggle.opened .hamburger{
    top: 50%;
    opacity: 1;
}
.menu-bar{
    position: absolute;
    width: 15px;
    height: 1.5px;
    background-color: #000;
    transition-property: transform;
    transition: all 250ms ease-out;
}
.menu-bar[data-position="top"]{
    transform: translateY(-4px);
}
.menu-bar[data-position="top"]{
    transform: translateY(4px);
}
.menu-toggle.opened  .menu-bar[data-position="top"]{
    transform: translateY(0) rotate(45deg) scaleX(1.05);
}
.menu-toggle.opened  .menu-bar[data-position="bottom"]{
    transform: translateY(0) rotate(-45deg) scaleX(1.05);
}
.menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    background-color: #0f0f0f;
    pointer-events:all;
    transform-style:preserve-3d ;
    perspective: 1000px;
    clip-path: polygon(0% 100%,100% 100%,100% 100%,0% 100%);
}
.col{
    flex: 1;
}
.col-2{
    flex: 2;
}
.col{
    position: relative;
    height: 100%;
    padding: 10em 2em 2em 2em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}
.link a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -1.5px;
    line-height: 125%;
    display: inline-block;
    transition: color 0.3s ease-in-out; /* Warna berubah halus */
}

.link a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    visibility: hidden;
    transition: all 0.3s ease-in-out; /* Underline bergerak */
}

.link a:hover {
    color: #898989; /* Ganti warna teks saat hover */
}

.link a:hover:before {
    visibility: visible;
    width: 100%; /* Underline muncul penuh */
}

.video-wrapper{
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #1d1d1d;
    overflow: hidden;
    padding: 2em;
    clip-path: polygon(0% 100%,100% 100%,100% 100%,0% 100%);
}
.video-wrapper video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.socials{
    width: 50%;
    display: flex;
    gap: 2em;
}
.socials .sub-col{
    flex: 1;
}
.socials .sub-col a{
    text-decoration: none;
    position: relative;
    color: #fff;
    transform: translateY(30px);
    opacity: 0;
    text-transform: uppercase;
    font-family: 'AkkuratMono-Regular', sans-serif;
    font-size: 12px;
    font-weight: 600;
}
.sub-col i{
    font-size: 15px;
    top: 10px;
}
.header h3{
    color: #fff;
    font-family: 'Psilograph', sans-serif;
    font-size: 500px;
    text-transform: uppercase;
    font-weight: lighter;
    line-height: 100%;
    height: 400px;
}
.header h3 span{
    position: relative;
    display: inline-block;
    transform: scale(0.75) translateY(0) rotateY(90deg);
    transform-origin: bottom;
}
/* project css */
@media (max-width: 900px) {
    .col-1 {
        flex: 2;
        align-items: flex-start;
    }

    /* Penyesuaian ukuran font untuk link navigasi */
    .link a {
        font-size: 30px;
    }

    /* Video wrapper lebih kompak di layar kecil */
    .video-wrapper {
        padding: 0.4em;
        width: 100%;
        height: auto;
    }

    /* Atur ulang sosial menjadi kolom tunggal */
    .socials {
        width: 100%;
        flex-direction: column;
        gap: 8em;
    }

    /* Penyesuaian ukuran header */
    .header h3 {
        font-size: 150px;
        height: 100px;
    }
}

@media (max-width: 600px) {
    /* Penyesuaian untuk layar sangat kecil (ponsel) */
    .menu-copy p {
        font-size: 10px;
    }

    .link a {
        font-size: 20px;
    }

    .header h3 {
        font-size: 100px;
        height: 80px;
    }
    
    /* .video-wrapper {
        padding: 0;
        aspect-ratio: 16/9;
    } */
}
