body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('images/BantVegas.webp') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

header {
    background: #333;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}


@keyframes flames {
    0% { text-shadow: 2px 2px 10px rgba(255, 140, 0, 0.8), 4px 4px 20px rgba(255, 0, 0, 0.8); }
    100% { text-shadow: 4px 4px 15px rgba(255, 140, 0, 1), 6px 6px 25px rgba(255, 0, 0, 1); }
}

h2, h3, p {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.logo img {
    max-width: 150px;
    height: auto;
    display: block;
    margin-left: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: block;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

nav ul li a:hover {
    background: white;
    color: #333;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
}

nav ul li a:active {
    background: #555;
    color: white;
}

main {
    flex: 1;
}

section {
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.portfolio-item {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.portfolio-item:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        text-align: center;
        width: 100%;
    }

    .logo img {
        margin: auto;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
}
