


/********** DESKTOP SCREEN *********/

@media only screen and (min-width: 800px) {

    header {
        background-image: url("../images/la_jolla.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 100vh;
        width: auto;
    }

    .dropdown {
        display: inline-block;
        position: relative;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        width: 170px;
        overflow: auto;
        box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.4);
        background-color: floralwhite;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        display: block;
        color: #000;
        padding: 5px;
        text-decoration: none;
        cursor: pointer;
    }

    .dropdown-content a:hover {
        color: #FFF;
        background-color: #00A4BD;
    }

    a {
        text-decoration: none;
        cursor: pointer;
    }

    a:link {
        color: #0C3249;
    }

    a:visited {
        color: #447A99;
    }

    a:hover {
        color: #5A9CC4;
    }

    a:active {
        color: #9CC6DF;
    }

    .logo img {
        width: 300px;
        margin-left: 38%;
        margin-top: 20px;
    }

    nav ul {
        display: flex;
        font-family: Asap Condensed, sans-serif;
        font-size: 22px;
        justify-content: space-around;
    }

    .msg h1 {
        color: #1D3664;
        font-family: Judson, sans-serif;
        font-size: 35px;
        text-align: center;
        margin-top: 12rem;
        text-shadow: 2px 2px 4px whitesmoke;
    }

    .msg p {
       font-family: Asap Condensed, sans-serif;
        font-size: 18px;    
        color: whitesmoke;
        text-shadow: 5px 5px 10px black;
        word-spacing: 3px;
        text-align: center;
        text-transform: uppercase;
        margin-top: 4rem;
    }

    .box1 hr, .box2 hr {
        border-radius: 5px;
        margin-bottom: 1rem;
        margin-top: 1rem;
        border: 1px solid #A0AFCA;
    }

    footer img {
        width: 75px;
        margin-bottom: 1rem;
        align-self: flex-end;
    }

    footer {
        display: flex;
        justify-content: space-evenly;
        background-color: #dde3ed;
        padding: 2rem;
        font-family: Asap Condensed, sans-serif;
        line-height: 1.5rem;
    }

    footer h4 {
        font-weight: 600;
    }

    .box1 {
        flex-grow: 2;
        margin-left: 120px;
    }

    .box2 {
        flex-grow: 2;
        margin-left: 80px;
    }

    h3 {
        font-family: Asap Condensed, sans-serif;
        font-size: 19px;
        color: #03122E;
        line-height: 1.5rem;
        word-spacing: 3px;
        margin-left: 2rem;
        margin-right: 2rem;
        margin-top: 3rem;
    }

    .photo1 img, .photo2 img{
        width: 450px;
        margin: 6rem 4rem 2rem 6rem;
    }

    .photo1 img {
        float: left;
    }

    .photo2 img {
        float: right;
    }

    .top {
        display: none;
    }

    .p1 p, .p2 p {
        font-family: Asap Condensed, sans-serif;
        font-size: 20px;
        line-height: 1.7rem;
        margin-bottom: 8rem;
        margin-left: 5rem;
       
    }

    .p1 h1, .p2 h1 {
        font-family: Judson, sans-serif;
        font-size: 35px;
        color: #1D3664;
        margin-bottom: 1rem;
    }

    .p2 h1 {
        margin-left: 5rem;
    }

    .p1 {
        margin-right: 4rem;
        padding-top: 10rem;

    }

    .p2 {
        padding-top: 10rem;
    }

    .contact {
        margin: 1rem 0 3rem 2rem;
        line-height: 2rem;
    }

    .contact p {
        font-family: Asap Condensed, sans-serif;
        font-size: 16px;
        color: #03122E;
    }

    .contact h4 {
        font-family: Asap Condensed, sans-serif;
        font-size: 19px;
        color: #03122E;
        font-weight: 600;
    }

    .contact a {
        font-family: Asap Condensed, sans-serif;
    }


}





/********* PHONE SCREEN ***********/

@media only screen and (max-width: 799px) {

    .dropdown {
        display: inline-block;
        position: relative;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        width: 170px;
        overflow: auto;
        box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.4);
        line-height: 1.5rem;
        background-color: whitesmoke;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        display: block;
        color: #000;
        padding: 5px;
        text-decoration: none;
        cursor: pointer;
    }

    .dropdown-content a:hover {
        color: #FFF;
        background-color: #00A4BD;
    }

    a {
        text-decoration: none;
        cursor: pointer;
    }

    a:link {
        color: #0C3249;
    }

    a:visited {
        color: #447A99;
    }

    a:hover {
        color: #5A9CC4;
    }

    a:active {
        color: #9CC6DF;
    }

    header {
        background-image: url("../images/la_jolla.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 100vh;
        width: auto;
    }

    nav ul {
        text-align: center;
        font-family: Asap Condensed, sans-serif;
        font-size: 22px;
        line-height: 3rem;
        margin-top: 3rem;
    }

    h3 {
        font-family: Asap Condensed, sans-serif;
        font-size: 19px;
        color: #03122E;
        line-height: 1.5rem;
        word-spacing: 3px;
        margin-left: 2rem;
        margin-right: 2rem;
        margin-top: 3rem;
    }
    
    .logo img {
        width: 400px;
    }

    .msg p {
        font-family: Asap Condensed, sans-serif;
        font-size: 18px;    
        color: whitesmoke;
        text-shadow: 5px 5px 10px black;
        word-spacing: 3px;
        text-align: center;
        text-transform: uppercase;
        margin-top: 4rem;
    }

    .box2 {
        margin-top: 2rem;
    }

    .box1 h3, .box2 h3 {
        font-weight: 600;
    }

    .contact {
        margin: 2rem 0 3rem 0;
        line-height: 2rem;
    }

    .contact p {
        font-family: Asap Condensed, sans-serif;
        font-size: 19px;
        color: #03122E;
    }

    .contact h4 {
        font-family: Asap Condensed, sans-serif;
        font-size: 19px;
        color: #03122E;
        font-weight: 600;
    }

    .contact a {
        font-family: Asap Condensed, sans-serif;
    }

    .p1 {
        float: left;
    }

    .p1 p, .p2 p {
        text-align: center;
        font-family: Asap Condensed, sans-serif;
        font-size: 20px;
        line-height: 1.7rem;
        margin: 3rem;
    }

    .p1 h1, .p2 h1 {
        font-family: Judson, sans-serif;
        text-align: center;
        font-size: 30px;
        margin-top: 3rem;
    }

    .photo1 img, .photo2 img {
        width: 100vw;
    }

    .top {
        font-family: Judson, sans-serif;
        text-align: center;
        font-size: 30px;
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

    .contact p {
        font-family: Asap Condensed, sans-serif;
        font-size: 16px;
        color: #03122E;
        line-height: 1.5rem;
        word-spacing: 3px;
    }

    .box1 {
        margin-left: 10%;
    }

    .box2 {
        margin-top: -60px;
    }


    .box1 h3, .box2 h3 {
        font-weight: 600;
    }

    footer img {
        align-self: flex-end;
        width: 80px;
        margin-left: 75%;
    }

    footer {
        display: flex;
        flex-wrap: wrap;
        background-color: #dde3ed;
        padding: 2rem;
        font-family: Asap Condensed, sans-serif;
        line-height: 1.5rem;
    }

    footer h4 {
        font-weight: 600;
    }

}