*{
  margin: 0;
  padding: 0;
}

html{
  height:100%;
  min-height: 30rem;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #f5effc;
}

body{
  font-family: Suisse-Works;
}

a{
  text-decoration: none;
  color: inherit;
}

p{
  margin-bottom: 1rem;
}

nav{
  position: relative;
  height: 4rem;
  width: 100vw;
  background-color: #9f5dfc;
}


nav .nav_logo{
  display: inline-block;
}

nav .nav_options{
  display: inline-block;
}

nav .flowers{
    position: absolute;
    top: 1.3rem;
    font-size: 2rem;
}

nav .flowers_1{
  left: -14.5rem;
}

nav .flowers_2{
  left: 8.3rem;
}

nav .logo_link{
  display: inline-block;
  position: relative;
  left: 0.8rem;
  top: -0.8rem;
  width: fit-content;
  margin-right: calc(95vw - 60rem);
  margin-left: 15rem;
}

nav .logo_link:hover .flowers{
  color: #a4fc28;
}

nav .logo_img{
  width: 8rem;
  padding: 0 0;
  margin: 0 0;
}

nav .nav_link{
  font-family: BackOut;
  display: inline-block;
  position: relative;
  top: -2.8rem;
  width: 10rem;
  margin: 0 1vw;
  padding: 0.25rem 0.25rem;
  font-size: 2rem;
  text-align: center;
  z-index: 2;
}

nav .nav_link:hover{
  color: #a4fc28;
  text-decoration: underline;
}

nav .mobile_logo{
  display: none;
}

nav .mobile_flower{
  display: none;
}

.hamburger{
  position: absolute;
  top: 5rem;
  right: 3rem;
  z-index: 9;
  display: none;
  width: 100px;
  height: 15px;
  background-color: black;
  border-radius: 8px;
  /* margin: 16px 0; */
  transition: all .5s ease;
}

.contents{
  position: absolute;
  /* left: max(20rem, 30vw); */
  left: 2rem;
  top: 4rem;
  width: calc(84vw - 20rem);
  /* background-color: red; */
  padding: 2rem;
  padding-bottom: 3rem;
}

.contents h2{
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contents a{
  text-decoration: underline;
}


.bottom_border{
  position: fixed;
  bottom: 0rem;
  height: 2rem;
  width: 200vw;
  /* background-color: #c6c6c6; */
  background-color: #9f5dfc;
  z-index: 1000;
}

.border_text{
  position: relative;
  top:-0.5rem;
  margin-left: 0.75vw;
  margin-right: 0.75vw;
  display: inline-block;
  z-index: 1000;
}

.bottom_border .border_text{
  animation: border-animate 12s linear infinite normal;
}

.border_text img{
  position: relative;
  width: 3.5vw;
  z-index: 1000;
}

#menu_check{
  display: none;
  position: absolute;
  top: 0;
  right: 0rem;
  z-index: 1000;
}

@-webkit-keyframes border-animate {
  0% {
    left: -60vw;
  }
  100% {
    left: 0vw;
  }
}

@media (max-width: 1080px) {

  body{
    overflow-x: clip;
  }

  .contents p{
    font-size: 2rem;
  }

  nav{
    width: 100vw;
    height: 12rem;
  }

  nav .nav_logo{
    display: block;
    margin-left: 6rem;
    /* margin: auto; */
    width: fit-content;
  }

  nav .logo_link{
    top: -3.2rem;
    margin-left: 0;
    margin-right: 0;
  }

  nav .flowers_1{
    position: relative;
    display: block;
    top: -5.8rem;
    left: 0;
    margin: auto;
    text-align: center;
    font-size: 3rem;
  }

  nav .flowers_2{
    display: none;
  }

  nav .logo_img{
    width: 37vw;
  }

  nav .nav_options{
    position: fixed;
    top: -150rem;
    transition: all .5s ease-in-out;
    height: calc(100vh - 4rem);
    width: 100vw;
    background-color: #9f5dfc;
    z-index: 500;
  }

  nav .nav_link{
    display: block;
    font-size: 5rem;
    margin-bottom: 3rem;
    top: 2rem;
    left: 6rem;
  }

  nav .mobile_logo{
    position: relative;
    display: block;
    top: 3rem;
  }

  nav .mobile_flower{
    position: relative;
    display: block;
    top: 3rem;
    text-align: center;
    margin: auto;
    width: 80vw;
    font-size: 30rem;
  }

  .hamburger{
    display: block;
    z-index: 501
  }

  .contents{
    top: 15rem;
    left: 5vw;
    width: 85vw;
  }

  .bottom_border{
    height: 5rem;
    z-index: 100;
  }

  .border_text{
    top:0rem;
  }

  .border_text img{
    width: 10vw;
  }

  .bottom_border .border_text{
    animation: border-animate 4s linear infinite normal;
  }

  .menu_label input:checked ~.nav_options{
    top: 0rem;
  }

  .menu_label input:checked ~.hamburger{
    transform: translateX(-50px);
    background: transparent;
    position: fixed;
  }

  .menu_label input:checked ~.hamburger::before{
    transform: rotate(45deg) translate(0px, -0px);
    left:30px;
  }

  .menu_label input:checked ~.hamburger::after{
    transform: rotate(-45deg) translate(0px);
    left:30px;
  }

  .hamburger::before,
  .hamburger::after{
    content: '';
    position: absolute;
    width: 100px;
    height: 15px;
    /* top: 50px; */
    background-color: black;
    border-radius: 8px;
    /* margin: 16px 0; */
    transition: all .5s ease;
  }

  .hamburger::before{
    transform: translateY(-35px);
  }

  .hamburger::after{
    transform: translateY(35px);
  }

}

@media (max-width: 1080px) and (orientation:portrait) {
  .contents h2{
    font-size: 5rem;
    max-width: 80vw;
  }

  .contents h3{
    font-size: 3rem;
  }

  .contents p{
    font-size: 2.25rem;
  }
}

@media (max-width: 1080px) and (orientation:landscape) {

  .contents h2{
    font-size: 4rem;
    max-width: 80vw;
  }

  .contents h3{
    font-size: 2rem;
  }

  .contents p{
    font-size: 1.5rem;
  }
}
