* {
  box-sizing: border-box;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}
body {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 13px;
color: #787878;}

a {
    text-decoration: none;
    border-bottom: 1px dotted #999999;
    color: #0A0A0A;}
    
header {
  width: 100%;
  margin-bottom: 65px;
}

header img {
  width: 100%;
  display: block;
}

.content {
  background-color: #DEE3DF;
  position: relative;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  margin-bottom: 65px;
}

h1 {
  margin: 20px 30px;
  font-size: 25px;
}

h2 {
  text-transform: uppercase;
  margin: 20px 30px;
}

.back {
  font-size: 13px;
  font-weight: bold;
  margin: 20px 30px;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 30px;
  padding: 30px;
}

.gallery img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  transition: 0.3s;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.04);
  box-shadow: 2px 2px 6px #555;
}

@media (max-width: 1279px) {
  .gallery {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  header {
    margin-bottom: 0;
  }
  .content {
    margin-bottom: 0;
    align-items: flex-start;
  }
}

@media (max-width: 800px) {
  .gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery img {
    height: 120px;
  }
}
