body {
  margin: 0;
  font-family: "Oswald", sans-serif;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url(""), linear-gradient(127deg, #ccafaf 45%, #f5f5f5 80%);
  background-size: 103px, auto;
  background-position: center, 0% 0%;
  background-repeat: repeat, repeat;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  padding: 0;
  margin: 0;
}

#main {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

article {
  width: 70%;
  text-align: center;
}

h1 {
  color: #2e2828;
  font-size: 6em;
  font-weight: 600;
  margin-bottom: 0.875em;
}

h2 {
  color: #2e2828;
  font-size: 2.5em;
  font-weight: 600;
  margin-bottom: 0;
}

h3 {
  color: #171515;
  line-height: 2;
  font-size: 1.5em;
  font-weight: 500;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}





p {
  color: #171515;
  line-height: 2;
  font-size: 1.2em;
  font-weight: 500;
}

#title {
  margin-top: 4rem;
  margin-bottom: 0.5em;
}

.icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  letter-spacing: 0;
  padding: 0;
  gap: 1.5rem;
}

.icon {
  border-radius: 100%;
  height: 1.7em;
  width: 1.7em;
  background-color: #2b2b2b;
  transition: transform 0.25s ease, color 0.25s ease,
    background-color 0.25s ease, border-color 0.25s ease;

  display: flex;
  align-items: center;
  justify-content: center;
}

.icon:hover {
  transform: translateY(-11.25%);
}

.icon svg {
  fill: #ffffff;
  box-sizing: border-box;
  height: 60%;
  width: 60%;
  transition: fill 0.25s ease;
  display: block;
  position: relative;
  box-sizing: border-box;
}

.label {
  display: none;
}

img {
  max-width: 240px;
}

.gallery2 {
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: top;
  align-items: center;
  margin: 12.5px;
  height: 100%;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: top;
  justify-content: center;
}

.frame {
  margin-bottom: 25px;
}
img{
  border: 3px solid #ddd;
  border-radius: 20px;
}

.modal-trigger:hover {
  opacity: 0.7;
}

.modal-trigger {
  cursor: pointer;
  transition: 0.3s;
}


/* 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 box */
  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: auto;
  max-width: 700px;
  max-height: 80%;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}



@media only screen and (max-width: 1165px){
  .gallery {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: top;
    justify-content: center;
  }

  .gallery2{
    margin-top: 0;
    margin-bottom: 0;
  }

  img {
    max-width: 70%;
  }
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    max-width: 500px;
    width: 95%;
    max-height: none;
    height: auto;
  }
  img {
    max-width: 90%;
  }
}