

:root {
    --main-radius:25px;
    --maing-padding:15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*body { 
background-color: #fbefda;

}*/

body {
  background: #e7dac7;
  background-image: radial-gradient(rgb(150, 175, 81) 1px, transparent 0);
  background-size: 40px 40px;
  background-position: -19px -19px;
}

.maintitle {
    font-family: "Sora", sans-serif;
    font-size: 50px;
    color: #d48c48;
    text-align: center;
    margin-bottom: 2rem;
}

.container-nav {
    font-family: "Sora", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 20px;
    padding-bottom: 0%;
    padding-right: 5%;
    padding-top: 2%;
}


nav {
    display: block;
    grid-area: nav;
    font-family:  "Sora", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 20px;
    padding-bottom: 0%;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

ul li {
  float: right;
}

ul li a {
  display: block;
  color: #85833b;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  
}

ul li a:hover {
  text-decoration:  wavy underline #85833b;
}


main {
    font-family: "Sora", sans-serif;
    grid-area: main;
    color: #525026
}


.maintext {
    font-family: "Sora", sans-serif;
    text-align: center;
    color: #3a380c
}


.title {
    font-family: "Sora", sans-serif;
    font-size: 25px;
    font-weight: 400;
    color: #85833b;
    text-align: center;
    margin-bottom: 2rem;
}

.photocontainer {
    max-width: 1224px;
    width: 90%;
    margin: auto;
    padding: 40px 0px;
}

.photo-gallery {
    display: flex;
    gap:20px
}

.column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    margin-bottom: 20px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.gallery-item {
  margin: 5px;
  width: calc(25% - 20px);
  background-color: white;
  padding: 15px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 25px;
  box-sizing: border-box;
}

.gallery-item:hover {
  border: 1px solid #777;
  transform: rotate(2deg);
}

.gallery-item img {
  display:block;
  width: 100%;
  height: auto;
}

.gallery-item .desc {
  padding: 15px;
  text-align: center;
  font-family: "Caveat", cursive;
  font-size: 25px;
}

@media only screen and (max-width: 768px) {
  div.gallery-item {
    width: calc(50% - 20px);
  }
}

@media only screen and (max-width: 480px) {
  div.gallery-item {
    width: calc(100% - 20px);
  }
}

@media(max-width: 768px) {
    .photo-gallery {
        flex-direction: column;
    }
}
