* {
  margin: 0;
  padding: 0;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Dosis', sans-serif;
    background: #ddd;
    box-sizing: border-box;
}

figure {
	margin: 0;
}



/* --------- HEADER ------------------------- */

header {
  background-color: #131812;
  
}

nav {
  z-index: 20;
  position: fixed;
  top: 0;
  width: 100%;
  border-bottom: 2px solid #eee;
  overflow: hidden;
  text-align: center;
  background-color: darkslategray;
}

.menu-btn {
  display: none;
}

.menu-icon {
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
    
}

nav ul {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  max-height: 0;
  transition: max-height 1.5s linear;
}

nav ul a {
  display: block;
  margin: 20px 0;
  padding: 10px 0;
  font-size: 1em;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  transition: color 1s ease,background 1s ease;
}

nav ul a:hover {
  background: red;
  color: aqua;
}

.menu-icon span {
  color: #fff;
  
}

nav #menu-btn:checked ~ ul {
    max-height: 600px;
}

.banner {
  display: flex;
  flex-direction: column;
  margin-top: 60px;
  background: #131812;
  height: calc(100vh - 60px);
  text-align: center;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 0 10px;
}

.banner img {
  width: 95%;
}

.banner h1 {
  font-family: 'Fredericka the great', cursive;
  font-weight: 400;
  font-size: 1.5em;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: .2em auto;
}

.banner h2 {
  letter-spacing: 4px;
  font-size: 1.1em;
  font-weight: 400;
  margin-bottom: 45px;
}

@media (max-width: 550px) {
  
  .banner h1 {
    font-size: 1.3em;
    letter-spacing: 1px;
  }
  
  .banner h2 {
    font-size: 12px;
    
  }
  
  
}



/* ----------- MAIN ------------------------------------------ */


/* ---------- BIO -------------------------------------------- */

#bio {
  background: url(../_images/tree.jpg) no-repeat;
  background-size: cover;
  background-position: center center;
  background-color: rgba(0,0,0,.8);
  padding: 150px 0;
}

.box {
  width: 450px;
  text-align: center; 
  padding: 40px;
  background: rgba(0,0,0,0.8);
  margin: auto;
  color: #fff;
}

.box-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}



#bio span {
  font-weight: 900;
}

.box h1 {
  text-transform: uppercase;
  font-size: 2.2em;
  letter-spacing: 4px;
  margin-bottom: 5px;
  
}

.box h5 {
  font-size: 1.4em;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.box p {
  font-size: 1.2em;
  line-height: 1.5em;
  margin: 20px auto;
  text-align: justify;
  letter-spacing: 3px;
  font-weight: 500;
}

.box ul {
  margin: 0;
  padding: 0;
}

.box li {
  display: inline-block;
  margin: 0px 8px;
  outline-style: none;
}

.box li a {
  color: #fff;
  text-decoration: none;
  font-size: 2.6em;
  transition: all ease-in-out 300ms;
}

.box li a:hover {
  color: #555;
}

@media (max-width: 574px) {
  .box {
    width: 90%;
    text-align: center; 
    padding: 10px;
    background: rgba(0,0,0,0.8);
    margin: auto;
    color: #fff;
  }
  
  .box-image {
    width: 150px;
    height: 150px;
  }
}

/* ----------- AD SECTION ------------------------------------- */
.ad {
  background: #131812;
  text-align: center;
  padding: 25px 15px;
  color: #2e92aa;
}

.ad h3 {
  font-size: 1.6em;
  font-family: 'Play', sans-serif;
}

.ad p {
  font-size: 1.3em;
  letter-spacing: 1px;
  margin: 10px auto 0 auto;
  
}


/* ----------- PORTFOLIO ------------------------------------- */

#portfolio {
  padding: 75px 0;
  background: #ddd;
}

#portfolio h2 {
  color: #000;
}

.centered {
  text-align: center;
}

.centered h2 {
  font-size: 2.5em;
}

.hrWings {
    width: 250px;
    margin: 0 auto;
}

.cards {
  margin: 40px auto;
  padding: 0 10px;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
}

.card {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.card-image {
  width: 100%;
  display: block;
}

.card-content {
  line-height: 1.5;
  letter-spacing: 2px;
  font-size: 1em;
  padding: 30px 15px;
  background: #fafafa;
}

.card-content span {
  color: #666;
  font-size: .9em;
}

.card-link {
  padding: 15px 0;
  background: #fafafa;
  border-bottom: 3px solid #cccccc;
  text-align: center;
}

.card-link a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  background-color: red;
  display: inline-block;
  text-transform: uppercase;
  font-size: 1em;
  letter-spacing: 2px;
  transition: all ease-in-out 300ms;
}

.card-link a:hover {
  background-color: #000;
}

/* --------- CONTACT --------------------------*/

#contact {
  padding: 100px 0;
  text-align: center;
  background: url(../_images/office.jpg) center right no-repeat;
  background-size: cover;
}

.contact-box {
  width: 450px;
  text-align: center; 
  padding: 40px;
  background: rgba(255,255,255,0.8);
  margin: auto;
  color: #000;
}

#contact h3 {
  font-size: 1.8em;
  margin: 40px 0;
}

