@import url('https://fonts.googleapis.com/css2?family=Anton&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
    margin-top: 200px;
    height: 83vh;
}

@media (max-width: 950px) {
    body{
        margin-top: 140px;
    }
}

html {
    height: 98%;
}


.navbar {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: 0px;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    z-index: 10;
}
@media (max-width: 1600px) {
    .navbar {background-color: white;}
}

.navbar h1 {
    font-family: Anton;
    font-size: 60px;
    line-height: 1;
    margin: 0;
}

.navbar h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    margin: 0;
}
a {
    color: black;
    text-decoration: none;
}

.logo{
    padding: 30px;
}

.logo a:hover {
    opacity: 80%;
    transition: .5s;
}

.header{
    justify-self: end;
    position: fixed;
    top: 0;
    right: 0;
    margin: 30px;
    padding-top: 30px;
}

.header a:hover {
    opacity: 50%;
    transition: 0.3s;
}

.image-container a:hover {
    opacity: 80%;
}

.header {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

/* --- Hamburger Styles --- */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    margin-top: 15px;
    margin-right: 15px;
    position: fixed;
    top: 0;
    right: 0;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: black;
    margin: 6px 0;
}

.subtitle h2 {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 25px;
    font-weight: 200;
    line-height: 1;
    margin: 20px;
}

.cont{
    max-width: 1300px;
    margin: auto;
}

.image-container {
    display: flex;
    gap: 2%;
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    max-width: 90%;
}

.image-card {
    flex: 1;
    display: block;
    color: black;
    transition: opacity 0.3s ease;
}

.image-card:hover {
    opacity: 80%; 
}

.image-container img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    display: block;
}

.image-container h3 {
    margin-top: 12px;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
    font-size: 17px;
}

.footer {
    position: sticky;
    margin-right: 10px;
    margin-left: 10px;
    top: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    justify-content: center;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
}

.footer h3 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
    display: block;
}

/* --- Existing 950px Media Query --- */
@media (max-width: 950px) {
    .navbar h1{ font-size: 45px; }
    .navbar h2{ font-size: 25px; }
    .image-container { flex-direction: column; align-items: center; }
    .image-card { width: 100%; max-width: 400px; }
}

/* --- New 700px Hamburger Media Query --- */
@media (max-width: 700px) {
    .hamburger { display: block; }

    .header {
        display: none; /* Hide default menu */
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        margin: 0;
    }
    .logo{
        padding: 20px;
    }

    .header.show {
        display: flex; /* Toggle via JS */
    }
    .footer {grid-template-columns: 1fr;}
}

@media (max-width: 500px) {
    .navbar h1{ font-size: 38px; }
    .navbar h2{ font-size: 21px; }
}

/* images */
.container{
    max-width: 800px;
    margin: auto;
}

.subcontainer{
    max-width: 80%;
    margin: auto;
}


.subcontainer img {
    width: 100%;
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: auto;
}


@media (max-height: 1000px) {
    .container{
        max-width: 600px;
    }
}

/*about*/
.about{
    max-width: 80%;
    margin: auto;
    text-align: center;
}
.about p{
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 200;
}
.listing{
    line-height: 40px;
    padding: 40px;
}
.about-img{
    max-width: 1600px;
    margin: auto;
    text-align: center;
    padding: 40px;
}
.about-img img{
    max-width: 80%;
    max-height: 350px;
    margin: auto;
    display: block;
}
.about-img a{
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
    font-size: 10px;
}

.social{
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 15px;
    display: flex;
}
.social img{
    height: 50px;
}