/* 

about.css
Custom styles for the about page

Author: Luke Wulf
Date: September 14, 2024

*/

/* Background styling */
header::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    display: block;
    background-image: url(../Images/dark_wood4.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    filter: brightness(0.5);
}

header {
    max-height: 250px;
}

/* Header */
header h1 {
    text-align: center;
    font-weight: 900;
    font-size: 3rem;
    color: var(--color-primary);
    margin: 120px 20px 20px 20px;
}

header hr {
    border: 2px solid var(--color-secondary-light);
    width: 50%;
    max-width: 400px;
    margin: 20px auto 20px auto;
}

/* Main content layout */
.about-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 20px;
}

/* Image Styling */
.about-main img {
    width: 50%;
    max-width: 370px; /* Matches the hovered size */
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Text container */
.about-main .text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 50%;
}

/* Text Styles */
.about-main .text-container .description,
.about-main .text-container .single-line,
.about-main .text-container .link {
    text-align: center;
    font-size: 1.6rem;
    margin: 15px 0;
    color: var(--color-text-dark);
}

/* Link hover effect */
.about-main .text-container a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.about-main .text-container a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Divider Styling */
hr {
    width: 90%;
    max-width: 800px;
    margin: 30px auto 10px auto;
    border: 1px solid var(--color-secondary-light);
}

/* Full Biography Section */
.full-bio {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: justify;
}

.full-bio p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--color-text-dark);
}

/* Mobile Optimization */
@media (max-width: 800px) {
    .about-main {
        flex-direction: column;
        text-align: center;
    }

    .about-main img {
        width: 80%;
        max-width: 300px;
    }

    .about-main .text-container {
        max-width: 100%;
    }

    .full-bio {
        padding: 10px;
    }
}

