@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');

/* Variables */

html { scroll-behavior: smooth; }

:root {
  box-sizing: border-box;
  /* Colors */
  --c_black: #111;
  --c_blue: #0070bb;
  --c_general: #3f3f3f;
  --c_lightblu: #e8ecef;
  
  /* Fonts */
  --f_general: 'Open Sans', sans-serif;
  
  /* Sizes
    fs: font size
    fw: font weight
    mg: margin size
    pd: padding size
    wd: width size
    ht: height size
    btm: bottom
    top: top
    lft: left
    rgt: right
    lr: left & right
    
   */
  --fs_nav: 1.5rem;
  --fs_btn: 1.15rem;
  --fw_head: 600;
  --wd_full: 100vw;
  --wd_nav-logo: 10rem;
  --wd_container: 84vw;
  --wd_hero-logo: 42.125rem;
  
  /* Columns */
  --cols: 12;
  --gap: 1.25rem;
}

/* General Styles */
html {
  font-size: 100%;
}

body {
  font: var(--fs_general)/1.5 var(--f_general);
  color: var(--c_general);
  margin: 0;
}

h1, h2, h3 {
  font-family: 'Times New Roman', sans-serif;
  font-weight: 600;
  color: var(--c_blue);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 2rem;
}

h3 {}

h4 {}

a, a:visited {
  color: var(--c_blue);
  text-decoration: none;
  transition: all .4s;
  padding: 0.625rem 0.313rem;
}

a:hover, a:visited:hover {
  color: white;
  background-color: var(--c_blue);
}

p {
  margin-bottom: 2.5rem;
}

section {
  margin-bottom: 4rem;
}

.container {
  width: 84vw;
  margin: 0 auto;
  overflow: hidden;
}

.layout_flex {
  display: flex;
}

.layout_flex-spc-btwn {
  justify-content: space-between;
}

.btn, .btn:visited {
  font-family: var(--f_general);
  font-style: italic;
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  color: white;
  border: 0.063rem solid white;
  padding: 1rem 1.5rem;
  margin: 0.625rem 0 1.875rem;
}

.hidden-h2 {
  display: none;
}

/* NAV Styles */
.nav-mobile {
  width: 100%;
  position: relative;
  font-family: var(--f_general);
  margin-top: -4.375rem;
}

.nav-mobile > .nav-header {
  display: inline;
}

.nav-mobile > .nav-header > .nav-title {
  display: inline-block;
  font-size: 1.375rem;
  color: #fff;
  padding: 0.625rem;
}

.nav-mobile .nav-btn {
  display: none;
}

.nav-mobile .nav-links {
  position: absolute;
  display: inline-block;
  float: right;
  font-size: 1.125rem;
  padding: 0;
  width: 100%;
  z-index: 999;
}

.nav-mobile .nav-links a {
  display: inline-block;
  width: 100%;
  padding: 1rem 0.625rem;
  text-decoration: none;
  color: #efefef;
}

.nav-links a:hover {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 0.625rem;
  width: 100%;
  color: var(--c_blue);
}

.nav-mobile #nav-check {
  display: none;
}

.nav-links li{
  padding: 0.75rem 0.625rem;
  width: 100%;
}

.nav-links li a{
  color: white;
}

@media (max-width:768px) {
  .nav-mobile > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 1.563rem;
    top: 1.563rem;
  }
  .nav-mobile .nav-btn label {
    display: inline-block;
    width: 2.188rem;
    height: 2.188rem;
    padding: 0.438rem;
    background-color: var(--c_blue);
    border-radius: 0.625rem;
  }
  .nav-mobile .nav-btn label:hover,.nav  #nav-check:checked ~ .nav-btn label {
    background-color: var(--c_black);
    max-height: 2.188rem;
  }
  .nav-mobile .nav-btn label span {
   display: block;
   width: 2.188rem;
   height: 0.313rem;
   margin: 0.375rem auto;
   border-radius: 0.125rem;
   background-color: white;
  }
  .nav-mobile .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    background-color: var(--c_blue);
    height: 0;
    transition: all 0.3s ease-in;
    overflow: hidden;
    top: 4.375rem;
    left: 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.375rem;
  }
  .nav-mobile .nav-links a {
    display: block;
    width: 100%;
    max-width: 100%; 
    box-sizing: border-box;
    margin: 0;
    padding: 0.3rem 0;
  }
  .nav-mobile #nav-check:not(:checked) ~ .nav-links {
    height: 0;
  }
  .nav-mobile #nav-check:checked ~ .nav-links {
    height: calc(90vh);
    overflow-y: auto;
  }
}

.nav-mobile_logo-img {
  width: 50%;
  margin-top: 3.125rem;
  box-shadow: 0.625rem 0.5rem 0.938rem rgba(0, 0, 0, 0.08);
}

