body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f2f0ee; /* Background color for the whole page */
}

.pin-note {
    position: fixed;
    left: 50px;
    top: 300px;
    width: 200px;
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-family: Arial, sans-serif;
    transform: rotate(-3deg);
}

.pin-note:before {
    content: '';
    width: 15px;
    height: 15px;
    background-color: grey; /* Red pin top */
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); /* Shadow for depth */
    position: absolute;
    top: -8px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.update-note {
    font-family: 'Architects Daughter', cursive;
    font-size: 30px;
    transform: rotate(-1deg);
}


.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding: 10px; /* Added padding to ensure some space around the card on smaller screens */
}

.card {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column; /* Elements are stacked vertically */
    align-items: stretch; /* Stretch children to match the width of the container */
    width: 65%;
    height: 91%; /* Allows the cards height to "grow" */
    min-width: 300px; /* Prevent the card from being too small */
    max-width: 1000px; /* Prevent the card from being too wide */
    margin: auto; /* Center the card in the available space */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3);
    padding: 16px;
    background-color: #ffffff;
    border-radius: 8px; /* Adjust for rounder corners */
    overflow: hidden;
}

#name {
    font-family: 'Architects Daughter', cursive;
    font-size: 110px;
    font-weight: lighter;
    transform: rotate(3deg);
    display: block;
    margin-top: -15%;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding: 10px 16px; /* Adjusted padding */
    height: auto; /* Flexible height */
    margin-top: -10%;
}

.logo img {
    display: inline-block;
    height: 300px; /* Adjusted height */
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease; /* For smoother animation */
}

.logo {
    padding: 1%;
    display: flex;
    align-items: center;
}

.logo a:hover img {
    transform: scale(1.1);
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.nav-links {
    display: flex; /* Use flexbox to align items horizontally */
    list-style-type: none; /* Removes default list styling */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
    margin-right: 25px;
}

.nav-links li {
    margin-left: 20px; /* Spacing between the links */
}

.nav-links a {
    text-decoration: none; /* Removes underline from links */
    color: black; /* Set the color of the links */
    font-size: 16px; /* Set the size of the link text */
}

.main-content {
    display: flex;
    flex-direction: row; /* Elements side by side */
    flex-grow: 1; /* Take up remaining space */
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space between text and image */
}

.content-left {
    flex: 1.2; /* Allocate space for the text content */
    margin-bottom: 30%;
    margin-left: 8%;
}

.title {
    margin-top: -60px;
    font-family: 'Architects Daughter', cursive;
    font-size: 20px;
    transform: rotate(1deg);
}

.info-text {
    font-family: 'Architects Daughter', cursive;
    font-weight: 600;
    transform: rotate(-1deg);
    font-size: 20px;
}

.avatar-image {
    flex: 1; /* Allocate space for the image */
    display: flex;
    justify-content: center; /* Center image horizontally */
    align-items: center; /* Center image vertically */
    margin-bottom: 300px;
}

.avatar-image img {
    max-width: 100%; /* Limit the size to the container */
    max-height: 100%; /* Limit the size to the container, maintain aspect ratio */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
}

@media (max-width: 1400px) {

    .pin-note {
        display: none;
    }

    .card {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align the items */
        width: 90%;
        height: auto; /* Flexible height to accommodate content */
    }

    .logo img {
        height: 200px; /* Adjusted logo size for smaller screens */
        width: auto;
    }

    #name {
        margin-top: 0;
    }

    .top-bar {
        width: 100%;
        margin-right: 10%;

    }

    .main-content {
        flex-direction: column; /* Stack text and image vertically on smaller screens */
        align-items: center; /* Center align items */
    }

    .content-left, .avatar-image {
        width: 90%; /* Full width on small screens */
        margin-bottom: 0;
        margin-right: 0;
    }

    .avatar-image img {
        max-width: 55%; /* Adjust image size for smaller screens */
        height: auto; /* Maintain aspect ratio */
    }
}



.button {
    align-self: center;
    background-color: #fff;
    background-image: none;
    background-position: 0 90%;
    background-repeat: repeat no-repeat;
    background-size: 4px 3px;
    border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
    border-style: solid;
    border-width: 2px;
    box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
    box-sizing: border-box;
    color: #41403e;
    cursor: pointer;
    display: inline-block;
    font-family: 'Architects Daughter', cursive;
    font-size: 1.7rem;
    font-weight: normal;
    line-height: 23px;
    outline: none;
    padding: .75rem;
    text-decoration: none;
    transition: all 235ms ease-in-out;
    border-bottom-left-radius: 15px 255px;
    border-bottom-right-radius: 225px 15px;
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin-top: 20px;
}

.button:hover {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
    transform: translate3d(0, 4px, 0);
}

.button:focus {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}

/* Existing styles... */

.top-bar {
    display: flex;
    justify-content: space-between; /* Space out items */
    align-items: center; /* Vertically align items */
    /* ... other styles ... */
}


.hamburger-menu {
    display: none; /* Hidden by default */
    cursor: pointer;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

/* Adjust styles for smaller screens */
@media (max-width: 1401px) {
    .nav-links {
        display: none; /* Hide the menu items */
        /* ... other styles ... */
    }

    .hamburger-menu {
        display: block; /* Show the hamburger icon */
    }

    /* Styling when menu is active */
    .nav-links.active {
        display: block; /* Show menu items */
        /* ... other styles ... */
    }

    .nav-links {
        display: none; /* Hide the menu items by default on smaller screens */
        flex-direction: column; /* Stack the links vertically */
        align-items: center; /* Center align the items */
        width: 100%; /* Full width */
        padding: 0; /* Remove default padding */
    }

    .nav-links li {
        width: 100%; /* Full width for each link */
        text-align: center; /* Center the text */
        margin: 10px 0; /* Add spacing between menu items */
    }

    .nav-links a {
        display: block; /* Make the link take the full width of its container */
        padding: 10px 0; /* Add some vertical padding */
        /* ... other styles ... */
    }

    /* Style when hamburger menu is active */
    .nav-links.active {
        display: flex; /* Show the menu items */
    }

}

.card-footer {
    flex: 0 0 100%;
    text-align: center;
    padding: 20px;
    font-family: Arial, sans-serif; /* Or any other font you are using */
    font-size: 0.8em; /* Adjust size as needed */
    color: #333; /* Adjust to match the website's theme */
}

.footer-line {
    border: 0;
    height: 2px;
    width: 70%;
    background-image: linear-gradient(to right, transparent, #333, transparent);
    margin-bottom: 20px; /* Space between the line and the footer text */
}
