body {
  color: #161637;
  background-color: rgb(255, 255, 255);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.main {
  width: 700px;
}

@media only screen and (max-width: 720px) {
  .main {
    width: 350px;
  }
}

.langs {
  position: absolute;
  z-index: 2;
}

.langs > a {
  opacity: 0;
}

.langs > a:nth-child(1) {
  transition: opacity 1s;
}

.langs > a:nth-child(2) {
  transition: opacity 1.5s;
}

.langs > a:nth-child(3) {
  transition: opacity 2s;
}

.lang:hover + .langs > a, .langs:hover > a {
  opacity: 1;
}

.langs > a {
  display: block;
  margin-top: 8px;
  background-color: white;
  box-shadow: 0px 0px 8px 10px white;
}

.ext_link {
  display: inline-block;
}

.ext_logo {
  vertical-align: middle;
  transform: translate(0px, -2px);
  padding: 6px 2px 6px 2px;
}

@media only screen and (max-width: 720px) {
  .langs > a {
    margin-top: 30px;
  }

  .ext_logo {
    padding: 15px 6px 15px 2px;
  }
}

h1 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  color: #2c3e50;
  margin-block-end: 1em;
  margin-block-start: 1.5em;
  padding-top: 10px;
  border-top: 2px solid #e8e8f0;
  letter-spacing: 0.5px;
}

p {
  text-align: justify;
  color: #444;
  line-height: 1.8;
  margin: 1em 0;
}

p, ul {
  margin-block-start: 0.5em;
}

ul {
  padding-inline-start: 0;
  list-style: none;
}

ul li {
  margin: 0.75em 0;
  padding-left: 24px;
  position: relative;
  color: #333;
  line-height: 1.8;
}

ul li:before {
  content: "▪";
  position: absolute;
  left: 0;
  color: #4a7ba7;
  font-weight: bold;
  font-size: 18px;
}

a {
  text-decoration: none;
  color: black;
}

img {
  margin: 2px;
  object-fit: cover;
  overflow: hidden;
}

.centerh {
  display: flex;
  justify-content: center;
}

.hidden {
  display: none;
}

.inline {
  display: inline-block;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.rating {
  width: 350px;
}

.red {
  color: black;
  text-shadow: -1px 0px rgb(208, 208, 208);
}

.blue {
  color: rgb(40, 40, 180);
  text-shadow: -1px 0px rgb(20, 20, 140);
}

.booking_rating {
    font-family: BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  display: inline-block;
  background-color: rgb(0, 53, 128);
  border-radius: 6px;
  border-bottom-left-radius: 0px;
  color: white;
  padding: 2px 5px;
}

.airbnb_star {
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' aria-hidden='true' role='presentation' focusable='false' style='display: block; height: 12px; width: 12px; fill: currentcolor;'%3E%3Cpath d='M15.094 1.579l-4.124 8.885-9.86 1.27a1 1 0 0 0-.542 1.736l7.293 6.565-1.965 9.852a1 1 0 0 0 1.483 1.061L16 25.951l8.625 4.997a1 1 0 0 0 1.482-1.06l-1.965-9.853 7.293-6.565a1 1 0 0 0-.541-1.735l-9.86-1.271-4.127-8.885a1 1 0 0 0-1.814 0z' fill-rule='evenodd'%3E%3C/path%3E%3C/svg%3E");
  width: 20px;
  height: 20px;
  vertical-align: text-bottom;
}

.airbnb_rating {
  display: inline-block;
}

.google_star {
  display: inline-block;
  background-size: 14px 14px;
  background-image: url("/res/google_star.png");
  width: 14px;
  height: 13px;
}

.google_rating {
  display: inline-block;
  color: #70757a;
}

.links {
  list-style-type: none;
}

.cover_img {
  width: 600px;
  position: relative;
}

.img_center {
  box-shadow: 0px 0px 2px 2px white;
  z-index: 1;
  transform: translateZ(50px);
}

.img_left, .img_right {
  position: absolute;
  top: 30px;
}

.img_left {
  left: 0;
  box-shadow: 1px 2px 4px 2px gray;
  transform: perspective(500px) rotateY(-10deg);
}

.img_right {
  right: 0;
  box-shadow: -1px 2px 4px 2px gray;
  transform: perspective(500px) rotateY(10deg);
}

#popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: white;
  transform: translateZ(100px);
}

#popimg {
  z-index: 101;
  position: absolute;
  box-shadow: 0px 0px 2px 2px gray;
  pointer-events: none;
}

#swipe {
  position: absolute;
}

.popbutton {
  position: absolute;
  border: none;
  border-radius: 50%;
  color: white;
  background: black;
  opacity: 0.2;
  font-family: Arial, sans-serif;
  font-size: 42px;
  padding: 0px 6px 5.5px;
  z-index: 200;
  width: 54px;
  height: 54px;
  user-select: none;
  -webkit-user-select: none;
}

@media (pointer: fine) {
  .popbutton:hover {
    opacity: 0.8;
  }
}

.popnext {
  top: 100px;
  right: 12px;
}

.popprev {
  top: 100px;
  left: 12px;
}

.popclose {
  top: 12px;
  right: 12px;
}

#popnum {
  margin: 20px;
  position: absolute;
  bottom: 0;
  right: 0;
}

#poptext {
  margin: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.form_input {
  display: block;
  font-size: 16px;
  margin: 6px 0px;
  width: 680px;
}

.form_submit {
  font-size: 16px;
  margin: 6px 0px 12px;
}

textarea {
  height: 12em;
}

@media only screen and (max-width: 720px) {
  .form_input {
    width: 340px;
  }

  .form_submit {
    padding: 8px;
    margin: 15px 0px 20px;
  }
}
