* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

:target {
  display: block;
  position: relative;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f0efeb;
    font-family: "Montserrat", sans-serif;
    font-size: 5vw; 
    font-weight: 200;
    line-height: 1.4;
    color: #252421;
}

h1 {
    font-family: "Jura", sans-serif;
    font-weight: 600;
    font-size: 10vw;
}

h2 {
    font-family: "Jura", sans-serif;
    font-size: 8vw;
    font-weight: 600;
    color: #252421;
}

h3 {
    font-family: "Jura", sans-serif;
    font-size: 6vw;
    color: #252421;
    text-transform: uppercase;
    margin-bottom: -5vw;
}

a {
    color: #a8a198;
    text-decoration: none;
}

a:hover {
    transform: translateX(4px);
    color: #676e48;
}

ul {
    list-style-type: none;
}

li {
    margin: 5vw;
}

/* RESPONSIVE NAV MENU BEGINS */

/* fix to top of page; hide menu as default state */

.page-menu {
  background-color: #252421;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  width: 100%;
  z-index: 3;
  font-size: 4vw;
}

@media screen and (min-width: 1024px) and (orientation: portrait) {
    .page-menu {
        font-size: 2.8vw;
    }
}
    
@media screen and (orientation: landscape) { 
    .page-menu {
        font-size: 1.4vw;
    }
}

@media screen and (min-width: 1440px) {
    .page-menu {
        font-size: 1.8vw;
    }
}

.page-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #252421;
}

.page-menu ul li {
    margin-left: 1vw;
}

.page-menu li a {
  display: block;
  padding: 1vw;
  text-decoration: none;
  color: #e4e3df;
    -webkit-transition: color 0.2s;
    -moz-transition:    color 0.2s;
    -ms-transition:     color 0.2s;
    -o-transition:      color 0.2s;
    transition:         color 0.2s;
}

.page-menu li a:hover {
    color: #676e48;
}

.page-menu .menu {
  clear: both;
  max-height: 0;
  transition: all 0.2s ease-out;
}


/* style menu icon for expansion */

.page-menu .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.page-menu .menu-icon .navicon {
  background: #e4e3df;
  display: block;
  height: 2px;
  position: relative;
  transition: all 0.2s ease-out;
  width: 18px;
}

.page-menu .menu-icon .navicon:before, 
 .page-menu .menu-icon .navicon:after {
  background: #e4e3df;
  display: block;
  content: "";
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}


.page-menu .menu-icon .navicon:before {
  top: 5px;
}

.page-menu .menu-icon .navicon:after {
  top: -5px;
}

/* add icon and animation when checked */

.page-menu .menu-btn {
  display: none;
}

.page-menu .menu-btn:checked ~ .menu {
    max-height: 100%;
}

.page-menu .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.page-menu .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.page-menu .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.page-menu .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.page-menu .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* begin banner */


header {
    height: 60vh;
    display: grid;
    grid-template-columns: 10% 90%;
    grid-template-rows: auto;
    padding: 20vh 5vh 20vh 0;
}

@media screen and (orientation: landscape) {
    header {
        padding: 20vh 5vh 20vh 5vh;
        margin-bottom: 10vh;
    }
}

header p {
    grid-column-start: 2;
    font-size: 5vw;
    font-weight: 100;
    justify-self: start;
    padding-top: 4vh;
}

@media screen and (orientation: landscape) { 
    header p {
        font-size: 2vw;
    }
}

#my-name {
    grid-column-start: 2;
    border-top: 3px solid #252421;
    border-bottom: 3px solid #252421;
    justify-self: start;
}

#my-name h1 {
    font-size: 12vw;
    padding-top: 5vh;
}

@media screen and (orientation: landscape) { 
    #my-name h1 {
        font-size: 9vw;
        padding: 10vh 0 10vh 0;
    }
}


/* begin main home page */

main {
    padding: 0 5vw 0 5vw;
}

section {
    margin-bottom: 5vh;
    padding-left: 10vw;
}

@media screen and (orientation: landscape) {
    section {
        padding-top: 10vh;
        padding-left: 20%;
        position: relative;
    }
}

section h2 {
    border-bottom: 1px solid #252421;
    padding: 1vh;
}

@media screen and (orientation: landscape) {
    section h2 {
        font-size: 9vh;
        padding-bottom: 0;
    }
}

.project h3 {
    padding: 5vh 0 3vh 0;
}
    

@media screen and (orientation: landscape) {
    
    .project h3 {
        font-size: 2.4vw;
        padding-top: 2vh;
    }
    
    .project p {
    padding-top: 2vh;
    }

    .project a {
        font-size: 1.8vw;
    }
    
    .project ul {
        padding: 5vh 0 5vh 0;
    }
    
    .project li {
        margin: -3vh 0 -5vh 5vw;
    }   
}

/* end main home page */

/* START ABOUT PAGE */
#about-page-title {
    position: relative;
    display: block;
    height: 10vh;
    border-bottom: 2px solid #252421;
    width: 100%;
    top: 0;
    text-align: left;
    padding: 5vh 5vw;
}

