/* General Styles */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

/* Navigation Bar */
header {
    padding: 10px 0;
    text-align: center;
}

.nav-items {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-items a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-variant: small-caps;
    padding: 10px 20px;
}

.nav-items a:hover {
    background-color: #555;
    border-radius: 5px;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    flex-wrap: wrap;
}

.hero-section p {
    background: linear-gradient(90deg, #edfad8, #fce4ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.my-image {
    flex: 1;
    text-align: center;
    margin-right: 20px;
}

.my-image img {
    max-width: 40%;
    height: auto;
    border-radius: 50%;
    opacity: 0.8;
}

.figcaption {
    color: yellow;
    font-weight: bolder;
    font-size: xx-large;
}

.my-intro {
    flex: 2;
    max-width: 600px;
    font-size: 25px;
    line-height: 1.5;
    padding: 20px;
    margin: 0 auto;
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden;
    border-right: 3px solid;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: black;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Footer */
footer {
    padding: 10px 0;
    margin-top: auto;
}

.footer-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-items .social-media {
    display: flex;
    gap: 10px;
}

.social-media a {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.social-media a:hover {
    color: #aaa;
}

.footer-items .copyright p {
    margin: 0;
    color: white;
    font-size: medium;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .my-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .my-intro {
        max-width: 100%;
        padding: 10px;
        white-space: normal;
        word-wrap: break-word;
        border-right: none;
        animation: none;
    }

    .footer-items {
        flex-direction: column;
        align-items: center;
        font-size: small;
    }

    .social-media {
        margin-top: 15px;
        justify-content: center;
        font-size: small;
    }
}

.my-image figcaption {
    margin-top: 10px;
    font-size: large;
    font-variant: small-caps;
    font-weight: bold;
    color: yellow;
}
