.header{
    display: flex;
    justify-content: center;
}

body {
 cursor: url(Images/StarCurs.png), auto;
 display: flex;
 overflow-x: hidden;
 flex-direction: column;
 background-attachment: fixed;
 color: aliceblue;
 background-color:black
}

.sliding-background {

    background-image: url(Images/stars.gif);
    background-repeat: repeat;
    height: 2000px;
    margin-top: -500px;
    margin-right: -500px;
    z-index: -1;
    width: 120vw;
    animation: backgroundslide 100s linear infinite; 
    position: absolute;
}

@keyframes backgroundslide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-400px, 0, 0);
  }
}

a:link {
  color: darkorange;}

a:visited {
  color: green;}

a:hover {
  color: red;}

a:active {
  color: blue;}

.columns {
    display: flex;
    justify-content: center;
    gap: 0rem;
    align-content: normal;
}

.book {
    color: lightgray;
    width: 100%;
    border: solid;
    border-radius: 10px;
    border-width: 3px;
}

.bookcontent {
    display: flex;
    justify-content: center;
    color: rgb(0, 0, 0);
    background: darkorange;
    text-align: center;
    border: inset;
    margin-bottom: -250px;
}

.bookshelf {height: 200px;}

.librarybook {display: flex; justify-content: space-evenly;}

.card {
    display: flex;
    overflow: scroll;
    justify-content: top;
    flex-direction: column;
    border-color:darkorange;
    border-width: 0px;
    border-radius: 20px;
    border-style:double;
    z-index: 5;
    width: 700px;
    height: 1200px;
    text-align: center;
    background: rgba(60, 60, 60, 0.5)

    
}

details:open{
    background: rgb(163, 163, 163);
    transition: 1s;
}
button:hover {
 color: black;
}
button:after {
 content: "";
 background: rgb(78, 78, 78);
 position: absolute;
 z-index: -1;
 left: -20%;
 right: -20%;
 top: 0;
 bottom: 0;
 transform: skewX(-90deg) scale(0, 1);
 transition: all 1s;
}

button:hover:after {
 transform: skewX(-10deg) scale(1, 1);
 -webkit-transition: all 0.5s;
 transition: all 0.25s;
}


.lsidebar {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    z-index: 5;
    font-size: 15px;
border-radius: 25px;
    text-align: center;
    list-style: none;
    width: 200px;
    padding: 1rem;
    background: rgba(60, 60, 60, 0.5)
    
}

.Profile{
    display: flex;
    flex-direction: row;
    align-self: auto;
    gap: 10px;
    background: rgb(80, 80, 80);
    text-align: left;
    align-items: center;
    height: 50px;
    border: solid;
    border-radius: 5px;
}

.rsidebar {
    margin: 0 20px;
    border-radius: 25px;
    z-index: 5;
    width: 200px;
    padding: 1rem;
    background: rgba(60, 60, 60, 0.5)
}

.btn {
 width: 200px;
 height: 40px;
 margin: 1px;
 background: black;
 color: white;
 border: none;
 border-radius: 1px;
 font-size: 10px;
 font-weight: bold;
 cursor: pointer;
 position: relative;
 z-index: 1;
 overflow: hidden;
}

.center {
    align-self: center;
}

.const {
    display: flex;
    padding: 20px;
    flex-direction: column;
    width: 700px;
}

.About {
    display: flex;
    flex-direction: column;
    width: 700px;
}
details {
background: rgb(73, 73, 73);
text-align: center;
border-radius: 1px;
margin: 1px;
font-weight: bold;
box-shadow: 1px 1px 2px #bbbbbb;
cursor: pointer;
}
details:hover{
 color: black;
 background-color: rgb(129, 129, 129);
}

details:active{

background: darkorange;
}



summary {
    list-style: url(Images/spinningcube.gif);
    list-style-position:inside
}

.title {

    border-top: double;
    border-bottom: double;
    border-color: darkorange;
    border-radius: 10px;
    width: 100%;
    margin: 0px;

}

.toptitle {
animation: float 3s ease-in-out infinite;
}


 @keyframes float {
            0% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-20px);
            }

            100% {
                transform: translateY(0);
            }
        }



footer {
background-color: rgba(60, 60, 60, 0.5);
display: block;
margin: 10px;
width: 65vw;
margin-left: 17vw;
text-align: center;
padding: 1px;
border-color:darkorange;
border-width: 1px;
border-style: inset;
}
.footerbtns{display: flex; flex-direction: row; justify-content: center;}

.webbtn{ display: block; width: 88px;}

.webbtn:hover{  transform: scale(1.5); transition: 0.1s;}
