/* Variables for easy customization */
@font-face {
    font-family: Poppins;
    src: url(font/Poppins/Poppins-Regular.ttf);
}

@font-face {
    font-family: Poppins thin;
    src: url(font/Poppins/Poppins-Light.ttf);
}

:root {
    /* Primary Colors */
    --primary-color: #e8960e; /* Purple */
    --primary-light: #fac679;
    --primary-dark: #c77f0c;
    
    /* Background Colors */
    --bg-dark: #111111;
    --bg-medium: #1F1F1F;
    --bg-light: #2D2D2D;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #AAAAAA;
    --text-accent: #9333ea;
    
    /* Other Colors */
    --border-color: #333333;
    --success-color: #10B981;
    --error-color: #EF4444;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 24px;
    
    /* Animation Speed */
    --transition-speed: 0.3s;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins thin', sans-serif;
}

body {
    line-height: 60px;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}


html {
    scroll-behavior: smooth;
}

header {
    position: relative;
    z-index: 100;
}

.nav-txt {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 700;
    line-height: normal;
}

.nav-btn {
    background: transparent;
    cursor: pointer;
    border-radius: 100px;
    box-shadow: transparent;
    transition: 0.5s ease;
    user-select: none;
    border: none;
    padding: 5px 20px;
}

.nav-btn:hover {
    color: rgba(255, 255, 255, 0.349);
}

.glass {
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(225, 225, 225, 0.5);
    border-right: 1px solid rgba(225, 225, 225, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    max-width: 1000px;
    width: 300px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    padding: 7px 9px 9px 9px;
    border-radius: 10mm;
    transition: 0.5s;
    position: fixed;
    left: 50%;
    top: 60px;
    translate:  -50% -50%;
}

nav>ul {
    list-style-type: none;
    height: 35px;
}
nav>ul>li {
    background-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background-color: transparent;
}

.h-glow {
    background: #e8960e;
    cursor: pointer;
    border-radius: 100px;
    box-shadow: transparent;
    transition: 0.5s ease;
    user-select: none;
    border: none;
    padding: 5px 20px;

}

.h-glow:hover {
    color: #fff;
    background: var(--primary-color);
    border: 0px solid var(--primary-color);
    border-radius: 100px;
    text-shadow:
        0 0 5px #ffffff,
        0 0 10px #ffffff,
        0 0 10px #ffffff,
        0 0 20px #ffffff;
    box-shadow:
        0 0 5px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 50px var(--primary-color),
        0 0 100px var(--primary-color);
}

.btn-outline {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 100px;
}

/* MODAL */
.modal-container {
    opacity: 0; 
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    font-family: 'Poppins thin', sans-serif;
    transition: opacity .3s ease;
    z-index: 101;
}

.modal-container.show {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background-color: white;
    color: black;
    width: 500px;
    max-width: 95%;
    border-radius: 10px;
    padding: 30px 50px;
    box-shadow:
    0 0 5px var(--primary-color),
    0 0 20px var(--primary-color),
    0 0 50px var(--primary-color),
    0 0 100px var(--primary-color);
}

.modal-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #d7d7d7;
}

.modal-body {
    display: flex;
    flex-direction: column;

}

.modal-body input, .modal-body textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    margin-top: 5px;
    border: none;
    background-color: #f2f2f2;
    font-family: 'Poppins thin', sans-serif;
}
.modal-body textarea{
    height: 120px;
    resize: none;
}

::placeholder {
    font-family: 'Poppins thin', sans-serif;
}

.modal-btn {
    width: 100%;
    padding: 12px;
    border: none;
    color: white;
    font-family: 'Poppins thin', sans-serif;
    font-size: 17px;
    background: var(--primary-color);
}

.hero {
    height: 75vh;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.005) .1rem,
             transparent .1rem),
        linear-gradient(
            90deg, 
            rgba(255, 255, 255, 0.005) .1rem, 
            transparent .1rem);
    background-size: 1rem 1rem;
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
}

.container {
    width: fit-content;
    height: fit-content;
    max-width: 1000px;
}

.decor-font {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: -6px;
}

