@font-face { font-family: BagossCondensed; src: url('fonts/BagossCondensed-Light.woff2'); }
@font-face { font-family: BagossCondensed; font-style: italic; src: url('fonts/BagossCondensed-LightItalic.woff2');}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

::-moz-selection {
  background: #e09890;
}

::selection {
  background: #e09890;
}

body {
  background-color: #f8f8f6;
  color: #231f20;
  font-family: "BagossCondensed", Helvetica, Arial, serif;
  max-width: 2560px;
  margin: 0 auto;
}

.content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  padding: 26px;
}

.welcome {
  font-size: 1.3rem;
  position: absolute;
  top: 26px;
  right: 26px;
  letter-spacing: -0.6px;
}

.welcome > p {
  margin-top: 0;
}

.footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  margin-top: auto;
  font-size: 1.1rem;
}

.footer__second {
  display: none;
  gap: 10px;
}

.videos {
  margin: auto auto 0;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 26px;
}

.videos > p {
  font-size: 1.1rem;
}

.video {
  width: 33%;
}

.video img {
  width: 100%;
}

.video a {
  text-decoration: underline;
}

h1 {
  font-size: min(calc(14vw - 40px), 220px);
  font-weight: 400;
  margin-bottom: -26px;
  margin-top: 0;
}

h2 {
  font-weight: 400;
  text-align: center;
  margin-bottom: 0.8rem;
  font-size: 1.7rem;
  letter-spacing: -1px;
}

a {
  text-decoration: none;
  color: #231f20;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

@media screen and (min-width: 1150px) and (max-height: 800px) {
  .videos {
    margin-top: 90px;
  }
}

@media screen and (min-width: 1300px) and (max-height: 850px) {
  .videos {
    margin-top: 90px;
  }
}

@media screen and (min-width: 1450px) and (max-height: 1100px) {
  .videos {
    margin-top: 90px;
  }
}

@media screen and (max-width: 1200px) {
  h1 {
    margin-bottom: -16px;
  }
}

@media screen and (max-width: 960px) {
  h1 {
    margin-bottom: -12px;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    margin-bottom: -8px;
  }

  .footer {
    font-size: 0.9rem;
  }

  .welcome {
    font-size: 1.1rem;
    right: auto;
    left: 20px;
  }

  .content {
    padding: 75px 20px 20px;
  }

  .h-mobile-auto {
    height: auto;
  }

  .videos {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0;
  }

  .video {
    width: 100%;
    padding: 1rem;
    max-width: 500px;
    position: relative;
    margin: 0 auto;
  }

  .video:not(:first-child)::before {
    width: 100vw;
    height: 1px;
    position: absolute;
    top: 0;
    left: calc((-100vw + 500px)/2);
    background-color: #231f20;
    content: "";
  }
}

@media screen and (max-width: 600px) {
  h1 {
    margin-bottom: -8px;
    font-size: 18vw;
  }

  .footer__first > .footer__el {
    display: none;
  }

  .footer__first {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .footer__second {
    padding: 60px 20px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .videos > p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 540px) {
  .video:not(:first-child)::before {
    left: -20px;
  }
}

@media screen and (max-width: 360px) {
  .welcome {
    font-size: 1rem;
  }

  .footer {
    font-size: 0.8rem;
  }
}
