*{
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

body{
    width: 100%;
    height: 100vh;
    background-color: black;
    overflow: hidden;
    overflow-y: auto;
    overflow-x: hidden;
}

nav{
    width: 100%;
    height: 10vh;
    top: 0;
    position: fixed;
    z-index:99999;
    background:black;
    border-bottom:1px solid rgba(183,17,224,.2);
}

.nav-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo{
    color: white;
    position: fixed;
    top: 18px;
    left: 15px;
    font-size: 2rem;
    font-weight: bold;
}

.logo span{
    color: #b711e0;
    text-shadow: 0 0 10px #b711e0;
}

.ham,
.cancel{
    cursor: pointer;
    position: fixed;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);

}

.nav-container .links a{
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    transition: 0.3s linear;
}

.nav-container .links a:hover{
    color: #b711e0;
    border-bottom: 2px solid #b711e0;
}

.dropdown{
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px black;
    transition: transform 0.3s ease;
}

.dropdown .links a{
     display: flex;
     color: white;
     text-decoration: none;
     padding: 10px 0;
     justify-content: center;
     align-items: center;
}

.dropdown .links a{
    justify-content: center;
    align-items: center;
    transition: 0.3s linear;
}

.dropdown .links a:hover{
    background-color: #b711e0;
}

section{
width: 100%;
min-height: 90vh;
}

.main-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content:    space-evenly;
    align-items: center;
}

.main-container .content{
    color: white;
    width: 40%;
    min-height: 100px;
    box-shadow:  0 0 120px 50px black;
}

.content h1{
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span{
    font-weight: 700;
    text-shadow: 0 0 10px #b711e0;
    color: #b711e0;   
}

.content .typewriter{
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 700;
    margin: 10px 0;
}

.typewriter span{
    color:#b711e0;
    text-shadow: 0 0 10px #b711e0;
}

.content p{
     font-size: clamp(0.8rem, 0.5rem + 0.5vw, 1.1rem);
     margin: 20px 0;
}

.social-links i{
    color: #b711e0;
    margin: 0 15px;
    font-size: 1.8rem;
    transition: 0.3s linear;
    gap: 20px;
    
}

.social-links i:hover{
    filter: drop-shadow(0 0 10px #b711a0);
    transform: scale(1.3);
    flex: 0 0 auto;
}

.content button{
    width: 100%;
    height: 8vh;
    margin: 30px;
    background-color: #b711a0;
    color: white;
    border: none;
    outline: none;
    font-size: 100%;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.2s linear;
}

.content button:hover{
    transform: scale(1.1);
    border: 2px solid #b711e0;
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px 5px #b711e0;
}

.main-container .image{
    width: 300px;
    height: 500px;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 50px #b711e0;
    z-index: -1;
}

.main-container .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

@media (max-width:884px) {
    .main-container{
        display: flex;
        flex-direction: column-reverse;
    }

    .nav-container .links{
        display: none;
    }

    .ham,.cancel{
        display: block;
    }

    .main-container.content{
        width:80%;
    }

    .main-container .image{
        width: 40%;
        height: 160%;
    }

    .content button{
        margin: 5px 25%;
    }
}

@media (max-width:440px){
    .main-container .image{
        width: 60%;
        height: 140%;
    }

    .main-container .content{
        width: 80%;
    }
    
    .content button{
        margin: 15px 25%;
    }
}
/* =======================================
   ABOUT SECTION
======================================= */

.about-section{
    width:100%;
    min-height:100vh;
    padding:100px 10%;
    background:black;
    color:white;
}

.about-container{
    max-width:1000px;
    margin:auto;
}

.about-section h2{
    text-align:center;
    font-size:3rem;
    margin-bottom:40px;
    color:#b711e0;
    text-shadow:0 0 15px #b711e0;
}

.about-section p{
    font-size:1.1rem;
    line-height:2;
    color:#d8d8d8;
    margin-bottom:25px;
}

/* =======================================
   SKILLS SECTION
======================================= */

.skills-section{
    width:100%;
    min-height:100vh;
    padding:100px 10%;
    background:#050505;
    color:white;
}

.skills-section h2{
    text-align:center;
    font-size:3rem;
    margin-bottom:50px;
    color:#b711e0;
    text-shadow:0 0 15px #b711e0;
}

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.skill-card{
    background:#111;
    border-radius:15px;
    padding:30px;
    text-align:center;
    border:1px solid rgba(183,17,224,.25);
    transition:.3s;
}

.skill-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(183,17,224,.5);
    border-color:#b711e0;
}

.skill-card i{
    font-size:3rem;
    color:#b711e0;
    margin-bottom:15px;
}

.skill-card h3{
    color:white;
    font-size:1.2rem;
}

/* =======================================
   CONTACT POPUP
======================================= */

.modal{
    position:fixed;
    inset:0;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.8);
    backdrop-filter:blur(8px);

    opacity:0;
    visibility:hidden;

    transition:.35s ease;

    z-index:999999;
}

