@font-face { font-family: Itim;
  src: url(/Fonts/Itim-Regular.ttf);
}
* {display: border-box;}

body {
  position: relative;
  text-align: center;
  background-image: url("/Home/EBback1.PNG");
  font-family: "Itim";
}

#Middle {
    width: 625px;
    
}
#Right {
    width: 100px;
    height: 100px;
}
#Left {
    width: 100px;
    height: 400px;
}

#Holder {
    margin: auto;
    position: relative;
    width: 650px;
    height: 1000px;
}

#BookmarkHolder {
    height: fit-content;
    width: fit-content;
    position: absolute;
    bottom: 725px;
    left: 50px;
}
#BookmarkHolderBottom {
    height: fit-content;
    width: fit-content;
    position: absolute;
    bottom: 225px;
    left: 25px;
}

.Bookmark {
    width: fit-content;
    left: -25px;
    img {
        width: 110px;
        image-rendering: pixelated;
    }
    transition: .5s;
}
#TBR {img {width: 140px;}}
.Bookmark:hover {transform: translateX(-25px);}

#TopLogoThin {
  padding: 0px;
  border: 4px #108E65 solid;
  background-color: #b8fac1;
  border-radius: 12px;
  margin: auto;
  margin-bottom: 10px;
  width:625px;
  height:100px;
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  justify-content: center;
    img {
    width: 80px;
    height: 80px;
    }
    h2 {
      font-size: 40px;
    }
}

#Back {
    margin: auto;
    margin-top: 25px;
    width: fit-content;
    height: fit-content;
    font-size: 20px;
    background-color: #F7A169;
    border: 4px #E8742E solid;
    a {
        padding: 10px;
    }
    a:hover {
        background-color: #E8742E;
    }
}

#Main {
    margin: auto;
    margin-top: 80px;
    width: 400px;
    height: 600px;
    background-color: #69bef7;
    border: 4px #2e69e8 solid;
    overflow-y: scroll;
    overflow-x: hidden;
}
#Main::-webkit-scrollbar {
width: 8px;
}
#Main::-webkit-scrollbar-track {    
background-color: #2bbdf7;;
border: 2px solid #193af8;

}
#Main::-webkit-scrollbar-thumb {
background: #e2e2e2;
border: 2px solid #193af8;
}


#InsetTop {
    margin: auto;
    margin-top: 25px;
    width: fit-content;
    height: fit-content;
    padding: 7px;
    background-color: #4d99cc;
    border-radius: 12px;
    h2 {
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: 34px;
        text-shadow: 2px 2px 0 white, 
    2px -2px 0 white, 
    -2px 2px 0 white, 
    -2px -2px 0 white,
     2px 0px 0 white, 
     0px 2px 0 white, 
     -2px 0px 0 white, 
     0px -2px 0 white;
    }
}
#Inset {
    margin: auto;
    margin-top: 25px;
    width: fit-content;
    height: fit-content;
    padding: 7px;
    background-color: #387daa;
    text-shadow: 1px 1px 0 white, 
    1px -1px 0 white, 
    -1px 1px 0 white, 
    -1px -1px 0 white,
     1px 0px 0 white, 
     0px 1px 0 white, 
     -1px 0px 0 white, 
     0px -1px 0 white;
    border-radius: 12px;
    h2 {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}
#ArchInset {
    margin: auto;
    margin-top: 2px;
    width: 150px;
    height: fit-content;
    padding: 2px;
    background-color: #387daa;
    text-shadow: 1px 1px 0 white, 
    1px -1px 0 white, 
    -1px 1px 0 white, 
    -1px -1px 0 white,
     1px 0px 0 white, 
     0px 1px 0 white, 
     -1px 0px 0 white, 
     0px -1px 0 white;
    border-radius: 12px;
    h3 {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}



#ArchDate {
    margin: auto;
    margin-top: 4px;
    width: fit-content;
    height: fit-content;
    padding: 4px;
    background-color: #4a99ce;
    border-radius: 12px;
    p {
        color: white;
        margin-top: 0px;
        margin-bottom: 0px;
    }
}
#BookPic {
    display: block;
    position: relative;
    margin: auto;
    margin-top: 25px;
    width: fit-content;
    height: fit-content;
    border: 4px white solid;
    img {
        max-width: 300px;
        display: block;
    }
}
#ArchBookPic {
    display: block;
    position: relative;
    margin: auto;
    margin-top: 25px;
    width: fit-content;
    height: fit-content;
    border: 4px white solid;
    transition: .3s;
    img {
        max-width: 150px;
        display: block;
    }
    
}
#ArchBookPic:hover {
    transform: scale(1.1);
}
#ArchiveHolder {
    display: flex;
    flex-direction: row;

    justify-content: center;
    gap: 24px;
}
#RightUp {
    position: absolute;
    right: -40px;
    top: -10px;
    transform: rotate(40deg);
}

#LeftUp {
    position: absolute;
    left: -40px;
    top: -10px;
    transform: rotate(-40deg);
}

table {
    background-color: rgb(230, 230, 230);
    border-collapse: collapse;
    border: 2px solid black;
}

th, td {
    padding: 4px;
    border-bottom: 1px dotted black;
}
th {white-space: nowrap;}

tr {
    margin-top: 6px;
}

tr:nth-child(even) {
    background-color: #a3a3a3;
}

#BarHolder {
    margin: auto;
    margin-top: 14px;
    width: 300px;
    height: 15px;
    border-radius: 12px;
    background-color: #aedbf8;
    border: 2px rgb(32, 65, 255) solid;

}
#ProgBar {
    display: flex;
    width: 33%;
    height: 100%;
    border-radius: 12px;
    background-color: rgb(45, 112, 255);
    color: white;
    align-items: center;
    justify-content: center;

}
#ProgBarFin {
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background-color: rgb(23, 236, 70);
    color: white;
    align-items: center;
    justify-content: center;

}
#ArchBarHolder {
    margin: auto;
    margin-top: 14px;
    width: 120px;
    height: 15px;
    border-radius: 12px;
    background-color: #aedbf8;
    border: 2px rgb(32, 65, 255) solid;

}
#ArchProgBar {
    display: flex;
    height: 100%;
    border-radius: 12px;
    background-color: rgb(45, 112, 255);
    color: white;
    align-items: center;
    justify-content: center;

}

#Margin {
    width: 20px;
    height: 10px;
    margin-bottom: 10px;
}









@media screen and (max-width:440px) {
#Holder {width: 360px; height: 650px;}
#Middle {width: 350px; height: 650px;}
#TopLogoThin {
  width:300px;
  height:50px;
    img {
    width: 40px;
    height: 40px;
    }
    h2 {
      font-size: 40px;
    }
}
#Main {
    margin: auto;
    margin-top: 5px;
    width: 100%;
    height: 580px;
    background-color: #69bef7;
    border: 4px #2e69e8 solid;
    overflow-y: scroll;
    overflow-x: hidden;
}

#BookPic {
    #LeftUp {width: 80px;}
    #RightUp {width: 80px;}
    img {
        max-width: 250px;
        display: block;
    }
    
}
#ArchBookPic {
    img {
        max-width: 140px;
        display: block;
    }
    
}
#BookmarkHolder {
    
    top:  73px;
    left: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
#BookmarkHolderBottom {

    bottom: 0px;
    left: 10px;
}
}