/* Global styles for all pages */
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Megrim&display=swap');

/* Common styles for all pages */
body {
    margin: 0;
    padding: 0;
}

p {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

.container {
    display: flex;
    min-height: 100vh;
}

nav {
    background-color: #1A0F28;
    width: 200px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 400px 0;
    /* Adjust the padding as needed */
}

.menu {
    list-style-type: none;
    align-items: left;
    left: 35px;
    position: absolute;
    padding: 5px;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 20px; /* Adjust the font size as needed */
}

.menu li {
    margin-bottom: 30px;
}

.menu li a {
    display: block;
    text-decoration: none;
    color: #fff;
}

/* Adjusted CSS for the logo and text alignment */
.logo {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    padding: 20px;
    color: #fff;
    font-size: 5px;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: auto;
    margin-top: 5px;
    transform: translateX(-60%);
    left: 50%;
}

.logo img {
    max-width: 180%;
    height: auto;
    display: block;
    margin: -300px;
    margin-top: -40px; /*Adjust this value to move the image up/down*/
    margin-left: 14px; /* Adjust this value to move the image to the right */
}

h1 {
    font-size: 35px;
    font-family: "Megrim", cursive;
    font-weight: lighter;
    transform: translateX(-5%);
    left: 50%;
}

h2 {
     font-family: "Montserrat", sans-serif;
     font-weight: 1; /* Adjust the value to make the font even lighter */
     font-size: 55px;
     color: #1A0F28;

}

/* Style for the copyright message */
.copyright {
    text-align: center;
    color: #fff;
    font-size: 10px;
    padding: 10px;
    background-color: #1A0F28;
    position: absolute;
    bottom: 0; /* Position at the bottom of the container */
    left: 0;
    width: auto; /* Make it span the full width */
}

/* CSS for the gallery page */
.gallery-subject {
    text-align: center;
    color: #eb2121;
}
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 160px; /* Add margin to the left for container */
}

.gallery-item {
    width: 350px;
    height: 150px;
    margin: 10px;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Position arrows on the preview modal */
.arrow-container {
    position: relative;
}

.arrow {
    font-size: 24px;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 50%;
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

/* Preview Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #fff;
}

#preview-image {
    max-width: 100%;
    max-height: 70vh;
    margin-bottom: 10px;
}

.preview-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#preview-title {
    font-size: 24px;
    margin-bottom: 10px;
}

#preview-description {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

.close {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}
