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

img {
  max-width: 100%;
  height: auto;
}

body {
  position: relative;
}

.projects {
  padding: 0.8rem 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 10px;
  align-items: stretch;
}
.projects img {
  border: 1px solid #ccc;
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
  max-width: 100%;
}

.p19 {
  background-image: url('img/Map-Background_Fotor.jpg');
}

.noModal {
  display: none;
}

.myModal {
  display: block;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 90%;
  width: 90%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  z-index: 1;
}

.my-modal-content {
  margin: 10% auto;
  width: 80%;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: 1s;
}

.my-modal-header h2,
.my-modal-footer h3 {
  margin: 0;
}

.my-modal-header {
  background-image: linear-gradient(
    to bottom right,
    rgb(20, 50, 70),
    rgb(147, 167, 180)
  );
  padding: 15px;
  color: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.my-modal-body {
  padding: 10px 20px;
  background: #fff;
}

.my-modal-footer {
  background-image: linear-gradient(
    to bottom right,
    rgb(147, 167, 180),
    rgb(20, 50, 70)
  );
  padding: 10px;
  color: #fff;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.area-ul {
  list-style: none;
  padding-right: 2rem;
}

.close-btn {
  color: #ccc;
  float: right;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.close-btn:focus,
.close-btn:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
