/* Define CSS variables for consistent styling */
:root {
    --primary-color: #d9534f;
    --primary-color-dark: #c9302c;
    --text-color: #333;
    --highlight-color: #900;
    --contrast-text-color: #fff;
    --neutral-text-color: #333;
    --footer-color:#333;
    --background-color: #f4f4f4;
    --border-color: #ccc;
    --focus-border-color: var(--primary-color);
    --link-color: #ff4500;
    --link-hover-color: #e03e00;
    --form-background-color: #ffffff;
}

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Navbar styles */
#navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 15px;
}

/* Navigation list */
.nav-list {
    list-style: none;
    display: flex;
    gap: 15px; /* Spacing between buttons */
    padding: 0;
    margin: 0;
}

/* General Button Styling */
.nav-list li a {
    color: rgb(24, 23, 23);
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 20px; /* Rounded buttons */
    font-family: Arial, sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

nav ul li a:hover {
    background: #900; /* Highlight color */
    text-decoration: none;
    color: #fff; /* Contrast text color */
}
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 10px; /* Position the hamburger menu on the top left */
    z-index: 3; /* Ensure the menu toggle is above the hero content */
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: var(--highlight-color);
    margin: 4px 0;
    transition: 0.4s;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 15px;
    background-color: var(--background-color);
    color: var(--text-color);
}

main section {
    margin-bottom: 2rem;
}

main h2 {
    font-size: 2rem;
    color: #ff4500;
    margin-bottom: 1rem;
}

main p {
    margin-bottom: 1rem;
}

main ul li {
    margin-bottom: 1rem;
}

/* Bio Section */
.bio {
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Values Section */
.values ul {
    display: flex;
    text-decoration: none;
    flex-wrap: wrap;
    list-style: none;
    gap: 1rem;
}

.values li {
    flex: 1 1 45%;
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.values li h3 {
    color: #333;
    list-style: none;
    text-decoration: none;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.values li p{
    text-decoration: none
}

/* Education Section */
.education article {
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* Work Experience Section */
.work article {
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* Interests Section */
.interests ul {
    display: flex;
    list-style: none;
    text-decoration: none;
    flex-wrap: wrap;
    gap: 1rem;
}

.interests li {
    flex: 1 1 45%;
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.interests li h3 {
    text-decoration: none;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.interests li p{
    text-decoration: none
}

.artists a {
    display: inline-block;
    margin-right: 10px;
    background: #ff4500;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
}

.artists a:hover {
    background: #900;
}

.nufc a{
    color: #000; /* Text color */
  text-decoration: none; /* Remove underline */
  display: inline-flex; /* Display as inline-flex element */
  padding: 10px; /* Padding around the link */  
 background-color: #fff;
  border-radius: 5px; /* Border radius */
  margin-bottom: 10px; /* Add some space between links */
  transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.nufc a:hover{
    color: #fff;
    background-color: #000; /* Background color on hover */
  }

  .dufc a{
    color: #000; /* Text color */
  text-decoration: none; /* Remove underline */
  display: inline-flex; /* Display as inline-flex element */
  padding: 10px; /* Padding around the link */  
 background-color: #F08000;
  border-radius: 5px; /* Border radius */
  margin-bottom: 10px; /* Add some space between links */
  transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.dufc a:hover{
    color: #fff;
    background-color: #000; /* Background color on hover */
  }

  .bfc a{
  color: #EDBB00; /* Text color */
  text-decoration: none; /* Remove underline */
  display: inline-flex; /* Display as inline-flex element */
  padding: 10px; /* Padding around the link */  
  background-color: #004D98;
  border-radius: 5px; /* Border radius */
  margin-bottom: 10px; /* Add some space between links */
  transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.bfc a:hover {
    color: #FFED02;
  background-color: #A50044; /* Background color on hover */
}

.dufc a:focus,
.nufc a:focus,
.bfc a:focus {
  outline: none; /* Remove focus outline */
}

/* Style for the link text */
.dufc .dufc_logo img,
.nufc .newcastle_united_fc img,
.bfc .barcelona_fc img {
  width: 20px; /* Adjust width as needed */
  height: auto;
  border-radius: 5px;
}

.dufc .dufc_logo img,
.nufc .newcastle_united_fc img,
.bfc .barcelona_fc img {
    display: none;
  margin-right: 10px; /* Adjust margin as needed */
}

.dufc a:hover .dufc_logo img,
.nufc a:hover .newcastle_united_fc img,
.bfc a:hover .barcelona_fc img {
  display: inline-block; /* Display images when parent div is hovered over */
}

/* Footer */
footer {
    padding: 20px;
    background-color: var(--footer-color);
    color: white;
    text-align: center;
}

.footercontainer {
    max-width: 1200px;
    margin: 0 auto;
}

.footercontainer h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.social-links {
    display: flex;
    justify-content: center;
}

.social-links a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--link-hover-color);
}

/* Responsive Design */
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        position: absolute; /* stays in place */
        top: 10px;
        left: 10px;
        z-index: 9999; /* always on top */
    }

    .nav-list {
        position: absolute;
        z-index: 1000; /* below toggle */
    }

    nav {
        background: none;
    }

    .nav-list {
        top: 60px;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease-in-out;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        margin: 20px 0;
    }

        .nav-list li a {
        background-color: transparent; /* Removes the red background */
        color: white;
        border-radius: 0; /* Optional: Makes the links rectangular instead of rounded */
        padding: 10px; /* Optional: Adjusts padding for the new style */
    }
   
    nav ul li a:hover {
    background: transparent; /* Highlight color */
    text-decoration: none;
    color: none; /* Contrast text color */
}

        .values ul,
    .interests ul {
        flex-direction: column;
    }
}