@font-face {
  font-family: TS;
  src: url("assets/toronto-subway.otf");
  font-weight: normal;
}

@font-face {
  font-family: TS;
  src: url("assets/toronto-subway-bold.otf");
  font-weight: bold;
}

@font-face {
  font-family: BS;
  src: url("assets/LibreBaskerville-Regular.ttf");
}

@font-face {
  font-family: BS;
  src: url("assets/LibreBaskerville-Italic.ttf");
  font-style: italic;
}

@font-face {
  font-family: BS;
  src: url("assets/LibreBaskerville-Bold.ttf");
  font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "BS";
}

html {
  scroll-behavior: smooth;
}

extendo {
  height: 48vh;
}

#overlay {
  /* background: linear-gradient(to top, white 0%, transparent 20vh); */
  position: fixed;
  bottom: 0px;
  left: 0;
  right: 0;
  height: 20vh;
  pointer-events: none;
  z-index: 9999;
}

a,
p,
span {
  font-size: 15px;
}

a {
  font-size: medium;
  padding-block: 10px;
  border: 0px solid black;
  color: blue;
}

a:hover {
  background-color: #000;
  color: #fff;
}

p {
  line-height: 1.4;
  text-rendering: optimizeLegibility;
}

*::selection {
  background-color: #da251d;
  color: #fff;
}

/* img {
  width: 100%;
} */

hr {
  width: 140px;
  border-top: 3px dotted black;
  margin-block: 20px;
  color: transparent;
}

h1::selection {
  background-color: black;
  color: #fff;
}

h1 {
  font-family: TS;
  font-weight: bold;
  background-color: #da251d;
  color: white;
  padding-inline: 6px;
  border-radius: 3px;
  line-height: 32px;
  transform: translateY(-2px);
  padding-bottom: 2px;

  margin-top: 10px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* background-color: #f5f5f5; */
}

#heart-making {
  width: 100%;
  border: 1px solid black;
  filter: grayscale(100%);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2vw;
}

.box {
  width: 95%;
  max-width: 740px;
  padding: 10px;

  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.box > div {
  max-width: 340px;
  display: flex;
  gap: 10px;
  flex-direction: column;

  font-size: larger;

  padding: 10px;
  padding-top: 0px;

  > p,
  > img {
    padding-block: 5px;
  }
}

#first-visit-box {
  margin-bottom: 50px;
}

#hero {
  margin-top: max(calc(50vh - 340px), 0px);
}

#hero {
  padding-bottom: 0px;
}

.arena-link:hover {
  > .arena-link-1 {
    /* display: none; */
  }
}

footer {
  position: fixed;
  bottom: 0vw;

  /* max-width: 300px; */
  /* width: 95%; */
  /* left: 50%; */
  /* transform: translateX(-50%); */
}

@keyframes slideInFromRight {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-37.5%);
  }
}

#heart-making {
  border-inline: none;
  border-block: 2px solid black;
  border-radius: 4px;
}

#heart-making > #h1 {
  border-width: 0 8px 0 0;
  border-style: solid;
  border-color: transparent;
  border-image-source: url("assets/wave.svg");
  border-image-slice: 0 1000 0 0;
  border-image-repeat: repeat;
  position: relative;

  background-image: url("assets/heart-making.gif");
  width: 320px;
  height: 310px;
  background-size: cover;
  background-position: center;

  position: absolute;
}

#heart-making > #h2 {
  border-width: 0 0 0 8px;
  border-style: solid;
  border-color: transparent;
  border-image-source: url("assets/wave-rev.svg");
  border-image-slice: 0 0 0 1000;
  border-image-repeat: repeat;
  position: relative;

  width: 100%;
  height: 310px;
  background-size: cover;
  background-position: center;
}
