@import url("/css/beVietnam-pro.css");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

*::selection {
  color: var(--primary);
  background: var(--accent);
}

body,
html {
  background: var(--primary);
  color: var(--secondary);
  font-family: Arial, sans-serif;
  line-height: 1.2;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-family: BeVietnamPro-SemiBold, Arial, Helvetica, sans-serif;
}

body {
  overscroll-behavior: none;
  overflow-x: hidden;
  height: 100vh;
}

::-webkit-scrollbar {
  display: none;
}

:root {
  --primary: #04090f;
  --secondary: #f0ebd8;
  --accent: #ef8300;
}

h1 {
  font-size: 12vw;
}

h2 {
  font-size: 4vw;
}

.container {
  width: 400%;
  height: 100vh;
  display: flex;
  flex-wrap: nowrap;
  overscroll-behavior: none;
}

.swipe-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.swipe-section .panel {
  position: absolute;
}

.panel {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  text-align: left;
  position: relative;
  box-sizing: border-box;
  padding: 10px;
  background-color: var(--primary);
}

.panel * {
  position: relative;
  z-index: 1;
}

.description {
  height: 100vh;
  width: 80%;
  margin: "20% 0";
  align-items: end;
}

#textblock {
  font-size: 3vw;
  font-weight: 600;
  mix-blend-mode: difference;
}

#textblock * {
  word-break: break-word;
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 16vw;
  }

  h2 {
    font-size: 6vw;
  }

  .description {
    width: 90%;
    margin: "10% 0";
    align-items: center;
  }
}
