:root {
  --notWhite: #F1F1F1;
  --bodyBG: #F0F0F0;
  --frameBorder: #E0E0E0;
  --bodyDark: #14080E;
  --bodyLight: #9C8F8F;
  --darkTurquoise: #57DADE;
  --turquoise: #57EBDE;
  --burntOrange: #FF5005;
  --navBlue: #002468;
}

body {
  margin: 0;
  font-family: 'Mada', sans-serif;
  background-color: var(--bodyBG);
  color: #14080E;
}

h2 {
  margin: 1% 0;
  font-size: xx-large;
  font-weight: 600;
}

h3 {
  margin: 1% 0;
  font-size: x-large;
  font-weight: 600;
  color: var(--burntOrange);
}

/*-------------------------------------------------------------------ANCHORS*/
a {
  color: var(--navBlue);
  text-decoration: none;
  border-bottom: 1px dotted var(--navBlue);
  transition: .25s ease-in;
}

a:hover {
  border-bottom: 1px solid var(--navBlue);
  transition: .25s ease-in;
}

.active-link {
  border-bottom: 6px solid var(--navBlue);
}

.active-link:hover {
  border-bottom: 6px solid var(--navBlue);
}

/*-------------------------------------------------------------------MAIN HEADER*/
#mainHeader {
  display: flex;
  /*position: sticky;
  top: 0;*/
  width: 50%;
  height: 5%;
  margin: 0 auto 1%;
  background-color: var(--turquoise);
  border-bottom: 6px solid var(--darkTurquoise);
  /*box-shadow: 
    0px 1.1px 1.7px rgba(0, 0, 0, 0.1),
    0px 2.7px 4px rgba(0, 0, 0, 0.072),
    0px 5px 7.5px rgba(0, 0, 0, 0.06),
    0px 8.9px 13.4px rgba(0, 0, 0, 0.05),
    0px 16.7px 25.1px rgba(0, 0, 0, 0.04),
    0px 40px 60px rgba(0, 0, 0, 0.028);*/
}

.logo {
  width: fit-content;
}

#topNav {
  flex-grow: 1;
  margin: auto 1%;
  text-align: right;
}

/*-------------------------------------------------------------------TOP NAV*/
#topNavList {
  margin: 0;
  padding: 0;
}

.top-nav-item {
  display: inline;
  padding: 0 1%;
  border-right: 1px solid var(--navBlue);
}

.top-nav-item:last-child {
  padding-right: 2%;
  border-right: none;
}

/*-------------------------------------------------------------------SECTIONS*/
.page-content {
  margin: 0 auto;
  width: 50%;
}

.article-header {
  display: flex;
  color: var(--burntOrange);
}

#myName {
  flex-grow: 1;
  font-size: normal;
  text-align: right;
}

#introduction {
  font-size: large;
}

.article-content {
  display: flex;
  margin: 6% 0;
  padding: 3% 6% 3% 3%;
  /*border: 1px solid var(--bodyLight);*/
  border-radius: 12px;
  box-shadow:
    0px 1.1px 1.7px rgba(0, 0, 0, 0.1),
    0px 2.7px 4px rgba(0, 0, 0, 0.072),
    0px 5px 7.5px rgba(0, 0, 0, 0.06),
    0px 8.9px 13.4px rgba(0, 0, 0, 0.05),
    0px 16.7px 25.1px rgba(0, 0, 0, 0.04),
    0px 40px 60px rgba(0, 0, 0, 0.028);
  background-color: #F9F9F9;
}

.article-content:last-child {
  border-bottom: none;
}

.article-content ul li {
  padding-bottom: 2%;
}

.job-left {
  min-width: 20%;
  margin-right: 3%;
  text-align: center;
  font-size: small;
}

.job-right {
  margin: 0;
}

.job-description {
  margin: 1% 0;
}

.company-name {
  font-weight: 600;
}

#freelance,
#creds,
#contact {
  width: 58%;
  margin-right: 2%;
}

#sidebar,
#skills,
#download {
  width: 40%;
}

#educationList,
#freelanceList {
  padding-left: 4%;
}

#references {
  display: block;
}

.reference {
  margin: 2% 0 0 0;
  border-top: 1px solid var(--bodyLight);
  padding: 2% 0 0 0;
}

.reference:first-of-type {
  margin: 0;
  border: none;
  padding: 0;
}

/*-------------------------------------------------------------------SKILLS*/
#skillsList {
  width: 100%;
  padding-left: 0;
}

.skills-bullet {
  list-style-type: none;
}

.b0,
.b1,
.b2,
.b3,
.b4,
.b5 {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0;
  border: thin solid var(--navBlue);
  border-radius: 2px;
}

.b0 {
  background-color: var(--bodyBG);
  border-color: var(--bodyLight)
}

.b0:last-child {
  margin-right: 1%;
}

.b1 {
  background-color: #bffffb;
}

.b2 {
  background-color: #9ffff9;
}

.b3 {
  background-color: #7ffff7;
}

