@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&family=Raleway:wght@100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-size: 62.5%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    font-size: 1.6rem;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  color: #800000;
  margin-bottom: 16px;
}

h2 {
    margin-top: 32px;
}

h4 {
    color: black;
}

p, a, ul, ol, form, label, input[type=text] {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

p.narrative {
    margin-bottom: 16px;
    line-height: 26px;
    max-width: 600px;
    font-size: 18px;
}

a {
  text-decoration: none;
}


.content {
    flex: 1; /* This makes the content area grow to fill available space */
}

header {
  height: 96px;
  background: #1c5a96;
}

img#logo {
  position: absolute;
  height: 64px;
  top: 16px;
  left: 16px;
}

img#hamburger {
  position: absolute;
  top: 16px;
  right: 16px;
  height: 64px;
}

img.facebook {
  height: 32px;
  position: absolute;
  display: none;
}

.main-nav {
  background: #68ab34;
  width: 100%;
  position: absolute;
  left: -9999px;
}

ul#navi-top {
  padding-top: 8px;
  padding-bottom: 8px;
  background: #68ab34;
}

ul#navi-top a {
  color: white;
}

ul#navi-top li {
  padding-left: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

ul#navi-top a:active {
  color: white;
}
ul#navi-top a:visited {
  color: white;
}

ol {
    max-width: 600px;
    font-size: 18px;
    margin-left: 20px;
    line-height: 26px;
}
ol li {
    margin-bottom: 16px;
}

main {
  position: relative;
  padding: 24px;
  max-width: 890px;
  margin-left: auto;
  margin-right: auto;
}

div.facebook {
display: none;
}

div.facebook img {
  height: 32px;
  margin: 8px;
  line-height: 0;
  display: block;
}

a.narrative-link:link {
    color: #1c5a96;
}
a.narrative-link:hover {
    font-weight: bold;
    color: #1c5a96;
}
a.narrative-link:active {
    color: #1c5a96;
}
a.narrative-link:visited {
    color: #1c5a96;
}

div.plaque {
    margin-top: 32px;
    border: 10px solid #68ab34; /* Inner border */
    outline: 10px solid #1c5a96; /* Outer border */
    outline-offset: 0px;     /* Offset to separate the borders */
    border-radius: 48px;
    padding: 32px;
    margin-bottom:32px;
}
img#logo-two {
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.footer {
    background-color: #1c5a96;
    color: white;
    text-align: center;
    padding: 32px;
    font-size: 1.4rem;
}

img.facebook-footer {
  height: 32px;
  margin-bottom: 16px;
}

ul#navi-bottom {
  list-style-type: none;
  margin-bottom: 16px;
}

ul#navi-bottom li {
  display: inline-block;
}

ul#navi-bottom a {
  color: white;
}

ul#navi-bottom a:active {
  color: white;
}
ul#navi-bottom a:visited {
  color: white;
}




/*GALLERY ADMIN*/


.login-stuff input[type=text], input[type=password] {
    padding: 8px;
    width: 250px;
    margin-top: 8px;
}
.login-stuff button {
    width: 150px;
    height: 40px;
    background: #68ab34;
    color: white;
    border: none;
    font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-size: 14px;
}
.login-stuff button:hover {
    background: #1c5a96;
}

.admin-nav {
    text-align: center;
    background: #800000;
}

.admin-nav p {
    display: inline-block;
    padding: 16px;
}

.admin-link:link {
    color:white;
}
.admin-link:visited {
    color:white;
}
.admin-link:active {
    color:white;
}
.admin-link:hover {
    font-weight:bold;
}

#uploader button, .save {
    background: #68ab34;
    font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  color: white;
  padding: 8px;
  border: none;
  font-weight: normal !important;
}
#uploader button:hover, .save:hover {
  font-weight: bold;
  background: #1c5a96;
}

.gallery {
    width: 100%;
}
.gallery img {
    width: 100%;
}

.image-container {
    margin-bottom: 24px;
    position: relative;
}
.image-container img {
    margin-bottom: 8px;
}
.checkee {
    width: 20px; /* Adjust width */
    height: 20px; /* Adjust height */
    transform: scale(1.5); /* Scale up the checkbox */
    -webkit-transform: scale(1.5); /* For Safari */
    margin: 5px;
}
.image-container input[type=text] {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    margin-top: 8px;
}
.image-container button {
    background: red;
    font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  color: white;
  padding: 8px;
  border: none;
  font-weight: normal !important;
  position: absolute;
  top: 0;
  right: 0;
}




.main-gallery {
    display: grid;
    grid-template-columns: 1fr ;
    position: relative;
    gap: 16px;
}
.main-gallery div {
    display: flex;
    position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;                /* Hide overflow for clean layout */
  height: 100%;
  background: #ddf0ce;
}
.main-gallery img {
    width: 100%;                     /* Fit width to container, if needed */
  height: 100%;                    /* Fit height to container, if needed */
  object-fit: contain; 
}
.main-gallery p {
    position: absolute;
  bottom: 0;                       /* Position at the bottom of the grid item */
  width: 100%;                     /* Full width of the grid item */
  text-align: center;              /* Center text within the grid item */
  background-color: rgba(0, 0, 0, 0.5);  /* Semi-transparent background */
  color: white;                    /* Text color for readability */
  padding: 5px;                    /* Padding around the text */
}


.events-edit {
    margin-bottom: 32px;
    margin-top: 32px;
}
.events-edit input[type=text], textarea {
    padding: 8px;
    width: 250px;
    margin-top: 8px;
}
.events-edit button {
    width: 150px;
    height: 40px;
    background: #68ab34;
    color: white;
    border: none;
    font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-size: 14px;
}
.edit-button {
    width: 150px;
    height: 40px;
    background: #68ab34;
    color: white;
    border: none;
    font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-size: 14px;
}
.delete-event {
    background: red !important;
}

/* Small devices (phones, 576px and up) */
@media only screen and (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) {

.gallery {
   display: grid;
   grid-template-columns: auto auto;
   gap: 16px;
}

.main-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    gap: 16px;
}
.main-gallery div {
    display: flex;
    position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;                /* Hide overflow for clean layout */
  height: 100%;
}

}

/* Large devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) {

  header {
    height: initial;
    padding: 32px;
  }

  img#logo {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: block;
    left: 0;
    top: 0;
    height: 100px;
  }
  

  img#hamburger {
    display: none;
  }

  .main-nav {
    position: initial;
    left: initial;
  }

  ul#navi-top {
    position: relative;
    padding-top: 16px;
    padding-bottom: 16px;
    display: block;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    text-align: center;
  }

  ul#navi-top li {
    width: 156px;
    display: inline-block;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  ul#navi-top a:hover {
    font-weight: bold;
  }

  div.facebook {
    position: absolute;
    display: initial;
    right: 0;
    top: 215px;
    background: #800000;
  }
  div.facebook:hover {
  background: #35961D;
  }

div.plaque {
    display: grid;
    grid-template-columns: 75% 25%;
    align-items: center;
}
img#logo-two {
    height: initial;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

  ul#navi-bottom a:hover {
    font-weight: bold;
  }





}

/* Extra large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {



}
