@font-face {
    font-family: nav;
    src: url(fonts/MondayDonuts.otf);
}

@font-face {
    font-family: special;
    src: url(fonts/CheeseBurger.otf);
}

@font-face {
    font-family: title;
    src: url(fonts/milkyway.otf);
}

@font-face {
    font-family: chara;
    src: url(fonts/Joylide.otf);
}

nav ul a{
	padding: 10px;
	font-family: nav;
    font-size: 20px;
}

nav ul li {
    border: 1px solid;
    color: white;
    padding: 5px;
    border-color: rgba(0, 0, 0, 0);
}
nav ul a:link{
	color: white;
	text-decoration: none;
}

nav ul li:hover {
    border: 1px solid;
    border-color: rgba(246, 240, 132, 0.8);
}

nav ul li:hover{
	background-color: rgba(175, 52, 192, 0.5);
    border-radius: 10px;
}


nav ul a:visited{
	color: white;
}

header {
    background-color: rgba(95, 34, 152, 0.8);
    border-radius: 20px;
	display: flex;
    box-shadow: 5px 5px 5px rgba(57, 52, 80, 0.8);
}

nav ul{
    list-style: none;
    display: flex;
	margin: 0;
	padding: 5px;
	align-items: center;
    flex-wrap: wrap;
}

#home {
    background: url(images/ngnl.png) no-repeat center center fixed;
    -webkit-background: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
}

header{
	display: flex;
	padding: 10px;
    margin-bottom: 40px;
}

#kafka {
    position: fixed;
    bottom: 0;
    width: 30%;
}

.deco {
    -webkit-filter: drop-shadow(1px 1px 0 white)
                  drop-shadow(-1px -1px 0 white);
  filter: drop-shadow(1px 1px 0 white) 
          drop-shadow(-1px -1px 0 white);
          z-index: 10;
}

#raiden {
    position: fixed;
    bottom: 0;
    width: 30%;
    right:0px;
}

p {
    font-size: 20px;
}

.text {
    text-align: center;
    color: white;
    width:50%;
    margin:auto;
    position: relative;
    top:5%;
    background-color: rgba(34, 34, 128, 0.5);
    border-radius: 10px;
    padding:10px;
    padding-top: 0.5px;
    box-shadow: 5px 5px 5px rgba(57, 52, 80, 0.8);
}

#k {
    width: 50%;
}

#title{
   font-family: title;
   font-size: 60px;
}

.box {
    position: relative;
    width:50%;
    height:100%;
    
    min-width: 550px;
    margin: auto;
    margin-bottom: 10px;
    margin-top: 10px;
}

.bio {
    text-align: center;
    color: white;
    width:43vw;
    height:fit-content;
    margin:auto;
    background-color: rgba(88, 23, 116, 0.7);
    border-radius: 10px;
    padding:20px;
    padding-right: 30px;
    padding-left: 30px;
    box-shadow: 5px 5px 5px rgba(40, 15, 38, 0.8);
}

.charaleft {
    -webkit-filter: drop-shadow(1px 1px 0 white)
                  drop-shadow(-1px -1px 0 white);
  filter: drop-shadow(1px 1px 0 white) 
          drop-shadow(-1px -1px 0 white);
    width: 30%;
    position: absolute;
    left:0px;
    bottom:0px;
    z-index: 10;
    flex: 1;
}

.chararight {
    -webkit-filter: drop-shadow(1px 1px 0 white)
                  drop-shadow(-1px -1px 0 white);
  filter: drop-shadow(1px 1px 0 white) 
          drop-shadow(-1px -1px 0 white);
    width: 30%;
    position: absolute;
    right:0px;
    bottom:0px;
    z-index: 10;
    flex: 1;
}

iframe {
    width: 100%;
    height: 40vh;
 }

 #characterpage {
    background: url(images/madoka.png) no-repeat center center fixed;
    -webkit-background: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
 }

 h2 {
    font-size: 20px;
    margin: 5px;
    font-family: nav;
 }

 h1 {
    margin: 3px;
    font-family: chara;
 }

 #charatitle{
    font-size: 50px;
    color: white;
    font-family: title;
 }

 .pleft {
    font-size: 18px;
    padding-left: 18vh;
 }

 .pright {
    font-size: 18px;
    padding-right: 23vh;

 }

 .center {
    text-align: center;
    width:100%;
    margin: 10px;
 }

 #everything {
    display: flex;
    flex-wrap: wrap;
 }

 #flip {
    transform: scaleX(-1);
 }

 @keyframes bounce {
    from {
        transform:translate3D(0, 0, 0);
    }
    to {
        transform:translate3D(0, -15px, 0);
    }
}

  

.charaleft:hover, .chararight:hover, #kafka:hover, #raiden:hover {
    animation-name: bounce;
    animation-duration: 1000ms;
    animation-iteration-count: 1;
    animation-timing-function: linear; 
    animation-fill-mode: forwards;
    -webkit-filter: drop-shadow(1px 3px 3px #ffffff);
        filter: drop-shadow(1px 3px 3px #ffffff) brightness(1.1);
}

.charaleft, .chararight, #raiden, #kafka {
    cursor: url('images/cursoroutline.png'), auto;
}

@keyframes kurukuru {
    from {
        transform:translateX(-100vw);
    }
    to {
        transform:translateX(100vw);
    }
}


.charaleft:active, .chararight:active, #kafka:active, #raiden:active  {
    -webkit-animation: none;
            animation: none;
  }

#specialClick, #reset {
    font-family: special;
    color: #F7C3FF;
}

#kuru:active {
    background-color: rgba(83, 66, 209, 0.7);
    color:rgb(183, 146, 205)
}

#overkuru {
    width: 25%;
    z-index: 20;
    position: fixed;
    bottom: 0;
    animation-name: kurukuru;
    animation-duration: 4000ms;
    animation-iteration-count: 1;
}