/* Default style */
body {
    font-family: Noto Sans, sans-serif;
    margin: 0;
    padding: 0;
    font-weight: 200;
    font-size: 16px;
}

/* Navigation bar */
nav {
    background-color: rgba(255, 255, 255, 1);
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: background-color 2s ease;
    display: flex; /* Use flexbox */
    justify-content: space-between;
    align-items: center;
}

/* Navigation bar: Brand */
nav .brand-name {
    margin: 0;
    font-size: 22px;
    text-align: left;
    margin-bottom: 2px;
    letter-spacing: 1px;
}
nav .brand-artist {
    margin: 0;
    font-size: 19px;
    text-align: left;
}

/* Navigation bar: Menu items */
nav .menu-items {
    flex-grow: 1;
    text-align: center;
}
nav .menu-items a {
    color: #000;
    text-decoration: none; /* Remove underline */
    font-size: 22px;
    margin-right: 100px;
    font-weight: 150;
    letter-spacing: 1.5px;
}

/* Hide cropped image */
.home-image {
    width: 100%;
}
.home-image-cropped {
    display: none;
    width: 100%;
}

/* Image grid and stack */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-gap: 20px;
    padding-left: 20px;
    padding-right: 20px;
}
.image-grid img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Center images horizontally */
}
.image-stack {
    display: none;
    width: 92%;
    margin-left: 4%;
    margin-right: 4%;
    margin-bottom: 18px;
}

/* Artwork details */
.artwork-details {
    margin-top: 50px;
    margin-left: 40px;
    margin-bottom: 50px;
    line-height: 10px;
}

/* Artist information */
.artist-info {
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    width: 1100px;
    max-width: 90%;
    display: block;
    line-height: 25px;
}

/* Contact details */
.contact-form {
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    text-align: left;
}

input {
    width: 500px;
    height: 30px;
    border: none;
    border-bottom: 1px solid;
    font-size: 16px;
    font-weight: 300;
}

textarea {
    width: 500px;
    border: none;
    border-bottom: 1px solid;
    font-size: 16px;
    font-weight: 300;
}

button[type="submit"] {
    font-size: 16px;
    font-weight: 300;
}

/* Hide sandwich menu and x buttons */
.toggle-menu {
    display: none;
    width: 30px;
    height: auto;
}
.close-menu {
    display: none;
    width: 30px;
    height: auto;
}

/* Media query for small screens */
@media (max-width: 1100px) {
    /* Show sanwich menu */
    .toggle-menu {
        display: block;
        top: 20px;
        right: 20px;
        cursor: pointer;
        
    }
    
    /* Expanded andwich menu */
    .menu-items {
        display: none; /* Hide by default */
        position: fixed;
        top: 0px;
        right: 0px;
        width: 80%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: right;
    }

    .menu-items a {
        margin: 20px;
        margin-left: 20%;
    }

    /* Show menu items and close button when sandwich is pressed */
    .menu-items.active {
        display: flex;
    }
    .close-menu.active {
        display: flex;
        z-index: 999;
        position: absolute;
        top: 24px;
        right: 15px;
        cursor: pointer;
    }
    
    /* Hide full home image */
    .home-image {
        display: none;
    }
    .home-image-cropped {
        display: inline-block;
    }
    
    /* Hide image grid */
    .image-grid{
        display: none;
    }
    .image-stack{
        display: block;
    }
    
    /* Decrease artwork details gap */
    .artwork-details {
        margin-top: 30px;
        margin-left: 20px;
        margin-bottom: 30px;
    }
    
    /* Contact details */
    input {
        width: 300px;
    }

    textarea {
        width: 300px;
    }

    button[type="submit"] {
        width: 300px;
    }
}
