@charset "UTF-8";

@font-face {
  font-family: "OverusedGroteskRoman";
  src: url("../fonts/OverusedGroteskRoman.eot");
  src:
    url("../fonts/OverusedGroteskRoman.eot") format("embedded-opentype"),
    url("../fonts/OverusedGroteskRoman.woff2") format("woff2"),
    url("../fonts/OverusedGroteskRoman.woff") format("woff"),
    url("../fonts/OverusedGroteskRoman.ttf") format("truetype"),
    url("../fonts/OverusedGroteskRoman.svg#OverusedGroteskRoman") format("svg");
}

body {
  font-family: "OverusedGroteskRoman", var(--default-font-family);
}
:root {
  --default-font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu,
    "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft Yahei UI", "Microsoft Yahei", "Source Han Sans CN", sans-serif;
}

html,
body {
  height: 100%;
}
html {
  font-size: 100%;
}
body {
  color: black;
  -webkit-font-smoothing: antialiased;
  background-color: white;
  background-image: image-set(
    url("../images/bg.webp") type("image/webp"),
    url("../images/bg.jpg") type("image/jpeg")
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
h1,
h2,
h3,
h4 {
  font-weight: normal;
  margin: 0;
  padding: 0;
}
a:link,
a:visited {
  color: black;
  -moz-transition:
    color 0.2s ease-in-out,
    border-bottom-color 0.2s ease-in-out;
  -webkit-transition:
    color 0.2s ease-in-out,
    border-bottom-color 0.2s ease-in-out;
  -ms-transition:
    color 0.2s ease-in-out,
    border-bottom-color 0.2s ease-in-out;
  transition:
    color 0.2s ease-in-out,
    border-bottom-color 0.2s ease-in-out;
  text-decoration: none;
  border-bottom: solid 1px;
}
a:hover {
  color: #ed1d5a;
  border-bottom-color: transparent;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Base-styles ............................. */

.box_margin {
  margin-block-end: 60px;
}
.box_margin2 {
  margin-block-end: 30px;
}
.sml_in {
  display: inline-block;
}

/* Header ............................................................... */

.content {
  position: relative;
  height: 100%;
  min-height: 620px;
}
.content a {
  white-space: nowrap;
}
.content_in {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0;
  width: 100%;
  font-size: 1.5rem;
  -ms-transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.content_in img {
  width: 100%;
  max-inline-size: 170px;
}
.content_in h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.2;
}
.content_in h2 {
  font-size: 1.3rem;
  line-height: 1.3;
}

/* Footer ............................................................... */

.footer {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 100%;
  padding-block: 15px;
  padding-inline: 50px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.footer li {
  display: inline-block;
}

/* Effects ............................. */

a {
  -webkit-transition:
    color 300ms linear,
    border-bottom-color 300ms linear,
    -webkit-transform 300ms linear;
  -moz-transition:
    color 300ms linear,
    border-bottom-color 300ms linear,
    transform 300ms linear;
  -o-transition:
    color 300ms linear,
    border-bottom-color 300ms linear,
    transform 300ms linear;
  -ms-transition:
    color 300ms linear,
    border-bottom-color 300ms linear,
    -ms-transform 300ms linear;
  transition:
    color 300ms linear,
    border-bottom-color 300ms linear,
    transform 300ms linear;
}

a:hover,
a:focus-visible {
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
}

a:focus-visible {
  outline: 2px solid #ed1d5a;
  outline-offset: 0.2rem;
}

/* RESPONSIVE STRUCTURE
--------------------------------------- */

@media screen and (max-width: 1440px) {
  .box_margin {
    margin-block-end: 30px;
  }
  .content_in img {
    width: 100%;
    max-inline-size: 170px;
  }
  .content_in {
    font-size: 1.3rem;
  }
  .content_in h1 {
    font-size: clamp(2.2rem, 3.8vw, 3rem);
  }
  .content_in h2 {
    font-size: 1.25rem;
  }
  .footer {
    padding-block: 10px;
    padding-inline: 30px;
  }
}

@media screen and (max-width: 767px) {
  .content_in img {
    max-inline-size: 170px;
  }
  .content_in {
    font-size: 1.2rem;
  }
  .footer,
  .footer div {
    text-align: center;
  }
}

@media screen and (max-width: 600px) {
  .content {
    min-height: inherit;
  }
  .content_in img {
    max-inline-size: 170px;
  }
}

@media screen and (max-width: 480px) {
  .content_in {
    font-size: 0.9rem;
  }
  .content_in h1 {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
  }
  .sml > .row > div {
    width: 100%;
    margin-inline-start: 0;
  }
}
