/* ABOUT/CONTACT STYLES */
body {
    background-color: black;
    color: white;
    font-family: Helvetica, sans-serif;
}

img{
    max-width: 50%;
    height:auto;
}

.menu-item {
    font-size: 20px;
    margin: 20px;
    font-family: 'Inter';
    text-decoration: none;
    color: white;
}

.menu-item:hover {
    color: #0000ff;
    transition: 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 10px;
    background-color: black;
    border: 5px solid  #000083;
    border-radius: 25px;
}

h1, h2{
    color: white;
    text-align: center;
    font-family: "BBH Bartle";
}

p{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

body {
    display: flex;
    flex-direction: column;    
    min-height: 100vh;         
}

/* Step 2 — tell the main content to grow and fill all available space */
/* This pushes the footer down to the bottom */
main {
    flex-grow: 1;    /* this is the magic — it stretches to fill the gap */
}

/* Step 3 — the footer just sits naturally at the bottom */
footer {
    /* no special positioning needed! */
}

/* Step 1 — define the animation */
/* "from" is the starting state, "to" is the ending state */
@keyframes riseUp {
    from {
        opacity: 0;                  /* starts invisible */
        transform: translateY(60px); /* starts 60px below where it should be */
    }
    to {
        opacity: 1;                  /* ends fully visible */
        transform: translateY(0);    /* ends in its normal position */
    }
}

/* Step 2 — apply the animation to your headshot image */
.kate {
    animation: riseUp 3s ease forwards;
}

.about-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start; 
    gap: 40px;
    padding: 40px;
}

.kate {
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    animation: riseUp 2s ease forwards;
}

.about-boxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.about-box p {
    max-width: 100%;
    margin: 0 0 10px 0;
}

.about-box {
    outline: 2px solid #000083;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 0px 10px #0000ff;
}

.about-box h2 {
    text-align: left; 
    margin-top: 0;
}

.about-box a {
    text-decoration: none;
}


a:visited {
    color: white;  
}

/* for mobile */
@media (max-width: 1080px) {

    img {
        max-width: 90%;
    }

    nav {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .about-layout {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }

    .kate {
        max-width: 90%;
    }

}

/* sidenav hidden by default */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    box-shadow: 0px 0px 10px #0000ff;
    overflow-x: hidden;
    transition: width 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
}

.sidenav a {
    color: white;
    font-family: 'Inter';
    font-size: 20px;
    text-decoration: none;
    padding: 15px 20px;
}

.sidenav a:hover {
    color: #0000ff;
    transition: 0.3s;
}

.closebtn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
}

/* hamburger icon hidden for desktop */
.hamburger {
    display: none;
    font-size: 36px;
    color: white;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 1080px) {
    nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
}