.hidden {
    display: none;
}

header {

    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
}

header .logo a {
    color: white;
    font-weight: bolder;
    font-size: 30px;
    text-decoration: none;
    padding-left: 25px;
}

header nav ul {
    list-style: none;
    display: flex;
    margin-left: 20px;
    padding-right: 25px;
}

header nav a {
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 20px;
    text-decoration: none;
}

header nav a:hover {
    background-color: #555;
}

footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

footer .social-links a {
    color: white;
    text-decoration: none;
}

footer .social-links a:hover {
    color: blue;
}


body {
    font-family: Arial, sans-serif;
    line-height: 1.8;
    padding: 15px;
    background-color: #f4f4f4;
}

main h1 {
    font-size: 45px;
    text-align: center;
    margin-bottom: 5px;
}

.bio-pic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 80%;
    margin: 0 auto;
}

.bio-pic .bio {
    margin: 20px;
    margin-top: 5px;
    flex: 1;
    font-size: clamp(1rem, 2vw, 2.5rem);
    /* clamp because we dont want too big dont want too small */
    /* remember to use this again over just rem(always messes up) */

}

.bio-pic .self-image {
    max-width: 50%;
    height: auto;
    border-radius: 15px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px;
}

.cta-buttons a {
    display: inline-block;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    color: white;
    background-color: maroon;
    border-radius: 5px;
    padding: 10px 20px;
}

.cta-buttons a:hover {
    background-color: #890929;
}

.longBio {
    padding: 20px;
}

.longBio p {
    margin-bottom: 20px;
}

.project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project-box {
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-box:hover {
    transform: scale(1.05);
}

.project-box img {
    width: 100%;
    height: 300px;
    object-fit: fill;
}

.project-info {
    padding: 10px;
}

.project-info h2 {
    margin-top: 0;
    font-size: 1.25em;
}

.project-info p {
    margin: 0;
    color: #666;
}

.resume-download-button {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px;
}

.resume-download-button a {
    display: inline-block;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    color: white;
    background-color: maroon;
    border-radius: 5px;
    padding: 10px 20px;
}

.service {
    display: flex;
    align-items: center;
    padding: 20px;
}

.serv-text {
    flex: 1;
    margin-right: 20px;
}

.serv-text-right {
    flex: 1;
    margin-left: 20px;
}

.serv-img {
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#theme-switch {
    position: relative;
    font-size: 20px;
    padding: 10px;
    background-color: #333;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#theme-switch:hover {
    background-color: maroon;
    color: white;
}

#theme-switch::after {
    content: "Enter The Matrix";
    position: absolute;
    top: 50%;
    left: 110%;
    transform: translateY(-50%);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s, left 0.3s;
    font-size: 16px;
}

#theme-switch:hover::after {
    opacity: 1;
    left: 120%;
}