

#outercontainer {
    width: 100%;
    height: 6000px;
}

    #logo {
        width: 100%;
        height: 80px;
        background-image: url("polygonlogo.png"), linear-gradient(to right, rgb(106, 46, 219), rgb(223, 83, 169));
        background-position: 11px 6px, center center;
        background-size: 6%, 100%;
        background-repeat: no-repeat, no-repeat;
        height: 50px;
    }

    .title {
        margin-left: 30%;
        margin-right: 30%;
        margin-top: 5%;
        font-size: 36pt;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        color: rgb(251, 48, 81);
        transition: 1s;
    }

    .title:hover {
        color: rgb(106, 46, 219);
    }



    .text {
        margin-left: 30%;
        margin-right: 30%;
        font-size: 14pt;
        line-height: 24pt;
    }

.flexparent {
    display: flex;
    max-width:100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    padding: 5px;
}

    .photoflexchild {
        width: 300px;
        height: 150px;
        margin-right: 5px;
        margin-bottom: 5px;
    }

        #photochild1 {
            background-image: url("pgam1.jpg"); 
            background-size: 100%;
        }

        #photochild2 {
            background-image: url("pgam2.jpg");
            background-size: 100%;
        }

        #photochild3 {
            background-image: url("pgam3.jpg");
            background-size: 100%;
        }

        #photochild4 {
            background-image: url("pgam4.jpg");
            background-size: 100%;
        }

.factflexchild {
    width: 350px;
    height: 450px;
    margin-right: 5px;
    margin-bottom: 5px;
}

    .listofactors {
        font-size: 14pt;
        line-height: 24pt;
        margin: auto;
    }

#footer {
    width: 100%;
    height: 50px;
    border: solid;
    background-color: rgb(106, 46, 219);
    text-align: center;
    color: white;
    text-decoration: underline;
}



@media screen and (min-width: 768px) and (max-width: 1023px) {
    #logo {
        width: 100%;
        height: 80px;
        background-image: url("polygonlogo.png"), linear-gradient(to right, rgb(106, 46, 219), rgb(223, 83, 169));
        background-position: 11px 6px, center center;
        background-size: 12%, 100%;
        background-repeat: no-repeat, no-repeat;
        height: 50px;
    }
    
    .title {
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 5%;
        font-size: 36pt;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
    }

    .text {
        margin-left: 10%;
        margin-right: 10%;
        font-size: 14pt;
        line-height: 24pt;
    }
}



@media screen and (max-width: 767px) {
    #logo {
        width: 100%;
        height: 80px;
        background-image: url("polygonlogo.png"), linear-gradient(to right, rgb(106, 46, 219), rgb(223, 83, 169));
        background-position: 11px 6px, center center;
        background-size: 15%, 100%;
        background-repeat: no-repeat, no-repeat;
        height: 50px;
    }
    
    .title {
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 5%;
        font-size: 25pt;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
    }

    .text {
        margin-left: 5%;
        margin-right: 5%;
        font-size: 11pt;
        line-height: 24pt;
    }

    
}