.background {
    background-color: rgb(59, 53, 98);  
}

.center {
    display: flex;
    justify-content: center;
    margin: auto;
    width: 100%;
    height: auto;
    max-width: 500px;
}

p {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 2vw, 16px);
    margin: 8px 0px 8px 0px;
    /* color: #3B3562; */
}

.p1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 2vw, 16px);
    margin: 14px 0px 8px 0px;
    /* color: #3B3562; */
}

.p2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 2vw, 16px);
    margin: 8px 0px 8px 0px;
    /* color: #3B3562; */
}

.p3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 2vw, 16px);
    margin: 8px 0px 8px 0px;
    padding: 0px 60px 0px 60px;
}

.p4 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 2vw, 16px);
    margin: 8px 0px 0px 0px;
}

.pQuote {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 2vw, 16px);
    margin: 8px 0px 8px 0px;
    padding: 0px 25px 0px 25px;
    /* color: #3B3562; */
}

.pCard {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin: -20px 0px 8px 0px;
}

a {
    color: white;
    font-size: clamp(12px, 2vw, 16px);
    margin: 0px 15px 0px 15px;
}

a:link {
    text-decoration: none;
}

a:hover {
    cursor: pointer;
    transform: scale(1.1);
    text-decoration: underline;
} 

.a2 {
    color: rgb(59, 53, 98);
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 700;
    margin: 0px 10px 0px 10px;
}

.a2:link {
    text-decoration: none;
}

.a2:hover {
    cursor: pointer;
    transform: scale(1.1);
    text-decoration: underline;
} 

.imageBanner {
    /* makes image responsive */
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 0px solid white;
    margin: 20px 20px 0px 20px;
    box-shadow: 0px 10px 30px black;
}

.imageFooter {
    /* makes image responsive */
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 0px solid white;
    margin: 0px 20px 0px 20px;
    box-shadow: 0px 10px 30px black;
}

.card {
    background-color: white;
    line-height: 1.5;
    color: rgb(59, 53, 98); 
    max-width: 500px;
    width: 100%;
    text-align: center;
    padding: 2px 0px 2px 0px;
    margin: 15px 20px 15px 20px;
    box-shadow: 0px 10px 30px black;
}

.card1 {
    color: rgb(59, 53, 98);
    line-height: 1.5;
    background-color: white;
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 2px 0px 2px 0px;
    margin: 25px 20px 0px 20px;
    box-shadow: 0px 10px 30px black;
}

.div1 {
    color: white;
    line-height: 1.5;
    background-color: rgb(59, 53, 98);
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 3px 0px 3px 0px;
    margin: 15px 20px 15px 20px;
    box-shadow: 0px 10px 30px black;
 
}

.div2 {
    color: rgb(59, 53, 98);
    line-height: 1.5;
    background-color: white;
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 2px 0px 2px 0px;
    margin: 15px 20px 15px 20px;
    box-shadow: 0px 10px 30px black;
 
}

.div3 {
    color: rgb(59, 53, 98);
    line-height: 1.5;
    background-color: white;
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 2px 0px 2px 0px;
    margin: 25px 20px 0px 20px;
    box-shadow: 0px 10px 30px black;
 
}

.div4 {
    color: rgb(59, 53, 98);
    line-height: 1.5;
    background-color: white;
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 2px 0px 2px 0px;
    margin: 15px 20px 15px 20px;
    box-shadow: 0px 10px 30px black;
 
}

.button2 {
    width: 300px;
    color:white;
    text-align: center;
    background-color:rgb(59, 53, 98); 
    border-style:solid;
    border-color:rgb(59, 53, 98); 
    cursor: pointer;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 2vw, 16px);
    margin: 5px 5px 15px 5px;
    padding: 10px 5px 10px 5px;
    justify-self: center;
  }

.button3 {
    width: 350px;
    color: rgb(59, 53, 98);
    text-align: center;
    background-color: white;
    border-style: solid;
    border-color: white;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    margin: 15px 5px;
    padding: 10px;
    box-shadow: 0px 10px 30px black;
    justify-self: center;
}

.button2:hover, .button3:hover {
    transform: scale(1.05);
    transition-duration: 0.5s;
    box-shadow: 0px 10px 30px black;
}

