
/* This sets up ****** webpage layout */


/* --------------------------------------------- */
/* Display based on screen sizes                 */
/* --------------------------------------------- */

/* Default */
.grid-container {
  display: flex;
  max-width: 100%;
  height: 100%;
  grid-template-areas:
    'header menu menu menu menu menu'
    '. . info1 info1 . .'
    '. . info2 info2 . .'
    'footer footer footer footer footer footer';
    grid-gap: 0;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    background: var(--main-bodybkgrnd-color);
}


/* Intermediate sizes */
@media only screen and (min-width: 601px) and (max-width: 1050px)   {
.grid-container {
    display: grid;
    max-width:100%;
    grid-template-areas:
    'header menu menu menu'
    '. info1 info1 .'
    'info2 info2 info2 info2'
    'footer footer footer footer';
    grid-gap: 0;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: var(--main-bodybkgrnd-color);
}
}


@media only screen and (min-width: 1051px) and (max-width: 1400px)  {
.grid-container {
  display: grid;
  max-width:100%;
  grid-template-areas:
    'header menu menu menu menu menu'
    '. . info1 info1 . .'
    '. info2 info2 info2 info2 .'
    'footer footer footer footer footer footer";
    grid-gap: 0;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    background: var(--main-bodybkgrnd-color);
}
}


/* Phone */
@media only screen and (max-width: 600px) {
.grid-container {
   display: grid;
   max-width: 100%;
   grid-template-areas:
    'header'
    'menu'
    'info1'
    'info2'
    'footer';
    grid-gap: 0;
    grid-template-columns: auto;
    background: var(--main-bodybkgrnd-color);
}
}


h1 {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
}

h2 {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
}

h3 {
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}

/* --------------------------------------- */
/* Info 1                                  */
/* --------------------------------------- */
.info1 {
  grid-area: info1;
  text-align: center;
  padding: 20px;
  margin: 0px;
  border: 3px;
  border-radius: 20px;
  background-color: tan;
}


/* --------------------------------------- */
/* Info 2                                  */
/* --------------------------------------- */
.info2 {
  grid-area: info2;
  align-items: center;
  padding: 20px;
  margin: 5px;
  border: 3px;
  border-radius: 20px;
  background: linear-gradient(to right, white, 50%, pink);
}

.info2 img {
  max-width: 350px;
  width: 70%;
  display: inline-block;
  @media (max-width: 600px) { max-width: 250px;}
}






