/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
@font-face {
  font-family: Coustard;
  src: url(/Fonts/Coustard-Regular.ttf);
}

body {
    background-image: url(/BlogHub/JB/Back2.png);
    font-family: Coustard;
}

* {display: border-box;}

#MobileShow {
    display: none;
}

/*Blog index*/
#Logotainer {
position: relative;
width: 400px;
height: fit-content;
padding: 10px;
text-align: center;

border: 4px solid black;
border-radius: 8px;
background-image: url(/BlogHub/JB/Sprayback.png);
margin: auto;
margin-top: 50px;
    #Back {
        position: absolute;
        right: 20px;
        background-color: white;
        padding: 1px;
    }
}

#Hubtainer {
width: 600px;
height: fit-content;
padding: 10px;
text-align: center;

border: 4px solid black;
border-radius: 8px;
background-color: white;
margin: auto;
margin-top: 50px;
}

#PostBorder {
    width: 100%;
    height: 100%;
    margin: auto;
    padding: 10px;
    border: 4px solid black;
    border-radius: 8px;
    background-image: url(/BlogHub/JB/Sprayback.png);
}

#Posttainer {
    font-size: 15px;
    position: relative;
    padding: 5px;
    text-align: center;
    border-radius: 8px;
    background-color: black;
    color: white;
    margin: auto;
    img {
        margin: auto;
        max-width: 400px;
    }
    b {display: block;}
    a {display: block;}

    table {
        margin: auto;
        padding: 4px;
        border: 4px groove white;
    }

    #Manga {
        max-height: 200px;
    }
}

#Posts {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    img {
        width: 400px;
    }
}

#Review {
    li {
        margin-top: 10px;
        background-color: grey;
    }
}

#ImageHolder {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#ImageIndent {
    img {
        border: 4px groove white;
        padding: 4px;
        background-color: white;
        
    }
}


/*For Anything I Guess :p*/
#SideviewBlipL {
    grid-column: 3 / 10;
    grid-row: 1 / 11;
    width: 100%;
    height: 100%;
    border: 4px solid black;
    background-image: url(/Homepage/InfBack3.png);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    padding: 10px;

    img {
        height: 240px;
        border: 2px solid black;
        background-color: rgb(255, 248, 237);
    }    

    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;
    }
}
#SideviewBlipR {
    grid-column: 39 / 46;
    grid-row: 1 / 11;
    width: 100%;
    height: 100%;
    border: 4px solid black;
    background-image: url(/Homepage/InfBack3.png);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    padding: 10px;

    img {
        height: 240px;
        border: 2px solid black;
        background-color: rgb(255, 248, 237);
    }    

    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;
    }
}
/*For Miniviews*/
#Sideview {
    grid-column: 39 / 49;
    grid-row: 1 / 17;
    width: 100%;
    height: 100%;
    border: 4px solid black;
    background-image: url(/Homepage/InfBack3.png);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    padding: 10px;

    img {
        width: 155px;
        border: 2px solid black;
        background-color: rgb(255, 248, 237);
        padding: 5px;
    }    

    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;
    }
}

#Sideview2 {
      grid-column: 39 / 49;
      grid-row: 19 / 34;
      width: 100%;
      height: 100%;
      border: 4px solid black;
      background-image: url(/Homepage/InfBack3.png);
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
      font-size: 14px;
      padding: 10px;

      img {
          width: 155px;
          border: 2px solid black;
          background-color: rgb(255, 248, 237);
          padding: 5px;
      }    

      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;
      }
  }


@media screen and (max-width:440px) {

    #MobileShow {
        display: contents;
        
    }

    #MobileVer {
        margin: auto;
        width: 370px;
        height: 1400px;
        display: flex;
        flex-direction: column;
    }

#Logotainer {
position: relative;
width: 300px;
padding: 10px;
margin: auto;
margin-top: 10px;
white-space: wrap;
font-size: 12px;
border: 2px solid black;

    a {
        width: 50px;
    }
    #Back {
        right: 5px;
        padding: 0px;
    }
    img {
      width: 200px;  
    }
}

#Hubtainer {
width: 340px;
padding: 5px;
margin-top: 25px;

    h1 {
        margin-bottom: 5px;
    }

    img {
        /*Get around to making mobile 
        blog images so they aren't blurry.*/
        max-width: 330px;
    }
}

#PostBorder {
    width: 360px;
    height: fit-content;
    padding: 2px;
    border: 4px solid black;
    border-radius: 8px;
    margin-top: 10px;
}

#PosttainerMobile {
    font-size: 15px;
    position: relative;
    padding: 5px;
    text-align: center;
    border-radius: 8px;
    background-color: black;
    color: white;
    margin: auto;
    img {
        margin: auto;
        max-width: 300px;
    }
    b {display: block;}
    a {display: block;}

    table {
        margin: auto;
        padding: 4px;
        border: 4px groove white;
    }

    #Manga {
        max-height: 200px;
    }

    img {
        width: 350px;
    }
}

/*For Miniviews*/

#SideHolder {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

#Sideview {
    gap: 5px;
    font-size: 12px;
    padding: 2px;
    height: 420px;
    table {
        width: 140px;
      }
}

#Sideview2 {
      gap: 5px;
      font-size: 12px;
      padding: 2px;
      height: 420px;
      table {
        width: 140px;
      }
  }

}
