html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  cursor: url('http://www.rw-designer.com/cursor-extern.php?id=183744');
  background-image: linear-gradient( #720f30, #081325);
  color: whitesmoke;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative; /* ensures absolute children are placed relative to the body */
  overflow-x: hidden;
  transition: background-image 0.5s ease; /*remove this later its the stupid background button thing*/
}

@font-face {
  font-family: magnolia-muse;
   src: url("magnolia-muse.ttf") format("truetype");;
}
h,p {
   font-family: magnolia-muse;
}


/* HEADER */
#header {
  width: 100%;
  display: block;
  margin: 0 auto;
}
.back-video {
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    z-index: -1;
    opacity: 1; /* Optional: adjust to taste */
    filter: blur(10px);
    pointer-events: none;
}

/* ARCHES */

.ArchL, .ArchR {
  position: fixed;
  top: 0;
  width: 350px;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: block;
}

.ArchL {
  left: 0;
}

.ArchR {
  right: 0;
  transform: scaleX(-1);
}
.archconnect{
  background-color: #081325;
  position: fixed;
  top: 0.4;
  width:100%;
  height: 78px;
}
.logo{
    width:40%;
    animation:3s logos ease;
}

@keyframes logos{
  from{opacity:0; filter:blur(5px);}
  to{opacity: 1;filter:blur(0px);}
}

@media only screen and (max-width: 1040px) {
    
.back-video {
    position: fixed;
    top: 0;
    transform: rotate(90deg);
    transform-origin: center;
    width: 100vh; /* yes, flip width/height */
    height: 100vw;
    filter: blur(5px);
    object-fit: cover;
  }
    

   .ArchL, .ArchR {
  position: fixed;
  top: 0;
  width: 30%;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: block;
}
.archconnect{
  position: fixed;
  top: 0.4;
  width:100%;
  height: 8%;
}
.logo{
    width:100%;
}


}
#menu{
    width: 40%;
    border-radius: 20px;
    border: 3px solid black;
    text-align: center;
    margin: auto;
    display: flex;
  justify-content: space-between;
  align-items: center
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

ul li {
  float: left;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}


#pinupplaceholder{
    border-radius: 40px;
  border: 2px solid #081325;
  margin: 10px 10px 10px 10px;
  width: 20px;
  height: 20px;
  
}
.fab{
  background-image: linear-gradient(#a88332, #081325); 
}
#pinupplaceholder:hover{
    border-radius: 40px;
  border: 2px solid #081325;
  background: white;
  margin: 5px 10px 15px 10px;
  width: 20px;
  height: 20px;
  transition: 0.5s;
}
#pinupplaceholder:after{
    border-radius: 40px;
  border: 2px solid #73AD21;
  margin: 10px 10px 10px 10px;
  width: 20px;
  height: 20px;
  transition: 0.5s;
}
/* BUTTON */
.button1 {
  background: #800b0b;
  border-radius: 999px;
  box-shadow: #c43131 0 10px 20px -10px;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  padding: 8px 18px;
  width: fit-content;
  border: 0;
  transition: all 0.5s;
  margin: 10px 10px 20px 10px;
}


.button1 span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button1 span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button1:hover span {
  padding-right: 25px;
}

.button1:hover span:after {
  opacity: 1;
  right: 0;
}

/* OTHER STYLES */
#todo {
  margin: 100px;
  padding: 10px;
  border-style: dashed;
  border-radius: 25px;
}

h1 {
  text-align: center;
  margin: auto;
  width: 50%;
  padding: 10px;
  font-family: CHARLEY;
}
 .UpcomingContainer{
display:grid;
box-sizing: border-box;
grid-template-columns: auto auto auto;
gap:50px;
background-image: linear-gradient(rgba(8,19,37,0) 2%, #081325 10%);
padding: 10vw;

}

.Upcoming{
background-color:#6983b0;
text-align: center;
color:black;
justify-content: center;
border-radius: 25px;
padding-top: 66.66%;
width: 100%;
transition: 0.5s ease;
opacity: 0;
  animation: fade-in 1s ease forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.Upcoming:nth-child(2) { animation-delay: 0s; }
.Upcoming:nth-child(3) { animation-delay: 0.3s; }
.Upcoming:nth-child(4) { animation-delay: 0.6s; }

.Upcoming:hover{
background-color: blue;
color: whitesmoke;
border-radius: 25px;
width: 60;
}

.upcoming{
  grid-column-start: 1;
  grid-column-end: 4;
font-size: 20px;
  text-align: center;
  bakground-color: yellow;
  animation: fade-in linear;
  animation-timeline: view();
  animation-range-end: 20vw; 

}

@keyframes fade-in{
  from{translate: 0px 200px;}
  to{translate: 0px; opacity:1;}
}

.MissedItContainer{
}

.MissedIt{
}




#guestbook {
    display: flex;
    justify-content: center;
    align-items: center;
  border-radius: 25px;
  width: 60%;
  padding: 10px;
}

#guestbook >form{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

#guestbook textarea{
border:1px dashed gray;
background-color:rgba(1, 1, 1, 0);
}

#guestbook:hover{

    transition:0.5s ease;
}


.bookcontainer{
  height:100vh;
  width:100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  /*perspective:1000px;*/
}
.bookcontainer:hover .cover{
  transform: rotateX(10deg) rotateY(-180deg);
}
.bookcontainer:hover .page{
  transform: rotateX(10deg) rotateY(-180deg);
  z-index: 3;
}
.cover{
    z-index: 2;
    transition: all 3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-cover{
z-index: -1;
}


.cover,
.back-cover{
  height: 500px;
  width: 460px;
  background-color: #363062;
  border-radius: 2px 10px 10px 2px;
  position: absolute;
  box-shadow: 1px 1px 10px black;
  transform:rotateX(10deg);
  transform-origin: center left;
}


.bookcontainer:hover .page:nth-child(2){
  transition-duration: 3s;
}


.page,
.PAGE{
height: 480px;
width: 450px;
background: #fff7f1;
position: absolute;
border-radius: 2px 5px 5px;
z-index: 1;
transform-origin: center left;
/*transform:rotate(20deg);*/
}
.page:nth-child(2){
  transition-duration: 3s;
}
.page:nth-child(3){
  transition-duration: 2.6s;
}
.page:nth-child(4){
  transition-duration: 2.2s;
}
.page:nth-child(5){
  transition-duration: 1.8s;
}
.page:nth-child(6){
  transition-duration: 1.4s;
}

.bookcontainer:hover .page:nth-child(2){
  transition-duration: 6s;
}
.bookcontainer:hover .page:nth-child(3){
  transition-duration: 5.6s;
}
.bookcontainer:hover .page:nth-child(4){
  transition-duration: 5.2s;
}
.bookcontainer:hover .page:nth-child(5){
  transition-duration: 4.8s;
} 
.bookcontainer:hover .page:nth-child(6){
  transition-duration: 4.4s;
}

.PAGE{
    display: flex;
flex-direction: column;
  justify-content: flex-start;
align-items:center;
overflow:hidden;
z-index:1;
}
