*{
    font-family: "Figtree", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: white;
    box-sizing: border-box;
}
body{
    background: #101415;
}
header{
    position: fixed;
    width: 100%;
    padding: 30px 30px 0;
    background: linear-gradient(#101415 70%, transparent);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.elements-header{
    width: 100%;
    max-width: 1000px;
    padding: 15px 30px;
    background: #1a1f22;
    background: linear-gradient(90deg, #1a1f22 10%, #1c2225 50%, #1a1f22 90%);
    border: solid 1px #535353;
    border-radius: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header a{
    color: #D0D0D0;
    font-weight: 600;
}
#logo{
    height: 1.2rem;
}
header a{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
}
header a:hover{
    cursor: pointer;
    text-decoration: underline;
    color: #f5ca52;
}
.header-links{
    display: flex;
    gap: 20px;
}
.icon{
    height: 2rem;
}

.presentation{
    max-width: 1000px;
    padding: 200px 40px 100px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    margin: auto;
    margin-bottom: 80px;
}
#genmoji{
    max-width: 320px;
}
.right-text{
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
h1{
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}
.right-text h1{
    text-align: left;
}
h1 span{
    font-size: 4rem;
    background: linear-gradient(90deg, #f5ca52, #d4bc6e, #a7820a, #eed797, #f5ca52);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200%;
    animation: sergifont 8s linear infinite;
}
.welcome{
    font-size: 2rem;
}
#greetings{
    font-size: 2.2rem;
    font-weight: 600;
}
.description{
    font-size: 1.4rem;
    line-height: 1.8rem;    
}
.description-span{
    font-size: 1.4rem;
}
.description b{
    background: linear-gradient(90deg, #f5ca52, #927513, #f5ca52);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200%;
    animation: sergifont 4s linear infinite;
}
.contact-button{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    background: #f5ca52;
    color: #101415;
    width: 125px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    transition: box-shadow 0.2s ease-in-out;
}
.contact-button:hover{
    box-shadow: 0 0 15px 4px #927513;
}

.projects{
    margin: auto;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1000px;
    margin-bottom: 80px;
    gap: 20px;
}
.projects a{
    text-decoration: none;
}
.project-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
h2{
    font-size: 3rem;
}
.project-card{
    background: #1a1f22;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
.project-card a{
    position: relative;
}
.project-card img{
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    display: block;
}
.project-img-popup{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    align-items: end;
    background: linear-gradient(0deg, #000000ae, transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.project-card a:hover .project-img-popup{
    opacity: 1;
}
.see-more{
    color: #ffffff;
}
.project-text{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.project-text h3{
    color: #f5ca52;
    font-size: 1.4rem;
}
.project-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.project-tags span{
    background: #343434;
    color: #f5ca52;
    padding: 5px 10px;
    border-radius: 4px;
}
.view-projects{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    background: #f5ca52;
    color: #101415;
    width: 180px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    transition: box-shadow 0.2s ease-in-out;
}
.view-projects:hover{
    box-shadow: 0 0 15px 4px #927513;
}

.education{
    margin: auto;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1000px;
    margin-bottom: 80px;
}
.education h2{
    margin-bottom: 30px;
}
.education ul{
    position: relative;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.education ul::before{
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #f5ca52;
    border-radius: 2px;
}
.education ul li{
    position: relative;
    padding-left: 50px;
}
.education ul li::before{
    content: '';
    position: absolute;
    left: 12px;
    top: 12%;
    width: 16px;
    height: 16px;
    background: #f5ca52;
    border-radius: 50%;
    border: 2px solid #101415;
}
.education .content{
    background: #1a1f22;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.education .content h3 {
    color: #f5ca52;
    font-size: 1.3rem;
}
.education .content h4{
    color: #dfd0a1;
    margin-left: 20px;
    text-align: end;
}
.education-type{
    display: flex;
    justify-content: space-between;
}
.education-location{
    font-weight: 600;
    color: #dfd0a1;
}

.skills{
    display: flex;
    margin: auto;
    padding: 20px 40px;
    max-width: 1000px;
    margin-bottom: 80px;
}
.skills-content{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
#genmojiskills{
    max-width: 400px;
}
.skills-type{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.skills-type li{
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #404040;
    border-radius: 30px;
    padding: 10px 15px;
    background: #1a1f22;
    gap: 8px;
}
.skills-type img{
    width: 1.5rem;
}

.aboutme{
    margin: auto;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1000px;
    margin-bottom: 80px;
}
.aboutme-content{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.aboutme-content img{
    width: 45%;
}
.aboutme-text h2{
    margin-bottom: 10px;
}
.aboutme-text{
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.aboutme-text span{
    color: #f5ca52;
    font-weight: 600;
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: auto;
    margin-bottom: 35px;
    padding: 20px;
}
#questions{
    font-size: 2rem;
    color: #f5ca52;
    font-weight: 600;
}
#letschat{
    font-size: 4rem;
    font-weight: 700;
}
.footer-title{
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.footer-content{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.footer-info{
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.footer-info p{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}
.footer-info img{
    width: 1.5rem;
}
#genmojifooter{
    width: 260px;
}
#copyright{
    color: #D0D0D0;
    text-align: center;
}

.cookietrail {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding: 110px 30px 0;
    display: flex;
    gap: 5px;
    color: #D0D0D0;
}
.cookietrail a{
    text-decoration: none;
    color: #D0D0D0;
}
.cookietrail a:hover{
    color: #dfd0a1;
    text-decoration: underline;
}
.cookietrail span{
    color: #f5ca52;
    font-weight: 600;
}

.pts-intro{
    max-width: 1000px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: auto;
}
.pts-intro-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.pts-intro-grid img{
    border-radius: 8px;
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease;
}
.pts-intro-grid a:hover img{
    transform: scale(1.05);
}

.wgdesign-content{
    max-width: 1000px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: auto;
}
.wgdesign-card{
    background: #1a1f22;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    max-width: 800px;
}
.wgdesign-card a{
    position: relative;
}
.wgdesign-card img{
    width: 100%;
    border-radius: 10px 10px 0 0;
    display: block;
}
.wgdesign-img-popup{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    align-items: end;
    background: linear-gradient(0deg, #000000ae, transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.wgdesign-card a:hover .wgdesign-img-popup{
    opacity: 1;
}
.see-more{
    color: #ffffff;
}
.wgdesign-text{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.wgdesign-text h2{
    color: #f5ca52;
    font-size: 1.4rem;
}

.photo-intro{
    max-width: 1000px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: auto;
}
.photo-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.photo-content img{
    border-radius: 8px;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.2s ease;
}
.photo-content a:hover img{
    transform: scale(1.05);
}

.photoandimg-content{
    max-width: 1000px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: auto;
}
.img-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}
.img-wrapper{
    width: 100%;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    transition: transform 0.2s ease;
} 
.img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.img-wrapper:hover{
    transform: scale(1.05);
}
#fullImgBox{
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.75);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
#fullImgBox img{
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}
#fullImgBox span{
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 2rem;
    cursor: pointer;
}

.other-text{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@keyframes sergifont{
    from{
        background-position: 0;
    }
    to{
        background-position: 200%;
    }
}

@media (max-width: 1000px){
    #genmoji{
        max-width: 250px;
    }
    .right-text{
        width: 60%;
        gap: 1.4rem;
    }
}
@media (max-width: 768px){
    .elements-header{
        padding: 10px 25px;
    }
    #logo{
        height: 1rem;
    }
    header a{
        font-size: 1rem;
    }
    .presentation{
        max-width: 700px;
        padding: 120px 40px 50px 40px;
        flex-direction: column;
        gap: 0px;
    }
    #genmoji{
        max-width: 200px;
    }
    .right-text{
        width: 100%;
        gap: 1.4rem;
    }
    h1{
        font-size: 3rem;
    }
    h1 span{
        font-size: 3rem;
    }
    .welcome{
        font-size: 1.5rem;
    }
    #greetings{
        font-size: 1.65rem;
    }
    .description{
        font-size: 1.4rem;
    }
    .description-span{
        font-size: 1.4rem;
    }

    .projects{
        max-width: 700px;
    }

    .education{
        max-width: 700px;
        margin-bottom: 40px;
    }
    .education .content h3 {
        font-size: 1.2rem;
        width: 62%;
    }

    .skills{
        max-width: 700px;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 30px;
    }
    #genmojiskills{
        max-width: 300px;
    }

    .aboutme{
        max-width: 700px;
        margin-bottom: 40px;
    }
    .aboutme-content{
        flex-direction: column;
    }
    .aboutme-text{
        width: 100%;
    }

    #questions{
        font-size: 1.5rem;
    }
    #letschat{
        font-size: 2.8rem;
    }

    footer{
        max-width: 700px;
    }
    .footer-content{
        gap: 20px;
    }
    #genmojifooter{
        width: 180px;
    }

    .cookietrail {
        font-size: 0.8rem;
        padding: 95px 30px 0;
    }
    .cookietrail a{
        font-size: 0.8rem;
    }
    .cookietrail span{
        font-size: 0.8rem;
    }
}

