* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  font-variant-ligatures: common-ligatures;
  -webkit-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
}

a {
  color: 000000;
}

@font-face {
  font-family: "Monument";
  src: url("../assets/ABCMonumentGrotesk-Bold.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

.site-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dt {
  display: block;
}

.mob {
  display: none;
}

.site-background {
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
  background-image: url("../assets/16-Background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #b6a892;
  background-position: center;
  padding: 20px;
}

.buy-site-background {
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
  background-color: #ffffff;
  background-position: center;
  padding: 20px;
}

.top-container {
  display: flex;
}

.main-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.half-container {
  width: 50%;
}

h1 {
  font-family: "Monument", sans-serif;
  font-size: 32px;
  line-height: 32px;
  text-decoration: none;
  font-weight: normal;
  margin: 0;
  width: 100%;
  text-align: left;
}

.card-back-inner h1 {
  padding-bottom: 20px;
}

.site-container {
  background: black;
}

p {
  font-family: "Monument", sans-serif;
  font-size: 14px;
  line-height: 18px;
  text-decoration: none;
  font-weight: normal;
  margin: 0;
  position: absolute;
  bottom: 16px;
}

.card-back-inner {
  padding: 20px;
}

.card {
  perspective: 1000px;
  width: 428px;
  height: 594px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  background-color: #cdc6bb;
  background-image: url("../assets/grain.png");
  background-size: 100px 100px;
  background-repeat: repeat;
  background-blend-mode: multiply;
}

.card-front {
  background-image: url("../assets/20-things-3632.jpg");
  background-repeat: no-repeat;
  background-size: 400px auto;
  background-color: #cdc6bb;
  background-position: center;
}

.card-back {
  transform: rotateY(180deg);
  justify-content: start;
}

.no-detect {
  text-decoration: none;
  color: inherit;
}

.bottom {
  justify-content: end;
  display: flex;
  flex-direction: column;
}

.space-below {
  padding-bottom: 16px;
}

.half-container img {
  width: 380px;
}

@media only screen and (max-width: 768px) {
  img {
    width: 100%;
  }

  .half-container img {
    width: 100%;
    padding-bottom: 20px;
  }

  .main-container {
    gap: 40px;
  }
  .buy-site-background {
    overflow: scroll;
  }
  .dt {
    display: none;
  }

  .mob {
    display: block;
    padding-top: 10px;
  }

  .half-container {
    width: 100%;
  }

  .top-container {
    display: block;
  }

  .site-background {
    padding: 10px;
  }

  h1 {
    font-size: 26px;
    line-height: 26px;
    padding-bottom: 10px;
  }

  p {
    font-size: 10px;
    line-height: 12px;
  }

  .card {
    width: 320px;
    height: 446px;
  }

  .card-front {
    background-size: 300px auto;
  }

  .card-back-inner {
    padding: 14px;
  }
}