#contact p {
  font-size: 1.5em;
  font-weight: 700
}

.phone {
  margin-bottom: 15px;
}

#contact p i {
  
}

@media (max-width: 574px) {
  .contact-box {
    width: 90%;
    padding: 10px;
  }
}

.main-footer {
  text-align: center;
  padding: 30px 0;
  color: #fff;
  background: #000;
}
  


/* --------- LAYOUT MEDIA QUERIES --------------------------*/

/*-----------------------------------------------------------
Basic responsive layout for all browsers:
------------------------------------------------------------*/

body {
  max-width: 50em;
  margin: 0 auto;
}
/*-----------------------------------------------------------

------------------------------------------------------------*/


/* ------ Check for CSS Grid support: -------------- */
@supports (grid-area: auto) {


  @media (min-width:768px) {
    
    body {
      max-width: none;
      margin: 0 auto;
    }
    
    header {
      
    }
    
    nav {
      z-index: 20;
      position: fixed;
      top: 0;
      width: 100%;
      overflow: hidden;
      text-align: center;
      border-bottom: 1px solid #777;
      
    }
    
    nav ul {
      display: flex;
      flex-direction:row;
      list-style-type: none;
      max-height: 70px;
      transition: max-height 1.5s linear;
      justify-content: center;
      padding: 15px 0;
      background-color: #131812;
    }

    .menu-btn {
      display: none;
    }

    .menu-icon {
      display: none;
 
    }
    
    nav ul a {
      background: transparent;
      margin: 0 10px;
      padding: 10px 30px 10px 30px;
      border-style: double;
      border-radius: 100px 100px 100px 100px;
      border-width: 4px 2px 4px 2px;
      border-color: #ccc;
      font-size: .9em;
      text-decoration: none;
      text-transform: uppercase;
      color: #fff;
      transition: color 1s ease,background 1s ease;
      letter-spacing: 2px;
    }

    nav ul a:hover {
      background: red;
      color: aqua;
    }

    .banner {
      margin-top: 75px;
      height: 95vh;
/*      padding: 100px 0 170px 0;*/
    }

    .banner img {
      width: 700px;
    }

    .banner h1 {
      font-weight: 400;
      font-size: 2.5em;
      text-transform: uppercase;
/*      margin: .2em auto;*/
    }

    .banner h2 {
      letter-spacing: 6px;
      font-size: 1.6em;
      font-weight: 400;
      margin-bottom: 45px;
    }
    
    /* ---------- BIO --------------------------------- */
    
 #bio {
    background: url(../_images/tree.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: rgba(0,0,0,.8);
    padding: 150px 0;
}

.box {
  width: 450px;
  text-align: center; 
  padding: 40px;
  background: rgba(0,0,0,0.8);
  margin: auto;
  color: #fff;
}

.box-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}
    

    
/* ----------- AD SECTION ------------------------- */
    .ad {
      background: #080309;
      text-align: center;
      padding: 25px 15px;
      color: #5d7f55;
    }

    .ad h3 {
      font-size: 2em;
    }

    .ad p {
      max-width: 800px;
    }
    
  /* ----------- PORFOLIO/PROJECTS ----------------- */
    

  }
  /* --------- END (768PX) MEDIA QUERIE-----------------*/

 

}
/* ------ End Check for CSS Grid support: -------------- */


/* --------- projects -----------------*/

.projects {
  background: tan;
}

.article-container {
  max-width: 1200px;
  margin: 0 auto;
  
}

.project {
  display: grid;
  padding: 20px 0;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.phone-container {
  display: flex;
  justify-content: flex-end;
}

.iphone {
  font-family: 'Open Sans', sans-serif;
  width: 300px;
  height: 500px;
  border: 3px solid #ccc;
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
  
}

.top {
  width: 65px;
  height: 5px;
  margin: 20px auto;
  border: 2px solid #ccc;
  border-radius: 8px;
  
}

.screen {
  width: 260px;
  height: 395px;
  border: 2px solid #ccc;
  margin: 0 auto;
  
}

.circle-button {
  width: 30px;
  height: 30px;
  border: 2px solid #ccc;
  margin: 10px auto 0;
  border-radius: 50%;
}

.bars {
  text-align: center;
  margin-top: 4px;
}

.phone-number {
  width: 100%;
  background: #f8d225;
  color: #000;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 6px 0;
  text-align: center;
  margin-top: 6px;
}

.rec-logo img  {
  display: block;
  width: 40%;
  margin: 8px auto 0;
}

.rec-tagline {
  font-size: 14px;
  text-align: center;
  color: #595959;
}

.rec-intro {
  background: #b1352d;
  color: #fff;
  margin-top: 10px;
  padding: 12px 15px 0px;
}

.rec-intro h3 {
  font-family: 'Mitr', sans-serif;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.rec-intro h3 span {
  color: #f8d225;
  
}

.rec-intro p {
  font-size: 13px;
}

.project-info {
  padding: 15px;
  
  
}

.project-info h3 {
  font-size: .9em;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 5px;
  background-color: #ccc;
  letter-spacing: 2px;
}

.project-info span {
  color: #444;
}
