.b4 {
  background-color: #5effd5;
}

.b5 {
  background-color: #1cffb3;
  margin-right: 1%;
}

/*-------------------------------------------------------------------CTAs*/
.cta {
  width: fit-content;
  margin: 1% auto;
  border-radius: 36px;
  border: 1px solid var(--bodyDark);
  padding: 12px;
  font-size: small;
  color: var(--bodyDark);
  text-align: center;
  user-select: none;
  cursor: pointer;
  transition: .25s ease-in;
  align-items: center;
}

.cta:hover {
  background-color: #FFFFFF;
  border: 1px solid var(--bodyLight);
  transition: .25s ease-out;
  color: #362A2F;
}

.cta-icon {
  width: 12px;
  vertical-align: middle;
}

.other .cta {
  margin: 1% 0;
}

.contact-btn,
.download-btn,
.print-btn {
  width: 250px;
}

.contact-btn,
.download-btn {
  margin: 20px 0;
}

.contact-btn:last-child {
  margin-bottom: 0;
}

.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  padding-right: 4%;
}

.brand-logo {
  width: 25%;
  height: 15%;
  margin: 5% 0;
}

/*-------------------------------------------------------------------FOOTER*/
#mainFooter {
  width: 50%;
  margin: 0 auto;
  padding: 5% 0;
  background-color: var(--darkTurquoise);
  border-top: 12px solid var(--turquoise);
}

#footerText {
  margin: 4% auto;
  text-align: center;
  font-size: small;
  color: #FFFFFF;
}

#footerNavList {
  display: flex;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.footer-nav-item {
  display: inline;
  border-right: 1px solid var(--navBlue);
  flex-grow: 1;
}

.footer-nav-item:last-child {
  border-right: none;
}

/*-------------------------------------------------------------------GALLERY IMAGES*/
.gallery-img {
  margin: 2% auto;
  border: 1px solid var(--bodyLight);
  cursor: pointer;
}
#crafthounds2 {
  border: none;
}
.gallery-vid {
  margin: 0 auto;
}

.horizontal {
  max-width: 400px;
  max-height: 200px;
}

.vertical {
  max-width: 400px;
  max-height: 400px;
}

/*-------------------------------------------------------------------AD SIZES*/
.ad-300x600,
.ad-300x250 {
  display: inline-block;
  margin: 0 0 4% 0;
  border: 1px solid var(--frameBorder);
  background-color: #F1F1F1;
  background-image: url('../img/loading.gif');
  background-position: center;
  background-repeat: no-repeat;
}

.ad-300x600 {
  width: 300px;
  height: 600px;
}

.ad-300x250 {
  width: 300px;
  height: 250px;
}

/*-------------------------------------------------------------------PORTFOLIO SECTIONS*/
#uxui,
#digitalAds,
#freelance-case-studies {
  margin: 6% 0;
  padding: 3% 6%;
  /*border: 1px solid var(--bodyLight);*/
  border-radius: 12px;
  box-shadow:
    0px 1.1px 1.7px rgba(0, 0, 0, 0.1),
    0px 2.7px 4px rgba(0, 0, 0, 0.072),
    0px 5px 7.5px rgba(0, 0, 0, 0.06),
    0px 8.9px 13.4px rgba(0, 0, 0, 0.05),
    0px 16.7px 25.1px rgba(0, 0, 0, 0.04),
    0px 40px 60px rgba(0, 0, 0, 0.028);
  background-color: #F9F9F9;
}

.slideshow{
	width: 800px;
	height: 448px;
	margin: 2% 0 2% 0;
}

/*------------------------------------------------------------------AD PREVIEW CONTAINERS*/
.sample {
  border-bottom: 2px solid var(--bodyBG);
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.wrapped {
  width: fit-content;
  margin: 1% auto;
  text-align: center;
}

.various {
  border-bottom: none;
}

.summary {
  border-bottom: none;
}

#summary {
  border-bottom: 2px solid var(--turquoise);
}

.freelance-case-studies #summary{
  border-bottom: none;
}

.category-header {
  margin: 2% 0;
}

.creative-label {
  font-weight: bold;
}

.brand-header {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--bodyBG);
  align-items: center;
}

.collapsed {
  display: none;
}

.expanded {
  display: block;
  padding-bottom: 8%;
}

.click-through {
  border: none;
  margin: 0 auto;
}

.click-through:hover {
  border: none;
}

.no-click {
  cursor: default;
}

/*-------------------------------------------------------------------MODAL DIALOG*/
.lightbox-modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 101;
  background-color: rgba(0, 0, 0, .9);
}

.lightbox-modal-header {
  margin: 0 auto;
  top: 0;
  width: 100%;
  color: #FFFFFF;
}

.closeX {
  width: 30px;
  height: 30px;
  margin: 0;
  border: 2px solid #999999;
  border-radius: 30px;
  position: absolute;
  top: 2%;
  right: 2%;
  line-height: 31px;
  text-align: center;
  color: #999999;
  font-size: 24pt;
  cursor: pointer;
  user-select: none;
  transition: .25s;
}

