@import url(https://fonts.googleapis.com/css2?family=Lusitana);

* {
    font-family: 'Lusitana', Georgia, serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: white;
    color: rgb(90,90,90);
    width: 100%;
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
    font-size: 18px;
}

.wrapper {
    width: 100%;
    background-color: #679E6C;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#name {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    text-decoration: none;
    padding: 15px 0;
}

.navbar-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-list {
    margin-left: 20px;
}

.nav-list a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #F5EB90;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-ul {
        flex-direction: column;
        width: 100%;
    }
    .nav-list {
        margin: 10px 0;
    }
}

.gallery {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.project-slide {
    min-width: 100%;
    border-radius: 8px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.project-slide h2 {
    margin-bottom: 10px;
    color: #333;
}

.project-slide img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.1);
    object-fit: contain;
}

.button-container {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.buttons {
    background-color: #679E6C;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buttons:hover {
    background-color: #246229;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #679E6C;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
}

button.prev { left: 2px; }
button.next { right: 2px; }

button.prev:hover, 
button.next:hover {
    background-color: #246229;
}