@import url("https://fonts.googleapis.com/css2?family=Poiret+One&display=swap");

:root {
  --font-family: "Poiret One", sans-serif;
  --font-size-base: 1.2rem;
  --font-size-desc: 1.5rem;
  --font-size-title: 18rem;
  --color-bg: linear-gradient(135deg, #5f5f5f, #898a8b, #5f5f5f);
  --color-bg-dark: #1b1b1e;
  --color-gold: #e0c351;
  --color-shadow: #d8ae54;
  --text-shadow-sm: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
  --text-title-shadow: 0.18rem 0.18rem 0 #141414, -0.06rem -0.06rem 0 #141414,
    0.06rem -0.06rem 0 #141414, -0.06rem 0.06rem 0 #141414,
    0.06rem 0.06rem 0 #141414;
  --text-desc-shadow: 0.08rem 0.08rem 0 #141414, -0.04rem -0.04rem 0 #141414,
    0.04rem -0.04rem 0 #141414, -0.04rem 0.04rem 0 #141414,
    0.04rem 0.04rem 0 #141414;
  --text-shadow-lg: 2rem var(--color-shadow);
  --box-shadow-hero: 12rem 1rem 10rem rgba(192, 102, 102, 0.1);
  --spacing-sm: 0.4rem;
  --spacing-md: 0.5rem;
  --spacing-lg: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-bg);
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  padding-bottom: env(safe-area-inset-bottom);
}

img {
  pointer-events: none;
}


.animate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
  background-color: rgb(19, 19, 18);
}

.section {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  transition: background-color 1s ease-in-out;
}

.section.active {
  background-color: var(--color-bg-dark);
  color: white;
}

.section.active a {
  color: white;
  transition: color 2s ease-in-out 0.5s;
}

header {
  width: 100%;
  height: 6.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3.125rem;
  position: absolute;
}

.animation-logo {
  width: 6rem;
  height: 4rem;
  padding: 0;
  box-shadow: var(--box-shadow-hero);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 1s ease;
  will-change: transform, opacity;
}

.animation-logo a {
  display: block;
  text-indent: -1rem;
  overflow: hidden;
}


header ul {
  list-style: none;
  display: flex;
  gap: 0.8125rem;
}

header ul li a {
  font-size: 0.8125rem;
  font-weight: lighter;
  color: black;
  text-decoration: none;
}

.heroimg {
  position: absolute;
  margin-top: 0;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 26rem;
  width: 16rem;
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out;
  box-shadow: var(--box-shadow-hero);
  will-change: transform, opacity;
}

.heroimg:hover {
  opacity: 1;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  text-align: center;
  z-index: 1;
}

.container .desc {
  font-weight: 550;
  font-size: var(--font-size-desc);
  color: var(--color-gold);
  padding: var(--spacing-sm);
  /* text-shadow: var(--text-shadow-sm), var(--text-shadow-lg); */
  text-shadow: var(--text-desc-shadow);
  padding-bottom: 4rem;
  z-index: 2;
  margin-top: var(--spacing-sm);
  will-change: transform, opacity;
}

.btnContainer {
  position: absolute;
  padding-top: 38rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  z-index: 2;
  padding-bottom: env(safe-area-inset-bottom);
}

.container .title {
  z-index: 100;
  color: var(--color-gold);
  padding: var(--spacing-md);
  text-shadow: var(--text-shadow-sm), var(--text-shadow-lg);
}

#titleId {
  font-size: var(--font-size-title);
  font-weight: 900;
  will-change: transform, opacity;
  -webkit-text-stroke: 0.0625rem rgb(223, 223, 51);
  -webkit-text-stroke-color: var(--color-shadow);
  text-shadow: var(--text-title-shadow);
}

@media (max-width: 48rem) and (max-height: 30rem),
(max-width: 100rem) and (min-height: 30rem),
(max-width: 20rem) and (max-height: 41rem) {
  .container .desc {
    font-size: var(--spacing-lg);
  }

  header {
    height: 3rem;
    padding: 0 0.125rem;
  }

  .btnContainer {
    padding-top: 24rem;
  }

  .logo {
    margin-left: 1.25rem;
  }

  header ul {
    margin-right: 1.25rem;
  }

  .heroimg {
    height: 17rem;
    width: 11rem;
    will-change: transform, opacity;
  }

  #titleId {
    font-size: 4rem;
  }

  .animation-logo {
    width: 3rem;
    height: 2.5rem;
    will-change: transform, opacity;
  }
}