.flex {
    display: flex;
    justify-content: space-evenly;
    margin: 15px 20px 0px 20px;
    width: 100%;
    max-width: 500px;
}

.tileImage {
    width: 175px;
    height: 175px;
}

.pillPalImage {
    width: 350px;
}

.square {
    /* margin-top: 10px; */
    width: 300px;
    height: 300px;
    color: white;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0px 10px 30px black;
    background-color: rgb(59, 53, 98);
    box-sizing: border-box;
    /* border: 5px solid white; */
}


.nav1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-evenly;
    background-color: rgb(59, 53, 98);
    /* border: 5px solid white;
    border-radius: 10px; */
    margin: 15px 20px 0px 20px;
    padding: 15px 0px 15px 0px;
    box-shadow: 0px 10px 30px black;

}

.nav2 {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 500px;
    width: 500px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: rgb(59, 53, 98);
    /* border: 5px solid white;
    border-radius: 10px; */
    margin: 15px 20px 15px 20px;
    padding: 15px 0px 15px 0px;
    box-shadow: 0px 10px 30px black;
}

/* .div2:hover {
    transform: scale(1.05);
    transition-duration: 0.5s;
}  */


.card1:hover {
    transform: scale(1.05);
    transition-duration: 0.5s;
}

.button2:hover {
    transform: scale(1.05);
    transition-duration: 0.5s;
}

.blueLink {
    color:rgb(59, 53, 98);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    margin: 8px 0px 8px 0px;
}

.card, .card2, .card3, .card4, .div1, .div2, .div3, .div4 {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 15px 20px;
    padding: 2px 0;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0px 10px 30px black;
}

.card, .card2, .card3, .div2, .div3, .div4 {
    background-color: white;
    color: rgb(59, 53, 98);
}

@media all and (max-width: 500px) {
    .square {
     /* The width is 100%, when the viewport is 500px or smaller (good for most mobile devices) */
     width: 275px; 
     height: 275px;
     margin: auto;
    }


    .tileImage {
        /* The width is 100%, when the viewport is 500px or smaller (good for most mobile devices) */
        width: 175px; 
        margin: auto;
       }

    .pillPalImage {
        width: 200px;
        margin: auto;
    }

    .p1 {
        padding: 8px 0px 0px 0px;
        margin: 12px 0px 4px 0px;
        /* color: #3B3562; */
    }

    .p3 {
        padding: 0px 25px 0px 25px;
    }

    .p4 {
        padding: 0px 0px 0px 0px;
        margin: 8px 0px 4px 0px;
    }

    .pQuote {
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 400;
        font-size: clamp(12px, 2vw, 16px);
        margin: 8px 0px 8px 0px;
        padding: 0px 25px 0px 25px;
        /* color: #3B3562; */
    }

    .pCard {
        font-size: 12px;
        margin: -12px 0px 0px 0px;
    }

      .button2 {
        margin: 5px 5px 10px 5px;
        width: 175px;
    }

  .button3 {
        margin: 0px 5px 0px 5px;
    }

    .flex {
        display: block;
        width: 100%;
        max-width: 475px;
        height: auto;
        margin: 15px 0px 0px 0px;
    }

    .center {
        width: 100%;
        max-width: 475px;
        height: auto;
        margin: 15px 0px 15px 0px;
    }

    .div1, .div2, .div4, .card {
        width: 100%;
        max-width: 475px;
        height: auto;
        margin: 15px 0px 15px 0px;
    }

        .div3 {
        width: 100%;
        max-width: 475px;
        height: auto;
        margin: 15px 0px 5px 0px;
    }

    .card3 {
        width: 100%;
        max-width: 475px;
        height: auto;
        margin: 15px 0px 5px 0px;
    }

    .imageBanner, .nav1, .nav2 {
        width: 100%;
        max-width: 475px;
        height: auto;
        margin: 0px;
    }

    .imageFooter {
        width: 100%;
        max-width: 475px;
        height: auto;
        margin: 0px;
        margin-top: 0px;
    }

    .nav1 {
        width: 100%;
        max-width: 475px;
        height: auto;
        margin-top: 15px;
    }

  }
