* {
    Margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background-color: rgb(255, 243, 228);
    color: rgb(163, 19, 19);
    line-height: 1.6;
}
/*Fixed Navbar*/
.navbar {
    position: sticky; /*Fixes the element in place on the screen*/
    top: 0; /*Place the top of the element at the very top of the browser window*/
    width: 100%;
    background-color: rgb(255, 243, 228);
    color: rgb(163, 19, 19);
    padding: 15px 0; /*adds 15px of padding to the top and bottom, 0 to the sides */
    z-index: 1000; /*makes the element stay on the top of others by giving it a high valve*/

}
.nav-container {
    width: 85%; /*Sets the element width to 85% of its parent container*/
    margin: auto; /*horizontally centres the elements to it's parent*/
    display: flex; /*enables flexiable layout*/
    justify-content: center; /*Distributes child items evenly, with space betwwwn them */
    align-items: center; /*Vertically centres child items within the container.*/
    gap: 20px;
}

.logo {
    font-size: 25px;
    color: rgb(163, 19, 19);
    text-decoration: none;
}

.nav-links {
    list-style: none; /*removes bullet points*/
    display: flex;
    gap: 205px;
}

.nav-links li a { /*sets the attributes of links*/
    color: rgb(163, 19, 19);
    text-decoration: none; /*removes the default underline from the link*/

}

.nav-links li a:hover {
    text-decoration: underline;
}

main {
    width: 98%;
    margin: 10px auto 50px auto; /*creating space for the nav*/
    height: 120vh;
}

.hero {
    position: relative;
    height: 500px;
    overflow: visible; /*extra content is invisible beyond the box*/
    margin-top: 0;
}

.hero-img   {
    width: 100%;
    height: 120vh;
    object-fit: contain; /*Fill the container without distortion. Crops if necessary to maintain aspect ratio*/
    object-position: center;
    display: block; /*treats the image like a block element*/
    position: static;
}

.hero-text {
        position: absolute;
        top: -150px;
        left: 50%;
        transform: translateX(-50%);
        color: rgb(163, 19, 19);
        padding: 15px 20px;
        border-radius: 12px;
}

.hero-text h1 {
    font-size: 316px;
}

.footer {

    background-color: rgb(255, 243, 228);
    color: rgb(163, 19, 19);
    display: flex;
    justify-content: space-between;
    text-align: left;
    padding: 10px;
    flex-wrap: wrap; /* helps stack on small screens */
  
  }
   
.footer-right {
    text-align: right;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 42px;
    width: 45;
    font-weight: bold;

}

  .footer-left {
    width: 45%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: rgb(163, 19, 19);

  }

  .gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 60px;
  }
  /* Each gallery item should get a square box */

  .gallery {
    flex: 1 1 calc(25% - 20px);
    box-sizing: border-box;
    text-align: center;
  }
  /* Make image container square */

  .gallery a {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1; /* This makes it a square */
    overflow: hidden;
  }

  .gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps the image filling the square nicely */
    display: block;
  }

  /* Description text below */
  .desc {
    padding: 10px 0;
    font-size: 16px;
    padding-bottom: 100px;
    text-align: left;
  }
  
  .gallery p {
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
   
  }
 
 


