
:root{
  --red:#EE3B37;
  --yellow:#FABD1A;
  --teal:#02B38D;
  --blue:#11479D;
  --pink:#EE4876;
  --white:#F9F8F7;
  --black:#1A1613;
}

*{
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

.sticky {
  position: sticky;
  top: 0;
  z-index:2000;
}

body {
  max-width:100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

h1{
  font-family: "Authority", "Copperplate";
  font-size:80px;
}

h2{
  font-family:"Authority";
  font-size:64px;
}

h3{
  font-family:"Kollektif-B";
  font-size:36px;
}

h6{
  font-family:"Kollektif-B";
  font-size:20px;
  margin:0;
  text-transform:uppercase;
}

p{
  font-family:"Kollektif-R";
  font-size:20px;
  margin:0;
}

.bg:not(#article-bg){
  background-size:cover
}

a{
  color:var(--blue);
}

a img{
  display:inline-block;
}


.sign-one, .graphic-one{
  display:none;
}

.video-container{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
}

.video-container iframe{
  position:absolute;
  width:100%;
  height:100%;
}

/* HEADER and NAV **************************************************************/

.header{
	font-family: "Authority";
	font-size: 36px;
}

nav{
background-color: var(--white);
border-bottom: 1px solid var(--black);
}

nav ul{
display:flex;
list-style:none;
justify-content:center;
padding:0 5px 0 5px;
}

nav li:not(#close-sidebar, #mobile-logo, .centered-logo) {
display:flex;
text-align:center;
padding:30px;
vertical-align: bottom;
}

.centered-logo{
padding:20px;
}

nav a{
  text-decoration:none;
  color: var(--black);
  transition: all ease-in-out 0.1s;
}

.home-active-link {
  border-bottom:4px solid var(--red);
}

.map-active-link{
  border-bottom:4px solid var(--teal);
}

.about-active-link{
  border-bottom:4px solid var(--pink);
}

.blog-active-link{
  border-bottom: 4px solid var(--yellow);
}

.home-li:hover{
  color: var(--red);
}

.about-li:hover{
  color: var(--pink);
}

.map-li:hover{
  color:var(--teal);
}

.blog-li:hover{
  color:var(--yellow);
}

/* MOBILE HEADER AND NAV **************************************************************/
#open-sidebar-button{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:10px;
  position:fixed;
  right:0;
  z-index:1000;
}

#close-sidebar-button{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:5px;
}
#mobile-logo{
  display:none;
}

#overlay{
  background:rgba(0,0,0,0.5);
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
}

/* FOOTER **************************************************************/

footer{
  background: var(--red);
  color:var(--white);
  margin-top:auto;
  width:100%;
}

.footer{
  display:flex;
  justify-content:center;
  width:100%;
  width:100%;
}

.footer img{
  margin: 0 auto;
  padding:20px;
  width:90px;
}

.footer-icons{
  display:flex;
  justify-content: center;
}

.footer-icons img{
  padding:5px;
  display:inline-block;
  vertical-align:bottom;
}

.footer a{
  text-decoration:none;
}

.subfooter{
  padding: 10px 0 10px 0;
}

.subfooter p{
  font-size:12px;
  font-weight:300;
  text-align:center;
  color: var(--white);
  margin-bottom:0px;
}

/* BLOG **************************************************************/
.carousel{
  margin:50px 0 100px 0;
  position:relative;
  height:720px;
  width:50%;
  margin-left:auto;
  margin-right:auto;
}

.carousel_track_container{
  height:100%;
  position:relative;
  overflow:hidden;
}

.carousel_track{
  list-style:none;
  position:relative;
  height:100%;
  transition: transform 450ms ease-in;
}

.carousel_video{
  max-width: 100%;
  height:auto;
  object-fit:cover;
}

.carousel video{
  width:90%
}

.carousel_slide{
  position:absolute;
  top:0;
  bottom:0;
  width:100%;
  display:flex;
  align-items: center;
  justify-content: space-evenly;
  gap:50px;
}

.carousel_text{
  flex-direction: column;
  width:365px;
  text-align:center;
  color:var(--white);
}

