@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Devonshire&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Baloo+Thambi+2&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lobster+Two&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+Pro&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kalam&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kurale&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

a {
  text-decoration: none;
  color: black;
}

ol,
ul {
  list-style-type: none;
}

/* MIXIN FONTS */
html {
  box-sizing: border-box;
  font-size: 62.5%;
  overflow-y: hidden;
  overflow-x: hidden;
}

body {
  padding-top: 50px;
  font-size: 1.6rem;
  height: 100vh;
  background-color: #181a1b;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 5rem;
  color: white;
}

.txt-animation {
  text-align: center;
  font-size: 2rem;
  color: white;
}

.carousel {
  margin-top: calc(100vh / 5);
  perspective: 500px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  scale: 1.3;
}
.carousel > * {
  flex: 0 0 auto;
}
.carousel figure {
  width: 400px;
  transform-style: preserve-3d;
  transition: transform 0.5s;
  transform-origin: 50% 50% -482.8427124746px;
}
.carousel figure a:not(:first-of-type) {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 50% 50% -482.8427124746px;
}
.carousel figure a:not(:first-of-type):nth-child(2) {
  transform: rotateY(0.7853981634rad);
}
.carousel figure a:not(:first-of-type):nth-child(3) {
  transform: rotateY(1.5707963268rad);
}
.carousel figure a:not(:first-of-type):nth-child(4) {
  transform: rotateY(2.3561944902rad);
}
.carousel figure a:not(:first-of-type):nth-child(5) {
  transform: rotateY(3.1415926536rad);
}
.carousel figure a:not(:first-of-type):nth-child(6) {
  transform: rotateY(3.926990817rad);
}
.carousel figure a:not(:first-of-type):nth-child(7) {
  transform: rotateY(4.7123889804rad);
}
.carousel figure a:not(:first-of-type):nth-child(8) {
  transform: rotateY(5.4977871438rad);
}
.carousel figure img {
  width: 100%;
  height: 200px;
  box-sizing: border-box;
  padding: 0 40px;
}
.carousel nav {
  display: flex;
  justify-content: center;
  margin: 20px 0 0;
}
.carousel nav button {
  flex: 0 0 auto;
  margin: 0 5px;
  cursor: pointer;
  color: #c7c3be;
  background: none;
  border: 1px solid;
  letter-spacing: 1px;
  padding: 5px 10px;
}
.carousel nav button:hover {
  transition: background-color 500ms ease-out;
  background-color: #726e6e;
  color: white;
}

/*# sourceMappingURL=main.css.map */
