* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container p{
    text-align: center;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: url('./images/MyPOrtfolio.jpg') no-repeat center center fixed;
    background-size: cover;
}

header {
    background: rgba(0, 123, 255, 0.6);
    color: white;
    padding: 20px 0;
    position: relative;
    z-index: 2; /* Ensure header is above background */
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header h1 {
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}
/* 
.marquee {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 0;
    text-align: center;
    animation: marquee 15s linear infinite;
} */

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
} 

.marquee {
    overflow: hidden; /* Hide any overflow */
    white-space: nowrap; /* Prevent text wrapping */
    position: relative; /* Position relative for absolute children */
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
    color: white; /* Text color */
    font-size: 18px; /* Font size */
    padding: 10px 0; /* Vertical padding */
}

.marquee p {
    display: inline-block; /* Make the paragraph inline */
    animation: marquee 15s linear infinite; /* Animation properties */
}

@keyframes marquee {
    0% {
        transform: translateX(100%); /* Start off-screen to the right */
    }
    100% {
        transform: translateX(-100%); /* Move to off-screen to the left */
    }
}



.about, .projects, .skills, .contact {
    padding: 20px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.6); /* White background with transparency */
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    z-index: 1; /* Ensure sections are above blurred background */
}

.project {
    background: white;
    margin: 20px 0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.project a {
    color: #007BFF;
    text-decoration: none;
}

.project a:hover {
    text-decoration: underline;
}

.skills ul {
    list-style: none;
}

footer {
    background: rgba(0, 123, 255, 0.6);
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a{
    color: rgb(32, 249, 249);
    font-size: larger;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact form input, .contact form textarea {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact form button {
    background: #007BFF;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact form button:hover {
    background: #0056b3;
}


#projectsMarquee {
    background: rgba(255, 255, 255, 0.8); /* Light background */
    padding: 20px;
    text-align: center;
}

.marquee2 {
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow for effect */
}

.marquee-inner {
    display: inline-block;
    animation: marquee2 15s linear infinite;
}

.marquee2 img {
    height: 100px; /* Set the height of your images */
    margin: 0 15px; /* Space between images */
}

@keyframes marquee2 {
    from {
        transform: translateX(100%); /* Start from right */
    }
    to {
        transform: translateX(-100%); /* Move to left */
    }
}
