:root {
    --primary: #ffffff;
    --secondary: #ffffff;
    --accent: #6a5e81;
    --width: auto;
    --height: auto;
  }

*{
    margin: 0;
    border: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Helvetica, sans-serif;
}

body{
    overflow-x: hidden;
    width: 100%;
    --color: rgba(114, 114, 114, 0.3);
    background-color: #191a1a;
    background-image: linear-gradient(0deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent),
        linear-gradient(90deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent);
    background-size: 55px 55px;
    display: inline;
}

.bookBody{
    width: 100%;
    --color: rgba(114, 114, 114, 0.3);
    background-color: #191a1a;
    background-image: linear-gradient(0deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent),
    linear-gradient(90deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent);
    background-size: 55px 55px;
    display: inline;
    overflow: hidden;
}

#slider{
    width: 75vh;
    accent-color: var(--primary);
}


#pageNumber{
    color: var(--primary);
}

.bookShell{
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
}

.book{
    display: flex;
    flex-direction: row-reverse;
}

.bottomBar{
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline-style: solid;
    outline-color: rgba(255, 255, 255, .18);
    outline-width: 1px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 20px;
    border-radius: 15px;
    align-self: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 10px;
    max-width: 100vw;
}

#pageSelector{
    background-color: var(--accent);
}

.turn-page-wrapper{
    display: flex;
    align-items: center;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    color:#ffffff;
    margin-left: 7vw;
    margin-right: 7vw;
    z-index: 1000;

}
#navLine{
    border: 1px solid #ffffff;
    margin-bottom: 10vh;
    margin-left: 7vw;
    margin-right: 7vw;
}

#otherLine{
    border: 1px solid #ffffff;
    margin-bottom: 10vh;
    margin-left: 7vw;
    margin-right: 7vw;
    width: 75%;
}
ul{
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    text-decoration: none;
    gap: 20px;
}

a{
    text-decoration: none;
    color:#ffffff;
}

.otherCon{
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 230px;
    
}

.new{
gap: 30px;
left: 0; 
right: 0; 
margin-inline: auto; 
width: fit-content;
z-index: 100;
position: absolute;
padding: 40px;
width: fit-content;
border-radius: 20px;
display: flex;
color:#ffffff;
background: (0, 0, 0)linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
align-items: center;
justify-content: space-evenly;
height: fit-content;
}

#bod404{
    background-color: white;
    width: 100vw;
}

#text404{
    width: 100vw;
}

#text404 h1{
    size: 3em;
    margin: auto;
}


.waves{
    z-index: -1;
}

.newText{
    font-size: 1em;
    color:#ffffff;
   max-width: 375px;
}

.new p{
    font-size: 14px;
}

.newText h1{
    padding-bottom: 10px;
}


.new img{
    border-radius: 15px;
    height: auto;
    width: auto;
}


.other{
    background-color: var(--accent);
    color: white;
    width: 100vw;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.other h1{
    margin-top: 100px;
    margin-left: 7vw;
    margin-bottom: 20px;
}

.card img{
    max-width: 200px;
    border-radius: 15px;
    height: auto;
    width: auto;
    aspect-ratio: 3 / 4;
}


button{
    background-color: transparent;
}

.card{
    display: flex;
    flex-direction: collum;
}

#search{
    border-radius: 20px;
  border: 1px solid #c0c0c0;
  outline: 0;
  box-sizing: border-box;
  padding: 12px 15px;
    width: 75%;
}

.cardHolder{
    width: fit-content;
    flex-wrap: wrap;
    gap: 9vh;
    order: reverse;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-content: center;
    padding-left: 40px;
    padding-right: 40px;
    
}


footer{
    left: 0; 
    right: 0; 
    margin-inline: auto; 
    width: 100%;
    display: flex;
    flex-direction: column;
    color: white;
}

#previewButtons{
    background-color: white;
    max-width: 250px;
    display: flex;
    justify-content: space-around;
    height: 40px;
    border-radius: 8px;
    outline-style: solid;
    outline-width: 2px;
    outline-color: #767676;
    align-items: center;
}

#previewBack{
    color: black;
}

#issueCreateForm{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    background-color: #1f192a;
    border-radius: 8px;
    margin-top: 22vh;
    padding: 15px;
    gap: 15px;
}

#issueCreateForm h1{
    color: rgb(255, 255, 255);
    margin-bottom: 20px;
}

#issueCreateForm button{
    background-color: #6a5e81;
    color: white;
    padding: 7px;
    margin-top: 20px;
    border-radius: 7px;
    width: 75%;
}



.inputGroup {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    width: 75%;
  }
  
  .inputGroup label {
    display: block;
    color: rgb(255, 255, 255);
    margin-bottom: 4px;
  }

  .inputGroup textarea{
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid rgba(55, 65, 81, 1);
    outline: 0;
    background-color: rgb(212, 212, 212);
    padding: 0.75rem 1rem;
    color: rgb(0, 0, 0);
    resize: none;
    height: 80px;
  }
  
  .inputGroup input {
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid rgba(55, 65, 81, 1);
    outline: 0;
    background-color: rgb(212, 212, 212);
    padding: 0.75rem 1rem;
    color: rgb(0, 0, 0);
  }
  
  

footer p{
    font-size: xx-small;
    background-color: #2c2735;
    padding: 20px;
}

.socialSvg{
    max-width: 30px;
    min-width: 30px;
    fill: white;
}

