style.css
/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

*, *::before, *::after {
  box-sizing: border-box;
}

*:not(dialog) {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

#root, #__next {
  isolation: isolate;
}

/*------ My Css starts here*/

body {
  margin: 0;
  color: #E7DAC3;
  background: linear-gradient(to bottom, #832233, #14100D);
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 5%;
}

main * {
  max-width: 100%;
}


.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0vh;
  padding-bottom: 2vh;
  text-align: center;
}

.title-serif {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: clamp(16px, 5vw, 30px);
  line-height: 1.1;
  margin-top: 1.5rem;
}

.title-display {
  display: block;
  font-family: "Playfair Display SC", serif;
  font-size: clamp(40px, 15vw, 120px);
  line-height: 1.1;
}
h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 50px;
}
p {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
  font-size: 18px;
}

img {
  margin: 0 auto;
}

.vine_frame {
  width: 100vw;
  max-width: 100vw;
  padding-top: 1vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: -14vw;
}

.mask {
  width:250px;
}

.wine-glasses {
  width: 350px;
}

  .dialogue-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 6vw, 120px);
    flex-wrap: nowrap;
  } 

  .dialogue-text {
    flex: 1 1 auto;
    max-width: 700px;
    min-width: 0;
  }

  .dialogue-text p {
    max-width: none;
    margin: 0 0 1.5em 0;
  }

  .jester-left,
  .jester-right {
    width: clamp(50px, 18vw, 250px);
    flex-shrink: 1;
  }

.jester-left:hover,
.jester-right:hover {
   transform: scaleX(-1);
}

.gravestone {
  width: 100%;
  margin: 0;
}

.street {
  width: 250px;
}

.napkin {
  width: 200px;
  animation: cough 0.3s ease-in-out infinite;
}

@keyframes cough {
  50% {
    transform: translateX(6px);
  }
}

.bottle {
  width: 300px;
  padding-bottom: 2rem;
}

.crest-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 6vw, 120px);
  flex-wrap: nowrap;
}

.crest-text {
  max-width: 700px;
  min-width: 0;
  flex: 1 1 auto;
}

.crest-text p {
  max-width: none;
  margin: 0 0 1.5em 0;
}

.crest-left,
.crest-right {
  width: clamp(50px, 18vw, 200px);
  flex-shrink: 1;
}

.hallway {
  width: 300px;
  padding-bottom: 2rem;
}

.torch {
  float: right;
  width: 130px;
  margin: 0 0 1rem 1.5rem;
}

.has-float {
  overflow: ;
}

.skulls {
  width: 250px;
  padding-bottom: 2rem;
}

.chain {
  float: right;
  width: 250px;
  margin: 0 0 1rem 1.5rem;
}

/* Footer links to classmates' sites */
.site-links {
  text-align: center;
  padding: 40px 0;
  font-size: 14px;
}

.site-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.site-links a {
  color: #E7DAC3;
  text-decoration: underline;
}

.site-links a:hover {
  color: #ffffff;
}


/* All images are generated from ChatGPT. The original story is from: https://www.gutenberg.org/cache/epub/1063/pg1063-images.html*/ 
