#messageModal
{
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(255,255,255,0.9); /* White w/ opacity */
  animation-name: message-pop-up;
  animation-duration: 0.6s;
}

#messageFromServerBox
{
    position: relative;
    top: 25%;
    color: white;
    text-align: center;
    border: 1px solid white;
    width: 50%;
    margin: auto;
    border-radius: 17px;
    background-color: #904A92;
    background-image: linear-gradient(to right, rgba(128,148,201,1), rgba(255,204,255,1));
    box-shadow: 5px 5px 30px blueviolet;
}

@keyframes message-pop-up
{
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

@keyframes message-pop-close
{
  from {transform:scale(1)} 
  to {transform:scale(0)}
}

#button
{
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px 60px;
    background-color: #7E92C8;
    color: white;
    transition: background-color 1s ease-in-out;  
    border-radius: 17px;  
    box-shadow: 5px 10px 12px black;
}   

#button:hover
{
    background-color: #904A92;
}

#tick
{
    display: none;
    position: absolute;
    top: 40px;
    font-size: 4em;
    color: green;
    left: 500px;
    text-shadow: 2px 0px 2px white;
} 

#cross
{
    display: none;
    position: absolute;
    top: 40px;
    font-size: 4em;
    color: red;
    left: 500px;
    text-shadow: 2px 0px 2px white;
} 


#messageGoesHere
{
    font-size: 1.2em;
}

@media only screen and (max-width: 768px)
{
    #cross
    {
        top: 55px;
        font-size: 3em;
        color: red;
        left: 300px;
    }    
}

 @media only screen and (max-width: 700px)
{
    #cross
    {
        top: 35px;
        font-size: 3em;
        color: red;
        left: 135px;
    }   
}
  
 
@media only screen and (max-width: 600px)
{
    #cross
    {
        top: 65px;
        font-size: 3em;
        color: red;
        left: 235px;
    }
}


@media only screen and (max-width: 600px)
{
    #cross
    {
        top: 65px;
        font-size: 3em;
        color: red;
        left: 175px;
    }
}


#subjectBox
{
    display: block;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    border: 1px solid;
    border-radius: 12px;
    height: 40px;
    text-align: center;
    box-shadow: 5px 0px 2px black;
    color: #909090;
    font-size: 1em;
}


#page-header
{
    padding-top: 80px;
    text-align: center;
    margin-bottom: 40px;
}

#heading
{
    background-color: #7E92C8;
    border-radius: 17px;
    color: white;
    padding: 10px 80px;
    box-shadow: 5px 0px 10px #000;
    text-shadow: 5px 0px black;
    border: 1px solid black;
}

#contactDiv
{
    font-family: sans-serif;
    border: 1px solid;
    width: 80%;
    margin: auto;
    border-radius: 17px;
    text-align: center;
    /*background-color: RGBA(144, 74, 146, 0.25); not sure about this one*/ 
    background-color: #eaf2f7;    
     background-image: linear-gradient(to right, rgba(126, 146, 200,1), rgba(255,204,255,0.5));    
    max-width: 1000px;
    box-shadow: 5px 0px 12px black;
    
}


#nameBox
{
    display: block;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    border: 1px solid;
    border-radius: 12px;
    height: 40px;
    text-align: center;
    box-shadow: 5px 0px 2px black;
    font-size: 1em;
}

#emailBox
{
    display: block;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    border: 1px solid;
    border-radius: 12px;
    height: 40px;
    text-align: center;
    box-shadow: 5px 0px 2px black;
    font-size: 1em;
}

#messageBox
{
    display: block;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    height: 300px;
    min-height: 300px;
    border: 1px solid;
    border-radius: 12px;
    box-shadow: 5px 0px 2px black;
    resize: vertical;
    overflow: auto;
    white-space:pre-wrap;
    font-family: sans-serif;
    text-align: justify;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    font-size: 1em;
}

#emailBox::placeholder
 {
    text-align: center;
 }

#submitButton
{
    width: 60%;
    padding: 20px 60px;
    font-size: 1.5em;
    margin-top: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    background-color: #7E92C8;
    color: white;
    text-shadow: 5px 0px 5px black;
    box-shadow: 5px 0px 10px black;
    border: 1px solid black;
    transition: background-color 1s ease-in-out;
}

#submitButton:hover
{
    background-color: #904A92;
}

#characters-remaining-message
{  
    width: 60%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 0px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

#password2
{
    display: none;
}

@media only screen and (max-width: 768px)
{
    #submitButton
    {
        width: 60%;
    }
    
    #subjectBox
    {
        padding-left: 5px;
        padding-right: 5px;
        text-overflow: ellipsis;
    }
}

@media only screen and (max-width: 700px)
{
    #nameBox, #emailBox, #messageBox, #submitButton, #subjectBox
    {
        width: 80%;
    }
    
    #contactDiv
    {
        margin-top: 30px;
    }
    
    #subjectBox
    {
        font-size: 0.7em;
    }
    
}


@media only screen and (max-width: 374px)
{
    #page-header
    {
        width: 90%;
        font-size: 1.1em;
        margin: auto;
    }    
}

@media only screen and (max-width: 320px)
{
    #heading
    {
        font-size: 1em;
        padding-left: 80px;
        padding-right: 80px;
    }  
    
    #contactDiv
    {
        margin-top: 30px;
    }
}


@media only screen and (max-width: 429px)
{
    #contactDiv
    {
        width: 90%;
    }
    
}
contactDiv