.closeX:hover {
  border: 2px solid #FFFFFF;
  border-radius: 40px;
  color: #FFFFFF;
  transition: .25s;
}

.lightbox-modal-content {
  margin: 4% auto;
  text-align: center;
}

.img-caption {
  width: 80%;
  margin: 0 auto;
  padding: 2% 0;
  text-align: center;
  color: #FFFFFF;
  font-size: small;
}

.modal-img {
  display: flex;
  width: 90%;
  height: 100%;
  margin: 0 auto;
  border: thin solid #FFFFFF;
  background-color: #555555;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: .25s;
}

/*-------------------------------------Desktop Styling*/
@media screen and (max-width: 1510px) {
  #mainHeader {
    width: 60%;
  }

  .page-content {
    width: 60%;
  }

  #mainFooter {
    width: 60%;
  }
}

/*-------------------------------------Tablet Styling*/
@media screen and (max-width: 1201px) {
  #mainHeader {
    width: 80%;
  }

  .page-content {
    width: 80%;
  }

  #mainFooter {
    width: 80%;
  }
}
/*-------------------------------------Tablet Styling*/
@media screen and (max-width: 1024px) {
  #mainHeader {
    width: 90%;
  }

  .page-content {
    width: 90%;
  }

  #mainFooter {
    width: 90%;
  }
}

/*-------------------------------------Tablet Styling*/
@media screen and (max-width: 910px) {

  .job-description,
  .freelance-bullet,
  .education-bullet,
  .skills-bullet {
    font-size: small;
  }

  #sideContent,
  #references {
    font-size: small;
  }

  .article-content {
    box-shadow: none;
    border-radius: 0px;
    background-color: var(--notWhite);
  }

  #contactContent {
    font-size: x-small;
  }
}

/*-------------------------------------Mobile Styling*/
@media screen and (max-width: 700px) {
  #mainHeader {
    width: 100%;
  }

  .article-header {
    display: block;
  }

  #myName {
    padding: 0;
    font-size: medium;
    text-align: left;
  }

  #introduction {
    font-size: medium;
  }

  .page-content {
    margin: 0 auto;
    width: 90%;
  }

  .article-content {
    display: block;
    padding: 0 0 1% 0;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid var(--bodyDark);
    background-color: var(--notWhite);
  }
  #uxui, #digitalAds, #freelance-case-studies {
    padding: 0 0 1% 0;
    box-shadow: none;
    border-radius: 0;
    background-color: var(--notWhite);
  }

  .job-left {
    display: block;
    min-width: 100%;
    max-width: 100%;
    margin: 0 auto;
    float: none;
    text-align: left;
    font-size: small;
  }

  .company-name {
    font-size: medium;
  }

  .job-title {
    margin: 4% 0;
  }

  .duration {
    padding: 0 2% 0 0;
    border-right: 1px solid var(--bodyDark);
  }

  .location {
    padding: 0 1% 0 1%;
    border-right: 1px solid var(--bodyDark);
  }

  .job-type {
    padding: 0 0 0 1%;
  }

  .duration,
  .location,
  .job-type {
    display: inline;
    margin: 2% 0;
    text-align: center;
  }

  .job-left .cta {
    margin: 4% 0;
  }

  .cta {
    min-width: 94%;
    max-width: 94%;
    margin: 6% 0;
    font-size: large;
  }

  .cta-icon {
    width: 18px;
    vertical-align: middle;
  }

  #freelance,
  #creds,
  #sidebar,
  #skills {
    min-width: 100%;
    margin: 4% 0;
  }

  #skillsList {
    width: 100%;
    padding: 0;
    list-style-position: inside;
  }

  .job-description,
  .education-bullet,
  .skills-bullet,
  .freelance-bullet {
    font-size: medium;
  }

  .brand-logo {
    width: 60%;
    height: 30%;
    margin: 5% auto;
  }

  #sideContent,
  #references {
    font-size: medium;
  }

  #mainFooter {
    width: 100%;
  }
  .slideshow{
	width: 600px;
	height: 280px;
	margin: 4% 0 4% 0;
  }
}

/*-------------------------------------Print Styling*/
@media print {

  body,
  .job-left {
    font-size: 10px;
  }

  #mainHeader,
  #topNav,
  #mainFooter,
  #references,
  #humana-cta,
  #prize-cta,
  #goodway-cta,
  #crafthounds-cta,
  #freelance-cta,
  #on-the-side-cta,
  #linkedin,
  #download {
    display: none;
  }

  .page-content {
    width: 90%;
  }

  .article-content {
    box-shadow: none;
    border-radius: 0px;
    background-color: #FFFFFF;
    margin: 0;
    padding: 0;
  }

  #freelance,
  #sidebar
  {
    margin: 15% 0 0 0;
    padding: 0;
  }

  .b0 {
    border-color: var(--frameBorder);
  }

  #contact {
    flex-direction: row;
    margin: -30% 0;
  }
}