
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url('../images/ios-13-stock-ipados-blue-black-background-amoled-ipad-hd-5120x5120-795.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #ffffff;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Ensure the body stretches to fit the content */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2 {
    font-family: 'Arial', sans-serif;
    margin: 0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}



/* About Section */
.about {
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    padding: 20px;
    gap: 20px;
    position: relative;
    background: linear-gradient(to bottom right, #1a1a1a, #333);
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.profile-img {
    margin-left: 40px;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}
.about-text {
    flex: 1;
}

.about-text h1 {
    font-size: 2.5rem;
}

.about-text h2 {
    font-size: 1.5rem;
    color: #cccccc;
    margin: 10px 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Work Experience Section */
.wie-ben-ik {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    margin: 20px auto;
    margin-top: -10px;
    width: 90%;
    box-sizing: border-box;
}

.wie-ben-ik h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.wie-ben-ik p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    margin-top: auto; /* Push the footer to the bottom */
    text-align: center;
    padding: 15px; /* Consistent padding */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    color: white;
    font-size: 0.9rem;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow for consistency */
    display: flex;
    flex-direction: column; /* Ensure content stacks vertically */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    gap: 10px; /* Add spacing between text and buttons */
}

/* Social Buttons */
.social-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(39, 39, 39, 0.3);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.social-button img {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

.social-button:hover {
    background: rgba(49, 73, 211, 0.568);
    transform: translateY(-2px);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    html, body {
        overflow-y: auto; /* Enable vertical scrolling when responsive */
    }

    .about {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .profile-img {
        max-width: 80%;
        margin: 0 auto 20px;
    }

    .about-text h1 {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .social-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .wie-ben-ik {
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    html, body {
        overflow-y: auto; /* Ensure scrolling works on very small screens */
    }

    .about-text h1 {
        font-size: 1.8rem;
    }

    .about-text h2 {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .footer {
        font-size: 0.8rem;
        padding: 15px;
    }

    .social-button {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}