.modal.active{
    opacity:1;
    visibility:visible;
}

.modal-content{
    width:90%;
    max-width:520px;

    background:rgba(15,15,15,.95);

    border:1px solid rgba(183,17,224,.3);

    border-radius:25px;

    padding:35px;

    color:white;

    position:relative;

    overflow:hidden;

    transform:translateY(40px) scale(.9);

    transition:.4s;

    box-shadow:
    0 0 20px rgba(183,17,224,.25),
    0 0 60px rgba(183,17,224,.15);
}

.modal.active .modal-content{
    transform:translateY(0) scale(1);
}

/* แสงมุมกล่อง */

.modal-content::before{
    content:"";
    position:absolute;

    width:180px;
    height:180px;

    border-radius:50%;

    background:#b711e0;

    filter:blur(100px);

    opacity:.2;

    top:-80px;
    right:-80px;
}

/* หัวข้อ */

.modal-content h3{
    text-align:center;

    font-size:2rem;

    margin-bottom:25px;

    color:#fff;

    text-shadow:0 0 15px #b711e0;
}

/* ข้อมูลติดต่อ */

.modal-content p{
    margin:14px 0;

    color:#d8d8d8;

    font-size:1rem;

    line-height:1.8;

    transition:.3s;
}

.modal-content p:hover{
    color:white;
    transform:translateX(5px);
}

/* ปุ่ม Add LINE */

.modal-content .btn{
    display:block;

    text-align:center;

    margin-top:25px;

    padding:14px;

    border-radius:12px;

    text-decoration:none;

    color:white;

    background:#b711e0;

    transition:.3s;
}

.modal-content .btn:hover{
    transform:translateY(-3px);

    box-shadow:
    0 0 20px #b711e0,
    0 0 40px rgba(183,17,224,.4);
}

/* กากบาท */

.close{
    position:absolute;

    top:12px;
    right:15px;

    width:32px;
    height:32px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    color:#bbb;

    font-size:18px;

    cursor:pointer;

    transition:.3s;
}

.close:hover{
    color:white;

    background:#b711e0;

    transform:rotate(90deg);

    box-shadow:0 0 15px #b711e0;
}

/* =======================================
   MOBILE
======================================= */

@media (max-width:768px){

    .about-section h2,
    .skills-section h2{
        font-size:2rem;
    }

    .about-section p{
        font-size:1rem;
    }

    .skill-card{
        padding:20px;
    }
}

/* ==========================
   SERVICE SECTION
========================== */

.service-section{
    min-height:100vh;
    padding:120px 10%;
    background:linear-gradient(
        180deg,
        #050505 0%,
        #0d0015 50%,
        #050505 100%
    );
    position:relative;
    overflow:hidden;
}

.service-section::before{
    content:"";
    position:absolute;
    width:600px;
    height:600px;
    background:#b711e0;
    filter:blur(250px);
    opacity:.15;
    top:-200px;
    left:-200px;
    animation:floatGlow 8s ease-in-out infinite;
}

.service-section::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:#7f00ff;
    filter:blur(250px);
    opacity:.1;
    bottom:-200px;
    right:-200px;
    animation:floatGlow 10s ease-in-out infinite;
}

.service-section h2{
    text-align:center;
    color:white;
    font-size:3rem;
    margin-bottom:60px;
    text-shadow:0 0 20px #b711e0;
}

.service-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
    position:relative;
    z-index:2;
}

.service-card{
    position:relative;
    padding:40px 30px;
    border-radius:25px;

    background:rgba(255,255,255,.04);

    backdrop-filter:blur(15px);

    border:1px solid rgba(183,17,224,.25);

    text-align:center;

    overflow:hidden;

    transition:.5s;

    animation: serviceFloat 4s ease-in-out infinite;
}

.service-card:nth-child(2){
    animation-delay:1s;
}

.service-card:nth-child(3){
    animation-delay:2s;
}

.service-card::after{
    content:"";
    position:absolute;

    width:120px;
    height:120px;

    background:#b711e0;

    border-radius:50%;

    filter:blur(80px);

    opacity:.15;

    top:-30px;
    right:-30px;

    transition:.5s;
}