#footerMain{
    background-color: #2c2735;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    outline-style: solid;
    outline-width: 5px;
    outline-color: #2c2735;
    padding: 20px;
}

#finshBook{
    position: absolute;
    top: 50vh;
    left: 50vw;
}

img{
    width: var(--width);
    height: var(--height);
}

form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: fit-content;
    gap: 10px;
}
#list{
    list-style-type: none; 
     max-width: 100vw;
    display: flex;
    flex-wrap: wrap;

}
#list li {
    float: left; /* Float the images horizontally */
    margin: 5px; /* Space between items */
    width: 100px; /* Width of each image container */
    height: 150px; /* Height of the images */
    box-sizing: border-box; /* Include padding and borders in width calculation */
}

#fileAdd{
    background-color: white;
    max-width: 250px;
    display: flex;
    justify-content: space-around;
    height: 40px;
    border-radius: 8px;
    outline-style: solid;
    outline-width: 2px;
    outline-color: #767676;
    margin-top: 20px;
}
#fileAdd input[type="file"]{
display: none;
}

#addMore {
size: 30px;
}
#fileAdd input[type="file"]::after{
        position: absolute;
        pointer-events: none;
        top: 11px;
        left: 40px;
        color: #0964b0;
        content: "Upload File";
}
.listImg{
 width: 100px;
 height: 150px;
}

#mag{
    height: 400px;
    width: 266px;
    margin-right: 20px;
}

#mag img{
    height: 400px;
    width: 266px;
    position: fixed;
    top: 25vh;
}

#sortCon{
display: flex;
justify-content: space-between;
}

#showcaseBody{
    
    width: 100%;
    --color: rgba(114, 114, 114, 0.3);
    background-color: #191a1a;
    background-image: linear-gradient(0deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent),
        linear-gradient(90deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent);
    background-size: 55px 55px;
    display: inline;
}

#showcaseNav{
    color:white;
}

.holder{
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    flex-direction: column;
    gap: 20px;
}

.holder::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  .holder {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

.studentCard{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    background: (0, 0, 0)linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
}

.studentCard img{
    scale: 50%;
}

.cardText{
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.studentWaves{
    position: fixed;
    bottom: 0;
    z-index: -1;
    }


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .new img{
        max-width: 100px;
    }
    .newText{
        font-size: .5em;
    }
    .new{
        padding: 20px;
        max-width: 80vw;
    }
    .card img{
        max-width: 115px;
    }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .new img{
        max-width: 150px;
    }
    .newText{
        font-size: .7em;
    }
    .new{
        padding: 20px;
        max-width: 80vw;
    }
    .card img{
        max-width: 150px;
    }

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .new img{
        max-width: 175px;
    }
    .card img{
        max-width: 175px;
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .new img{
        max-width: 250px;
    }
    .card img{
        max-width: 200px;
    }

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .new img{
        max-width: 275px;
    }
    .card img{
        max-width: 200px;
    }

}

@media only screen and (min-width: 1500px) {
    .new img{
        max-width: 325px;
    }
    .card img{
        max-width: 250px;
    }
    .otherCon{
        margin-top: 400px;
    }

}

/* Container for the loader */
#loading{
    visibility: visible;
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 1000;
    background-color: #252525;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10em;
    position: absolute;
    z-index: 2000;
    margin: auto;
    width: 100%;
    margin-top: 24%;
  }
  
  /* Circle elements */
  .circle {
    width: 1em;
    height: 1em;
    margin: 0 0.25em;
    border-radius: 50%;
    background-color: #794494;
    animation: wave 1.5s infinite ease-in-out;
    transition: background-color 0.3s ease;
  }
  
  /* Animation */
  @keyframes wave {
    0%, 100% {
      transform: translateY(0);
    }
  
    50% {
      transform: translateY(-1em);
    }
  }
  
  /* Delay for each circle */
  .circle:nth-child(1) {
    animation-delay: 0s;
  }
  
  .circle:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .circle:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  .circle:nth-child(4) {
    animation-delay: 0.6s;
  }
  
  .circle:nth-child(5) {
    animation-delay: 0.8s;
  }
    
#gWaves{
    margin-top: 100px;
}
#purple{
background-color: #6a5e81;
width: 100vw;
height: 100vh;
outline: solid;
outline-width: 20px;
outline-color: #6a5e81;
}


#games{
    width: 100wv;
    display: flex;
    align-items: center;
    justify-content: center;
}

#wordel{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 25px;
color:#ffffff;
background: (0, 0, 0)linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

#wImg{
    width: 200px;
}

#play{
    width: 60px;
}



#letterCon{
    margin-top: 35vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

#letter{ 
    padding: 20px;
    position: absolute;
    border-radius: 20px;
    color:#ffffff;
    background: (0, 0, 0)linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

#text{
    border-radius: 20px;
    width: 700px;
    height: 350px;
    padding: 10px;
}

#letter input[type=text]{
    text-align: left;
}

#submit{
    scale: 1.1;
    border-radius: 2px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    #text{
        width: 200px;
        height: 450px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    #text{
        width: 300px;
        height: 450px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
#text{
    width: 500px;
    height: 250px;
}

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #text{
        width: 700px;
        height: 350px;
    }

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    #text{
        width: 700px;
        height: 350px;
    }

}

@media only screen and (min-width: 1500px) {
    #text{
        width: 700px;
        height: 350px;
    }
}

