* {
  font-family: Roboto, sans-serif;
} 
/*3 column pages*/
.flexContainer {
 display: flex;
}
.flexSpaceAround {
 justify-content: space-around;
}
.subContainer {
 width: 70%;
 margin: 0 auto;
}
.col {
 width: 32%;
 border: 1px solid #777777;
 border-radius: 8px;
 background: white;
 padding: 20px;
}

p{
  font-weight: 400;
  line-height: 34px;
}

.secondary-title {
    font-size: 1.5em;
    font-weight: 700;
    text-align: center;
    letter-spacing: 9px;
    text-transform: uppercase;
    font-family: Poppins, sans-serif;
    color: #686868;
}

.image-container {
  text-align: center;
}

.download2 {
  height: auto;
  width: 400px;
}

/*flexbox layout*/
* {
 box-sizing: border-box;
}

body {
 font-family: 'Roboto', sans-serif;
 background-color: #fafafa;
 overflow-x: hidden;
}

/* Style the header */
header {
 background-color: #fafafa;
 padding: 30px;
 color: white;
 margin: 0 auto;
 padding-bottom: 21%;
}

.left-one {
 float: left;
 max-width: 250px;
 margin-left: 20%;
 margin-top: 10%;

}

.left-one p {
 margin-top: 0;
 margin-bottom: 32px;
 font-size: 20px;
 margin: 10px;
}

.right-one {
 float: right;
 margin-right: 20%;
 padding-top: 69px;
}



/**
* ----------------------------------------
* animation slide-in-top
* ----------------------------------------
*/

