body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #333;
    background-color: #111111;
    margin: 0;
    padding: 0;
    color: white;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.gradient-circle {
    position: absolute;

    left: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
    z-index: -1;
    width: 80.0000vw;
    max-width: 1400.0000px;
}

/* Header styles */
.header {
    position: fixed;
    top: 16.0000px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;


}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    border-radius: 24.0000px;
    padding: 6.4000px;
    gap: clamp(9.6000px, 2.5600vw, 23.0400px);
    box-shadow: 0 3.2000px 16.0000px rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box;
}

.nav-item {
    display: inline-block;
    padding: clamp(5.1200px, 1.2800vw, 7.6800px) clamp(7.6800px, 1.9200vw, 10.8800px);
    text-decoration: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(11.5200px, 1.5600vw, 32.6000px);
    border-radius: 16.0000px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    background-color: #42380E;
    color: #CEBE5C;
}

.nav-item.active:hover {
    background-color: rgb(98, 100, 0);
}

.name {
    text-align: center;
    font-size: clamp(92.4000px, 14.6000vw, 512.8400px);
    font-weight: 300;
    color: white;
    cursor: pointer;
    z-index: 1;
    padding: 0 16.0000px;
    margin-top: 100px;
}

.name p {
    margin: clamp(51.2000px, 12.8000vw, 88.9600px) 0 0 0;
    padding: 0;
    user-select: none;
    display: inline-block;
}

.letter {
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 300;
}

.letter:hover {
    font-weight: 100;
    transform: rotate(5deg);
}

.desc {
    font-size: clamp(11.5200px, 2.5600vw, 23.0400px);
    font-weight: 300;
    text-align: center;
    color: #C5C5C5;
    padding: 0 16.0000px;
    line-height: 1.4;
}

.icons-container {
    display: flex;
    gap: clamp(7.6800px, 1.9200vw, 12.8000px);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: clamp(25.2000px, 15.1200vw, 128.0000px);
    padding: 0 16.0000px;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(32.0000px, 10.6800vw, 72.2000px);
    height: clamp(32.0000px, 10.6800vw, 72.2000px);
    background: transparent;
    border: 1.6000px solid rgba(255, 255, 255, 0.2);
    border-radius: clamp(7.6800px, 1.9200vw, 20.8000px);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8.0000px);
    position: relative;
    overflow: hidden;
}