.service-card::before{
    content:"";
    position:absolute;
    width:200%;
    height:200%;

    background:linear-gradient(
        45deg,
        transparent,
        rgba(183,17,224,.4),
        transparent
    );

    top:-50%;
    left:-50%;

    transform:rotate(45deg);

    transition:.8s;
}

.service-card:hover::before{
    left:120%;
}

.service-card:hover{
    transform:translateY(-20px) scale(1.05);

    border-color:#b711e0;

    box-shadow:
    0 0 25px rgba(183,17,224,.5),
    0 0 60px rgba(183,17,224,.3),
    0 0 120px rgba(183,17,224,.15);
}

.service-card:hover::after{
    opacity:.4;
    transform:scale(1.3);
}

.service-card i{
    font-size:4rem;
    color:#b711e0;
    margin-bottom:25px;

    transition:.5s;

    animation: iconPulse 2s ease-in-out infinite;
}

.service-card:hover i{
    transform:rotateY(360deg) scale(1.2);
    text-shadow:0 0 20px #b711e0;
}

.service-card h3{
    color:white;
    margin-bottom:15px;
    font-size:1.5rem;
}

.service-card p{
    color:#cfcfcf;
    line-height:1.8;
}

.modal{
    position:fixed;
    inset:0;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.75);

    opacity:0;
    visibility:hidden;

    transition:.35s;

    z-index:999999;
}

.modal.active{
    opacity:1;
    visibility:visible;
}

.modal-content{
    transform:translateY(40px) scale(.9);
    transition:.35s;
}

.modal.active .modal-content{
    transform:translateY(0) scale(1);
}

.project-link{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    position:relative;
    z-index:5;
    text-decoration:none;
}

.project-image{
    width:min(100%,300px);
    max-width:100%;
    aspect-ratio:1/1;
    height:auto;
    object-fit:cover;
    object-position:center;
    border-radius:12px;
    border:1px solid rgba(183,17,224,.35);
    transition:transform .3s ease;
    display:block;
    margin:0 auto;
}

.project-image:hover{
    transform:scale(1.05);
}

@keyframes serviceFloat{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-12px);
    }
    100%{
        transform:translateY(0);
    }
}

@keyframes iconPulse{
    0%{
        text-shadow:0 0 10px #b711e0;
    }
    50%{
        text-shadow:
        0 0 20px #b711e0,
        0 0 40px #b711e0;
    }
    100%{
        text-shadow:0 0 10px #b711e0;
    }
}

.footer{
    width:100%;
    padding:30px;

    text-align:center;

    color:#aaa;

    border-top:1px solid rgba(183,17,224,.2);

    background:#050505;
}

@media (max-width:440px){

    .Projects-container .service-card{
        padding:24px 18px;
        width:100%;
        max-width:360px;
        margin:0 auto;
    }

    .project-link{
        width:100%;
        display:flex;
        justify-content:center;
    }

    .project-image{
        width:100%;
        max-width:260px;
        height:auto;
        aspect-ratio:1/1;
        margin-left:auto;
        margin-right:auto;
    }

}



/* ==========================
   PROJECT VIDEO CARD
========================== */

.Projects-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:34px;
    align-items:start;
    max-width:1200px;
    margin:0 auto;
}

.project-video-card{
    width:100%;
    min-height:100%;
    padding:34px;
    border-radius:28px;
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at top left, rgba(183,17,224,.22), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    border:1px solid rgba(183,17,224,.32);
    box-shadow:
        0 0 28px rgba(183,17,224,.22),
        0 0 90px rgba(183,17,224,.12),
        inset 0 0 40px rgba(255,255,255,.025);
    backdrop-filter:blur(14px);
    animation: serviceFloat 4s ease-in-out infinite;
    animation-delay:.6s;
}

.project-video-card::before{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    border-radius:50%;
    right:-110px;
    top:-120px;
    background:#b711e0;
    filter:blur(100px);
    opacity:.22;
}

.project-video-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.10) 44%, transparent 48%);
    transform:translateX(-120%);
    animation:videoCardShine 5.5s ease-in-out infinite;
    pointer-events:none;
}

@keyframes videoCardShine{
    0%,45%{transform:translateX(-120%);}
    70%,100%{transform:translateX(120%);}
}

.video-card-head{
    position:relative;
    z-index:2;
    text-align:center;
    margin-bottom:24px;
}

.video-card-head span{
    display:inline-flex;
    padding:8px 14px;
    margin-bottom:14px;
    border-radius:999px;
    color:#b711e0;
    background:rgba(183,17,224,.12);
    border:1px solid rgba(183,17,224,.32);
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    font-size:.78rem;
}