/* Desktop Nav */
.utility_container {
  font-family: var(--f_general);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: var(--c_black);
  padding: 0.3125rem 2rem;
  font-size: 1.25rem;
  color: white;
  margin-top: -4.063rem;
}

.utility_container a{
  color: white;
  margin-right: 7.5rem;
  text-decoration: underline;
}

.utility_container a:hover{
  color: white;
  background-color: var(--c_blue);
}

.nav-desk li {
  font-family: 'open sans';
  font-weight: 600;
  list-style: none;
  display: inline-block;
  margin: 0 1rem;
  text-transform: uppercase;
}

.container.layout_flex.layout_flex-spc-btwn {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: -3.125rem;
    }

.container.layout_flex.layout_flex-spc-btwn {
  display: flex;
  justify-content: space-between;
  margin-bottom: -2.188rem;
  margin-top: 0.625rem;
  align-items: center;
}

img.nav-desk_logo-img {
  padding: 0.313rem;
}

/* Hero Styles */
.hero_logo-img{
  width: 100%;
}

#hero {
  position: relative;
  background: url("https://assets.codepen.io/1064831/bg_welcome.jpg") center center / cover no-repeat;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 112, 187, 0.5);

}

.hero_logo-wrapper {
  position: relative;
  z-index: 2;
}

.nav-desk li:not(:last-child)::after {
  content: "|";
  margin-left: 1rem;
  color: var(--c_blue);
}

/* How Styles */
#how {
  background: url("https://assets.codepen.io/1064831/bg_about.jpg") no-repeat center center;
  background-size: cover;
  padding: 7.5rem 0;
}
#how .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(17,17,17,.85);
  width: 25rem;
  padding: 1.563rem;
  box-sizing: border-box;
  text-align: center;
}

#how h1 {
  padding: 1rem;
  font-size: 1.5em;
  color: white;
}

.desktop-container {
  margin: 0 auto;
}

.about_span {
  display: block;
  position: relative;
  top: 0.938rem;
  font-family: var(--f_general);
  color: white;
}

.specify {
  font-family: var(--f_general);
  color: var(--c_blue);
  font-weight: bold;
  font-size: 1.1em;
}

/* Welcome */

.welcome_box .welcome_img {
  display: block;
  max-width: 25rem;
  height: auto;
  margin: 0.938rem auto;
}
.welcome_box.col-5 {
    margin-right: 0.625rem;
}
.layout_desktop .container.layout_flex.layout_flex-spc-btwn{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  margin-top: -1.25rem;
}

.welcome_box.col-7 p {
  width: 31.25vw;
  font-family: 'open sans';
}

.blue-font {
  color: var(--c_blue);
}

/* What Styles */
#what {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   margin-top: -5.375rem;
   background: var(--c_lightblu);
}

#what h2 {
  font-size: 3em;
}

.what-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  justify-content: center;
}

.what-item img {
  width: 9.375rem;
  height: auto;
}

.what-item p {
  max-width: 70%;
  text-align: left;
  font-size: 0.938rem;
  font-family: 'open sans';
  text-align: center;
}

.what_box.col.col-3 {
  display: flex;
  flex-direction: column;
}
.desktop-what-we-do {
    display: none;
}

.italic-what-we-do, .bold-what-we-do {
  font-family: var(--f_general);
  font-style: italic;
  font-size: 0.9em;
}

.bold-what-we-do {
  font-weight: 600;
  margin-top: -2.5rem;
  color: var(--c_blue);
}

/* Join Us */

#join-us {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 28.125rem;
  margin-top: -4.063rem;
  display: block;
}

.join-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.join-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}

.join-text h1 {
  margin: 0;
  padding: 0.625rem;
  color: white;
  font-size: 1.7em;
}

.satisfied-text {
  color: var(--c_blue);
  font-style: italic;
  font-family: var(--f_general);
  font-weight: 800;
}

.first-handshake {
  display: block;
}

.second-handshake  {
  display: none;
}

/* Client List */

.client-links {
  background: var(--c_black);
  padding: 0.938rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  text-align: center;
}

.client-links a {
  width: 9.375rem;
  font-family: var(--f_general);
  font-weight: 670;
}

.client-links a:first-child {
  color: white;
}

#client-list h2 {
  text-align: center;
}

.client-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  justify-content: space-around;
  gap: 1.688rem;
  padding: 1.25rem;
  background: var(--c_lightblu);
}

.client-images img {
  width: 40%;
  max-width: 9.375rem;
  display: block;
  height: 20%;
}

.firstimg {
  margin-top: 1.563rem;
}

.lastimg {
    margin-top: 0.625rem;
}

.client-tagline {
  text-align: center;
  font-family: var(--f_general);
  font-style: italic;
  font-weight: 600;
  font-size: 0.9em;
}

