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

html{
  scroll-behavior: smooth;
}

a{
  text-decoration: none;
}

ul{
  list-style: none;
}

li:hover{
  cursor: pointer;
  color: white;
}

@font-face {
    font-family: Pirelli;
    src: url("fonts/pirelli-regular.woff2") format("woff2"),
          url("fonts/pirelli-regular.woff") format("woff");
    font-weight: normal;
}

@font-face {
    font-family: Pirelli;
    src: url("fonts/pirelli-regularitalic.woff2") format("woff2"),
          url("fonts/pirelli-regularitalic.woff") format("woff");;
    font-style: italic;
    font-weight: normal;
}

@font-face {
    font-family: Pirelli;
    src: url("fonts/pirelli_bold.otf") format("opentype");
    font-weight: bold;
}

.large_type{
  font-size: 23pt;
  line-height: 24pt;
  transform: translate(0px, -2px);
}

.regular_type{
  font-size: 14pt;
  line-height: 24pt;
}

.italic{
  font-style: italic;
}

.caps{
 text-transform: uppercase;
}

.mint_font{
  color: #a3c4ba;
}

.red_font{
  color: #e85a4f;
}

.green_font{
  color: #b8ff73;
}

.yellow_font{
  color: #c9a409;
}

.maroon_font{
  color: #3d1826;
}

.mint_bg{
  background-color: #a3c4ba;
}

.red_bg{
  background-color: #e85a4f;
}

.green_bg{
  background-color: #b8ff73;
}

.maroon_bg{
  background-color: #3d1826;
}

.yellow_bg{
  background-color: #c9a409;
}

.neg-indent{
  text-indent: -12pt;
}

.column_wrapper{
  margin-bottom: 24pt;
  display: flex;
  flex-direction: row;
}

.left{
  width: 16.6%;
  padding-right: 10px;
}

.mid{
  width: 66.6%;
}

.right{
  width: 16.6%;
}

.mid_right{
  width: calc(100% - 16.6%);
}

hr{
  width: 69%;
  margin: auto;
  margin-bottom: 24pt;
  height:2px;
  border-width:0;
  color:#3d1826;
  background-color: #3d1826

}



body{
  margin: 35px;
  background-color: #a3c4ba;
  font-family: Pirelli;
  font-weight: normal;
}

header{

}

.logo{
  z-index: 5;
  position: absolute;
  top: 35px;
  left: 34px;
}

.page_title{
  display: flex;
  justify-content: center;
  position: fixed;
  top: 35px;
  left: 0px;
  width: 100vw;
  z-index: 4;
}

.page_title h1{
  max-width: 40vw;
}

.nav_button { display: none; }
.page_title h1:hover .title_button { display: none; }
.page_title h1:hover .nav_button { display: inline; }


h1, h2, h3{
  font-weight: normal;
}

.nav-wrapper{
  margin-top: 160px;
}

