/* General body styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url('../image/brian.jpg'); /* Use brian.jpg as the background */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #333; /* Default text color for readability */
}

/* Container styling for readability */
.container {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
}

/* Navigation styling */
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    padding: 10px;
    border-radius: 10px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

/* Specific section styling */
#portfolio, #about, #projects {
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
}

/* Main content styling */
h1 {
    color: #333;
}

p, ul, li {
    color: #555;
}

/* Image container styling */
.image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.skill-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    text-align: center;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}

.border-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 5px solid transparent;
    border-radius: 50%;
    animation: border-rotate 5s linear infinite;
}

@keyframes border-rotate {
    0% { border-color: red; }
    25% { border-color: green; }
    50% { border-color: blue; }
    75% { border-color: yellow; }
    100% { border-color: red; }
}

/* Footer styling */
footer {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    border-radius: 10px;
    margin: 20px;
}
