body {
  background-color: #f9f9f9;
  /*  font-family: Georgia, serif !important;*/
}

header {
  padding: 1rem;
  background-color: #bc6985;
color:white;
}

@font-face {
  font-family: 'Josefin Sans';
  src: url('JosefinSans-VariableFont_wght.ttf') format('truetype'),
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: normal;
}



/* Default styles for menu */
.menu {
  display: flex;
  justify-content: space-between;
}

/* Media query for mobile devices */
@media (max-width: 767px) {
  /* Change to vertical layout */
  .menu {
      
     text-decoration: none !important;
flex-direction: column;
  color: #333;
  font-weight: bold;
  
  }
}


/* Media query for desktop screens */
@media (min-width: 768px) {
  /* Change to horizontal layout */
  .menu {
    flex-direction: row;
      text-decoration: none;
  color: #333;
  font-weight: bold;
  }
}

nav a {
  text-decoration: none;
color:white;
  font-weight: bold;
}

nav a:hover {
  color: #AAA; /* add this line to change the color when the mouse hovers over */
}

main {

  margin: 0 auto;
  padding: 2rem;
color:white;
}

section {
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

a:link {
  color: white;
  background-color: transparent;
  text-decoration: none;
}
link:hover {
  color: #AAA; /* add this line to change the color when the mouse hovers over */
}


/* Image Gallery Container */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: -10px; /* Adjust spacing between gallery items */
}

/* Gallery Item */
.gallery-item {
  width: calc(33.33% - 20px); /* Adjust width of each item */
  margin: 10px; /* Adjust spacing between gallery items */
}

.gallery-item img {
 
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
 
 /* height: 200px;  */
}


/* Media Queries */
@media (max-width: 767px) {
  /* Adjust styles for mobile devices */
  .gallery {
    justify-content: center;
  }
  
  .gallery-item {
    width: 100%;
  }
  
   .gallery-item img {
    height: auto; /* Reset height for mobile devices */
  }
  
  
}





.portfolio .item {
    position: relative;
}
.portfolio .item img {
    display: block;
}
.portfolio .item .caption {
    position: absolute;
   bottom: 5px;   /*adjust this value to position the caption */
    left: 0;
  
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio .item:hover .caption {
    opacity: 1;
}




form {
  margin: 20px;
}

form label {
  display: block;
  margin-bottom: 10px;
}

form input[type="text"], 
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

form textarea {
  height: 150px;
}

form button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

form button[type="submit"]:hover {
  background-color: #45a049;
}

@media only screen and (max-width: 767px) {
  .masonry-gallery .item {
    flex-basis: 100%;

    position: relative !important;
    width: 100% !important;
    transform: unset !important;
}

}
  
  
  