.menu{
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.illustration_wrapper{
  display: flex;
  flex-direction: row;
}

.illustration_wrapper div{
  width: 50%;
}

.illustration_wrapper div img{
  width: 100%;
}

.illustration_container{
    padding-left: 12pt;
}


.button_box{
  display: flex;
  flex-direction: row;
  width: 100%;
}

.button_box .round_button{
  background-color: #c9a409;
  color: #b8ff73;
}

.button_box .round_button.selected{
  background-color: #3d1826;
  color: #e85a4f;
}

.button_box .round_button.selected:hover{
  background-color: #fff;
}

.round_button{
  height: 23pt;
  width: 23pt;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 5px;
}

.round_button:hover{
  background-color: white;
  cursor: pointer;
}

.hover_white:hover{
  color: white;
}

.round_button:hover p{
  color: #c9a409;
}



.select_button{
  position: absolute;
  z-index: -5;
  display: none;

}

.filter:hover .select_button{
  display: block;
}

.filter:active .select_button{
  display: block;
}

a:hover{
  color: white;
}

.filter_box{
  display: flex;
  justify-content: center;
  flex-direction: row !important;
}

.filter_box p {
  cursor: pointer;
}



.showhim:hover .showme {
  display: block;
}

.filter{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 24pt;
  margin-right: 24pt;
}

.posts{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  grid-gap: 24pt;
}

.post{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 24pt;
  border-bottom: solid #4c3734 2px;
}

.post img{
  width: 100%;
  margin-bottom: 12pt;
}

.post:hover{
  border-bottom: solid 2px white;
}

.post:hover p{
  color: white;
}

.post-content{
  z-index: 5;
  position: fixed;
  padding-right: 25px;
  top: 43px;
  right: 0px;
  width: calc(17% - 24pt);
}

.post-content a:hover{
  color: white;
}

.gallery-wrapper{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.gallery{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery img{
  max-height: 75vh;
  width: auto;
  max-width: 90%;
  padding-top: 24pt;
}

.single-image-wrapper img{
  max-width: 100%;
  max-height: calc(100vh - 48pt - 48pt);
}

.videos{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  grid-gap: 24pt;
}

.video{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 24pt;
  border-bottom: solid #4c3734 2px;
}

.video a{
  color: #b8ff73;
}

.video a:hover{
  color: #ffffff;
}


iframe{
  border: 0px;
  width: 100%;
  height:20vw;
}

.contact-wrapper{
  display: flex;
  flex-direction: row;
}

.contact-wrapper div{
    width: 50%;
}

.yet-diagram-container{
  display: flex;
  justify-content: left;
  height: 400px;
}

.yet-diagram-container img{
  height: 100%;
}

/* ————————————————————————————CAROUSEL————————————————————————————— */

.carousel_container{
  width: 100vw;
  margin-left: -35px;
  margin-right: -35px;
}

.carousel{
  height: 65vh;
  position: relative;
  display: flex;
  overflow: hidden;

}





.slider-item{
  height: 100%;
  justify-content: center;
  align-items: center;
  margin-right: 35px;
}

.slider-item:nth-last-child(2) {
   margin-right: 0px;
}



.controls{
  display: flex;
  margin-left: calc(16.6vw + 25px);
  margin-top: 32px;
  margin-bottom: 32px;
}

.controls ul{
  bottom: 20px;
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;

}


.controls .round_button{
  background-color: #e85a4f;
}

.controls .round_button:hover{
  background-color: #fff !important;
}

.controls .round_button.selected{
  background-color: #3d1826;
}

.controls .arrow{
  cursor: pointer;
  background-color: #c9a409;
  color: #b8ff73;
}

.a-left p{
  transform: translate(-1px, -0.5px);
}

.a-right p{
  transform: translate(1px, -0.5px);
}

.slider-item img {
  height: 100%;
}





.buffer{
  min-height: 100%;
  min-width: calc(16.6vw + 25px);
}

.end_buffer{
  min-height: 100%;
  min-width: 1000vw;
}

/* ——————————————————————————————BOOKS—————————————————————————————— */

.books{
  position: absolute;
  z-index: -1;
  max-width: 100vw;
  top: 0px;
  left: 0px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.book-item{
  position: relative;

  width: 50vw;
  height: 60vh;
  overflow: hidden;

}

.book-item-photo{
  width: 100%;
  height: 100%;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.book-item-photo img{
  z-index: -2;
  min-height: 100%;
  min-width: 100%;
  max-width: 120%;
  position: absolute;
}


.book-item:hover img:nth-child(2){
  display: none;
}

.book-item-info{
  position: absolute;
  margin-left: calc(16.6vw + 12px);
  bottom: 24pt;
  border-bottom: solid 2px #a3c4ba;
  padding-bottom: 24pt;
  width: 60%;
}

.book-item-info p, .book-item-info h3{
  margin-left: 13px;
}

.book-item:hover .book-item-info{
  border-bottom: solid 2px white;
}

.book-item:hover p{
  color: white;
}

.book-item:hover h3{
  color: white;
}

.book-titles{
  position: absolute;
    width: 16.6%;
    margin-right: 0px;
}

.book-text a{
  color: #b8ff73;
}

.book-text a:hover{
  color: #fff;
}

.book-video{

}

.book-video iframe{
  height: 70vh;
}

.book-buy a{
  color: #b8ff73;
}

.book-buy a:hover{
  color: #fff;
}

/* ——————————————————————————————NEAR FUTURE—————————————————————————————— */

ul.events{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  grid-gap: 24pt;
}

ul.events li{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 24pt;
  border-bottom: 2px solid #e85a4f;
}


.event-image-box{
  position: relative;
  display: flex;
  margin-bottom: 12pt;

}

.event-image-box img{
  width: 100%;
  bottom: 0;
}

.event-diagram-list{
  width: 70% !important;
}

.events li:hover{
  border-bottom: solid 2px white;
}

.events li:hover p{
  color: white;
}

.event-info-container{
  display: flex;
  flex-direction: row;
}

.event-info-container div{
  width: 50%;
}

.event-info-container div img{
  width: calc(100% - 48pt);
  margin-left: 24pt;
}

.slot-container{
  display: flex;
  flex-direction: row;
}

.timeslot{
  width: 175px;
}

.slot-description{
  width: calc(100% - 175px);
}

.participant-container{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  grid-gap: 24pt;
  padding-right: 12pt;
}

.mobile_nav_button{
  text-align: right;
  position: absolute;
  display: none;
  color: #e85a4f;
}

.nav-mobile{
  display: none;
}

/* ———————————————————————————————————————————————————————PHONE VIEW————————————————————————————————————————————————————————————————————— */

/* ------------------------ MOBILE VIEW -------------------------- */

@media only screen and (min-width: 0px) and (max-width: 650px) {

  .move-nav-button{
    transform: translate(0px, 6px);
  }

  .bar1, .bar2, .bar3 {
    width: 20px;
    height: 2px;
    background-color: #e85a4f;
    margin: 4px 0;
  }

  /* Rotate first bar */
  .change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-1px, .5px) ;
    transform: rotate(-45deg) translate(-1px, .5px) ;
  }

  /* Fade out the second bar */
  .change .bar2 {
    opacity: 0;
  }

  /* Rotate last bar */
  .change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
    transform: rotate(45deg) translate(-8px, -8px) ;
  }

  .nav-mobile nav{
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
  }


  .no-mobile{
    display: none !important;
  }

  .mobile_nav_button{
    display: block;
    top: 23px;
    right: 25px;
  }

  body{
  margin: 25px;
  margin-top: calc(50px + 15pt);

  }

  .nav-wrapper{
    display: none !important;
  }

  .logo{

    top: 25px;
    left: 24px;
  }

  .page_title{
    display: none;
  }



  .large_type{
    font-size: 15pt;
    line-height: 16pt;
  }

  .regular_type{
    font-size: 10pt;
    line-height: 16pt;
  }

  .column_wrapper{
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
  }

  .left{
    margin-left: 25px;
    width: 100%;
  }

  .mid{
    width: 100%;
  }

  .right{
    width: 100%;
  }

  .mid_right{
    width: 100%;
  }

  hr{
    width: calc(100% - 50px);

    margin-bottom: 16pt;

  }

  .illustration_wrapper{
    flex-direction: column;
  }

  .illustration_wrapper div{
    width: 100%;
  }

  .illustration_container{
    padding-left: 0px;
    margin-top: 25px;
  }

  .posts{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    list-style: none;
    grid-gap: 16pt;
  }

  .event-diagram-list{
    width: 100%!important;
  }

  .label div:not(:last-of-type){
    margin-bottom: 16pt;
  }

  .neg-indent{
    text-indent: -12px;
  }


  /* ------------- MOBILE EVENTs----------- */

  ul.events{
    grid-template-columns: repeat(1, 1fr);
  }

  .event-info-container{
    flex-direction: column;
  }

  .event-info-container div{
    width: 100%;
  }

  .event-info-container div img{
    width: 100%!important;
    margin-left: 0px;
  }

  .timeslot{
    width: 100px;
  }

  .slot-description{
    width: calc(100% - 100px);
  }

  .participant-container{
    grid-template-columns: repeat(1, 1fr);
    padding-right: 0pt;
  }

    /* ------------- MOBILE CAROUSEL----------- */

  .buffer{
    min-height: 100%;
    min-width: 25px !important;
    max-width: 25px !important;
  }

  .carousel_container{
    margin-left: -25px;
  }

  .carousel{
    height: 30vh;
  }

  .slider-item{
    margin-right: 25px;
  }

  .controls{
    margin-left: 25px;
    justify-content: space-between;
  }

  .controls ul{
  display: none;
  }

  .a-right{
    margin-right: 25px;
  }

  /* ------------- post----------- */

  .book-video iframe {
      height: auto;
  }

  .videos{
    grid-template-columns: repeat(1, 1fr);
  }

  iframe{
    height: auto;
  }

  /* ------------- books ----------- */

  .books{
    grid-template-columns: repeat(1, 1fr);
  }

  .book-item{
    width: 100vw;
    height: 50vh;
  }

  .book-item-info{
    margin-left: 50px;
    bottom: 25px;
    padding-bottom: 16pt;
    width: calc(100% - 100px);
  }

}


/* ------------------------ TABLET VIEW -------------------------- */

@media only screen and (min-width: 651px) and (max-width: 1100px) {

    .posts{
      grid-template-columns: repeat(2, 1fr);
    }

    .filter {
      margin-left: 12pt;
      margin-right: 12pt;
  }

  /* ------------- TABLET EVENTs----------- */

  ul.events{
    grid-template-columns: repeat(2, 1fr);
  }

  /* ------------- TABLET BOOKS ----------- */

  .books{
    grid-template-columns: repeat(1, 1fr);
  }

  .book-item{
    width: 100vw;
    height: 65vh;
  }

  .book-item-info{
    bottom: 35px;
    padding-bottom: 16pt;
    width: calc(100% - 175px);
  }

  /* ------------- MOBILE EVENTs----------- */

  ul.events{
    grid-template-columns: repeat(2, 1fr);
  }

  .event-info-container{
    flex-direction: column;
  }

  .event-info-container div{
    width: 100%;
  }

  .event-info-container div img{
    width: 100%!important;
    margin-left: 0px;
    margin-top: 12pt;
  }

  .timeslot{
    width: 150px;
  }

  .slot-description{
    width: calc(100% - 150px);
  }

  .participant-container{
    grid-template-columns: repeat(1, 1fr);
    padding-right: 0pt;
    width: 68%;
  }

    /* ------------- TABLET CAROUSEL----------- */

  .buffer{
    min-height: 100%;
    min-width: 25px !important;
    max-width: 25px !important;
  }

  .carousel_container{
    margin-left: -35px;
  }

  .carousel{
    height: 40vh;
  }



  .controls{
    margin-left: 35px;
  }



    .book-video iframe {
        height: 30vh;
    }

}


/* ------------------------ TABLET VIEW -------------------------- */

@media only screen and (min-width: 2000px) {

  .left{
    width: 20%;
    padding-right: 10px;
  }

  .mid{
    width: 60%;
  }

  .right{
    width: 20%;
  }

  .mid_right{
    width: calc(100% - 20%);
  }

  hr{
    width: calc(60% + 50px);

  }



  body{
    margin: 50px;
  }

  .logo{

    top: 50px;
    left: 49px;
  }

  .page_title{

    top: 50px;

  }

  .filter{
    margin-left: 48pt;
    margin-right: 48pt;
  }

  .buffer{
    min-height: 100%;
    min-width: calc(20vw + 17px);
  }

  .carousel{
    height: 60vh;
  }


    .controls{
      margin-left: calc(20vw + 17px);
    }

    .single-image-wrapper img{
      max-width: 100%;
      max-height: calc(70vh - 48pt - 48pt);
    }

    .timeslot{
      width: 200px;
    }

    .slot-description{
      width: calc(100% - 200px);
    }

    .book-item{

      height: 65vh;
    }

    .book-item-info{
      margin-left: 20vw;
      width: 55%;
    }




}
