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

html {
  font-size: 16px;
}

body {
  font-family: "Open Sans", sans-serif;
}

:root {
  --primary-color: #fcf5e9;
  --secondary-color: #333;
}

a {
  text-decoration: none;
  color: #333;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin: 20px auto;

  @media (min-width: 1280px) {
    flex-direction: row;
    justify-content: space-around;
  }
}

.header-left img {
  width: 130px;
  height: 35px;
}

.header-list {
  display: flex;
  gap: 20px;
  list-style-type: none;
  font-size: 17px;

  @media (min-width: 1280px) {
    font-size: 18px;
  }
}

.header-list-item {
  padding: 8px 10px;
}

.header-list a {
  text-decoration: none;
  color: var(--secondary-color);
}

.header-list a:hover,
.header-list a:active {
  background-color: var(--primary-color);
  font-weight: 500;
}

.current {
  background-color: var(--primary-color);
  font-weight: 600;
}

.photogallery {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.photogallery h2 {
  font-size: 30px;
  font-weight: 400;
  text-align: center;
  line-height: 1.6;
  margin: 20px;

  @media (min-width: 768px) {
    margin: 40px;
  }

  @media (min-width: 1280px) {
    font-size: 48px;
    max-width: 1100px;
    margin: 120px auto;
    width: 70%;
  }
}

.photogallery h2 span {
  background-color: var(--primary-color);
}

.photogallery-collection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px;
  @media (min-width: 768px) {
    margin: 40px;
  }
}

.gallery-item {
  width: calc(50% - 20px);

  @media (min-width: 1280px) {
    width: calc(33.333% - 20px);
    border-radius: 8px;
  }
}

.gallery-item img {
  border-radius: 10px;
}

.gallery-item img:hover {
  cursor: pointer;
  opacity: 90%;
}

/* .photogallery-collection img {
  width: calc(50% - 10px);
  height: auto;
  border-radius: 10px;

  @media (min-width: 768px) {
    width: calc(50% - 20px);
  }

  @media (min-width: 1280px) {
    width: calc(33.333% - 20px);
  }
} */

/* .photogallery-collection img:hover {
  cursor: pointer;
  opacity: 90%;
} */

.footer {
  border-top: 1px solid var(--secondary-color);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 30px 0px;

  @media (min-width: 1280px) {
    flex-direction: row;
    gap: 0px;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
  }
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;

  @media (min-width: 1280px) {
    align-items: flex-start;
  }
}

.footer-center h5 {
  font-size: 16px;
  padding-bottom: 12px;

  @media (min-width: 1280px) {
    padding-bottom: 8px;
  }
}

.footer-left img {
  width: 130px;
  height: 35px;
}

.footer-right a img {
  width: 35px;
  height: 35px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;

  @media (min-width: 1280px) {
    align-items: flex-start;
  }
}

.footer-right h5 {
  font-size: 16px;
  padding-bottom: 12px;
  @media (min-width: 1280px) {
    padding-bottom: 8px;
  }
}

.footer-right div {
  display: flex;
  gap: 10px;
}
