
/*larger screens*/

body{
    margin: 0;
    height: 100vh;
    width: 100%;
}

/*nav*/
.navigation{
    position: absolute;
    background-color: transparent;
}

.navigation img{
    width: auto;
    height: 50px;
    margin-left:20px ;
    margin-top: 20px;
}


.outer_layer{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: nowrap;
}

/*left*/

.content_layer{
    width: 40%;
    height: 100%;
    background-color: #96b2bc;
} 

.text{
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
    
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25vh;
}

.text h1{
    
}

.text p{
    font-size: 1.2em;
    word-wrap: break-word;
    text-align: left;
    color: rgb(48, 48, 48);
}

form{
    font-family: Arial, Helvetica, sans-serif;
    width: 300px;
    height: 290px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 5px;
    margin-top: 5vh;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.24);
}

form h3{
    color: rgb(121, 121, 121);
    padding-top: 10px;
}

form input {
    width: 250px;
    height: 30px;
    margin-top: 10px;/*spacing between input spaces*/
    border-radius: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    font-weight: normal;
    color: rgb(139, 139, 139);
    border-style: none;
    background-color: rgb(255, 255, 255);
    padding-left: 5px;
    border: solid rgb(201, 201, 201) 1px;
}

form textarea{
    width: 250px;
    height: 70px;
    margin-top: 10px;/*spacing between input spaces*/
    border-radius: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    font-weight: normal;
    color: rgb(139, 139, 139);
    border-style: none;
    background-color: rgb(255, 255, 255);
    border: solid rgb(201, 201, 201) 1px;
}

input[type=submit]{
    background-color: #3e5969;
    color: white;
    height: 35px;
    width: 250px;
    border: solid 1px #3e5969;
}

/*right*/

.image_layer{
    width:60%;
    height: 100%;
    background-color: pink;
    overflow: hidden;
}

.image_layer img{
    height: 100%;
   
}

/*footer*/

footer{
    position: absolute;
    height: 50px;
    width: 100%;
    bottom: 0;
    background-color: transparent;
}

a img{
    width: 30px;
    height: 30px;
    margin-left: 10px;
}



/*small devices-*/
@media only screen and (max-width: 1000px)
{
    .navigation img{
        width: auto;
        height: 50px;
        margin-top: 10px;
        margin-left: 10px;
    }

    .text{
        margin-top: 15vh;/*space btween top of page and text*/
    }

    form{
        width: 250px;
        height: 250px;
        margin-top: 5vh; /*space between text and form*/
    }

    form input {
        width: 200px;
        height: 20px;
        padding-left: 5px;
        margin-top: 5px;/*spacing between input spaces*/
    }

    input[type=submit]{
        width: 200px;
    }

    form textarea{
        width: 200px;
        margin-top: 5px;/*spacing between input spaces*/
    }
}


@media only screen and (max-width: 700px)
{
    .navigation img{
        width: auto;
        height: 50px;
        margin-top: 10px;
        margin-left: 10px;
    }

    .image_layer{
        height: 0%;
        width: 0%;
    }

    .content_layer{
        width: 100%;
        height: 100%;
       
    }

    .text{
        width: 70%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 12vh;
    }
    .text p{
        font-size: 1em;
    }
    
    form{
        width: 350px;
        height: 320px;
        margin-top: 10vh;
    }
    form input {
        width: 270px;
        padding-left: 5px;
        margin-top: 10px;
    }

    form textarea{
        width: 270px;
        margin-top: 10px;
    }
    input[type=submit]{
        width: 270px;
    }
    footer{
        height: 30px;
    }
    a img{
        width: 35px;
        height: 35px;
        margin-left: 10px;
    }
}

@media only screen and (max-width: 400px)
{
    .navigation img{
        width: auto;
        height: 40px;
        margin-top: 10px;
        margin-left: 10px;
    }

    .image_layer{
        height: 0%;
        width: 0%;
    }

    .content_layer{
        width: 100%;
        height: 100%;
       
    }

    form{
        width: 250px;
        height: 270px;
        margin-top: 3vh;
    }
    .text{
        width: 80%;
    }
    .text p{
        font-size: 1em;
    }

    form input {
        width: 200px;
        padding-left: 5px;
    }

    form textarea{
        width: 200px;
    }
    input[type=submit]{
        width: 200px;
    }
    footer{
        height: 40px;
    }
    a img{
        width: 35px;
        height: 35px;
        margin-left: 10px;
    }
}