.wrapper {
  min-height: 100%;
  width: 100%;

  position: relative;
}

html {
  background: #e9ecef;
  font-family: 'Lora', sans-serif;
  overflow: hidden;
}

h1 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

h2 {
  font-size: 19px;
  text-align: center;
  font-weight: 500;
  line-height: 1.3;
}

.tg__inner {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 20px auto;
  align-items: center;
  justify-content: center;

}

.tg__inner img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.tg__low {
  background: white;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 25px 30px 25px 30px;
}

.tg__low-txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.tg__low-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.open-chan {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
  border-radius: 4px;
  text-align: center;
  padding: 12px 8px;
  transition: all .3s;
  font-size: 18px;
}

.open-tg {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
  border-radius: 4px;
  text-align: center;
  padding: 12px 8px;
  font-size: 18px;
  transition: all .3s;
}

.open-tg:hover {
  background-color: #5a6268;

}

.open-chan:hover {
  background-color: #0068d8;

}

@media(max-width:767px) {
  .tg__low-btns {
    flex-direction: column;
    gap: 14px;
    width: 100%;
    align-items: normal;
  }

  .tg__inner {
    padding: 0 12px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 16px;
  }

  .tg__inner img {
    width: 100%;
max-height: none;
    object-fit: cover;

  }
  .tg__inner {
    margin: 0 auto;
  }
}