*{box-sizing:border-box;margin:0;padding:0}

body,html{
height:100vh;
width:100%;
color: black;
font-weight: 300;
font-size:1em;
line-height:1.6;
scroll-behavior: smooth;
font-family: 'Roboto', sans-serif;
/* background-color: #839DA5; */
}
img {
width: 100%;
height: auto;
}
li{
padding:10px 5px 5px 15px;
list-style-type: square;
}
ul{
padding-left: 30px;
}
h2, h3, h4 {
font-size: 1.6em;

}
/* MOBILE SCREEN */
.master-grid{
display:grid;	grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
grid-template-areas:
"header"
"info"
"footer"
}


/* color codes
#839DA5 background
#364A50 CTA BUTTONS
#BA9F84 NAV BAR     */

/* DESKTOP SCREEN */
@media only screen and (min-width:1085px){
.master-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
grid-template-areas:
"header  header  header  header "
"  .  info  info  ."
" footer  footer  footer  footer "

}
}
.info{
grid-area: info;
margin-top: 80px;
background-color:#364A50;
color: white;
padding: 80px;
}

.info a{
    color: white;
    font-weight: bold;
    font-size: 1.2em;
}
.btn-m{
background-color:#364A50;
color: white !important; 
cursor: pointer;
display:flex;
align-items:center;
justify-content:center;
border-radius: 8px ;
border: 2px solid black;
text-decoration:none;
font-size: 1em;
font-weight:bold;
width:15em;
padding:7px 5px;
margin:auto;
}
.btn-m:hover{
background-color:  #16292b;
color:white; 
cursor: pointer;
text-decoration: underline;

}


/* FORM SECTION */


input[type=text], select {
width: 60%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border-style: solid  ;
border: white solid 1px;
box-sizing: border-box;
color: white;
font-size: 0.9em;
background-color: transparent;
}

input[type=submit] {
text-decoration: none;
cursor: pointer;
color: black;
font-size: 0.9em;
}
/* text area styles */
textarea {
height:150px !important;
padding: 10px 10px;
color: black;
font-size: 0.9em;
}

label,
textarea {

color: black;
font-size: 0.9em;
}

.no-outline:focus {
outline: none;
}  
/* adds space on top for label */
.contact-form {
margin-top: 30px;
}

/* positioning .form-field relative, so .lable can be positioned on-top (absolute) */
.form-field {
position: relative;
}

/* label styles */
.label {
position: absolute;
left: 0;
top: -25px;
line-height: 26px;
font-weight: 400;
text-transform: capitalize;
color: black;
cursor: text;
font-size: 0.9em;
}
.mess{
color: black;
font-size: 0.9em;
}
/* input styles */
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],

textarea, select {
border: 2px solid rgb(8, 150, 206);
height: 40px;
padding: 5px 10px;
width: 100%;
background-color: rgb(247,247,247);
color: black;
font-size: 0.9em;
}  
/* END */

footer{
grid-area: footer;
text-align: center;
background-color:#364A50;
color: white;
margin-top: 60px;
min-height: 150px;
padding: 40px;
}



/*NAVIGATION*/
header{
grid-area: header;
}

.nav {
height: 70px;
width: 100%;
background-color:#364A50 ;
position: fixed;
z-index: 555;
}

.nav > .nav-header {
display: inline;
margin-right: 20px;
}

.nav > .nav-header > .nav-title {
display: inline-block;
font-size: 20px;
color: #eeeae2;
padding: 10px 10px 10px 10px;
}

.nav > .nav-btn {
display: none;
}

.nav > .nav-links {
display: inline;
float: right;
font-size: 17px;
}

.nav > .nav-links > a {
display: inline-block;
padding: 1px 60px 5px 5px;
text-decoration: none;
color: white;
}

.nav > .nav-links > a:hover {
background-color: #36454F;
color: white ;
z-index: 1;
}
.nav > #nav-check {
display: none;
}

@media (max-width:1080px) {
.nav > .nav-btn {
display: inline-block;
position: absolute;
right: 40px;
top: 10px;
z-index: 1;
}
.nav > .nav-btn > label {
display: inline-block;
width: 50px;
height: 50px;
padding: 13px;
}
.nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
background-color: rgba(0, 0, 0, 0.3);
}
.nav > .nav-btn > label > span {
display: block;
width: 25px;
height: 10px;
border-top: 2px solid #eee;
}
.nav > .nav-links {
position: absolute;
display: block;
width: 100%;
background-color: #9EA791;
height: 0px;
transition: all 0.3s ease-in;
overflow-y: hidden;
top: 50px;
left: 0px;
z-index: 1;
color: white;
}
.nav > .nav-links > a {
display: block;
width: 100%;
}
.nav > #nav-check:not(:checked) ~ .nav-links {
height: 0px;
}
.nav > #nav-check:checked ~ .nav-links {
height: calc(100vh - 50px);
overflow-y: auto;
}
}



    
/* MEDIA - HAND HELDS */

@media  screen and (max-width: 480px){ 
.info{
grid-area: info;
margin-top: 90px;
background-color:#364A50;
color: white;
padding: 20px;
}


.myform{
grid-area: myform;
margin-top: 130px;
width: 90%;
padding: 10px;
justify-self: center;
}



}