/* ----------------------------------
             General rules 
   ---------------------------------- */


* {
	margin: 0;
	padding: 0;
    box-sizing: border-box;
	}



li {
    list-style-type: none;
}
	


body {
	margin: 1em;
    font-family: Tahoma, sans-serif;
    max-width: 95em;
	margin: auto;
	
	}

p {
	padding: 1em;
	}



	
#items {
	list-style-type: none;
	}

/* ----------------------------------------------
            header and navigation rules 
   ---------------------------------------------- */

header {
  background-color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  color: #333;
  font-size: 32px;
  margin-bottom: 10px;
}

header img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

#nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

#nav li {
  margin-right: 10px;
}

#nav li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 5px;
}

h2 {
  color: #333;
  margin-bottom: 10px;
}

p.head {
  color: #666;
  font-style: italic;
  margin-bottom: 10px;
}




/* -------------------------------------
            General Footer Rules
   ------------------------------------- */



footer {
  background-color: #fff;
  color: #333;
  padding: 20px;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}

footer p {
  order: -1;
  font-family: sans-serif;
  font-size: 1.2rem;
  
}

footer img {
  max-width: 100%;
  height: auto;
}

/* -------------------------------------
    Rules for large screens  800px < @ 
   ------------------------------------- */
@media (min-width: 801px) {
    


img.head {
  max-width: 15%;
  min-width: 6%;
  height: auto;
  margin-bottom: 10px;
}



#playing ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 20px;
}

#soon ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 20px;
}

#playing h2 {
    text-align: center;
    font-size: 2rem;
    padding: 1.5em;
}

#playing img {
    width: 1fr;
    height: 300px;
}

#soon img {
    width: 1fr;
    height: 300px;
}


#soon h2 {
    text-align: center;
    font-size: 2rem;
    padding: 1.5em;
}

/* ----- prices ----- */

#prices {
  text-align: center;
  justify-content: center;
  padding-top: 2em;
}

#prices h2 {
    font-size: 2rem;
    padding: 1.5em;
}

#prices dt {
    font-style: oblique;
    text-decoration: underline;
}

#prices dl {
  font-size: 1.5rem;
  margin: 10px;
  background-color: white;
  border-radius: 5px;
}

}
/* ---------------------------------------------
    Rules for medium screens  300px < @ < 800px
   --------------------------------------------- */

@media (min-width: 300px) and (max-width: 800px) {
  
    /* Adjustments for header and navigation */
header h1 {
  font-size: 28px;
}

#nav li a {
  padding: 3px;
}

/* Adjustments for playing section */
#playing ul {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

#playing img {
  height: 250px;
}

/* Adjustments for soon section */
#soon ul {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

#soon img {
  height: 250px;
}

/* Adjustments for prices section */
#prices dl {
  font-size: 1.2rem;
  margin: 5px;
}

/* Adjustments for general footer */
footer {
  grid-template-columns: repeat(2, 1fr);
}

footer p {
  font-size: 1rem;
}

img.head {
  max-width: 25%;
  min-width: 10%;
}





/* -----------------------------------
    Rules for small screens @ < 300px
   ----------------------------------- */

    @media (max-width: 299px){
        
    /* Adjustments for header and navigation */
header h1 {
  font-size: 20px;
}

#nav li a {
  padding: 2px;
}

/* Adjustments for playing section */
#playing ul {
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(6, 1fr);
}

#playing img {
  height: 200px;
}

/* Adjustments for soon section */
#soon ul {
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(6, 1fr);
}

#soon img {
  height: 200px;
}

/* Adjustments for prices section */
#prices dl {
  font-size: 1rem;
  margin: 3px;
}

/* Adjustments for general footer */
footer {
  grid-template-columns: repeat(1, 1fr);
}

footer p {
  font-size: 0.8rem;
}

img.head {
  max-width: 20%;
  min-width: 8%;
}    
        
    }


