.slide-in-top {
-webkit-animation: slide-in-top 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
       animation: slide-in-top 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-in-top {
0% {
 -webkit-transform: translateY(-1000px);
         transform: translateY(-1000px);
 opacity: 0;
}
100% {
 -webkit-transform: translateY(0);
         transform: translateY(0);
 opacity: 1;
}
}
@keyframes slide-in-top {
0% {
 -webkit-transform: translateY(-1000px);
         transform: translateY(-1000px);
 opacity: 0;
}
100% {
 -webkit-transform: translateY(0);
         transform: translateY(0);
 opacity: 1;
}
}



   
header h1 {
 font-weight: 600;
 font-size: 4em;
 font-family: Poppins, sans-serif;
}
header h2 {
 font-weight: 300; 
 color: 494949;
 line-height: 35px;
 font-size: 1.5em;
 letter-spacing: normal;
 max-width: 50%;
 margin: 0 auto;
 padding-top: 2%;
 }
.links a {
   color: white;
   font-size: 1.1em;
   padding-left: 2%;
}

.links a:hover {
   color: lightblue;
}
/* Container for flexboxes */
section {
 display: -webkit-flex;
 display: flex;
 max-width: 80%;
 margin: 0 auto;
}

/* Style the navigation menu */
* {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html, body { height: 100%; }

body {
 font-family: 'Arvo', serif;
 color: #333;
}

.section-two {
  background: #e8e8e8;
  max-width: 100%;
  padding-top: 100px;
  color: black;
}

h1 {
 margin-top: 110px;
 font-size: 2.5em;
 text-align: center;
}

nav {
 position: absolute;
 top: 0;
 padding: 20px;
 width: 100%;
 background: #642D42;
 left: 0px;
 font-family: Poppins, sans-serif;
 font-weight: 400;
}

nav h2 {
 display: inline;
 font-size: 2em;
}

.menu {
 position: relative;
 margin-top: 6px;
 float: right;
 list-style-type: none;
 transition: top 0.5s cubic-bezier(0.3, 0.1, 0.3, 0.85);
 font-size: 1.3em;

}

.menu li {
 display: inline;
 margin-right: 15px;
 cursor: pointer;
}

.menu li::before {
 position: absolute;
 bottom: -6px;
 content: "";
 height: 3px; 
 width: 0;
 background: white;
 transition: 0.5s;
}

.menu li:hover::before {
 width: 49px;
}

.menu li:nth-child(3):hover::before {
 width: 63px;
}

p {
 margin: 35px 100px;
 font-size: 20px;
}

.first-letter {
 float: left;
 padding-right: 10px;
 font-size: 80px;
 line-height: 0.9;
 color: #a61c49;
}

input[type=checkbox] {
 position: absolute;
 top: -9999px;
 left: -9999px;
}

nav label {
 position: absolute;
 display: none;
 top: 0;
 right: 0;
 height: 70px;
 width: 70px;
 background: transparent;
 color: white;
 cursor: pointer;
 z-index: 1;
}

nav > label > span {
 display: block;
 margin: 4px auto;
 height: 4px;
 width: 25px;
 border-radius: 1px;
 background: white;
 transition: 0.5s;
}

nav > label > span:nth-child(1) {
 margin-top: 25px;
}

input[type=checkbox]:checked ~ .menu {
 top: 0;
}

input[type=checkbox]:checked ~ label span {
 background: #fff;
}

input[type=checkbox]:checked ~ label span:nth-child(1) {
 transform: translateY(8px) rotate(45deg);
}

input[type=checkbox]:checked ~ label span:nth-child(2) {
 opacity: 0;
}

input[type=checkbox]:checked ~ label span:nth-child(3) {
 transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
 .menu {
   position: absolute;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   margin: 0;
   top: -100vh;
   left: 0;
   height: 100vh;
   width: 100%;
   background: black;
 }
 
 .menu li {
   margin: 20px;
   font-size: 1.5em;
   color: #fff;
 }
 
 nav label {
   display: block;
 }
 
 p {
   margin: 35px 50px;
 }

 .download2 {
  height: auto;
  width: 250px;
}
}

.visually-hidden {
 display: none;
}

.phone-img {
  width: auto;
  height: 600px;
}

/* Style the content */
article {
 -webkit-flex: 3;
 -ms-flex: 3;
 flex: 3;
 padding: 10px;
 text-align: center;
 padding-bottom: 90px;
}

article h1 {
   font-weight: 600;
}

article p {
   color: darkslategray;
}

.case {
   text-decoration: none;
}

.caseStudy {
 color: darkslategray;
 background: #fafafa;
 border: 1.5px solid lightgray;
 padding: 10px 10px 10px 10px;
 width: 28%;
 margin-left: 36%;
 text-decoration: none;
}

.caseStudy:hover {
 transition: all .4s ease;
 -webkit-transition: all .4s ease;   
 /*-webkit-box-shadow: 10px 9px 69px -21px rgba(59,59,59,0.77);
 -moz-box-shadow: 10px 9px 69px -21px rgba(59,59,59,0.77);
 box-shadow: 10px 9px 69px -21px rgba(59,59,59,0.77);*/
 border: 1.5px solid darkslategrey;
}


/* Style the footer */
footer {
 padding-top: 100px;
 text-align: center;
 color: darkslategray;
 font-size: 1.5em;
}
.social-links a:hover {
  color: #A61C49;
}
.social-links a {
 color: darkslategray;
 padding: 10px 10px 10px 10px;
}


/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
@media (max-width: 600px) {
 section {
   -webkit-flex-direction: column;
   flex-direction: column;
 }
}



/*header*/

.main-nav li.current a {
color:#A61C49;
}

.main-nav a:hover {
 border-bottom: 2px solid #A61C49;
 color: white;
 transform-origin: center right;
}

.logo {
font-size: 2.2em;
background: transparent;
}

.main-nav {
 margin-top: 5px;
 list-style: none;
}
.logo a,
.main-nav a {
padding: 10px 15px;
text-align: center;
 display: block;
 color: white;
 text-decoration: none;
}

.main-nav a {
font-size: 1.2em;
}

.header {
 font-family: Roboto, sans-serif;
padding-bottom: 12em;
}

.header-img {
background: url("images/backpack.png");
background-size: 115%;
background-repeat: no-repeat;
}

.gn {
width: 400px;
}

.car {
width: 400px;
}

.fas {
color: #A61C49;
font-size: 2.5em;
}
/* ================================= 
Media Queries
==================================== */


@media (max-width: 500px) {
 .about-me {
     max-width: 100%;
 }
 
 h1 {
     margin-top: 20px;
     font-size: 1.2em !important;
     text-align: center;
     
 }

 header {
   padding-bottom: 24%;
 }

 .right-one {
   margin-right: 12%;
 }

 .phone-img {
  width: 200px;
  height: auto;
 }

 .left-one {
  margin-left: 12%;
 }

 article {
   padding-bottom: 0px;
 }

}

@media (min-width: 769px) {
.header,
.main-nav {
 display: flex;
}
.header {
 flex-direction: column;
 align-items: center;
 margin: 0 auto;
 max-width: 80%;
 height: 100%;

 }

}

@media (min-width: 1025px) {
.header {
 flex-direction: row;
 justify-content: space-between;
}

}

