*{
    margin: 0px;
    padding: 0px;
}
@media screen and (min-width: 700px){
body{
    background-color: rgb(255, 255, 255);
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    row-gap: 20px;
}
body::-webkit-scrollbar{
    display: none;
}
ul{
    width: 83.6vw;
    height: auto;
}
.grid{
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    width: fit-content;
    height: fit-content;
    background-color: white;
    row-gap: 50px;
    column-gap: 100px;
}
.block1{
    height: 250px;
    width: 200px;
    position: relative;
    left: 0px;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 20px;
    background-color:rgb(44, 157, 222);
    z-index: 1;
    color: transparent;
    /* margin-left: 100px;
    margin-bottom: 50px; */
}
.blockcolor1{
    height: 20px;
    width: 160px;
    position: absolute;
    bottom: 2.5px;
    left: 20px;
    background-color: white;
    border: 0px;
    z-index: 2;
}
.blockcolor2{
    height: 20px;
    width: 160px;
    position: absolute;
    top: 2.5px;
    left: 20px;
    background-color: white;
    border: 0px;
    z-index: 2;
}
.imgad1{
    height: 200px;
    width: 160px;
    position: absolute;
    top: 25px;
    left: 20px;
    z-index: 3;
    color: rgb(0, 0, 0);
}
.pindex{
    position: relative;
    top: 2px;
    text-align: center;
    font-weight: bold;
    z-index: 3;
    margin: 0px;
    color: rgb(0, 0, 0);
}
#search{
    display: flex;

}
#searchbar{
    height: 30px;
    width: 300px;
    padding: 0px;
    border: 1px solid black;
}
.searchbutton{
height: 30px;
width: 30px;
border: 1px solid black;
background-color: rgb(175, 175, 175);
}
.imgsearch{
    height: 30px;
    width: 30px;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;   
}
/*<-Main Page
Sub Page misc->*/
.img2{
    height: 500px;
    width: 400px;
    position: absolute;
    top: 60px;
    left: 1080px;
}
.sidebar1{
    height: 100%;
    width: 400px;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgb(0, 0, 0);
}
.sidebar2{   
    height: 100%;
    width: 400px;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: rgb(0, 0, 0);
}
.ptext{
    font-size: 1.5em;
    position: relative;
    top: 6.5px;
    left: 5px;
    margin: 0px;
    font-family: 'Times New Roman';
}
.pback{
    font-size: 3em;
    position: absolute;
    left: 10px;
    margin: 0px;
    padding-top: 22.5px; 
    color: black;
}
.back{
    position: absolute;
    top: 0px;
    left: -40px;
}
.divback{
    border: 2px solid black;
    height: 100px;
    width: 200px;
    border-left: 0px;
    position: absolute;
    top: 60px;
    left: 500px;
}
.divback2{
    border: 2px solid black;
    height: 70.5px;
    width: 70.5px;
    border-top: 0px;
    border-right: 0px;
    position: absolute;
    top: 75.25px;
    left: 464px;
    transform: rotate(45deg);
}
.divnext{
    height: 100px;
    width: 100px;
    position: absolute;
    left: 912px;
    top: 60px;
    border: 2px solid black;
}
.divprevious{
    height: 100px;
    width: 100px;
    position: absolute;
    left: 792px;
    top: 60px;
    border: 2px solid black;
}
.divnextarrow{
    height: 60px;
    width: 60px;
    position: absolute;
    top: 18.5px;
    border: 3px solid black;
    border-right: 0px;
    border-top: 0px;
    transform: rotate(225deg);
}
.divpreviousarrow{
    height: 60px;
    width: 60px;
    position: absolute;
    top: 18.5px;
    left: 37px;
    border: 3px solid black;
    border-right: 0px;
    border-top: 0px;
    transform: rotate(45deg);
}
/*<-Sub Page misc
Sub Page info->*/
.container{
    display: grid;
    grid-template-columns: auto auto;
    row-gap: 20px;
    column-gap: 0px;
    position: absolute;
    left: 460px;
    top: 200px;
}
.box1{
    border: 1px solid black;
    width: 165px;
    height: 40px;
    position: static;
}
.box2{
    border: 1px solid black;
    width: 385px;
    height: 38px;
    position: static;
    font-family: 'Times New Roman';
    font-size: 1.5ems;
}
}
@media screen and (max-width: 700px){
    body{
        background-color: rgb(255, 255, 255);
        width: 1900px;
    }
    .grid{
        display: grid;
        grid-template-columns: auto auto;
        position: absolute;
        width: fit-content;
        height: fit-content;
        top: 20px;
        left: 10px;
        background-color: white;
        row-gap: 30px;
        column-gap: 50px;
    }
    .block1{
        height: 200px;
        width: 160px;
        position: relative;
        left: 0px;
        border: 1px solid rgb(0, 0, 0);
        border-radius: 20px;
        background-color:rgb(44, 157, 222);
        z-index: 1;
    }
    .blockcolor1{
        height: 16px;
        width: 128px;
        position: absolute;
        bottom: 2px;
        left: 16px;
        background-color: white;
        border: 0px;
        z-index: 2;
    }
    .blockcolor2{
        height: 16px;
        width: 128px;
        position: absolute;
        top: 2px;
        left: 16px;
        background-color: white;
        border: 0px;
        z-index: 2;
    }
    .imgad1{
        height: 160px;
        width: 128px;
        position: absolute;
        top: 20px;
        left: 16px;
        z-index: 3;
    }
    .pindex{
        position: relative;
        top: 2px;
        text-align: center;
        font-weight: bold;
        z-index: 3;
        margin: 0px;
        color: rgb(0, 0, 0);
    }
    /*<-Main Page
    Sub Page Misc->*/
    .img2{
        height: 451.25px;
        width: 361px;
        position: absolute;
        top: 152px;
        left: 14.5px;
    }
    .sidebar1{
        height: 100%;
        width: 400px;
        position: absolute;
        top: 0px;
        left: 0px;
        background-color: rgb(0, 0, 0);
        visibility: hidden;
    }
    .sidebar2{   
        height: 100%;
        width: 400px;
        position: absolute;
        top: 0px;
        right: 0px;
        background-color: rgb(0, 0, 0);
        visibility: hidden;
    }
    .ptext{
        font-size: 0.975em;
        position: relative;
        top: 4px;
        left: 5px;
        margin: 0px;
        font-family: 'Times New Roman';
    }
    .pback{
        font-size: 2.25em;
        position: absolute;
        left: 7.5px;
        margin: 0px;
        padding-top: 16.875px; 
        color: black;
    }
    .back{
        position: absolute;
        top: 0px;
        left: 0px;
    }
    .divback{
        border: 2px solid black;
        height: 75px;
        width: 150px;
        border-left: 0px;
        position: absolute;
        top: 63px;
        left: 53px;
    }
    .divback2{
        border: 2px solid black;
        height: 52.875px;
        width: 52.875px;
        border-top: 0px;
        border-right: 0px;
        position: absolute;
        top: 75.25px;
        left: 25px;
        transform: rotate(45deg);
    }
    .divnext{
        height: 75px;
        width: 75px;
        position: absolute;
        left: 298px;
        top: 63px;
        border: 2px solid black;
    }
    .divprevious{
        height: 75px;
        width: 75px;
        position: absolute;
        left: 213px;
        top: 63px;
        border: 2px solid black;
    }
    .divnextarrow{
        height: 45px;
        width: 45px;
        position: absolute;
        top: 13.875px;
        right: 27.75px;
        border: 3px solid black;
        border-right: 0px;
        border-top: 0px;
        transform: rotate(225deg);
    }
    .divpreviousarrow{
        height: 45px;
        width: 45px;
        position: absolute;
        top: 13.875px;
        left: 27.75px;
        border: 3px solid black;
        border-right: 0px;
        border-top: 0px;
        transform: rotate(45deg);
    }
    /*<-Sub Page Misc
    Sub Page Info->*/
    .container{
        display: grid;
        grid-template-columns: auto auto;
        row-gap: 20px;
        column-gap: 0px;
        position: absolute;
        left: 14.5px;
        top: 613px;
    }
    .box1{
        border: 1px solid black;
        width: 107.25px;
        height: 26px;
        position: static;
    }
    .box2{
        border: 1px solid black;
        width: 240.25px;
        height: 28px;
        position: static;
        border-radius: 0px;
        font-family: 'Times New Roman';
        font-size: 1.1em;
        box-sizing: border-box;
    }
}
@media (orientation: Landscape) and (max-width: 1080px){
    body{
        background-color: rgb(255, 255, 255);
        width: 1900px;
    }
    .grid{
        display: grid;
        grid-template-columns: auto auto auto auto;
        position: absolute;
        width: fit-content;
        height: fit-content;
        top: 20px;
        left: 0px;
        background-color: white;
        row-gap: 30px;
        column-gap: 50px;
    }
    .block1{
        height: 200px;
        width: 160px;
        position: relative;
        left: 0px;
        border: 1px solid rgb(0, 0, 0);
        border-radius: 20px;
        background-color:rgb(44, 157, 222);
        z-index: 1;
    }
    .blockcolor1{
        height: 16px;
        width: 128px;
        position: absolute;
        bottom: 2px;
        left: 16px;
        background-color: white;
        border: 0px;
        z-index: 2;
    }
    .blockcolor2{
        height: 16px;
        width: 128px;
        position: absolute;
        top: 2px;
        left: 16px;
        background-color: white;
        border: 0px;
        z-index: 2;
    }
    .imgad1{
        height: 160px;
        width: 128px;
        position: absolute;
        top: 20px;
        left: 16px;
        z-index: 3;
    }
    .pindex{
        position: relative;
        top: 2px;
        text-align: center;
        font-weight: bold;
        z-index: 3;
        margin: 0px;
        color: rgb(0, 0, 0);
    }
    /*<-Main Page
    Sub Page Misc->*/
    .img2{
        height: 350px;
        width: 280px;
        position: absolute;
        top: 10px;
        left: 510px;
    }
    .sidebar1{
        height: 100%;
        width: 400px;
        position: absolute;
        top: 0px;
        left: 0px;
        background-color: rgb(0, 0, 0);
        visibility: hidden;
    }
    .sidebar2{   
        height: 100%;
        width: 400px;
        position: absolute;
        top: 0px;
        right: 0px;
        background-color: rgb(0, 0, 0);
        visibility: hidden;
    }
    .pback{
        font-size: 2.25em;
        position: absolute;
        left: 7.5px;
        margin: 0px;
        padding-top: 16.875px; 
        color: black;
    }
    .back{
        position: absolute;
        top: -53px;
        left: 0px;
    }
    .divback{
        border: 2px solid black;
        height: 75px;
        width: 150px;
        border-left: 0px;
        position: absolute;
        top: 63px;
        left: 53px;
    }
    .divback2{
        border: 2px solid black;
        height: 52.875px;
        width: 52.875px;
        border-top: 0px;
        border-right: 0px;
        position: absolute;
        top: 75.25px;
        left: 25px;
        transform: rotate(45deg);
    }
    .divnext{
        height: 75px;
        width: 75px;
        position: absolute;
        left: 425px;
        top: 10px;
        border: 2px solid black;
    }
    .divprevious{
        height: 75px;
        width: 75px;
        position: absolute;
        left: 340px;
        top: 10px;
        border: 2px solid black;
    }
    .divnextarrow{
        height: 45px;
        width: 45px;
        position: absolute;
        top: 13.875px;
        right: 27.75px;
        border: 3px solid black;
        border-right: 0px;
        border-top: 0px;
        transform: rotate(225deg);
    }
    .divpreviousarrow{
        height: 45px;
        width: 45px;
        position: absolute;
        top: 13.875px;
        left: 27.75px;
        border: 3px solid black;
        border-right: 0px;
        border-top: 0px;
        transform: rotate(45deg);
    }
    .ptext{
        font-size: 0.975em;
        position: relative;
        top: 4px;
        left: 5px;
        margin: 0px;
        font-family: 'Times New Roman';
    }
    /*<-Sub Page Misc
    Sub Page Info->*/
    .container{
        display: grid;
        grid-template-columns: auto auto;
        row-gap: 20px;
        column-gap: 0px;
        position: absolute;
        left: 53px;
        top: 95px;
    }
    .box1{
        border: 1px solid black;
        width: 107.25px;
        height: 26px;
        position: static;
    }
    .box2{
        border: 1px solid black;
        width: 340.75px;
        height: 28px;
        position: static;
        border-radius: 0px;
        font-family: 'Times New Roman';
        font-size: 1.1em;
        box-sizing: border-box;
    }
}