* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
    color: white;
}

body {
    min-width: 320px;
    background-color: black;
    color: white;
}


/*Navigation bar*/
.site-header {
    background-color: black;
    border-bottom: 1px solid #ffffff;
}

.site-nav {
    width: min(100% - 3rem, 1200px);
    min-height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}

.brand__photo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.brand__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.brand__name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand__title {
    color: white;
    font-size: 0.82rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    list-style: none;
}

.nav-links a {
    color: white;
    font-size: 0.94rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #83ccec;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid white;
    border-radius: 8px;
    background: transparent;
    color: white;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: currentColor;
}

.nav-toggle:focus-visible {
    outline: 2px solid #83ccec;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .site-nav {
        position: relative;
        min-height: 78px;
    }

    .brand__photo {
        width: 50px;
        height: 50px;
    }

    .nav-toggle {
        display: block;
        flex-shrink: 0;
    }

    .nav-links {
        position: absolute;
        z-index: 1;
        top: calc(100% - 0.25rem);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem;
        border: 1px solid white;
        border-radius: 10px;
        background: black;
        box-shadow: 0 12px 28px rgb(32 43 53 / 12%);
    }

    .nav-links.is-open {
        display: flex;
        flex-direction: column;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem 0.75rem;
        border-radius: 6px;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
        background: white;
    }
}

@media (max-width: 420px) {
    .site-nav {
        width: calc(100% - 2rem);
        gap: 0.75rem;
    }

    .brand {
        gap: 0.65rem;
    }

    .brand__name {
        font-size: 0.98rem;
    }

    .brand__title {
        font-size: 0.75rem;
    }
}


/*About me*/

.resume-content {
    width: calc(100% - clamp(2rem, 8vw, 6rem));
    max-width: 640px;
    margin-inline: auto;
    overflow-wrap: break-word;
}

.section-title{
    font-size: 3em;
    margin-top: 1em;
    margin-left: 0.5em;
    font-weight: normal;
    font-style: italic;

}

.about-text{
    font-size: 1.2em;
    margin-inline: 0.5em;

}

.mini-facts{
    font-size: 1em;
    margin-top: 1em;
    margin-left: 0.5em;
    
}

img {
  display: block;        /* Changes inline element to block level */
  margin: 0 auto;       /* 0 for top/bottom, auto calculates left/right */
  max-width: 70%;       /* Ensures responsiveness on smaller screens */
  height: auto;
  margin-top: 1em;
}

.resume-photo {
  width: 100%;
  max-width: 600px;
  filter: drop-shadow(8px 8px 10px rgba(0, 0, 0, 0.5));
  border-radius: 20px;
}

.astrophoto{
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(8px 8px 10px rgba(0, 0, 0, 0.5));
    border-radius: 20px;
    border: 2px solid white;
    border-radius: 800px; 

}