@media screen and (orientation: landscape) {
    #about-page-title {
        height: 25vh;
    }
}

#about-page-title h1 {
    font-size: 12vw;
}

@media screen and (orientation: landscape) {
    #about-page-title h1 {
        font-size: 10vw;
    }
}

#bio {
    font-size: 6vw;
    padding-top: 3vh;
}

@media screen and (orientation: landscape) {
    #bio {
        font-size: 2vw;
    }
}

/* bio button styling */

#bio .button {
    padding: 5vh;
    background-color: #f0efeb;
}

#bio a.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #252421;
    color: #f0efeb;
    text-decoration: none;
    padding: 2vh 4vh;
    font-size: 4vw;
    width: 30%;
    margin: auto;
    cursor: pointer;
}

@media screen and (orientation: landscape) {
    #bio a.btn {
        font-size: 2vw;
    }
}

#bio a.btn:hover {
    background-color: #a8a198;
    color: #252421;
    text-decoration: none;
    transition: background 0.3s ease-out;
    transform: none;
}

/* START SOCIAL/DIGITAL ADS FLEX LAYOUT */

/* page title */

#social-digital-page-title {
    position: relative;
    height: 70%;
    width: 100%;
    top: 0;
    text-align: center;
}

#social-digital-page-title h1 {
    font-size: 8vw;
    padding: 5vh 5vw;
}

/* section headers */

.section-header {
    position: sticky;
    top: 0;
    background-color: #252421;
    color: #f0efeb;
    padding: 1rem 0 1rem 0;
    text-align: center;
}

@media screen and (orientation: landscape) {
.section-header {
        padding: 1rem 0 1rem 2rem;
        box-shadow: 0 0.2rem 0.2rem rgba(0, 0, 0, 0.5);
        text-align: left;
        font-size: 4vw;
    }
}


/* button styling */

#organic-social .button, #paid-social .button, #sliders .button, #callouts .button, #banners .button, #search .button {
    padding: 5vh;
    background-color: #f0efeb;
}

#organic-social a.btn, #paid-social a.btn, #sliders a.btn, #banners a.btn, #callouts a.btn, #search a.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #252421;
    color: #f0efeb;
    text-decoration: none;
    padding: 2vh 4vh;
    font-size: 2vw;
    width: 30%;
    margin: auto;
    cursor: pointer;
}

#organic-social a.btn:hover, #paid-social a.btn:hover, #sliders a.btn:hover, #banners a.btn:hover, #callouts a.btn:hover, #search a.btn:hover {
    background-color: #a8a198;
    color: #252421;
    text-decoration: none;
    transition: background 0.3s ease-out;
    transform: none;
}

/* flex images */

#organic-social, #paid-social, #sliders, #callouts, #banners, #search {
    padding: 0;
}

#organic-social > .section-content {
    font-size: 0;
    display: -ms-flexbox;
    -ms-flexbox-wrap: wrap;
    -ms-flexbox-direction: column;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    display: -webkit-box;
    display: flex;
    background-color: #f0efeb;
}

#paid-social > .section-content, #banners > .section-content, #callouts > .section-content, #search > .section-content {
    margin-top: 0;
    font-size: 0;
    display: -ms-flexbox;
    -ms-flexbox-wrap: wrap;
    -ms-flexbox-direction: column;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    display: -webkit-box;
    display: flex;
    background-color: #f0efeb;
}

.section-content div {
    -webkit-box-flex: auto;
    -ms-flex: auto;
    flex: auto;
    min-width: 30%;
    max-width: 100%;
    margin: 0.5vw;
}

#callouts .section-content div {
    -webkit-box-flex: auto;
    -ms-flex: auto;
    flex: auto;
    min-width: 20%;
    max-width: 100%;
    margin: 0.5vw; 
}

.section-content div img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media screen and (max-width: 400px) {
    .section-content div {
        margin: 0;
        width: 100%;
    }
    
    .section-content {
        padding: 0;
    }
}

/* start special paid social div to make images fit 4 per row on large devices */

.paid-posts {
    font-size: 0;
    display: -ms-flexbox;
    -ms-flexbox-wrap: wrap;
    -ms-flexbox-direction: column;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    display: -webkit-box;
    display: flex;
    background-color: #f0efeb; 
}

.paid-posts div {
    -webkit-box-flex: auto;
    -ms-flex: auto;
    flex: auto;
    margin: 0.5vw;
    width: 40%;
}

.paid-posts div img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media screen and (max-width: 400px) {
    .paid-posts div {
        margin: 0;
        width: 100%;
    }
    
    .paid-posts {
        padding: 0;
    }
}

@media screen and (min-width: 1025px) {
        .paid-posts div {
            width: 20%;
        }
}

/* start footer */

.footer {
  background-color: #252421;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  width: 100%;
  z-index: 3;
  color: #f0efeb;
    font-size: 1.6vw;
    text-align: center;
    padding: 1vh 1vw;
}







