body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f3f9f8;
}

header {
  background-color: #fff;
  color: #1d97be;
  text-align: center;
  padding: 1rem 0;
}

main {
  flex: 1;
  padding: 1rem;
  text-align: center;
}

.contacts,
.services,
.photos {
  margin: 1rem 0;
}

.services ul {
  list-style-type: none;
  padding: 0;
}

.services li {
  margin: 1rem 0;
}

.photos img {
  max-width: 100%;
  height: auto;
  margin: 0.5rem;
}

h2 {
  font-size: 50px;
  color: #0c5870;
}

h3 {
  color: #0c5870;
}

footer {
  background-color: #fff;
  color: #0c5870;
  text-align: center;
  padding: 1rem 0;
}

.photo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.photo-grid .photo-large {
  height: 5%;
  width: auto;
  max-width: 30%;
  border-radius: 15px;
}

.photo-grid .photo-small {
  width: 10%;
  height: auto;
  max-width: 30%;
}

.contacts {
  font-size: 30px;
}

.logo {
  width: 30%;
}

@media only screen and (max-width: 600px) {
  h2 {
    font-size: 30px;
  }

  h1 {
    font-size: 20px;
  }

  .contacts {
    font-size: 20px;
  }

  .photo-grid .photo-large {
    height: 10%;
    width: auto;
    max-width: 50%;
    border-radius: 15px;
  }

  .photo-grid .photo-small {
    width: 50%;
    height: auto;
    max-width: 30%;
  }

  .photo-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  .logo {
    width: 60%;
  }
}
