@charset "utf-8";

/*
    Author: kumie
    Date: 6/21/2025

    Filename: pageeStyle.css
    General stylesheet for the DAIL comic pages

*/





/* ==============================================================
 *  Width for...uh I don't know? Really big monitors I guess @__@
 * ==============================================================
 */

@media (min-width: 1920px) { 
  
}

/* ========================
 *  Width for most laptops
 * ========================
 *
 */

@media (max-width: 1920px) and (min-width: 1024px) { 
  
  #header {
    background-color: teal; 
    height: 100px;
    margin: 50px  50px  25px  50px;
  }
  
  #header a img {
    display: inline-block;
    height: 100%;
  }
  
  body {
    background-color: #372E96;  
  }

  nav {
    background-image: linear-gradient(white, blue);
    margin: 0 50px 50px 50px;
    height: 40px;
  }

  nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    margin: 0 20px 0 20px;
  }

  nav ul li {
    width: 200px;
    height: 40px;
    margin-left: 0;
  }

  nav ul li a {
    text-decoration: none;
    display: block;
    color: black;
    text-align: center;
    height: 30px;
    padding-top: 10px;
  }

  nav ul li:hover {
    background-image: linear-gradient(blue, white); 
  }

  nav ul li a:hover {
    color: white; 
  }

  #page {
    background-color: lightblue;
    width: 100%;
    padding: 10px 0 10px 0;
    display: flex;  
    justify-content: space-evenly;
  }

  #spread {
    display: block;
    background-color: white;
    max-width: 1290px;
    max-height: 910px;
    overflow-x: scroll;
  }

  #spread img {
    max-width: 1290px;
    max-height: 910px;
  }

  #p1, #p2 {
    display: none;
    background-color: white;
    width: 645px;
    height: 910px;
  }

  #p1 img, #p2 img {
    width: 645px;
    height: 910px;
  }

  #buttons {
    display: flex;  
    justify-content: space-evenly;
    background-color: lightblue;
    margin: 20px 0 20px 0;
    height: 50px;
  }

  #prev, #next {
    background-color: white; 
    display: block;
    width: 200px;
  }

  #prev p, #next p {
    text-align: center;  
    background-color: grey;
    height: 45px;
    margin: 0;
  }

  #prev p a, #next p a {
    display:inline-block;
    width: 100%;
    height: 35px;
    padding-top: 15px;
    text-decoration: none;
    color: white;
    background-color: blue;
    text-align: center;
  }
  
  #prev p a:hover, #next p a:hover { 
    background-color: white;
    color: black;
  }

  footer {
    display: block;
    margin: auto;
    margin-top: 10px;
    padding: 10px;
    padding-left: 20px;
    background-color: white;  
  }
  
}

/* =======================================
 *  Width for most iPads and Kindles, etc.
 * =======================================
 */

@media (max-width: 1024px) and (min-width: 500px) { 
  #header {
    max-height: 300px;
    display: block;
    background-color: teal;
  }
  
  #header img {
    width: auto;
    margin: auto;
    max-height: 300px;  
  }
  
  body {
    background-color: #372E96;
  }
  
   nav {
    margin: 10px 0 10px 0;
    padding: 4px;
    background-color: blue;
  }
  
  nav ul {
    display: grid;
    grid-template-areas: '1 3'
                         '2 4';
    column-gap: 10px;
    row-gap: 10px;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  nav ul li {
    width: 100%;
    text-align: center;
  }
  
  nav ul li a {
    display: block;
    text-decoration: none;
    background-color: lightblue;
    color: blue;
    text-align: center;
    padding: 20px;
  }
  
  nav ul li a:hover {
    background-color: blue;
    color: lightblue;
  }
  
  #page {
    display: block;
    max-width: 100%;
    margin: auto;
    width: auto;
    background-color: blue;
  }
  
  #spread {
    display: block;  
    max-height: 900px;
    overflow-y: hidden;
    overflow-x: scroll;
  }
  
  #spread img {
    height: 900px;
    width: auto;
  }
  
  
  #p1, #p2 {
    display: none;  
  }
  
  #buttons {
    background-color: blue;
    display: flex;
    justify-content: space-evenly;
    margin: 10px;
  }
  
  #prev, #next {
    width: 100%;
    height: 100%;
  }
  
  #prev {
    margin-right: 30px; 
    margin-left: 20px;
  }
  
  #next {
    margin-right: 20px;  
  }
  
  #prev p a, #next p a {
    display:inline-block;
    padding: 20px 0 20px 0;
    width: 100%;
    height: 100%;
    background-color: lightblue;
    text-decoration: none;
    text-align: center;
    margin: auto;
  }
  
  #prev p a:hover, #next p a:hover {
    background-color: blue;
    color: lightblue;
  }
  
  footer {
    background-color: white;
    padding: 20px 0 20px 10px;
  } 
}


/* =========================================================
 *  CSS for devices width 500px and below (most smartphones)
 * =========================================================
 */


@media (max-width: 500px) {
  #header {
    background-color: teal;  
  }
  
  #header img {
    width: 100%;  
  }
  
  body {
    background-color: #372E96;  
  }
  
  nav {
    margin: 10px 0 10px 0;
    padding: 4px;
    background-color: blue;
  }
  
  nav ul {
    display: grid;
    grid-template-areas: '1 3'
                         '2 4';
    column-gap: 10px;
    row-gap: 10px;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  nav ul li {
    width: 100%;
    text-align: center;
  }
  
  nav ul li a {
    display: block;
    text-decoration: none;
    background-color: lightblue;
    color: blue;
    text-align: center;
    padding: 20px;
  }
  
  nav ul li a:hover {
    background-color: blue;
    color: lightblue;
  }
  
  #page {
    display: block;
    max-width: 100%;
    margin: auto;
    width: auto;
    background-color: blue;
  }
  
  #spread {
    display: block;  
    max-height: 500px;
    overflow-y: hidden;
    overflow-x: scroll;
  }
  
  #spread img {
    height: 500px;
    width: auto;
  }
  
  #p1, #p2 {
    display: none;  
  }
  
  #p1 {
    margin-bottom: 20px;  
  }
  
  #p1 img, #p2 img {
    max-width: 500px;
    max-width: 100%;
    height: auto;
  }
  
  #buttons {
    background-color: blue;
    display: flex;
    justify-content: space-evenly;
    margin: 10px;
  }
  
  #prev, #next {
    width: 100%;
    height: 100%;
  }
  
  #prev {
    margin-right: 30px;  
  }
  
  #prev p a, #next p a {
    display:inline-block;
    padding: 20px 0 20px 0;
    width: 100%;
    height: 100%;
    background-color: lightblue;
    text-decoration: none;
    text-align: center;
  }
  
  #prev p a:hover, #next p a:hover {
    background-color: blue;
    color: lightblue;
  }
  
  footer {
    background-color: white;
    padding: 20px 0 20px 10px;
  }  
}