.pgraph {
    font-size: 16px;
    font-weight: lighter;
    line-height: 18px;
    letter-spacing: -1px;
    font-family: 'poppins thin', sans-serif;
}

body {
    overflow-x: hidden;
}

.display {
    position: relative;
    height: 58vmin;
    width: 100vw;
    margin: 0rem;
    overflow: hidden;
}

#image-track > .image {
    width: 40vmin;
    height: 56vmin;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

#image-track {
    display: flex;
    gap: 2.5vmin;
    position: absolute;
    left: 25%;
    z-index: 0;
    transform: translate(0%, 0%); 
    user-select: none; /* -- Prevent image highlighting -- */
  }
  
.auto-move {
    animation: moveLeft 1s ease forwards;
}

b {
    font-weight: 900;
}

@keyframes moveLeft {
    from {
        transform: translateX(500px);
    }
    to {
        transform: translateX(0px);
    }
}

.about {
    height: max-content;
    padding-top: 30px;
    padding-bottom: 30px;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.005) .1rem,
             transparent .1rem),
        linear-gradient(
            90deg, 
            rgba(255, 255, 255, 0.005) .1rem, 
            transparent .1rem);
    background-size: 1rem 1rem;
    display: grid;
    justify-content: center;
    align-items: center;
}

.left-right {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.a1 {
    display: grid;
    align-items: center;
}

.a1 > img {
    width: 250px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.shad {
    box-shadow: 4px 3px 0 0 var(--primary-color);
    border-radius: 10px;
}

.skills {
    border-left: 1px solid rgba(225, 225, 225, 0.5);
    border-radius: 15px;
    padding-left: 30px;
    padding-top: 20px;
    padding-right: 0px;
    padding-bottom: 25px;
    line-height: 25px;
    letter-spacing: -1px;
    margin-top: 15px;
}

.skills > ul {
    padding-left: 10px;
}

.s-icons {
    margin-top: 10px;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.works {
    height: max-content;
    min-height: 100vh;
    padding-top: 30px;
    padding-bottom: 30px;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.005) .1rem,
             transparent .1rem),
        linear-gradient(
            90deg, 
            rgba(255, 255, 255, 0.005) .1rem, 
            transparent .1rem);
    background-size: 1rem 1rem;
    display: grid;
    justify-content: center;
    text-align: start;
}

.box-con {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.box:hover {
    filter: saturate(1) brightness(1);
    transition: filter 500ms;
}

.box {
    filter: saturate(0.6) brightness(0.8) ;
    background-color: #202020;
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    transition: filter 500ms;
}

.box > img {
    overflow: hidden;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}

.rating {
    color: gold;
}

.date {
    color: #c0c0c0;
    font-size: 12px;
}

.box > .box-content {
    position:absolute;
    padding: 20px;
    border-radius: 10px;
    padding-bottom: 10px;
    width: 100%;
    bottom: 0;
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.53);
    mask-image: linear-gradient(to top, black 0%, black 70%, transparent 100%);
}

.box > .box-content > .bottom {
    display: flex;
    justify-content: space-between;
}

.box > .box-content > .bottom > a {
    text-decoration: none;
    color: #fff;
    font-size: 30px;
}

.footer {
    width: 100%;
    height: 60px;
    background-image:
    linear-gradient(
        rgba(255, 255, 255, 0.005) .1rem,
         transparent .1rem),
    linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0.005) .1rem, 
        transparent .1rem);
    background-size: 1rem 1rem;
    display: grid;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 750px;
    }
    .decor-font {
        font-size: 3rem;
        font-weight: 400;
        letter-spacing: -4px;
    }
    
    .pgraph {
        font-size: 16px;
        font-weight: lighter;
        line-height: 14px;
        letter-spacing: -1px;
        font-family: 'poppins thin', sans-serif;
    }

    .box {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 600px;
    }
    .left-right {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
        width: max-content;
        align-items: center;
    }
    .box {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .container {
        max-width: 400px;
    }
}

@media screen and (max-width: 444px) {
    .container {
        max-width: 300px;
    }
    .decor-font {
        line-height: 40px;
    }
    .pgraph {
        line-height: 16px;
    }
}