@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
.wrapper {
  max-width: 1140px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #ffffff;
}

h1 {
  font-size: 42px;
  line-height: 50%; 
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

img {
  width: 80%;
  height: auto;
}

.city-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 50rem;
  min-width: 18rem;
  margin: 15px;
  text-align: center;
}

.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40rem;
  min-width: 18rem;
  margin: 15px;
  text-align: center;
}

.gallery__img {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 5vw);
  grid-gap: 15px;
}

.train-id {
  position: absolute;
  bottom: -15px;
  right: 15px;
  background-color: rgba(0,0,0,0.75);
  color: white;
  padding-left: 20px;
  padding-right: 20px;
}