.video-card-head h3{
    color:#fff;
    font-size:clamp(1.55rem,4vw,2.4rem);
    margin-bottom:10px;
    text-shadow:0 0 18px rgba(183,17,224,.65);
}

.video-card-head p{
    color:#cfcfcf;
    line-height:1.8;
}

.video-frame{
    position:relative;
    z-index:2;
    width:100%;
    border-radius:24px;
    overflow:hidden;
    background:#050505;
    border:1px solid rgba(183,17,224,.45);
    box-shadow:
        0 0 24px rgba(183,17,224,.35),
        0 0 70px rgba(183,17,224,.16);
}

.project-video{
    width:100%;
    aspect-ratio:16/9;
    display:block;
    object-fit:cover;
    background:#050505;
}

.video-sound-btn{
    position:absolute;
    left:50%;
    bottom:22px;
    transform:translateX(-50%);
    z-index:4;
    padding:13px 18px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(10,10,10,.72);
    color:#fff;
    font-weight:800;
    cursor:pointer;
    backdrop-filter:blur(10px);
    box-shadow:
        0 0 20px rgba(183,17,224,.35),
        inset 0 0 0 1px rgba(183,17,224,.25);
    transition:.3s ease;
}

.video-sound-btn:hover{
    transform:translateX(-50%) translateY(-3px);
    background:#b711e0;
    box-shadow:
        0 0 25px #b711e0,
        0 0 55px rgba(183,17,224,.35);
}

.video-sound-btn.hide{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

@media(max-width:768px){
    .Projects-container{
        grid-template-columns:1fr;
        gap:28px;
    }

    .project-video-card{
        padding:22px;
        border-radius:22px;
    }

    .video-frame{
        border-radius:18px;
    }

    .video-sound-btn{
        width:calc(100% - 34px);
        bottom:14px;
        font-size:.9rem;
    }
}


/* ==========================
   CLICKABLE CONTACT LINKS
========================== */

.contact-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#d8d8d8;
    text-decoration:none;
    line-height:1.8;
    transition:.3s ease;
}

.contact-link:hover{
    color:white;
    transform:translateX(5px);
    text-shadow:0 0 12px rgba(183,17,224,.75);
}

/* ==========================
   PROJECT SLIDER 1 / 2 / 3
========================== */

