/* --- imported fonts --- */
@font-face {
  font-family: blackBones;
  src: url(fonts/blackBones.ttf)
}

@font-face {
  font-family: helloDreamer;
  src: url(fonts/helloDreamer.otf)
}

/* -------  General Styles ------- */

body {
  margin: 0;
  background-color: #4f5d75;
}

header {
  background-color: antiquewhite;
  background-image: url(images/intersection.png);
  margin-bottom: 40px;
  border: solid;
  border-radius: 20px;
  font-family: blackBones,'Montserrat Alternates', sans-serif;
  
}

.logo {
  text-align: center;
  letter-spacing: -3;
  margin: 0;
  padding: 20px 0 0 0;
}

.picture {
  width: 500px;
  border-radius: 50%;
}


/* ---  Navigation --- */

header nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

header nav ul {
  display: flex;
  flex-direction: row;
  padding-bottom: 0;
}

header nav ul li {
  list-style-type: none;
}

header nav ul li a {
  color: blue;
  text-decoration: none;
  padding: 0 20px 0 0;
}

header nav ul li a:hover {
  color: black;
  text-decoration: none;
}

@media all and (min-width: 700px) {
  header {
    display: flex;
    justify-content: space-between;
  }

  .logo {
    margin: 14px 0 14px 20px;
    padding-top: 0;
    font-size: 42px;
  }
  
  header nav {
    margin-top: 14px;
  }
}

/* ---  Primary Groups --- */

main {
  padding: 20px 0;
}

section {
  margin-bottom: 100px;
}



/* ---  Typography --- */

h1 {
  font-size: 48px;
  font-family: blackBones,'Montserrat Alternates', sans-serif;
  font-weight: 400;
}

h2 {
  font-size: 26px;
  font-family: helloDreamer,'Montserrat Alternates', sans-serif;
  font-weight: 400;
  margin: 0 10px;
}
h3 {
  font-size: 18px;
  font-family: blackBones,'Montserrat Alternates', sans-serif;
  font-weight: 500;
}

h4{
  font-family: helloDreamer;
}


p {
 font-family: "comic sans", 'Montserrat', sans-serif;
 line-height: 1.5em;
 margin-bottom: 0;
 font-size: medium;
}

main a {
    font-weight: 700;
    text-decoration: none;	
}

main  a:link { color: blue; }
main  a:hover { color:black; }



main img {
  width: 100%;
}

.group {
  display: flex;
  flex-direction: column;
}

.item {
  flex: 1;
  margin: 10px;
}

.double {
  flex: 2;
}



/* ---  (Desktop) Groups & Items --- */

@media all and (min-width: 800px) {
  section {
    padding: 0 3%;
  }
  .group {
    flex-direction: row;
  }
}



/* Contact Form Design */

form {
  padding-right: 8px; 
}

form label {
  display: block;
}

form input, 
form textarea {
  width: 100%;
  margin-bottom: 20px;
}

form textarea {
  height: 160px;
}
 