* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Agdasima', sans-serif;
}

/* Page transition */
body.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  
  body.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }

/*scrollbar*/
::-webkit-scrollbar{
    width: 10px;
    background-color: #ffffff00;
}
::-webkit-scrollbar-thumb{
    background-color: #56e46e;
    border-color: rgb(0, 0, 0);
    border-radius: 50px;
}

/*menubar*/
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 15px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-bottom: 1.5px dashed #10ea55;
}


.name {
    font-size: 20px;
    color: #10ea55;
}

.name span {
    font-style: italic;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 50px; 
    margin-left: 50px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #10ea55;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 5px;
}


.lang-toggle {
    color: #10ea55;
    padding: 4px 8px;
    font-size: 16px;
    cursor: pointer;
}

.slideshow-container {
    max-width: 900px;
    position: relative;
    margin: 0 auto 
}

.slide {
    display: none;
    text-align: center;
    padding: 20px;
}

.slide img {
    width: 100%;
    max-height: 400px;         
    object-fit: contain;       
  }
  

.slide-description {
    margin-top: 5px;
    font-size: 18px;
    color: #10ea55;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 12px;
    margin-top: -22px;
    color: #10ea55;
    font-weight: bold;
    font-size: 28px;
    transition: 0.3s ease;
    user-select: none;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    color: #0cb94c;
}

.dot-container {
    margin-top: 15px;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.active, .dot:hover {
    background-color: #10ea55;
}

.slideshow-wrapper {
    max-width: 900px;
    margin: 50px auto 40px auto; 
    padding: 0 20px;
  }
  
  .next-project-link {
    text-align: center;
    margin-top: 30px;
  }
  
  .next-project-link a {
    font-size: 18px;
    color: #10ea55;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .next-project-link a:hover {
    color: #0cb94c;
  }


/* Fade animation */
.fade {
    animation: fadeInSlide 0.6s ease-in-out;
}

/*  Footer  */
.resume-footer {
    margin-top: 60px;
    padding: 30px 0;
    text-align: center;
    font-size: 24px;
  }
  
  .resume-footer a {
    margin: 0 15px;
    color: #10ea55;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .resume-footer a:hover {
    color: #0cb94c;
  }

  .zoom-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
    touch-action: none;
}

.zoomed-image {
    max-width: 90vw;
    max-height: 90vh;
    transform-origin: center;
    cursor: grab;
    transition: transform 0.2s ease;
}

.close-zoom {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #10ea55;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {


    .name {
        font-size: 18px;
        margin-bottom: 10px;
        display: block;
    }

    .nav-links {
        gap: 10px;
        width: 100%;
    }

    .nav-links a {
        font-size: 16px;
        padding: 6px 10px;
    }


    p {
        font-size: 18px;
        margin-top: 30px;
        padding: 0 20px;
    }
}
