/* ==================================================
   RESET CSS
================================================== */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
dl,
dt,
dd,
ol,
nav ul,
nav li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* ==================================================
   BASE
================================================== */

body {
  height: 100vh;
  overflow: hidden;
}

/* ==================================================
   CONTENT LAYOUT
================================================== */

.content {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.content_left {
  position: relative;
  width: 60%;
  height: 100%;
  background: #fffff3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content_right {
  width: 40%;
}

.img_wrap_left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 3 / 2;
}

/* ==================================================
   FORM & COMMON
================================================== */

form {
  width: 85%;
  margin: auto;
  text-align: center;
}

.logo img {
  width: 250px;
}

.all_content_h2 {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.all_content_h2 h2 {
  font-size: 20px;
  font-weight: 600;
  text-shadow: 1px 1px 2px #fff;
}

.all_button_lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.button_lang {
  position: relative;
  cursor: pointer;
}

.button_lang img {
  width: 80px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.button_lang input {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 20px;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

/* ==================================================
   BACKGROUND PAGE
================================================== */

.bg {
  position: relative;
  background-image: url("https://trang.hdweb24h.com/vietyaholiday/assets/coming/images/bg_image.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.bg form {
  position: absolute;
  width: 28%;
  right: 21%;
  bottom: 15%;
  display: flex;
  justify-content: space-between;
}

.bg .all_button_lang {
  width: 100%;
  justify-content: space-between;
}

.bg .button_lang img {
  width: 150px;
}

/* ==================================================
   PAGE LOCK
================================================== */

.page-lock {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f2f6;
}

.fixwidth {
  max-width: 1200px;
  margin: auto;
}

.wrap-lock {
  display: flex;
  height: 520px;
}
.page-lock .lock-left img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
}

.page-lock .lock-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
}

.page-lock .lock-right .bg-lang {
  width: 55%;
}

.page-lock .lock-right .bg-title-mobile {
  display: none;
}

.page-lock form {
  width: 55%;
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.page-lock .all_button_lang {
  width: 100%;
  justify-content: space-between;
}

.page-lock .button_lang img {
  width: 150px;
}

/* ==================================================
   TABLET (768px – 1024px)
================================================== */

@media (min-width: 768px) and (max-width: 1023px) {
  .bg {
    background-image: url("https://trang.hdweb24h.com/vietyaholiday/assets/coming/images/bg_mobile-img.jpg");
  }

  .bg form {
    width: 40%;
    left: 63%;
    bottom: 25%;
    right: auto;
    transform: translateX(-50%);
  }

  .fixwidth {
    max-width: 90%;
  }

  .page-lock .lock-right .bg-lang {
    width: 100%;
  }

  .page-lock form {
    width: 70%;
  }
}

/* ==================================================
   MOBILE (≤ 769px)
================================================== */

@media (max-width: 767px) {
  .content_left {
    width: 100%;
  }

  .content_left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.41);
  }

  .img_wrap_left img {
    aspect-ratio: unset;
  }
  .page-lock .lock-left img{
    aspect-ratio: unset;
  }

  .content_right {
    width: 90%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .logo img {
    width: 200px;
  }

  .button_lang img {
    width: 70px;
  }

  .bg {
    background-image: url("https://trang.hdweb24h.com/vietyaholiday/assets/coming/images/bg_mobile-img.jpg");
  }

  .bg form {
    width: 40%;
    left: 63%;
    bottom: 31%;
    right: auto;
    transform: translateX(-50%);
  }

  .wrap-lock {
    height: auto;
    max-height: 520px;
  }

  .fixwidth {
    max-width: 90%;
  }
  .page-lock .lock-right {
    padding-bottom: 0px;
    gap: 12px;
  }

  .page-lock .lock-right .bg-lang {
    width: 100%;
    margin-top: 12px;
  }

  .page-lock .lock-right .bg-title {
    display: none;
  }

  .page-lock .lock-right .bg-title-mobile {
    display: block;
  }

  .page-lock form {
    width: 100%;
  }

  .page-lock .button_lang img {
    width: 110px;
  }
}
@media (max-width: 550px) {
  .page-lock .lock-left {
    max-width: 70%;
    margin-left: -12px;
  }
  .page-lock .lock-right {
    position: absolute;
    width: 45%;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
  }
}
