@font-face {
    font-family: 'walkiria';
    src: url('fonts/Walkiria.ttf') format('truetype');
}

@font-face {
    font-family: 'gothcrap';
    src: url('fonts/Sable.ttf') format('truetype');
}

body, html {
    max-width: 100vw;
    overflow-x: hidden;
}


body {
    background-image: url('images/image_6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'walkiria', sans-serif;
    color: red;

}

.title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    background: rgba(0, 0, 0, .9); 
}

.page-title {
    font-size: 80px;
}

.page-subtitle {
    font-size: 30px;
}

.tabs {
    display: flex;
    flex-wrap: nowrap;
}

/* Style the tab buttons */
.tab-button {
    font-family: 'walkiria', serif;
    font-size: 50px;
    background-color: rgba(0, 0, 0, .8);
    color: red;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.tab-button:hover {
    color: yellow;
}

.tab-button.active {
    background-color: red;
    color: black;
}

/* Style the tab content */
.tab-content {
    display: none;
    padding: 20px;
}

.text-box {
    background: rgba(0, 0, 0, .9);
    text-align: center;
    font-family: 'gothcrap';
    font-size: 40px;
}

@media (max-width: 600px) {
    .page-title, .tab-button {
        font-size: 30px; /* Even smaller font size for small screens */
    }
    .page-subtitle {
        font-size: 10px;
    }
}

@media (max-width: 800px) {

    .title-bar {
        flex-direction: column; /* Stacks children vertically */
    }
    .page-title,
    .tab-buttons {
        font-size: 60px;
        flex: none; /* Prevents flex items from growing */
        justify-content: center; /* Centers items when stacked */
        text-align: center; /* Centers the text for smaller screens */
    }
    .page-subtitle
    {
        font-size: 15px; 
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates 3 columns */
    grid-gap: 30px; /* Adjusts the gap between grid items */
    /* Optional: Define grid-gap for both row and column if different values are desired */
}

.gallery img {
    width: 100%; /* Ensure images fill their cell */
    height: 100%; /* Adjust height to maintain aspect ratio */
    object-fit: cover; /* Cover the cell without distorting the image */
    /* Use 'object-fit: contain;' if you want to see the full image without cropping */
}

  /* Initially hide the content */


/* Style the modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the modal */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }

.frame-container {
    background-color: rgba(0,0,0,.8);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
}

.frame-container img {
    width: 100%; /* Make the image fill the container */
    height: auto; /* Maintain aspect ratio */
    /* Adjust as needed to ensure it fits within the frame */
}


.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh; /* Use the full height of the viewport */
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
    padding: 20px;
    gap: 10px; /* Space between form elements */
    width: 100%; /* Full width of the container */
    max-width: 400px; /* Maximum width of the form */
}

.email-link {
    color: red;
}


#contact-form label {
    align-self: flex-start; /* Align labels to the start */
}

#contact-form input,
#contact-form textarea {
    width: 100%; /* Full width of the form */
    padding: 8px;
    margin: 5px 0; /* Margin for spacing */
    border: 1px solid #ccc; /* Border styling */
    border-radius: 4px; /* Rounded corners */
}

#contact-form textarea {
    height: 100px;
}

#contact-form button {
    font-family: 'gothcrap';
    font-size: 40px;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: red;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

#contact-form button:hover {
    background-color: #0056b3; /* Darker shade on hover */
}