.projects-section{
    width:100%;
    min-height:100vh;
    padding:120px 8%;
    background:
        radial-gradient(circle at top, rgba(183,17,224,.18), transparent 32%),
        linear-gradient(180deg,#050505 0%,#0d0015 45%,#050505 100%);
    color:white;
    position:relative;
    overflow:hidden;
}

.projects-section h2{
    text-align:center;
    color:white;
    font-size:clamp(2.2rem,6vw,4rem);
    margin-bottom:55px;
    text-shadow:
        0 0 18px #b711e0,
        0 0 42px rgba(183,17,224,.55);
}

.projects-section h2 span{
    color:#b711e0;
}

.projects-slider-wrap{
    max-width:1050px;
    margin:0 auto;
    position:relative;
    z-index:3;
}

.projects-slider{
    position:relative;
    min-height:660px;
    display:grid;
    place-items:center;
}

.project-slide{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    pointer-events:none;
    transform:translateX(70px) scale(.96);
    transition:
        opacity .45s ease,
        transform .45s ease;
}

.project-slide.active{
    opacity:1;
    pointer-events:auto;
    transform:translateX(0) scale(1);
}

.project-showcase-card{
    width:100%;
    min-height:610px;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:34px;
    align-items:center;
    padding:42px;
    border-radius:34px;
    background:
        radial-gradient(circle at top left, rgba(183,17,224,.32), transparent 35%),
        linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    border:1px solid rgba(183,17,224,.35);
    box-shadow:
        0 0 32px rgba(183,17,224,.30),
        0 0 110px rgba(183,17,224,.15),
        inset 0 0 45px rgba(255,255,255,.03);
    backdrop-filter:blur(16px);
    overflow:hidden;
    position:relative;
}

.project-showcase-card::before{
    content:"";
    position:absolute;
    width:280px;
    height:280px;
    border-radius:50%;
    right:-120px;
    top:-120px;
    background:#b711e0;
    filter:blur(110px);
    opacity:.25;
    pointer-events:none;
}

.project-showcase-card .project-link{
    min-height:360px;
    border-radius:24px;
    overflow:hidden;
    border:1px solid rgba(183,17,224,.42);
    box-shadow:
        0 0 24px rgba(183,17,224,.32),
        0 0 75px rgba(183,17,224,.12);
    background:#050505;
}

.project-showcase-image{
    width:100%;
    height:100%;
    min-height:360px;
    object-fit:cover;
    object-position:center;
    display:block;
    transition:.35s ease;
}

.project-showcase-card .project-link:hover .project-showcase-image{
    transform:scale(1.04);
}

.project-showcase-content{
    position:relative;
    z-index:2;
}

.project-tag{
    display:inline-flex;
    padding:8px 14px;
    margin-bottom:16px;
    border-radius:999px;
    color:#d85cff;
    background:rgba(183,17,224,.12);
    border:1px solid rgba(183,17,224,.34);
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    font-size:.78rem;
}

.project-showcase-content h3{
    font-size:clamp(1.8rem,4vw,3rem);
    color:white;
    margin-bottom:18px;
    text-shadow:0 0 18px rgba(183,17,224,.65);
}

.project-showcase-content p{
    color:#d8d8d8;
    line-height:1.9;
    font-size:1.03rem;
    margin-bottom:26px;
}

.project-action{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    padding:14px 22px;
    border-radius:999px;
    text-decoration:none;
    color:white;
    font-weight:800;
    background:#b711e0;
    border:1px solid rgba(255,255,255,.14);
    box-shadow:
        0 0 22px rgba(183,17,224,.42),
        0 0 60px rgba(183,17,224,.18);
    transition:.3s ease;
}

.project-action:hover{
    transform:translateY(-4px);
    background:transparent;
    box-shadow:
        0 0 25px #b711e0,
        0 0 70px rgba(183,17,224,.35);
}

.project-fallback{
    width:100%;
    min-height:360px;
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:12px;
    color:white;
    text-align:center;
    background:
        radial-gradient(circle, rgba(183,17,224,.28), transparent 55%),
        linear-gradient(135deg,#151020,#07070c);
}

.project-fallback i{
    font-size:5rem;
    color:#b711e0;
    filter:drop-shadow(0 0 18px #b711e0);
}

.project-fallback strong{
    font-size:2rem;
}

.project-fallback small{
    color:#cfcfcf;
}

.project-slide .project-video-card{
    max-width:1050px;
    min-height:auto;
}

.project-dots{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    margin-top:30px;
}

.project-dot{
    width:48px;
    height:48px;
    border-radius:50%;
    border:1px solid rgba(183,17,224,.45);
    background:rgba(255,255,255,.06);
    color:#d8d8d8;
    font-weight:900;
    font-size:1rem;
    cursor:pointer;
    transition:.3s ease;
    box-shadow:0 0 18px rgba(183,17,224,.12);
}

.project-dot:hover,
.project-dot.active{
    color:white;
    background:#b711e0;
    transform:translateY(-4px) scale(1.08);
    box-shadow:
        0 0 22px #b711e0,
        0 0 58px rgba(183,17,224,.36);
}

@media(max-width:900px){
    .projects-section{
        padding:100px 6%;
    }

    .projects-slider{
        min-height:780px;
    }

    .project-showcase-card{
        grid-template-columns:1fr;
        min-height:auto;
        padding:28px;
    }

    .project-showcase-card .project-link,
    .project-showcase-image,
    .project-fallback{
        min-height:300px;
    }
}

@media(max-width:520px){
    .projects-section{
        padding:90px 4%;
    }

    .projects-slider{
        min-height:760px;
    }

    .project-showcase-card{
        padding:20px;
        border-radius:24px;
    }

    .project-showcase-card .project-link,
    .project-showcase-image,
    .project-fallback{
        min-height:230px;
        border-radius:18px;
    }

    .project-showcase-content p{
        font-size:.95rem;
    }

    .project-dot{
        width:42px;
        height:42px;
    }
}


.project-cloudinary-card{
    padding-bottom:34px;
}

.cloudinary-frame{
    aspect-ratio:16/9;
    min-height:auto;
}

.project-iframe{
    width:100%;
    aspect-ratio:16/9;
    height:auto;
    min-height:360px;
    display:block;
    border:0;
    border-radius:24px;
    background:#050505;
}

.project-live-link{
    margin:24px auto 0;
    display:flex;
    width:fit-content;
}

.project-note{
    max-width:780px;
    margin:18px auto 0;
    color:#cfcfcf;
    line-height:1.8;
    text-align:center;
    font-size:.98rem;
}

@media(max-width:900px){
    .project-iframe{
        min-height:280px;
        border-radius:18px;
    }
}

@media(max-width:520px){
    .project-iframe{
        min-height:210px;
        border-radius:16px;
    }

    .project-note{
        font-size:.9rem;
    }
}
