/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    overflow: hidden; /* Disable vertical scrolling */
}
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background-color: #4F4A45;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

nav ul {
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}

.portfolio {
    text-align: center;
    margin-left: 10px;
}

.artworks {
    display: flex;
    white-space: nowrap;
}


.artwork {
    flex: 0 0 auto;
    width: 80vw; /* Adjust the width percentage to make them half the size */
    height: 93vh; /* Adjust the height percentage to make them half the size */
    margin: 0;
    text-align: center;
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    scroll-snap-align: start;
}

.artwork img {
    width: 100%;
    height: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Scrolls to the left */
    }
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s, transform 0.3s;
}

.artwork:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Adjust the overlay content positioning */
.overlay h3,
.overlay p {
    margin: 0;
    padding: 5px 20px;
}

/* Styles for the popup */
.popup {
    display: none; /* Initially invisible */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: rgba(255, 255, 255, 0.507);
    padding: 20px;
    max-width: 600px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    border: 1px solid;
    border-color: #fff;
    text-align: center;
    position: fixed;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center both horizontally and vertically */
}


.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.Aboutme {
    position: absolute;
    right: 25px; /* Adjust the right position as needed */
}

.Home{
    position: absolute;
    left: 25px; /* Adjust the right position as needed */
}