/* ===== BASE ===== */
body{
    margin:0;
    font-family:"Helvetica Neue", Arial, sans-serif;
    color:#222;
    background:url("images/background.jpg") no-repeat center center fixed;
    background-size:cover;
}

.overlay{
    background:rgba(255,255,255,0.6);
    min-height:100vh;
}

.container{
    max-width:900px;
    margin:auto;
    padding:40px 20px;
}

/* ===== NAVBAR ===== */
nav{
    text-align:center;
    margin-bottom:40px;
    flex-wrap:wrap;
}

nav a{
    margin:8px 14px;
    text-decoration:none;
    color:#111;
    font-weight:600;
    letter-spacing:1px;
    display:inline-block;
}

nav a:hover{
    text-decoration:underline;
}

/* ===== TITLES ===== */
h1{
    text-align:center;
    margin-bottom:30px;
    font-weight:600;
    font-size:2.6rem;
}

/* ===== PROFILE IMAGE ===== */
.profile{
    text-align:center;
    margin-bottom:30px;
}

.profile img{
    width:170px;
    max-width:80%;
    height:auto;
    border-radius:6px;
}

/* ===== CONTENT ===== */
.section{
    margin-bottom:40px;
    line-height:1.7;
    font-size:1.2rem;
}

ul{
    line-height:1.7;
    padding-left:20px;
}

/* ===== LINKS ===== */
a{
    color:#003366;
}

/* ===== FOOTER ===== */
.footer{
    margin-top:60px;
    border-top:1px solid #ccc;
    padding-top:20px;
    font-size:14px;
    text-align:center;
}

/* =========================
        MOBILE DESIGN
========================= */

@media (max-width:700px){

.container{
    padding:25px 18px;
}

h1{
    font-size:1.7rem;
}

nav{
    display:flex;
    flex-direction:column;
    gap:10px;
}

nav a{
    margin:0;
    padding:8px 0;
    border-bottom:1px solid #ddd;
}

.section{
    font-size:1rem;
}

.profile img{
    width:140px;
}

}

/* =========================
        SMALL MOBILE
========================= */

@media (max-width:420px){

h1{
    font-size:1.4rem;
}

.section{
    font-size:0.95rem;
}

}
