* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: black;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    overflow-x: hidden;
    position: relative;
}

.fullscreen-gif {
    position: absolute;
    top: 0;
    left: 50;
    transform: translateX(-50%) translateY(5%);
    width: 100%;
    height: 90vh;
    object-fit: cover;
    object-position: center top;
    z-index: -1;
    pointer-events: none;
}

.nav {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav button {
    background: none;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    cursor: pointer;
}

.nav button:hover {
    background: white;
    color: black;
}

.portfolio {
   /* margin-top: 100vh;*/
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px;
}

.portfolio-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-color: gray;
    background-position: center;
    cursor: pointer;
}

.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.popup-content {
    background: #111;
    color: white;
    padding: 20px;
    width: 300px;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    text-align: center;
}

.popup-img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.popup-desc {
    margin-bottom: 15px;
}

.buy-btn {
    background: limegreen;
    color: black;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.buy-btn:hover {
    background: green;
    color: white;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: red;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}


.hero-spacer {
    height: 100vh;
}

