/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    background: #080808;
    color: white;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

/* Video Background Container */
.video-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Background Video */
#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: -1; /* Behind other elements */
}

/* General Content Area */
.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

/* Profile Photo */
.top-left-photo {
    position: absolute;
    top: 70px;
    left: 50px;
    border-radius: 50%;
    width: 180px;
    height: auto;
    z-index: 2;
}

/* Typing Effect */
.typing-container {
    position: fixed;
    top: 10%;
    left: 20%;
    right: 30%;
    font-size: 1.5rem;
    color: #fff;
    font-family: 'Arial', sans-serif;
    white-space: normal;
    overflow-x: hidden;
    overflow-y: auto;
    word-wrap: break-word;
    width: auto;
    height: auto;
    padding: 10px;
    z-index: 1;
}

/* Cursor Animation */
.cursor {
    display: inline-block;
    width: 3px;
    background-color: #fff;
    margin-left: 2px;
    animation: blink 2s step-start infinite;
}

/* Main Text Container */
.text-container {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}

/* Big Text */
.big-text {
    font-size: 4.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(121, 108, 108, 0.7);
    margin-bottom: 0.7rem;
}

/* Small Text */
.small-text {
    font-size: 1.5rem;
    text-shadow: 1px 1px 6px rgba(156, 144, 144, 0.5);
    word-spacing: 2rem;
}

/* Contact Section */
#contact {
    background: transparent;
    padding: 50px 20px;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Ensure it's above the background video */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    z-index: 11; /* Ensure it's above other elements */
    position: relative;
    margin-top: 20px;
}

/* Contact Icon */
.contact-icon img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

/* Hover Effect for Icons */
.contact-icon img:hover {
    transform: scale(1.2);
}

/* Media Queries for Small Screens */
@media (max-width: 600px) {
    .contact-methods {
        flex-direction: column;
    }

    .contact-icon img {
        width: 40px;
        height: 40px;
    }

    /* Adjust text in the contact section */
    #contact {
        padding: 30px 10px;
    }

    .big-text {
        font-size: 3.5rem;
    }

    .small-text {
        font-size: 1.2rem;
    }
}

/* Header Navigation Bar */
#header {
    position: relative;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    width: 100%;
}

#header nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin: 0;
}

#header nav ul li {
    margin: 0 10px;
}

#header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Container for Content Sections */
.container {
    padding: 20px 20px;
}

/* About Section */
#about {
    padding: 80px 20px;
    color: #cba6a6;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-2 {
    width: 100%;
    border-radius: 15px;
}

/* Portfolio Section (to be updated with actual content) */
#portfolio {
    padding: 60px 0;
    background-color: #f1f1f1;
    text-align: center;
}

/* Portfolio Items */
.portfolio-item {
    display: inline-block;
    width: 30%;
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* Portfolio Hover Effect */
.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Footer Section */
footer {
    background-color: #080808;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Custom Keyframes for Cursor Animation */
@keyframes blink {
    50% {
        opacity: 0;
    }
}

