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


* {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  outline: none;
}

html,
body {
  height: 100svh;
  margin: 0;
  padding: 0;
  font-size: 100%;
  line-height: 1.5;
}

*:active,
*:focus {
  outline: none !important;
  box-shadow: none !important;
}

body {
  font-family: Arial, sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

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

ul,
ol {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}


body {
  background-color: #F6EED7;
}

/* .sm-screen {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
} */

.sm-screen {
  height: 100svh;
  width: 100svw;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "header header header"
    "main main main"
    "footer footer footer";
}

.header {
  grid-area: header;
  background-color: #791F1E;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-grow: 1;
}

.main {
  background-image: url("/images/md-bgimg@2x.png");
  background-size: cover;
  background-position: center;
  grid-area: main;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.main>picture {}

.main-bg {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.footer {
  grid-area: footer;
  background-color: #F6EED7;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}



.button-list {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-list>* {
  width: 26%;
}

.logo {}


.info {
  object-fit: contain;
}

.start-btn {
  width: 32%;
}


.lg-screen {
  height: 100%;
  display: none;
  flex-direction: column;
}

.lg-header {
  background-color: #791F1E;
  Width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1%;
}

.lg-main {
  background-image: url("/images/lg-bgimg@2x.png");
  width: 100%;
  flex-grow: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 900px;
}

.lg-footer {
  width: 100%;
  background-color: #F6EED7;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.lg-info-btn {
  width: 10%;
}

.lg-info-date {
  width: 50%;
}

.modal {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100svh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 90%;
  height: 65%;
  overflow: auto;
  border-radius: clamp(2.5rem, 8vw, 5rem);
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.modal-content::-webkit-scrollbar {
  width: 0px;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5%;
}

.modal-pic {
  overflow: auto;
  position: relative;
  z-index: -1;
  background-color: #F6EED7;
}

.info-content {
  position: relative;
}

.line-link {
  position: absolute;
  top: 25.4%;
  width: 24%;
  right: 8%;
}

.info-bg {
  background-color: #F6EED7;
  position: relative;
}

.info-pic {
  position: absolute;
  top: 25vw;
}

.modal-close img {
  width: clamp(24px, 5vw, 40px);
  height: clamp(24px, 5vw, 40px);
}

.hidden {
  display: none;
}

.overflow-y-hidden {
  height: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .main {
    background-image: url("/images/md-bgimg@2x.png");
  }
}

@media (min-width: 993px) {
  .sm-screen {
    display: none;
  }

  .lg-screen {
    display: flex;

  }

  body {
    min-width: 1300px;
  }
}

@media (min-width: 993px) {
  .modal-content {
    width: 50%;
  }

  .info-pic {
    top: 13vw;
  }
  

  .line-link {
    top: 24.5%;
    width: 22%;
    right: 11%;
  }
}