.carousel_text h1{
  font-size:64px;
  line-height: 60px;
}

.carousel_text h6{
  text-transform: none;
}

.carousel_text h1,h6{
  transform:rotate(-1.2deg)
}

.carousel_text p{
  margin-top:20px;
}

.carousel_text img{
  margin-top:15px;
  width:175px
}

.carousel_button{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  background:transparent;
  border:0;
  cursor:pointer;
}

.carousel-left{
  left:-150px;
}
.carousel-right{
  right:-150px;
}
.carousel_button img{
  width:80px;
}

.carousel_nav{
  display:flex;
  justify-content:center;
  padding:10px 0;
  margin-top:0;
  margin-bottom:0;
}

.carousel_indicator{
   border:0;
  border-radius:50%;
  width:20px;
  height:20px;
  background: rgba(0,0,0,.3);
  margin: 20px 12px;
  cursor: pointer;
}

.carousel_indicator.current-slide{
  background:var(--white)
}

.is-hidden {
  display:none;}

/* MEDIA QUERIES*******************************************************/

@media screen and (max-width: 1563px){

  .project-title h1{
    font-size:120px;
    line-height:1em;
  }

}

@media screen and (max-width: 960px){
/* HEADER AND NAV BAR*****/

#open-sidebar-button, #close-sidebar-button,#mobile-logo{
  display:block;
}

.mobile-nav{
  display:flex;
  justify-content:space-around;
}

.mobile-nav img{
  width:90px;
  padding:20px;
}

nav li:not(.centered-logo, #close-sidebar){
  padding:25px;
  font-size:32px;
  text-align:left;
}
  nav{
    position:fixed;
    top:0;
    right:-100%;
    height:100vh;
    z-index: 120;
    border-left: 1px solid var(--black);
    padding:0;
    transition:right 300ms ease-out;
  }

  nav.show{
    right:0%;
  }

  nav.show ~ #overlay{
    display:block;
  }

  .centered-logo{
    display:none;
  }
  nav ul{
    width:100%;
    flex-direction:column;
    padding:0;
  }

  nav a{
    width:100%;
    padding-left:1px;
  }

  .active-link{
    border-bottom:none;
  }
  /* BLOG LANDING PAGE *****/
.carousel{
  height:720px;
}
.carousel_text h1{
  font-size:54px
}
.carousel_text h6{
  font-size:20px;
}
.carousel_text p{
  font-size:18px;
}

.carousel video{
  width:100%;
}
.carousel_slide{
  flex-direction: column;
}
  }
 /* BLOG ARTICLES *****/

.episode-video{
  width:720px;
}

.episode-title{
  margin-top:2em;
  line-height:4em;
  width:900px;
}

.article-body h3, .article-body p{
  max-width:700px;
}

.article-body p{
  font-size:24px;
}

.article-body{
  margin-left:2em;
}

.episode-selector{
  padding-right:5em;
}


@media screen and (max-width: 500px){
  .smaller-map{
    position:relative;
    width:400px;
  }

.project-title, .map-preview-title{
  width:300px;
}
.project-text, .map-preview-text{
  margin-top:10px ;
  width:300px;
}

.project-text{
  margin-left:1px;
}

.carousel{
  height:600px;
  width:75%
}

.carousel_slide{
  bottom:auto;
}

.carousel-right{
  right:-40px;
}

.carousel-left{
  left:-40px
}

.carousel_text{
  width:100%;
}

.carousel_text img{
  width:150px;
}

}

@media screen and (max-width: 430px){

  h1{
    font-size:48px;
    line-height:1em;
  }

  h3{
    font-size:20px;
  }

  .carousel_button img{
  width:60px;
}

/* BLOG LANDING PAGE *****/
.carousel{
  height:600px;
  width:75%
}

.carousel_slide{
  bottom:auto;
}

.carousel-right{
  right:-40px;
}

.carousel-left{
  left:-40px
}

.carousel_text{
  width:100%;
}

.carousel_text img{
  width:150px;
}
}

@media screen and (max-width: 360px){

#bg{
  background-size:575%;
}

}
