
header {
    background-image: url('../img/header.png');
    background-repeat: no-repeat;
    background-size: 100%;

}

img {
    max-width: 80%; 
    height: auto;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background-color:rgb(46, 112, 66);
}

footer {
        background-image: url('../img/footer.png');
        background-repeat: none;
        background-size: 100%;
        color: rgb(220, 239, 242);
        padding-bottom: 3rem;
    }

.title {
        font-family: "Luckiest Guy", cursive;
        font-weight: 300;
        font-style: normal;
    font-size: 3.8em;
    text-align: center;
    font-weight: bold;
    margin-top: 2rem;
    margin-left: .225rem;
    margin-right: .225rem;
    margin-bottom: .5rem;
    color: rgb(220, 239, 242);
    padding-left: 20px;
    padding-right: 20px;
}

.titletext{
    font-family: "Oswald", sans-serif;
    color: rgb(220, 239, 242);
    font-size: 1.3rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-style: italic;
    background-color: rgba(0, 0, 0, 0.448);
    border-radius: 1rem;
    text-align: center;
    padding-left: 1rem;
    padding-bottom: 1rem;
    padding-top: .5rem;
    padding-right: 1rem;
    

}

.subtitle {
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
    color:rgb(220, 239, 242);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    
}

.text {
    font-family: "Montserrat", sans-serif;
    margin-top: 1.5rem;
    
}

.subsubtitle {
    font-family: "Oswald", sans-serif;
    
}

.link{
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    
}





#jac-logo {
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    color:white;
    max-width: 425px;
    margin: 0 auto 3rem auto;
    display: block;
}
.home{
     -webkit-filter: brightness(20%);
     filter:brightness(70%);
     max-width: 200%;
     margin-left: -50px;
     position: relative;
}

.what{
    border: none;
    margin: 1rem 1rem 1rem 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: rgba(240, 248, 255, 0.3);
    max-width: 100%;
    
}

.when{
    border: none;
    margin: 1rem 1rem 1rem 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: rgba(240, 248, 255, 0.3);
}

.where{
    border: none;
    margin: 1rem 1rem 1rem 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: rgba(240, 248, 255, 0.3);
}

.how{
    border: none;
    margin: 1rem 1rem 1rem 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: rgba(240, 248, 255, 0.3);
}

.why{
    border: none;
    margin: 1rem 1rem 1rem 1rem;
    padding: 1.5rem; 
    border-radius: 1rem;
    background-color: rgba(240, 248, 255, 0.3);
}

.paw {
    position: absolute;
    top: 500px;
    display: block;
}

/* LOVEHA RULES */

a:link {
    color: #21BB1E;
    text-decoration: none;
}

a:visited {color: #DE8A1C;}

a:hover {text-decoration: underline;}

a:active {color: rgb(255 0 0);}

@media screen and (min-width: 340px) {
    header{
        background-image: url('../img/ipad_header.png');
        background-repeat: no-repeat;
        background-size: 107%;
        margin-bottom: 10px;
    }
}

@media screen and (min-width: 484px) {
    header{
        background-image: url('../img/pc_header.png');
        background-repeat: no-repeat;
        background-size: 100%;
        margin-bottom: 10px;
    }
    
}

@media screen and (min-width: 720px) {
    header{
        background-image: url('../img/pc_long_header.png');
        background-repeat: no-repeat;
        background-size: 100%;
        margin-bottom: 10px;
    }

    footer{
        background-image: url('../img/mac_footer.png');
            background-repeat: no-repeat;
            background-size: 100%;
    }

    .flex-container {
        display: flex;

    }
    
.when p,
.when picture,
.why p,
.why picture,
.what p,
.what picture,
.where p,
.where picture,
.how p,
.how picture     {
    flex-basis: 70%;
}

.text{
    font-family: "Montserrat", sans-serif;
    margin-top: 1.5rem;
    font-size: 1.5rem;
}

.flex-container > p, .flex-container > div {
    margin: 0 1rem;
}

.when .flex-container{
    flex-direction: row-reverse;
}

.how .flex-container{
    flex-direction: row-reverse;
}

.what .flex-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* two columns: each equal to one fraction of the available space */
}
.where .flex-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* two columns: each equal to one fraction of the available space */
}

.why .flex-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* two columns: each equal to one fraction of the available space */
}

}




