@font-face {
  font-family: 'MapoDacapo';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/MapoDacapoA.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SBAggroB';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroB.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ff8ad4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.text h1 {
    position:absolute;
    font-size: 130px;
    color: #d3ff59;
    line-height: 1.1;
    margin:5%;
    text-align: left;
    top:0;
}

.typewriter {
      position: absolute;
      font-size: 130px;
      color: #94ff37;
      white-space: nowrap;
      overflow: hidden;
      width: 20ch;
      margin: 5%;
      margin-top: 10%;
      font-family: "MapoDacapo" ;
      font-weight: 400;
      font-style: normal;
    }

  .typewriter::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: #94ff37;
    margin-left: 2px;
    animation: blink 0.7s step-end infinite;
  }
  
  @keyframes blink {
    50% {
      opacity: 0;
    }
  }

.book {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    perspective: 1000px;
}

.cover {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 0% 10% 10% 0%;
    box-shadow: 50px;
    background-color: #d3ff59;
    transform-origin: left center;
    transition: transform 0.8s ease, width 0.8s ease, height 0.8s ease;
    z-index: 3; 
}

.fold {position: absolute;
left:0;
height: 100%;
width: 10%;
background-color: #bdf428;}

.inner-page {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 0% 10% 10% 0%;
    left: 0; 
    top: 0; 
    transform-origin: left center; 
    z-index: 1; 
    display: none;
    font-family: 'SBAggroB';
}

.enter{
    position:absolute;
    font-size: 100px;
    color: #ff6ba1;
    display: none;
    top:230px;
    left:120px;
    z-index: 2;
    text-decoration: none;
}

.enter:hover{color:#d3ff59;
    text-decoration: none;}


    *{cursor:url('./img/cursor1.png') 2 2, auto;}