.client-tagline p {
  margin-bottom: 1.3rem;
}

.client-btn {
  text-align: center;
  background: var(--c_black);
  width: 50%;
  display: block;
  margin: 0 auto;
  padding: 0.625rem;
  text-transform: uppercase;
  font-family: var(--f_general);
  font-size: 0.8em;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.client-btn:hover {
  background: var(--c_blue);
}

 .the-arrows button {
    display: none;
}

 .arrow img {
    width: 0.938rem;
    height: auto;
}

/* Timeline Styles */
#timeline {
  display: none;
}

#timeline-one {
  display: block;
  margin: 2.5rem auto;
  max-width: 100%;
  height: auto;
  width: 42vw;
}

.timeline-setup {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
}

.timeline-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

#timeline p {
  max-width: 41ch;
  width: 23.75rem;
  font-family: var(--f_general);
  font-size: 1.2em;
}

.t-arrow, .t-arrow2 {
  background: none;
  cursor: pointer;
  border: none;
}

.t-arrow {
  transform: scaleX(-1);
}

.museum-img {
  margin: 0 2.5rem 3.75rem 0;
}

/* RESPONSIVE STYLES */

.nav-mobile {
  display: none;
}

#welcome {
  display: none;
}

@media (min-width: 1280px) {
  .layout_responsive {
    display: block; 
  }
  .container.layout_flex.layout_flex-spc-btwn {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: -3.125rem;
  }
  .welcome_box .welcome_img {
    margin-bottom: 0.375rem;
  }
  #how .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  }
  .desktop-container {
    margin-left: 37.5rem;
    margin-right: 0;
  }
  #welcome {
    display: block;
  }
  .desktop-what-we-do {
    display: flex;
    flex-direction: row;
  }
  .what-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .what_box.col.col-3 {
    display: flex;
    flex-direction: row;
  }
  .the-arrows button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
}
  .client-images img {
    max-width: 13.75rem;
    display: block;
    height: 20%;
}
  .join-text {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
  }
 .first-handshake img,
 .second-handshake img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}
  .join-text {
   padding: 3.75rem 2.5rem;
   max-width: 18.75rem;
  }
  #timeline {
  display: block;
  margin-bottom: 100px;
}
}


@media (min-width: 1024px) {
  .layout_responsive {
    display: block;
  }
    .client-links {
    background: none;
    justify-content: space-evenly;
    margin-bottom: 1.25rem;
  }
  .client-links a {
    width: 17.5rem;
    font-family: var(--f_general);
    font-weight: 670;
    background: white;
    color: var(--c_blue);
    border: 0.125rem solid var(--c_blue);
    padding: 0.625rem;
    }
    .client-links a:hover {
    background: var(--c_blue);
    color: white;
    }
    .client-links a:first-child {
    background: var(--c_blue);
    }
    #client-list h2 {
    text-align: left;
    margin-left: 7.5rem;
    font-size: 3em;
    }
    .first-handshake {
    display: none;
    }
    .second-handshake  {
    display: block;
    }
    .client-btn {
    padding: 0.625rem;
    display: inline-block;
    margin: 0;
    width: auto; 
    font-size: 1em;
    background: white;
    border: 0.125rem solid var(--c_blue);
    height: 1.25rem;
    }
    .client-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
}
    .join-text {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    padding: 3.75rem 3.75rem;
    max-width: 25rem;
    height: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    top: 20%;
    right: 15%;
    }
  .join-text h1 {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .layout_responsive {
    display: none;
  }
  .nav-mobile {
    display: block;
  }
  .welcome_box .welcome_img {
     width: 100%;
     max-width: 15.625vw;
  }
  .layout_desktop .container.layout_flex.layout_flex-spc-btwn {
    margin-top: -3.125rem;
  }
  #how .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25rem;
  padding: 0 1.25rem;
  }
  #hero {
    min-height: 50vh;
  }
  #hero::before {
    background: none;
  }
  .hero_logo-img {
    display: block;
    width: 85%;
    margin: 0 auto;
  }
  #how .container {
    width: 80%;
  }
}

 /* Columns Styles */
/*.row{
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.col{
  --span: 1;
  flex: 0 0 auto;
  width: calc(
    ((100% - (var(--cols) - 1) * var(--gap)) * var(--span) / var(--cols))
    + ((var(--span) - 1) * var(--gap))
  );
}
 
.col-1  { --span: 1; }
.col-2  { --span: 2; }
.col-3  { --span: 3; }
.col-4  { --span: 4; }
.col-5  { --span: 5; }
.col-6  { --span: 6; }
.col-7  { --span: 7; }
.col-8  { --span: 8; }
.col-9  { --span: 9; }
.col-10 { --span: 10; }
.col-11 { --span: 11; }
.col-12 { --span: 12; }
*/

