body {
    text-align: center;
    background: linear-gradient(to right, #1a1a2e, #16213e);
    font-family: 'Arial', sans-serif;
    color: white;
    margin: 0;
    padding: 0;
}

header {
    position: relative;
    padding: 0;
    overflow: hidden;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-direction: row;
    gap: 20px;
}

header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.3) opacity(0.5);
}

.profile-img {
    width: 200px;
    height: 200px;
    border: 3px solid white;
    animation: pulse 3s infinite alternate;
    position: relative;
    z-index: 1;
    border-radius: 0;
    margin-left: 30px;
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: left;
    color: white;
    max-width: 50%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
    }
    100% {
        transform: scale(1.1);
        box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.8);
    }
}

h1, h2 {
    margin: 10px 0;
}

p {
    font-size: 18px;
    max-width: 100%;
    text-align: justify;
    margin: 0 auto;
}

.about p {
    width: 100%;
}

.about span {
    display: block;
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
    margin-left: 20px;
}

section {
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    background: rgba(255, 255, 255, 0.2);
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

.contact a {
    display: inline-block;
    background: white;
    color: #16213e;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 10px;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.contact a:hover {
    background: #e94560;
    color: white;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        text-align: center;
    }
    .profile-img {
        margin-left: 0;
        margin-bottom: 10px;
    }
    .header-content {
        text-align: center;
        max-width: 100%;
    }
    section {
        width: 90%;
    }
}
