@import url('https://fonts.googleapis.com/css2?family=Lora:wght@700&family=Roboto:wght@400&display=swap'); /* Importing fonts for styling */
@import "cssreset.css";
@import "nav.css";

/* Styling for active link (breadcrumb) */
.nav-list li a[aria-current="page"] {
    text-decoration: underline !important; /* Add underline for active link */
    font-weight: bold; /* Optional: Make it bold for emphasis */
    color: white; /* Optional: Highlight with a different color */
}
.content {
    margin-top: 60px; /* Prevent content from overlapping with fixed header */
}
#top{
    display: grid;
    grid-template-columns: 1fr 1fr;   
    padding: 20px 0;
}

#top .info{
    flex: auto;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
       
}


.info h1 {
    font-size: 3rem; /* Large size for emphasis */
    font-family: 'Lora', serif; /* Fashionable serif font */
    color: #2c3e50; /* Dark modern color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    margin: 0;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}

.info p {
    font-size: 1.2rem; /* Slightly larger than normal text */
    font-family: 'Roboto', sans-serif; /* Clean and modern sans-serif font */
    color: #34495e; /* Complementary dark gray color */
    line-height: 1.6; /* Improves readability */
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
}

.info a {
    display: inline-block; /* Makes the link behave like a button */
    font-size: 1rem;
    font-weight: bold; /* Makes the link text bold */
    text-decoration: underline; /* Adds underline to the link */
    color: black; /* Stylish blue color for links */
}

.info a:hover {
    color: #3498db; /* Slightly lighter blue on hover */
}
.info a:focus {
    outline: none; /* Removes default focus outline */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Adds shadow effect on focus */
}

#top .info-img .background-img{
    background: url("../IMG/Tim-headshot.jpg");
    width: 100%;
    height: 555px;
    padding-top: 10%;
    padding-bottom: 10%;
    background-position: center center;
    background-size: cover;
    max-width: 600px ;
    max-height: 800px;
    
}

.info h1 {
    font-size: 3rem; /* Already in rem */
}

.info p {
    font-size: 1.2rem; /* Already in rem */
}

.info a {
    font-size: 1rem; /* Already in rem */
}
/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
    #top {
        display: flex; /* Switch from grid layout to flexbox */
        flex-direction: column; /* Stack elements vertically */
        padding: 10px; /* Adjust padding for smaller screens */
    }

    .info {
        order: 1; /* Ensure text appears first */
        padding: 20px;
        text-align: center; /* Center-align text for better readability */
    }

    .info-img {
        order: 2; /* Ensure image appears below text */
        width: 100%; /* Make image responsive */
        height: auto; /* Maintain aspect ratio */
        max-width: 300px; /* Limit maximum width */
        margin: 0 auto; /* Center image horizontally */
    }

    .background-img {
        background-size: cover;
        background-position: center;
        width: 100%; /* Adjust width for smaller screens */
        height: 200px; /* Reduce height for better fit */
    }
}



