@font-face {
  font-family: 'Undertale';
  src: url('../../fonts/undertale-font-rus-eng.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'UndertaleTwo';
  src: url('../../fonts/undertale-dotumche.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html,
body {
  margin: 0;
  padding: 0;
  background-image: url("../../images/bg.png");
  background-size: auto;
  background-position: center;
  font-family: 'Undertale', sans-serif;
  color: white;
  font-size: 20px;
  background-color: black;
  background-repeat: repeat;
  background-attachment: fixed;
}

body {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

header {
  background-image: url("../../images/bg2.png");
  background-position-x: center;
  width: 100%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 1));
  top: 0;
  z-index: 999;
  flex-shrink: 0;
  text-align: center;
}

#menu {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

#menu a {
  font-family: 'Undertale', sans-serif;
  font-size: 22px;
  color: white;
  text-decoration: none;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 1));
  transition: 0.15s;
}

#menu a:hover {
  color: red;
}


#wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

#logo {
  display: flex;
  justify-content: center;
  padding: 40px 0 10px 0;
}

#logo img {
  max-width: 100%;
  height: auto;
}

#love {
  justify-content: center;
  font-size: 22px;
  margin-top: -10px;
  align-items: center;
  text-align: center;
  margin-left: 25px;
  margin-right: 25px;
  line-height: 1.6;
}

footer {
  width: 100%;
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 15px;
  position: relative;
}

#transition {
  width: 100%;
  height: auto;
  margin-bottom: 0px;
  user-select: none;
  pointer-events: none;
}

#rights {
  color: gray;
  font-size: 18px;
  text-align: center;
  pointer-events: none;
  margin: 0;
}

#song {
  display: flex;
  justify-content: center;
  padding: 20px 0 10px 0;
}

#song a img {
  width: 75%;
}

#song a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-size: clamp(14px, 3vw, 24px);
  transition: 0.15s;
  font-family: 'Undertale', sans-serif;
}

#song a:hover {
  color: red;
  transform: scale(1.01);
}

#songWide {
  display: flex;
  justify-content: center;
  padding: 20px 0 10px 0;
}

#songWide a img {
  width: 100%;
}

#songWide a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-size: clamp(14px, 3vw, 24px);
  transition: 0.15s;
  font-family: 'Undertale', sans-serif;
}

#songWide a:hover {
  color: red;
  transform: scale(1.01);
}

#yap {
  font-size: 18px;
  font-family: 'UndertaleTwo', sans-serif;
  max-width: 600px;
  padding-left: 50px;
  padding-right: 50px;
}

#yap p {
  line-height: 2.9;
  margin: 0 0 -0.5px 0;
}

#cough {
  font-size: 12px;
  color: gray;
}

#txt {
  display: flex;
  justify-content: center;
  padding: 80px 0 20px 0;
  margin-left: 25px;
  margin-right: 25px;
}

#txt img {
  max-height: 400px;
  max-width: 100%;
}

#images {
  display: flex;
  justify-content: center;
  padding: 50px 0 20px 0;
  margin-left: 25px;
  margin-right: 25px;
}

#images img {
  max-height: 400px;
  max-width: 100%;
}

#cough {
  color: gray;
  font-size: 12px;
}

#vid {
  display: flex;
  justify-content: center;
  padding-top: 25px;
  max-width: 700px;
}

#vid video {
  width: 100%;
}

#imagesFull {
  display: flex;
  justify-content: center;
  padding: 20px 0 20px 0;
  max-width: 700px;
}

#imagesFull img {
  width: 100%;
}

#learntoread p {
  color: rgb(255, 222, 0);
  font-size: 30px;
  font-family: 'Undertale', sans-serif;
  text-align: center;
  line-height: 2;
}


@media (max-width: 596px) {
  .menu {
    gap: 40px;
  }

  #yap {
    font-size: 12px;
  }

  #logo {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  #logo img {
    max-width: 90%;
    height: auto;
  }

  #love {
    font-size: 16px;
  }

  #rights {
    font-size: 12px;
  }

  #menu a {
    font-size: 18px;
  }


  #txt img {
    max-height: 80%;
  }

  #images img {
    max-height: 80%;
  }

  #cough {
    font-size: 8px;
  }

  #learntoread p {
    font-size: 18px;
  }

}