:root {
    --color1: #2d3b91;
    --color2: #f9eee4;
}

body, h1 {
    margin: 0;
    padding: 0;
    color: var(--color1);
}

@font-face {
    font-family: 'Dunbar Tall Book';
    src: url('/static/fonts/dunbar-tall-book.woff2') format('woff2'),
         url('/static/fonts/dunbar-tall-book.woff') format('woff'),
         url('/static/fonts/dunbar-tall-book.ttf') format('truetype');
    font-weight: lighter;
    font-style: italic;
}

body {
    font-family: 'Dunbar Tall Book';
    background-color: var(--color2);
    color: var(--color1);
}

#about {
    text-align: center; /* Center the text */
    margin: 0 auto; /* Center content horizontally */
    padding: 20px;
}

.about-container {
    display: flex;
    flex-direction: column; /* Stack text and image vertically */
    justify-content: left;
    align-items: center;
    text-align: left;
    max-width: 60%; /* Adjust the width as needed */
    margin: 0 auto;
}

.about-text {
    max-width: 80%;
    margin-top: 20px;
    margin-bottom: 60px; 
}

.about-text h1 {
    margin-bottom: 4rem; 
}


.about-image-img {
    max-width: 85%;
    height: auto;
}
.about-divider {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid #ccc;
    width: 100%; /* Ensures the divider spans the full width of the container */
    box-sizing: border-box; /* Ensures padding/border doesn't affect the width */
    }
    
.about-text {
    text-align: left;
    
}

.contact-h3 {
    text-align: left;    
    margin-bottom: 0.5rem;
}

.contact-container {
    text-align: left;
    margin: 0 auto; 
    max-width: 700px; 
  }  


.social-links {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
}
  
  .social-links li {
    margin: 0;    
  }
  
  .social-links a {
    text-decoration: none;
    display: inline-block;
  }
  
  .social-links img {
    max-width: 60px;
    height: auto;
    display: block;    
  }

  .social-link {
    text-decoration: none; /* Remove underline from the link */
    color: var(--color1); /* Set the link color */    
}

.social-links img:hover {
    transform: scale(1.3); /* Slightly increase the size of the icon on hover */
}
  


.hr {
    height: 7px;
    background-color: var(--color2);    
    max-width: 100%;
}

.email-link {    
    color: var(--color2);
    font-size: larger;
}

h1, h2 {
    color: var(--color1);
}

p {
    line-height: 1.5;
}

ul {    
    margin: 0; 
    padding: 0;
    padding-left: 40px;
}

li {    
    margin-bottom: 10px; 
    padding-left: 10px; 
    background-repeat: no-repeat; 
    background-size: 10px; 
    background-position: left center; 
}

.portfolio {
    padding-top: 20px;
    padding-bottom: 30px;
    max-width: 90%;   
}

.box h2 {
    text-align: center;
}

.form {
    max-width: 70%;
    margin: 0 auto; 
}

.form-control {
    width: 100%; 
}

/* Navbar styling */
.navbar {   
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 20px;
    border-bottom: none; /* Remove bottom border */
    box-shadow: none; /* Remove any shadow effect */
    padding: 1rem 2rem; /* Adjust padding */
}
.navbar .navbar-brand {
    display: flex; /* Flex for the logo */
    justify-content: flex-start; /* Align logo to the left */
}

/* Ensure the logo stays on the left */
.navbar .navbar-brand img {
    width: 150px;
    padding: 1%;    
    height: auto;
    transition: transform 0.3s ease-in-out;    
}
.navbar .navbar-brand img:hover {
    transform: scale(1.05);
}

/* Navbar items container */
.navbar-nav {
    list-style-type: none; /* Remove bullet points */
    display: flex; /* Align navbar items horizontally */
    justify-content: flex-end; /* Align items to the right */
    flex-grow: 1;
    margin-left: auto; /* Push the items to the right */
}

/* Navbar links */
.navbar-nav .nav-item .nav-link {
    color: var(--color1); 
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0.5rem 1.2rem; /* Add padding for clickable area */
    transition: color 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.navbar-nav .nav-item .nav-link:hover {
    color: var(--color2);
    background-color: var(--color1); 
    text-decoration: none; /* Ensure no underline on hover */
    border-radius: 10px; /* Rounded corners */    
}

/* Responsive navbar toggler */
.navbar-toggler {
    border-color: var(--color2); /* Light Cream */
}

.navbar-toggler-icon {
    background-color: var(--color2); /* Light Cream */
}

/* Navbar when expanded (links are aligned to the right) */
.navbar-collapse {
    justify-content: flex-end; /* Ensure links are aligned to the right */
}

/* Navbar item active state */
.navbar-nav .nav-item.active .nav-link {
    color: #fff; /* White for active link */
    font-weight: bold;
}

/* Footer styling */
footer {
    color: var(--color1);
    text-align: center;
    padding: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Adjust navbar for mobile */
    .navbar-nav {
        flex-direction: column; /* Stack navbar items vertically */
        align-items: center;
    }

    /* Make the about container and text responsive */
    .about-container {
        max-width: 100%;
    }

    .about-text {
        max-width: 90%;
    }

    /* Make image responsive */
    .about-image-img {
        max-width: 100%;
    }
}
.gallery-link {    
    color: var(--color1); /* Set the link color */    
}
.gallery-link:hover {
    transform: scale(2.5); /* Slightly increase the size of the icon on hover */
    background-color: var(--color1);
    color: var(--color2);
}






footer .small {
    font-size: 0.8rem; 
}

footer .text-white {
    color: var(--color1); 
    text-decoration: none; /* Removes underline from the link */
}

footer .text-white:hover {
    text-decoration: underline; 
}