@media (max-width: 480px){
    *{
        font-size: 12px;
    }
    .elements-header{
        padding: 10px 15px;
    }
    #logo{
        height: 0.8rem;
    }
    .header-links{
        gap: 15px;
    }

    .presentation{
        max-width: 400px;
        padding: 120px 30px 50px 30px;
        margin-bottom: 50px;
    }
    #genmoji{
        max-width: 200px;
    }

    .projects{
        max-width: 400px;
        padding: 30px;
    }

    .education{
        max-width: 400px;
        padding: 30px;
        margin-bottom: 30px;
    }
    .education .content h3 {
        font-size: 1rem;
    }

    .skills{
        max-width: 400px;
        flex-direction: column;
        gap: 30px;
        padding: 10px 30px;
        margin-bottom: 0;
    }
    .skills-content{
        width: 100%;
    }
    #genmojiskills{
        max-width: 200px;
    }

    .aboutme{
        max-width: 400px;
        padding: 30px;
        margin-bottom: 30px;
    }

    #questions{
        font-size: 1.5rem;
    }
    #letschat{
        font-size: 2.8rem;
    }

    footer{
        max-width: 350px;
    }
    .footer-content{
        gap: 5px;
    }
    #genmojifooter{
        width: 150px;
    }

    .cookietrail {
        font-size: 0.8rem;
        padding: 85px 30px 0;
    }
    .cookietrail a{
        font-size: 0.8rem;
    }
    .cookietrail span{
        font-size: 0.8rem;
    }
}

@media (max-width: 378px){
    #logo{
        height: 0.8rem;
    }
    header a{
        font-size: 0.8rem;
    }
    .icon{
        height: 1rem;
    }
    .header-links{
        gap: 10px;
    }
    
    .footer-content{
        flex-direction: column;
    }

    .cookietrail {
        padding: 75px 30px 0;
    }
}

@media (max-width: 255px){
    .elements-header{
        flex-direction: column;
        gap: 10px;
    }
    .cookietrail {
        padding: 90px 30px 0;
    }
}