
/* external css for blog page */

/*-------------------------------------------------------------------------------------------------------------*/
/*                                                  BODY                                                       */
/*-------------------------------------------------------------------------------------------------------------*/

* 
{
  box-sizing: border-box;
}

body 
{
  margin: 0;
  background-color: black;                      /* background color */
  font-family: Arial, sans-serif;
  line-height: 1.5;
  padding: 16px;                       
  -webkit-font-smoothing: antialiased;
  text-align: center; /* centers all regular text */
}

/*-------------------------------------------------------------------------------------------------------------*/
/*                                               BLOG HEADER                                                   */
/*-------------------------------------------------------------------------------------------------------------*/

header 
{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;                     
  text-align: center;
}

header img                                        /* blog image */
{
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
}

/*-------------------------------------------------------------------------------------------------------------*/
/*                                              NAVIGATION MENU                                                */
/*-------------------------------------------------------------------------------------------------------------*/

.nav-boxes 
{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.nav-box 
{
  padding: 12px 24px;
  background: rgb(17, 75, 175);               /* blue glow */
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  font-size: 18px;
  text-align: center;

  /* use box shadow layers for blue glow effect */
  box-shadow:
    0 0 5px rgba(17, 75, 175, 0.8),
    0 0 15px rgba(17, 75, 175, 0.8),
    0 0 25px rgba(17, 75, 175, 0.8);

  transition: transform 0.2s;
}

.nav-box:hover 
{
  transform: scale(1.1);
}

@media (min-width: 768px) 
{
  .nav-box 
  {
    padding: 16px 32px;
    font-size: 22px;
  }
}

/*-------------------------------------------------------------------------------------------------------------*/
/*                                              PARAGRAPH TEXT                                                 */
/*-------------------------------------------------------------------------------------------------------------*/

h2 
{
  color: rgb(208, 17, 17);
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  margin-top: 40px;
  font-size: 56px;

  /* use text shadow layers for red glow effect */
  text-shadow:
    0 0 5px rgba(255, 0, 0, 0.789),
    0 0 15px rgba(255, 0, 0, 0.804),
    0 0 25px rgba(255, 0, 0, 0.77);
}

p 
{
  text-align: center;
  max-width: 800px; 
  margin: 10px auto 40px auto;
  line-height: 1.6;
  color: #ddd; 
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
}

.game-list 
{
  list-style-type: none;      
  padding: 0;
  margin: 10px auto 40px auto;
  max-width: 800px;
  text-align: center;
  color: #ddd;
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
}

  

/*-------------------------------------------------------------------------------------------------------------*/
/*                                                 LINKS                                                       */
/*-------------------------------------------------------------------------------------------------------------*/

.links 
{
  margin-top:40px; 
  text-align: center;                             
}

.links h2 
{
  color:#ff0000;                                 
  font-size:18px;                               
  font-style:italic;                            
  margin-bottom:10px;                           
  text-align:center;                              
}

.links ul 
{
  display: inline-block;    
  text-align: center;         
  padding-left: 0;          
  list-style: disc inside;
  width: 360px
}

.links li 
{
  margin-bottom:8px;                            /* space between list items */
}

.links a 
{
  color:#ffffff;                              /* set font color for links */
  text-decoration:underline;                    /* underline links */
}

/*-------------------------------------------------------------------------------------------------------------*/
/*                                               PICTURES                                                      */
/*-------------------------------------------------------------------------------------------------------------*/

.image-gallery
{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 1000px;
  margin: 20px auto 40px auto;
  padding: 0 8px;
}

.image-gallery img
{
  width: 100%;
  height: auto;
  border-radius: 8px;
}