body {
  background-color: #525050;
  margin: 0;
}
.container {
  display: flex;
  justify-content: center;
  max-width: 2000px;
  margin: 0 auto;
}
#title {
  display: flex;
  justify-content: center;
  color: white;
}
main {
  display: flex;
  justify-content: center;
  padding-top: 50px;
}
.capital {
  margin: 1%;
  background-color: rgb(95, 97, 99);
  max-width: 48%;
  height: auto;
  width: 1000px;
  float: left;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 15px rgb(54, 54, 54);
}
.capital:hover {
  box-shadow: 0 0 15px rgb(129, 129, 129);
}
.capital h3 {
  color: white;
}
.capital img {
  background-size: cover;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0;
  border-radius: 15px 15px 0 0;
  transition: transform 0.8s ease;
}
.capital img:hover {
  transform: scale(1.05);
}
.img {
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}
a {
  text-decoration: none;
  color: black;
}

/* ///////////////////////////////////////////////////////////////////// */

@media (max-width: 1100px) and (min-width: 1000px) {
}

@media (max-width: 1000px) and (min-width: 800px) {
}

@media (max-width: 800px) and (min-width: 500px) {
  #title {
    font-size: 22px;
  }
  .capital {
    margin: 1%;
    max-width: 98%;
    width: 98%;
  }
}

@media (max-width: 500px) {
  #title {
    font-size: 18px;
  }
  .capital {
    margin: 1%;
    max-width: 98%;
    width: 98%;
  }
  p {
    font-size: 10px;
  }
}