.icon-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.icon-link:hover {
    transform: translateY(-4.0000px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8.0000px 24.0000px rgba(0, 0, 0, 0.3);
}

.icon-link:hover::before {
    transform: translateX(100%);
}

.icon-link:active {
    transform: translateY(-1.6000px) scale(0.95);
}

.icon-svg {
    width: clamp(16.0000px, 3.8400vw, 40.0000px);
    height: clamp(16.0000px, 3.8400vw, 40.0000px);
    fill: white;
    transition: all 0.3s ease;
}

.icon-link:hover .icon-svg {
    transform: scale(1.1);
}

.hr {
    margin-top: clamp(64.0000px, 16.0000vw, 165.1200px);
    background-color: #464646;
    opacity: 0.3;
    border: none;
    height: 0.8000px;
}

.projects {
    margin-top: clamp(32.0000px, 7.6800vw, 64.0000px);
    display: block;
    padding: 0 16.0000px;
}

.projects-title {
    display: block;
    font-size: clamp(30.7200px, 7.6800vw, 81.9200px);
    text-align: center;
    margin-bottom: clamp(12.8000px, 3.2000vw, 25.6000px);
}

.under_projects {
    display: block;
    text-align: center;
    font-size: clamp(11.5200px, 2.5600vw, 23.0400px);
    font-weight: 300;
    color: #9A9A9A;
    margin-bottom: clamp(25.6000px, 5.1200vw, 51.2000px);
}

.project {
    width: 100%;
    max-width: 1154.4000px;
    height: clamp(384.0000px, 38.4000vw, 610.5600px);
    background-color: black;
    margin: clamp(25.6000px, 6.4000vw, 70.4000px) auto;
    box-sizing: border-box;
    display: block;
    border: none;
    border-radius: clamp(9.6000px, 1.9200vw, 16.0000px);
    overflow: hidden;
    padding: clamp(12.8000px, 2.5600vw, 33.2800px);
}

.project-headers {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: clamp(15.3600px, 3.8400vw, 40.9600px);
    font-weight: 600;
    padding-top: clamp(12.8000px, 3.2000vw, 38.4000px);
    margin-bottom: clamp(10.2400px, 1.9200vw, 20.4800px);
    gap: clamp(9.6000px, 1.9200vw, 19.2000px);
    flex-wrap: wrap;
}

.left-group,
.right-group {
    display: flex;
    align-items: center;
    gap: clamp(9.6000px, 1.9200vw, 19.2000px);
    flex-wrap: wrap;
}

.right-group {
    justify-content: flex-end;
}

.project-icon {
    width: clamp(25.6000px, 5.1200vw, 48.0000px);
    height: clamp(25.6000px, 5.1200vw, 48.0000px);
    font-size: clamp(12.8000px, 2.5600vw, 25.6000px);
    flex-shrink: 0;
}

.icon2 {
    width: clamp(30.7200px, 6.4000vw, 61.4400px);
    height: clamp(30.7200px, 6.4000vw, 61.4400px);
    flex-shrink: 0;
}

.try {
    font-size: clamp(11.5200px, 2.5600vw, 25.6000px);
    font-weight: 600;
    background-color: white;
    color: black;
    padding: clamp(7.6800px, 1.9200vw, 15.3600px) clamp(19.2000px, 3.8400vw, 44.8000px);
    border: none;
    border-radius: clamp(5.1200px, 1.2800vw, 9.6000px);
    transition: 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.try:hover {
    background-color: aliceblue;
    transform: scale(1.03);
}

.project-desc {
    max-width: 100%;
    font-size: clamp(11.5200px, 2.5600vw, 25.6000px);
    color: #929292;
    margin-bottom: clamp(19.2000px, 3.8400vw, 32.0000px);
    line-height: 1.4;
}

.project-text {
    margin: 0;
}

.project-images {
    display: flex;
    gap: clamp(12.8000px, 2.5600vw, 38.4000px);
    margin-top: clamp(12.8000px, 2.5600vw, 19.2000px);
    justify-content: center;
    align-items: flex-start;
}

.image1,
.image2 {
    background-color: grey;
    border: solid 1.6000px white;
    border-radius: clamp(9.6000px, 1.9200vw, 19.2000px);
    display: block;
    transition: 0.3s ease;
    flex-shrink: 0;
}

.image1:hover,
.image2:hover {
    transform: scale(1.05) rotate(1deg);
}

.image1 {
    width: clamp(179.2000px, 25.6000vw, 368.0000px);
    height: clamp(179.2000px, 25.6000vw, 359.0400px);
    transform: rotate(-0.95deg);
    margin-right: clamp(19.2000px, 2.5600vw, 42.2400px);
}

.image2 {
    width: clamp(185.6000px, 26.2400vw, 377.6000px);
    height: clamp(204.8000px, 28.8000vw, 409.6000px);
    transform: rotate(0.95deg);
}

/* Tablet styles */
@media (max-width: 819.2000px) {


    .project {
        margin: clamp(19.2000px, 5.1200vw, 51.2000px) auto;
        padding: clamp(9.6000px, 1.9200vw, 25.6000px);
        height: auto;
        min-height: 400.0000px;
    }

    .project-headers {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: clamp(12.8000px, 2.5600vw, 19.2000px);
    }

    .left-group,
    .right-group {
        justify-content: center;
    }

    .project-images {
        gap: clamp(9.6000px, 1.9200vw, 25.6000px);
        flex-direction: column;
        align-items: center;
    }

    .image1,
    .image2 {
        width: 100%;
        max-width: 400.0000px;
        height: auto;
        aspect-ratio: 1.02;
        transform: rotate(0deg);
        margin-right: 0;
    }

    .image1:hover,
    .image2:hover {
        transform: scale(1.02) rotate(0deg);
    }
}

/* Mobile styles */
@media (max-width: 614px) {
    .header {
        top: 8.0000px;
    }

    .nav-container {
        border-radius: 20.0000px;
        padding: 4.8000px;
    }

    .nav-item {
        border-radius: 12.0000px;
    }

    .gradient-circle {
        top: 5%;
        width: 100.0000vw;
    }

    .project-headers {
        padding-top: clamp(9.6000px, 2.5600vw, 19.2000px);
    }

    .try {
        width: 100%;
        max-width: 160.0000px;
        text-align: center;
    }
}

@media (max-width: 384.0000px) {
    body {
        overflow-x: hidden;
    }

    .header {
        top: 4.0000px;
    }

    .nav-container {
        border-radius: 16.0000px;
        padding: 3.2000px;
        gap: clamp(5.1200px, 1.2800vw, 9.6000px);
    }

    .nav-item {
        border-radius: 9.6000px;
        padding: clamp(3.8400px, 0.9600vw, 5.1200px) clamp(5.1200px, 1.2800vw, 7.6800px);
    }

    .gradient-circle {
        top: 10%;
        width: 100.0000vw;
    }

    .projects {
        padding: 0 8.0000px;
    }

    .project {
        padding: clamp(6.4000px, 1.9200vw, 12.8000px);
        height: auto;
        min-height: 320.0000px;
    }

    .project-images {
        gap: clamp(9.6000px, 1.9200vw, 19.2000px);
        flex-direction: column;
        align-items: center;
    }

    .image1,
    .image2 {
        width: 90%;
        max-width: 320.0000px;
        height: auto;
        aspect-ratio: 1.02;
        transform: rotate(0deg);
        margin-right: 0;
    }

    .image1:hover,
    .image2:hover {
        transform: scale(1.01) rotate(0deg);
    }
}

@media (max-width: 280.0000px) {
    .nav-item {
        padding: 4.0000px 4.8000px;
    }

    .gradient-circle {
        width: 120.0000vw;
    }
}

/* Landscape phone orientation */
@media (max-height: 400.0000px) and (orientation: landscape) {
    .name p {
        margin: clamp(19.2000px, 5.1200vw, 25.6000px) 0 0 0;
    }

    .icons-container {
        margin-top: clamp(9.6000px, 2.5600vw, 12.8000px);
    }

    .hr {
        margin-top: clamp(38.4000px, 9.6000vw, 51.2000px);
    }
}

/* Touch optimization */
@media (hover: none) and (pointer: coarse) {
    .icon-link:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.1);
    }

    .letter:hover {
        transform: none;
        font-weight: 300;
    }

    .nav-item:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .image1:hover,
    .image2:hover {
        transform: scale(1.01);
    }

    .try:hover {
        transform: none;
        background-color: #f0f0f0;
    }
}

/* Print styles */
@media print {

    .header,
    .gradient-circle {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    .project {
        background-color: white;
        border: 0.8000px solid #ccc;
    }
}