
* {
    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;
}

/*projectdescription*/

.project-title {
    font-size: 22px;
    color: #000;
    margin-bottom: 5px;
}

.project-subtitle {
    font-style: oblique;
    font-size: 16px;
    color: #444;
    margin-bottom: 6px;
}

.project-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 20px;
}

.project-link-space {
    height: 5px; 
}

.project-link {
    font-size: 14px;
    text-decoration: underline;
    color: #10ea55;
    transition: color 0.3s;
}

.project-link:hover {
    color: #0da44a;
}

/* Project grid layout */
.project-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5px;
    margin-top: 50px;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 10px;
    margin-right: 10px;
}

.column {
    padding: 10px;
}

.blank {
    background-color: transparent;
}

.text {
    font-size: 18px;
    color: #000000;
    line-height: 1.5;
}

.image img {
    width: 100%;
    height: auto;
}

/*hoverimg*/

.image-hover {
    position: relative;
    display: inline-block;
    width: 100%;
}

.image-hover img {
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease-in-out;
    display: block;
}

.image-hover img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.image-hover:hover img.main-img {
    opacity: 0;
}

.image-hover:hover img.hover-img {
    opacity: 1;
}

/*backtotop*/

#back-to-top {
    position: fixed;
    top: 20%;
    left: -140px; 
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: left 0.8s ease-out, opacity 0.8s ease-out;
    z-index: 999;
    cursor: pointer;
}

#back-to-top.visible {
    left: 20px; 
    opacity: 1;
}

#back-to-top img {
    width: 50px;
}


#back-to-top span {
    color: #000000;
    font-size: 16px;
    text-align: center;
    font-family: 'Agdasima', sans-serif;
}

/*  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;
  }
  /*responsive*/


@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;
    }

    
.project-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 20px;
  }
  
  
  .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  
  .column.image img {
    width: 90vw;
    max-width: 100%;
    height: auto;
  }
  
  
  .column.text {
    text-align: center;
    padding: 0 15px;
  }
  
  
  .project-title {
    font-size: 22px;
  }
  
  .project-subtitle {
    font-size: 16px;
    margin-top: 5px;
  }
  
  .project-description {
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.4;
  }
  
  .project-link {
    margin-top: 10px;
    display: inline-block;
    font-size: 14px;
  }
  
}

