body{
  font-family: 'Poppins',sans-serif;
  background-color: rgb(240, 240, 240);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
}

#container{
  display: grid;
  gap: 40px;
  margin-bottom: 32px;
  grid-template-columns: 1fr 1fr;
}

.cities{
  width: 350px;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgb(240, 240, 240);
}

.cities:hover{
  border: 1px solid rgb(220, 120, 80);
}

.cities:hover img{
    transform: scale(1.1);
}

img{
  width: 100%;
  height: 240px;
  transition: transform 0.3s ease;
  display: block;
  object-fit: fill;
}

#header{
  font-size: xx-large;
  font-weight: bold;
  color: rgb(0, 0, 80);
}

.city-header{
  font-size: large;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: rgb(0, 0, 80);
}

.city-desc{
  font-size: small;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box; 
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.txt-area{
  padding: 10px 30px 30px 30px;
}

.img-div{
  overflow: hidden;
}

#pages{
  margin-top: 20px;
  margin-bottom: 40px;
}

button{
  font-size: 16px;
  padding: 10px;
  margin-left: 10px;
  margin-right: 4px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid rgb(240, 240, 240);
}

button:active{
  background-color: white;
  border: 1px solid rgb(220, 120, 80);
  font-weight: bold;
}

.active{
  background-color: white;
  border: 1px solid rgb(220, 120, 80);
  font-weight: bold;
}

.left-right{
  color: rgb(220, 120, 80);
  font-weight: bold;
}

.left-right:active{
  border: 1px solid rgb(240, 240, 240);
  background-color: transparent;
}

@media (max-width: 768px) {
  #container{
    grid-template-columns: 1fr;
  }

  .cities{
    width: 320px;
  }
}
