/* Code written by Randal R. Ketchem with the help of AI */

:root {
    --KBC: #c9cfd6;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

header {
    /* background-color: #004080; */
    /* background-color: #617486; */
    /* background-color: #c6ccd0; Navy Gray*/
    background-color: var(--KBC);
    color: #000;
    padding: 20px 0;
    /* Adjusted padding */
    text-align: center;

    /* To place the logo */
    display: flex;
    align-items: center;
    /* Align items to center */
    justify-content: center;
    /* Removed padding-left */
}

/* For the logo */
header img {
    width: 100px;
    height: auto;
    margin-top: 0px;
}

header h1 {
    margin: 20px 0px 0px 0px;
}

header p {
    margin: 0px 0px 0px 0px;
}

/* New content container to set a max width and center content */
.container {
    max-width: 1000px;
    /* Adjust this value to your preferred max width */
    margin: 0 auto;
    /* Center the container on the page */
    padding: 0 20px;
    /* Add some padding on the sides for smaller screens */
}

main {
    padding: 20px 0;
    /* Adjusted padding to be vertical only */
    margin-left: 0;
    /* Removed margin-left */
}

.intro {
    /* border-top: 1px solid black; */
    /* border-bottom: 1px solid black; */
    margin-bottom: 20px;
}

.profile {
    overflow: hidden;
    /* margin-bottom: 20px; */
    margin-bottom: 0px;
}

.profile p {
    margin: 0px;
}

.profile h1 {
    font-weight: 500;
    margin-bottom: 0px;
}

.profile-picture {
    float: right;
    width: 150px;
    /* Set a larger, fixed size for better control */
    max-width: 15%;
    /* Keep it responsive */
    height: auto;
    border-radius: 25%;
    /* Adjusted margin to bring it closer to the text */
    margin: 20px 0px 10px 30px;
    border: 3px solid #000;
}

.main-title {
    /* font-family: Arial, sans-serif; */
    font-size: 4rem;
    letter-spacing: 0.35rem;
    /* Adjust as needed */
    /* font-weight: normal; */
    /* font-weight: 100; */
    text-transform: uppercase;
    line-height: 0.9;
    /* Tighter line height */
    margin-bottom: 0;
}

.subtitle {
    font-size: 1.8rem;
    /* Adjust as needed */
    margin: 0px 0px 5px 0px;
}

.information h2 {
    font-weight: 500;
    /* color: #004080; */
    color: #000;
    margin: 0px 0px 10px 0px;
}

ul {
    list-style-type: square;
    padding-left: 20px;
    margin: 0px 0px 20px 0px;
}

a {
    /* color: #004080; */
    color: black;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    /* background-color: #004080; */
    background-color: var(--KBC);
    color: #000;
    padding: 10px 0;
    margin-top: 20px;
}

/* Email Copy Button */
.email-container {
    /* font-size: 1em; */
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0px;
}

.email-container a {
    /* font-size: 1em; */
    color: inherit;
    text-decoration: underline;
}

.email-container a:hover {
    text-decoration: underline;
}

#copyButton {
    /* padding: 5px 10px; */
    /* font-size: 14px; */
    border: none;
    /* border: 1px solid #ccc; */
    /* border-radius: 5px; */
    background-color: white;
    color: black;
    cursor: pointer;
    /* transition: background-color 0.3s; */
}

#copyButton:hover {
    background-color: #f0f0f0;
}

.popup {
    /* position: absolute; */
    /* top: -40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px; */
    background-color: #28a745;
    color: white;
    font-size: 12px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* End Email Copy Button */

@media only screen and (max-width: 480px) {
    header {
        padding-left: 0px;
        /* Removed previous compensation */
        /* align-items: flex-start; */
    }

    /* Ensure the header content respects the container width */
    header .text {
        max-width: 100%;
    }

    header img {
        width: 70px;
        margin-top: -110px;
    }

    .profile-picture {
        width: 120px;
        /* Adjust size for mobile */
        max-width: 25%;
        margin: 25px 0px 0px 20px;
        /* Adjusted margins */
    }

    main {
        padding: 20px 0;
        /* Rely on container padding */
    }

    .main-title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    /* .email-container a {
        font-size: 18px;
    } */
}
