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


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

/* Default */
.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;
    /* background-color: white; */
    background: var(--main-bodybkgrnd-color);
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}


/* 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 .'
    'footer footer footer footer';
    grid-gap: 0;
    background: var(--main-bodybkgrnd-color);
    grid-test-columns: 1fr 1fr 1fr 1fr;
    /* background-color: white; */
}
}


@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 info3 info2 .'
    'footer footer footer footer footer footer';
    grid-gap: 0;
    background: var(--main-bodybkgrnd-color);
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    /* background-color: white; */
}
}



/* 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;
    background: var(--main-bodybkgrnd-color);
    /* background-color: white;  */
    grid-template-columns: 1fr;
}
}

.marquee {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    border: 1px solid rgba(0, 0, 0, .15);
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    height: 50px;
    width: 100%;
    /* Full width of its parent */
    white-space: nowrap;
}

.marquee p {
    position: absolute;
    width: auto;
    height: 100%;
    margin: 0;
    line-height: 50px;
    text-align: center;
    /* Start off the right edge */
    transform: translateX(100%);
    /* Animate to the left */
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}
        

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



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



