* {
    box-sizing: border-box;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    user-select: none;
}


html, body {
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    height: auto;
}

#container {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#container.show {
    opacity: 1;
    transform: translateY(0);
}

body {
    margin: 0;
    min-height: 100vh;
    align-items: center;
    background: #0A0A0A;
}


/* OVERLAY */
#overlay {
    position: fixed;
    inset: 0;
    font-family: Inter, serif;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);

    z-index: 999;

    opacity: 1;
    transition: opacity 0.5s ease;

    cursor: pointer;
}

/* Hover */
#overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Text animation */
.overlay-content {
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: floatIn 0.6s ease forwards;
}

@keyframes floatIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.overlay-content p {
    opacity: 0.7;
}

/* Fade out */
#overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.card {
    width: 100%;
    max-width: 650px;
    padding: 40px;
    position: relative;

    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 50px;

    font-family: Inter, serif;
    color: white;

    background: rgba(0, 0, 0, 0.4); /* darker */
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;

}

.about {
    width: 100%;
    padding: 20px;
}



.denzy {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    mix-blend-mode: difference;
    font-size: 35px;

    background: linear-gradient(
            120deg,
            #5a5a5a 0%,
            #f8f8f8 25%,
            #bdbdbd 45%,
            #ffffff 60%,
            #7a7a7a 100%
    );

    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: chromeMove 4s ease-in-out infinite;

    /* stronger readability on light bg */
    text-shadow:
            0 1px 1px rgba(0,0,0,0.15),
            0 0 8px rgba(255,255,255,0.08);
}

@keyframes chromeMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 0 auto;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 20px rgba(255,255,255,0.08);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    color: #F5F5F8;
}

p {
    opacity: 0.7;
    line-height: 1.6;
    color: #ABABAB;
}

/*
.social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.social-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    min-width: 1%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.9s ease ;
}



.social-box:active {
    transform: scale(0.97);
}

.social-box:hover {
    background: rgba(255, 255, 255, 0.1);
}

.social-box img {
    max-width: 70%;
    max-height: 70%;
    margin : auto;
    transition: all 0.9s ease ;
    transform: scale(1);
}

.social-box:hover img {
    transform: scale(1.08);
}
 */


.experience {
    width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}



.exps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}
.exp h1, h2, h3, p {
    margin: 0;
}
.title {
    margin-top: 20px;
    margin-bottom: 20px;
}

.exp-box {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    height: 90px;
    min-width: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;

}


.exp-icon {
    width: 65px;
    height: 65px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    margin: 15px;
    overflow: hidden;
}
.exp-box img {
    max-width: 100%;
    max-height: 100%;
    margin : auto;
    transition: all 0.4s ease;
    transform: scale(1);
}

.exp-box:hover img {
    transform: scale(1.08);
}

.exp-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}


.skills-section {
    display: flex;
    gap: 15px;
    flex-wrap: wrap
}


.skills-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    min-width: 1%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.skills-box img {
    max-width: 70%;
    max-height: 70%;
    margin : auto;
    transition: all 0.4s ease;
    transform: scale(1);
}

.skills-box img:hover {
    transform: scale(1.08);
}


.projects {
    width: 100%;
}

.projects-section {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.projects-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 450px;
    height: 225px;
    background: rgb(0 0 0 / 0.17);
    border-radius: 12px;
}




@media (max-width: 768px) {

    body {
        align-items: flex-start;
        padding: ;
    }

    .card {
        width: 95%;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}



