/* YES */

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

.main-hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.52) 100%), url(assets/yes.webp) lightgray 50% / cover no-repeat;
    color: #fff;
}

.hero-subtitle-section a {
    display: inline;        
    color: inherit;          
    text-decoration: none;   
    }

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    max-width: 100vw;
    width: 100%;
    padding: 0 20px;
    height:90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-main-title {
    background: url(assets/cvh.webp);
    background-size: cover;
    height: 30vh;
    height: auto;
    width: 100vw;
    aspect-ratio: 6 / 1;
}

.hero-subtitle-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    padding: 0 4vw;
}

.contact-subtitle {
    font-size: clamp(4rem, 14vw, 15rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;

    font-family: "PP Writer";
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    letter-spacing: -1.9vw;
    text-transform: lowercase;
}

.contact-subtitle.email {
    color: #ffffff;
}

.contact-subtitle::before {
    content: '';
    position: absolute;
    top: -2vh;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #d5e03f, #d5e03f);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(154, 205, 50, 0.5);
}

.contact-subtitle::after {
    content: '';
    position: absolute;
    bottom: 2vh;
    left: 0;
    width: 0;
    height: 2px;
    background: #D5E03F;
    transition: width 0.3s ease;
}

.contact-subtitle:hover::before {
    opacity: 1;
    transform: translateX(-50%) rotate(45deg) scale(1.1);
    box-shadow: 0 0 25px rgba(154, 205, 50, 0.8);
}

.contact-subtitle:hover::after {
    width: 100%;
}



.hero-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9acd32, transparent);
    margin: 0 auto 2rem;
}


/* Responsive design */
@media (max-width: 768px) {
    .hero-subtitle-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-diamond {
        width: 20px;
        height: 20px;
    }

    .hero-content-wrapper {
        height: 50vh;
    }

    .visual-area {
        height: 14vh !important;
    }
}


/* NO */
       
.background-overlay2 > * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.background-overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.82) 100%), url(assets/no.webp) lightgray 50% / cover no-repeat;
}

.main-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main-wrapper * {

}

.intro-area {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.primary-heading {
    font-size: clamp(2.5rem, 12vw, 12rem);
    font-weight: 100;
    color: #D5E03F;
    text-shadow: 0 0 20px rgba(240, 230, 140, 0.3);
    line-height: 1;
    font-family: 'PP Writer';
    letter-spacing: -1.2vw;
    margin: 4vh 0;
}

.description-text {
    font-size: 2.2rem;
    font-size: clamp(1.6rem, 1.2vh, 2.2rem);
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-align: left;
    font-family: 'PP Pangram Sans Rounded Narrow';
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1 / 1.4;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.portfolio-item:hover::before {
    transform: translateX(100%);
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.item-style-pink {
    background: #FB77BF;
    color: #000;
}

.item-style-yellow {
    background: #D5E03F;
    color: #000000;
}

.item-style-dark {
    background: #010101;
    color: #fff;
}

.item-heading {
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    font-family: 'PP Pangram Sans CEB';
    padding: 0;
    margin: 0;
}

.visual-area {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 204px;
}

img.block1 {
    width: 100%;
    position: absolute;
    top: 43%;
}


.ratio-circle {
    width: 100px;
    height: 100px;
}
   
  
.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    font-family: 'PP Pangram Sans Rounded Narrow';
}

.skill-badge {
    font-size: 1.3rem;
}

.item-style-yellow .skill-badge {
}

.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.animated-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(240, 230, 140, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.animated-dot:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.animated-dot:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.animated-dot:nth-child(3) {
    bottom: 20%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 768px) {

    .close-button {
        top: 10px !important;
        right: 10px !important;
    }

    .background-overlay2{
        /* background: #010101;
        background: #1d1d1d; */
        height: 230%;
    }
    .main-wrapper {
        padding: 0 30px !important;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-item {
        padding: 30px 20px;
    }
}