body {
    background: url("background.jpg");
    color: white;
    font-family: Arial;
    text-align: center;

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

button {
    padding: 10px 20px;
    margin: 8px 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s;
}

button:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}

.tab {
    display: none;
    max-width: 1000px;
    margin: 30px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(8px);
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project {
    background: rgba(0, 0, 0, 0.65);
    padding: 25px;
    border-radius: 12px;
    width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.2s, border-color 0.2s;
}

.project:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.5);
}

.project h2 {
    font-size: 21px;
    margin-bottom: 10px;
}

.project a,
.link-container a {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin: 5px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    transition: 0.2s;
}

.project a:hover,
.link-container a:hover {
    background: white;
    color: black;
}

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

h1 {
    font-size: 40px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

h2 {
    margin-top: 0;
}

/* Mobile */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .tab {
        padding: 20px;
        margin-top: 20px;
    }

    h1 {
        font-size: 32px;
    }

    .project {
        width: 100%;
        box-sizing: border-box;
    }

    button {
        padding: 9px 15px;
    }
}