/* ------------------------------------------------------- */
/* FONTS */
@font-face {
  font-family: "Favorit Inter";
  src: url("../fonts/woff/Favorit-Light.woff2") format("woff2"),
       url("../fonts/woff/Favorit-Light.woff") format("woff");
}

@font-face {
  font-family: "Favorit Italic";
  src: url("../fonts/woff/Favorit-LightIta.woff2") format("woff2"),
       url("../fonts/woff/Favorit-LightIta.woff") format("woff");
}

@font-face {
  font-family: "Favorit Bold";
  src: url("../fonts/woff/Favorit-Bold.woff2") format("woff2"),
       url("../fonts/woff/Favorit-Bold.woff") format("woff");
}

/* ------------------------------------------------------- */
/* GENERAL STYLING */
html,body{
  margin:0;
  padding:0;
  font-family: "Favorit Inter", sans-serif;
  background-color: #75a3ff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

ul{
  margin: 0;
  padding:0;

  text-decoration: none;
  list-style-type: none;

  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

li{ display: inline-block; padding: 1rem 2rem 0rem 2rem; }
p{ margin:0; padding:0; }
p::selection{ background-color: #75a3ff; color: white;}
a{ text-decoration: none; color: white; }


/* ------------------------------------------------------- */
/* MAIN ELEMENTS STYLING */
#main-container{
  position: fixed;
  width: 100vw;
  height: 100vh;
  overflow: hidden;

  pointer-events: none;

  font-family: "Favorit Inter", sans-serif;
  font-size: 1.5rem;
}

/* nav menu bar */
#menu-bar{
  width: 80%;
  font-size: 2rem;
  color: white;
  z-index: 1;
}

  .nav-list{ z-index: 10; pointer-events: visible; }
  .nav-list li{ z-index: 10; pointer-events: visible; cursor: pointer; }
  .nav-list li:hover{ color: black; }
  .in-focus { color: black; }

/* textile buttons menu */
#textile-list{
  position: absolute;
  top:2rem;
  right:2rem;
}
  .textile-items:not(:first-child){ margin: 0.5rem 0; }
  .textile-items{
    width: 12rem;
    background-color: transparent;

    border-radius: 1rem;
    cursor: pointer;
  }
  .textile-items p{
    padding: 0.5rem 2rem;
    font-size: 1.2rem;

    text-align: center;
  }


/* ------------------------------------------------------- */
/* POPUP BOXES STYLING */

/* *********** L box */
.popup-wrapper{
  display: none;
  position: absolute;
  bottom: 10vh;
  right: 2rem;
  width: 66vw;
  height: 80vh;
  border-radius: 2rem;
  background-color: rgb(238, 229, 228);
  overflow-y: scroll;
}
  .popup-wrapper .text-area p{
    padding: 2rem 10rem 0rem 10rem;
    font-size: 1.8rem;
  }

/* *********** S box */
.popup-child{
  display: none;
  position: absolute;
  bottom: 10vh;
  left: 2rem;
  width: 30vw;
  height: 80vh;
  border-radius: 2rem;
  background-color: rgb(238, 229, 228, 1);
  overflow-y: scroll;
}
  .popup-child .text-area p{
    padding: 2rem 5rem 0rem 5rem;
    font-size: 1.2rem;
  }
  .link-stroom-nest{
    padding: 0.5rem 0rem;
    font-size: 1.2rem;
    text-align: center;
    margin: -1rem 2rem 0.5rem 2rem;
    border: 1px black solid;
    border-radius: 1rem;
    display: none;
  }
  .link-stroom-nest:last-child{
    margin: 0 2rem 4rem 2rem;
  }
  .link-stroom-nest a{
    color: black;
  }


/* L and S box text area */
.text-area p:first-child{ padding-top: 4rem; }
.text-area p:last-child{ padding-bottom: 4rem; }


/* *********** textile caption box *********** */
.popup-textile-caps{
  position: absolute;
  bottom: 10vh;
  right: 2rem;
  width: 20vw;
  height: auto;
  background-color: rgb(238, 229, 228);
  border-radius: 0.8rem;
  overflow-y: scroll;
  display: none;
}
.text-area-caps p{
  padding: 0.5rem 2rem;
  font-size: 1rem;
}
.text-area-caps .caps-title{
  padding-top: 1.5rem;
  font-size: 1.5rem;
  /* text-decoration: underline; */
}
.text-area-caps .caps-body-txt{
  padding-bottom: 1.5rem;
}


/* ------------------------------------------------------- */
/* IG BOX STYLING */
#ig-popup{
  position: fixed;
  bottom:0;
  left:0rem;
  height:100vh;
  width: auto;
  padding:0 2rem;
  z-index: 99;

  overflow-y: scroll;
  pointer-events: visible;

  display: flex;
  flex-direction: column;
  display: none;
}
  .img-item{
    width: 24vw;
    height: auto;
    margin-bottom: 2rem;
    pointer-events: visible;

    align-self: center;
  }
  .img-item:first-child{ margin-top: 6rem; }
  .img-item:last-child{ margin-bottom: 8rem; }
  .img-item img{ pointer-events: visible; width: 100%; box-shadow: 5px 5px 10px rgba(0,0,0,0.5); }

/* ------------------------------------------------------- */
/* VIDEO PRESENTATION STYLING */
#video-popup{
  position: absolute;
  bottom: 13vh;
  right: calc(2rem + 3vw);
  width: 60vw;
  height: 74vh;
  /* transform: scale(0.9); */

  border-radius: 2rem;
  box-shadow: 0px 0px 2em 2em white;
  background-color: rgb(238, 229, 228);
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;

  pointer-events: auto;
  display: none;

}
.video-wrapper{
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
#video-popup iframe{
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#video-popup .video-intro{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  font-size: 2rem;
  color:black;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.video-intro p:last-child{ padding-top: 1.2rem; font-size: 1.2rem; }



/* ------------------------------------------------------- */
/* TOOLTIP STYLING */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 3px dotted #75a3ff;
  line-height: 1.5rem;
}

.tooltip .tooltiptext {
  visibility: hidden;
  opacity: 0;
  width: 20rem;
  background-color: white;
  border-radius: 1.2rem;
  padding: 2rem 2rem;
  transition: 0.3s;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-top: 0.5rem;
  margin-left: -11rem;
}

.tooltip .tooltiptext p{
  color: #000;
  font-size: 1.2rem;
  text-align: left;
  padding: 0;
}
.tooltip .tooltiptext p:not(:last-child){
  margin-bottom: 1rem;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


/* /i/i/i/i/i/i/i/i/i//i/i/i/i/i/i//i/i/i/i/i/ */
/* helper class */
.box-styling{
  word-wrap: break-word;
  pointer-events: visible;
  border: 1px solid white;
  color: white;
}
.popup-styling{
  word-wrap: break-word;
  pointer-events: visible;
  border: 1px solid black;
}
/* Hide scrollbar for Chrome, Safari and Opera */
#ig-popup::-webkit-scrollbar, .popup-wrapper::-webkit-scrollbar, .popup-child::-webkit-scrollbar, .popup-textile-caps::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#ig-popup, .popup-wrapper, .popup-textile-caps, .popup-child {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.italics{
  font-family: "Favorit Italic";
}

.close-button-Lbox, .close-button-Sbox {
  position: fixed;
  display: block;
  line-height: 1rem;
  font-size: 2rem;
  text-decoration: none;
  cursor: pointer;
  z-index: 999;
}

.close-button-Lbox{
  top: unset;
  right: unset;
  left: calc(100vw - 2rem - 5px - 4.5rem);
  bottom: calc(90vh - 2px - 4.5rem);
  padding: 0rem;
  border: 2rem solid transparent;
}
.close-button-Sbox{
  top: unset;
  right: unset;
  left: calc(35vw - 4rem - 3px - 4.5rem);
  bottom: calc(90vh - 2px - 4.5rem);
  padding: 0rem;
  border: 2rem solid transparent;
}

.mobile{ display: none; }
.desktop{ display: block; }



.footnote{
  font-size: 1rem;
  vertical-align: super;
}


/* RESPONSIVE !!!! */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  /* ------------------------------------------------------- */
  /* GENERAL STYLING */


  /* ------------------------------------------------------- */
  /* MAIN ELEMENTS STYLING */
  #main-container{
    position: fixed;
    width: 100vw;
    height: 100%;
    overflow: hidden;

    pointer-events: none;

    font-family: "Favorit Inter", sans-serif;
    font-size: 1.5rem;
  }

  #menu-bar-mobile{
    width: 100vw;
    height: calc(100vh - 2.5rem);
    font-size: 2rem;
    color: white;
    z-index: 1;
  }

    #menu-bar-mobile ul{
      width: 100%;
      pointer-events: visible;
      display: block;
      z-index: 10;
    }

    #menu-bar-mobile ul:first-child{
      background: rgb(117,163,255);
      background: linear-gradient(180deg, rgba(117,163,255,1) 15%, rgba(238,229,228,0) 70%);
    }

    #menu-bar-mobile ul li a{margin: 0;}
    #menu-bar-mobile ul li{
      padding: 1rem 0;
      width: 100%;

      text-align: center;

      z-index: 10;
      pointer-events: visible; cursor: pointer;
    }
    #menu-bar-mobile ul li:first-child{
      padding-top: 1rem;
    }

  /* textile buttons menu */
  #textile-list-mobile{
    width: 100vw;
    height: auto;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: auto;
  }
  #textile-list-mobile .swiper-wrapper{
    width: inherit;
    height: auto;
    align-items: flex-end;
  }
    #textile-list-mobile .swiper-slide{
      width: 100%;
      cursor: pointer;
      font-size: 1.2rem;
    }
    #textile-list-mobile .swiper-slide p{
      padding: 0.5rem 0rem;
      text-align: center;

      border-radius: 1rem;
      border: 1px solid #75a3ff;
      color: #75a3ff;
    }

  /* ------------------------------------------------------- */
  /* POPUP BOXES STYLING */

  /* *********** L box */
  .popup-wrapper{
    display: none;
    position: absolute;
    bottom: 3.5rem;
    left: 0rem;
    width: calc(100vw - 2px);
    height: calc(100vh - 8rem);
    border-radius: 1.5rem;
    background-color: rgb(238, 229, 228);
    overflow-y: scroll;
    z-index: 999;
  }
    .popup-wrapper .text-area p{
      padding: 1rem 2rem 0rem 2rem;
      font-size: 1rem;
    }

  /* *********** S box */
  .popup-child{
    position: absolute;
    bottom: 3.5rem;
    left: 0rem;
    width: calc(100vw - 2px);
    height: calc(100vh - 8rem);
    border-radius: 1.5rem;
    background-color: rgb(238, 229, 228);
    overflow-y: scroll;
    z-index: 999;
  }
    .popup-child .text-area p{
      padding: 1rem 2rem 0rem 2rem;
      font-size: 1rem;
    }

  /* L and S box text area */
  .text-area p:first-child{ padding-top: 3rem; }
  .text-area p:last-child{ padding-bottom: 4rem; }

  /* ------------------------------------------------------- */
  /* IG BOX STYLING */
  #ig-popup{
    position: fixed;
    bottom:0;
    left:0rem;
    height:100vh;
    width: 100vw;
    padding:0 0rem;
    z-index: 99;

    overflow-y: scroll;
    pointer-events: visible;

    display: flex;
    flex-direction: column;
    display: none;
  }
    .img-item{
      width: 80%;
      height: auto;
      margin-bottom: 2rem;
      pointer-events: visible;
      align-self: center;
    }
    .img-item:first-child{ margin-top: 2rem; }
    .img-item:last-child{ margin-bottom: 8rem; }

    .vidCover{ margin: 4rem 2rem -0.4rem 2rem;}
    .vidCover:first-child{ margin: 5rem 2rem -0.4rem 2rem;}
    .vidCover img{ width: 100%;}
  /* ------------------------------------------------------- */
  /* TOOLTIP STYLING */
  .tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 2px dotted #75a3ff;
    line-height: 0.8rem;
  }

  .tooltip .tooltiptext {
    visibility: hidden;
    opacity: 0;
    width: 50%;
    height: 50%;
    background-color: white;
    border-radius: 2rem;
    padding: 1.2rem;
    transition: 0.3s;
    overflow-y: scroll;

    /* Position the tooltip */
    position: fixed;
    z-index: 1;
    top: unset;
    bottom: calc(3.5rem + 1px);
    left: unset;
    right: 1px;
    margin-top: 0rem;
    margin-left: 0rem;
  }

  .tooltip .tooltiptext p{
    color: #000;
    font-size: 0.8rem;
    line-height: 1rem;
    text-align: left;
    padding: 0;
  }
  .tooltip .tooltiptext p:not(:last-child){
    margin-bottom: 1rem;
  }

  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }


  /* /i/i/i/i/i/i/i/i/i//i/i/i/i/i/i//i/i/i/i/i/ */
  /* helper class */
  .box-styling{
    border: 1px solid #75a3ff;
    color: #75a3ff;
  }
  .popup-styling{
    border: 1px solid #75a3ff;
  }

  /* Hide scrollbar for Chrome, Safari and Opera */
  #textile-list-mobile::-webkit-scrollbar, .tooltip .tooltiptext::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for IE, Edge and Firefox */
  #textile-list-mobile::-webkit-scrollbar, .tooltip .tooltiptext::-webkit-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

  .close-button-Lbox, .close-button-Sbox {
    position: fixed;
    display: block;
    line-height: 1rem;
    font-size: 2rem;
    text-decoration: none;
    top: 5.75rem;
    right: 1.45rem;
    bottom: unset;
    left: unset;
    padding: 0rem;
    border: none;
    cursor: pointer;
  }

  .blink{
    position: absolute;
    width: 100%;
    height: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity:0 ;
    animation: blinkSwipe 4s;
    animation-delay: 1.8s;
    pointer-events: none;
  }

  .blink p{ padding: 0.6rem 0; }
  .swipeDown{
    top: 0;
    left:0;
    color: white;
  }
  .swipeSide{
    bottom: 2.5rem;
    left:0;
    color: #75a3ff;
  }

  @keyframes blinkSwipe {
    0%   {opacity: 0;}
    12.5%  {opacity: 1;}
    25%  {opacity: 1;}
    37.5%  {opacity: 0;}
    50% {opacity: 0;}
    62.5% {opacity: 1;}
    75% {opacity: 1;}
    87.5% {opacity: 0;}
    100% {opacity: 0;}
  }

  .desktop{ display: none; }
  .mobile{ display: block; }
  .footnote{
    font-size: 0.5rem;
    vertical-align: super;
  }



}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  /* ------------------------------------------------------- */
  /* GENERAL STYLING */
  li{ display: inline-block; padding: 1rem 1.6rem 1rem 1.6rem; }

  /* ------------------------------------------------------- */
  /* MAIN ELEMENTS STYLING */
  /* nav menu bar */
  #menu-bar{
    width: 80%;
    font-size: 1.5rem;
  }
  /* textile buttons menu */
  #textile-list{
    top:1.5rem;
    right:1.5rem;
    z-index: 999;
  }
    .textile-items {
      width: 12rem;
      background-color: transparent;
      border-radius: 1rem;
      cursor: pointer;
    }
    .textile-items p{
      padding: 0.3rem 1rem;
      font-size: 1rem;
    }


  /* ------------------------------------------------------- */
  /* POPUP BOXES STYLING */

  /* *********** L box */
  .popup-wrapper{
    bottom: 5vh;
    right: 1.6rem;
    width: 60vw;
    height: 80vh;
  }
    .popup-wrapper .text-area p{
      padding: 1rem 4rem 0rem 4rem;
      font-size: 1rem;
    }

  /* *********** S box */
  .popup-child{
    bottom: 5vh;
    left: 1.6rem;
    width: calc(100vw - 1.6rem * 3 - 60vw);
    height: 80vh;
  }
    .popup-child .text-area p{
      padding: 1rem 2rem 0rem 2rem;
      font-size: 1rem;
    }

    /* L and S box text area */
    .text-area p:first-child{ padding-top: 3rem; }
    .text-area p:last-child{ padding-bottom: 3rem; }


    /* *********** textile caption box */
    .popup-textile-caps{
      width: 30vw;
      height: 30vh;
      position: absolute;
      bottom: 5vh;
      right: 1.5rem;
      border-radius: 1.2rem;
    }
    .text-area-caps p{
      padding: 0.5rem 2rem;
      font-size: 1rem;
    }
    .text-area-caps .caps-title{
      padding-top: 2rem;
      font-size: 1.5rem;
      /* text-decoration: underline; */
    }
    .text-area-caps .caps-body-txt{
      padding-bottom: 2rem;
    }


  /* ------------------------------------------------------- */
  /* IG BOX STYLING */
  #ig-popup{ padding:0 1.6rem; }
    .img-item{ width: 25vw; margin-bottom: 1.5rem; }
    .img-item:first-child{ margin-top: 7rem; }
    .img-item:last-child{ margin-bottom: 10vh; }

  /* ------------------------------------------------------- */
  /* VIDEO PRESENTATION STYLING */
  #video-popup{
    bottom: 15vh;
    right: calc(1.6rem + 2.5vw);
    width: 60vw;
    height: 70vh;
  }

  #video-popup .video-intro{
    font-size: 1.6rem;
  }
  .video-intro p:last-child{ padding-top: 1rem; font-size: 1rem; }


  /* ------------------------------------------------------- */
  /* TOOLTIP STYLING */
  .tooltip {
    border-bottom: 2px dotted #75a3ff;
    line-height: 1rem;
  }
  .tooltip .tooltiptext {
    padding: 1.4rem 1.2rem;
  }
  .tooltip .tooltiptext p{
    font-size: 1rem;
    padding: 0;
  }
  .tooltip .tooltiptext p:not(:last-child){
    margin-bottom: 1rem;
  }
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

  /* ------------------------------------------------------- */
  /* VIDEO PRESENTATION STYLING */
  #video-popup{
    position: absolute;
    bottom: 20vh;
    right: 1.6rem;
    width: 60vw;
    height: 50vh;
    /* transform: scale(0.9); */

    border-radius: 1.6rem;
    box-shadow: 0px 0px 1em 1em white;
    background-color: rgb(238, 229, 228);
    overflow: hidden;
  }
  #video-popup .video-intro{
    font-size: 1.5rem;
    color:black;
  }
  .video-intro p:last-child{ padding-top: 0.5rem; font-size: 1rem; }


  /* /i/i/i/i/i/i/i/i/i//i/i/i/i/i/i//i/i/i/i/i/ */
  /* helper class */
  .close-button-Lbox, .close-button-Sbox {
    position: fixed;
    display: block;
    line-height: 1rem;
    font-size: 2rem;
    text-decoration: none;
    cursor: pointer;
    z-index: 999;
  }

  .close-button-Lbox{
    top: unset;
    right: unset;
    left: calc(100vw + 1px - 4.4rem - 1.6rem);
    bottom: calc(85vh - 2px - 2.4rem - 1.6rem);
    padding: 0rem;
    border: 1.6rem solid transparent;
  }
  .close-button-Sbox{
    top: unset;
    right: unset;
    left: calc(40vw - 1.6rem * 2 - 3px - 2.4rem - 1.6rem);
    bottom: calc(85vh - 2px - 2.4rem - 1.6rem);
    padding: 0rem;
    border: 1.6rem solid transparent;
  }


  .mobile{ display: none; }
  .desktop{ display: block; }
  .footnote{
    font-size: 0.5rem;
    vertical-align: super;
  }

}

/* Medium devices (landscape tablets, 1025px and up) */
@media only screen and (min-width: 1025px) {
  /* ------------------------------------------------------- */
  /* GENERAL STYLING */
  li{ display: inline-block; padding: 1rem 1.6rem 1rem 1.6rem; }

  /* ------------------------------------------------------- */
  /* MAIN ELEMENTS STYLING */
  /* nav menu bar */
  #menu-bar{
    width: 80%;
    font-size: 1.6rem;
  }
  /* textile buttons menu */
  #textile-list{
    top:1.2rem;
    right:1.2rem;
    z-index: 999;
  }
    .textile-items {
      width: 12rem;
      background-color: transparent;
      border-radius: 1rem;
      cursor: pointer;
    }
    .textile-items p{
      padding: 0.3rem 1rem;
      font-size: 1rem;
    }

  /* ------------------------------------------------------- */
  /* POPUP BOXES STYLING */

  /* *********** L box */
  .popup-wrapper{
    bottom: 5vh;
    right: 1.6rem;
    width: 65vw;
    height: 80vh;
  }
    .popup-wrapper .text-area p{
      padding: 1.6rem 6rem 0rem 6rem;
      font-size: 1.2rem;
    }

    /* *********** S box */
    .popup-child{
      bottom: 5vh;
      left: 1.6rem;
      width: calc(100vw - 1.6rem * 3 - 65vw);
      height: 80vh;
    }
      .popup-child .text-area p{
        padding: 1.6rem 3rem 0rem 3rem;
        font-size: 1rem;
      }

    /* L and S box text area */
    .text-area p:first-child{ padding-top: 4rem; }
    .text-area p:last-child{ padding-bottom: 4rem; }


    /* *********** textile caption box */
    .popup-textile-caps{
      width: 35vw;
      height: auto;
      position: absolute;
      bottom: 5vh;
      right: 1.2rem;
      border-radius: 1.2rem;
    }
    .text-area-caps p{
      padding: 0.5rem 2rem;
      font-size: 1rem;
    }
    .text-area-caps .caps-title{
      padding-top: 1.5rem;
      font-size: 1.5rem;
      /* text-decoration: underline; */
    }
    .text-area-caps .caps-body-txt{
      padding-bottom: 1.5rem;
    }


  /* ------------------------------------------------------- */
  /* IG BOX STYLING */
  #ig-popup{ padding:0 1.6rem; }
    .img-item{ margin-bottom: 1.6rem; }
    .img-item:first-child{ margin-top: 6rem; }
    .img-item:last-child{ margin-bottom: 5vh; }

  /* ------------------------------------------------------- */
  /* VIDEO PRESENTATION STYLING */
  #video-popup{
    bottom: 10vh;
    right: calc(1.6rem + 2.5vw);
    width: 60vw;
    height: 70vh;
  }

  #video-popup .video-intro{
    font-size: 1.6rem;
  }
  .video-intro p:last-child{ padding-top: 1rem; font-size: 1rem; }


  /* ------------------------------------------------------- */
  /* TOOLTIP STYLING */
  .tooltip {
    border-bottom: 2px dotted #75a3ff;
    line-height: 1rem;
  }
  .tooltip .tooltiptext {
    padding: 1.4rem 1.2rem;
  }
  .tooltip .tooltiptext p{
    font-size: 1rem;
    padding: 0;
  }
  .tooltip .tooltiptext p:not(:last-child){
    margin-bottom: 1rem;
  }
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

  /* /i/i/i/i/i/i/i/i/i//i/i/i/i/i/i//i/i/i/i/i/ */
  /* helper class */
  .close-button-Lbox, .close-button-Sbox {
    position: fixed;
    display: block;
    line-height: 1rem;
    font-size: 2rem;
    text-decoration: none;
    cursor: pointer;
    z-index: 999;
  }

  .close-button-Lbox{
    top: unset;
    right: unset;
    left: calc(100vw + 1px - 4.4rem - 1.6rem);
    bottom: calc(85vh - 2px - 2.4rem - 1.6rem);
    padding: 0rem;
    border: 1.6rem solid transparent;
  }
  .close-button-Sbox{
    top: unset;
    right: unset;
    left: calc(35vw - 1.6rem * 2 - 3px - 2.4rem - 1.6rem);
    bottom: calc(85vh - 2px - 2.4rem - 1.6rem);
    padding: 0rem;
    border: 1.6rem solid transparent;
  }


  .mobile{ display: none; }
  .desktop{ display: block; }
  .footnote{
    font-size: 0.6rem;
    vertical-align: super;
  }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 1442px) {
  /* ------------------------------------------------------- */
  /* GENERAL STYLING */
  html,body{
    margin:0;
    padding:0;
    font-family: "Favorit Inter", sans-serif;
    background-color: #75a3ff;
  }

  ul{
    margin: 0;
    padding:0;

    text-decoration: none;
    list-style-type: none;

    display: flex;
    justify-content: flex-start;
  }

  li{ display: inline-block; padding: 1rem 2rem; }
  p{ margin:0; padding:0; }
  a{ text-decoration: none; color: white; }


  /* ------------------------------------------------------- */
  /* MAIN ELEMENTS STYLING */
  #main-container{
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: hidden;

    pointer-events: none;

    font-family: "Favorit Inter", sans-serif;
    font-size: 1.5rem;
  }

  /* nav menu bar */
  #menu-bar{
    width: 80%;
    font-size: 2rem;
    color: white;
    z-index: 1;
  }

    .nav-list{ z-index: 10; pointer-events: visible; }
    .nav-list li{ z-index: 10; pointer-events: visible; cursor: pointer; }

  /* textile buttons menu */
  #textile-list{
    position: absolute;
    top:2rem;
    right:2rem;
  }
    .textile-items:not(:first-child){ margin: 0.5rem 0; }
    .textile-items{
      width: 12rem;
      background-color: transparent;

      border-radius: 1rem;
      cursor: pointer;
    }
    .textile-items p{
      padding: 0.5rem 2rem;
      font-size: 1.2rem;

      text-align: center;
    }


  /* ------------------------------------------------------- */
  /* POPUP BOXES STYLING */

  /* *********** L box */
  .popup-wrapper{
    display: none;
    position: absolute;
    bottom: 10vh;
    right: 2rem;
    width: 65vw;
    height: 80vh;
    border-radius: 2rem;
    background-color: rgb(238, 229, 228);
    overflow-y: scroll;
  }
    .popup-wrapper .text-area p{
      padding: 2rem 10rem 0rem 10rem;
      font-size: 1.8rem;
    }

  /* *********** S box */
  .popup-child{
    display: none;
    position: absolute;
    bottom: 10vh;
    left: 2rem;
    width: calc(100vw - 2rem * 3 - 65vw);
    height: 80vh;
    border-radius: 2rem;
    background-color: rgb(238, 229, 228, 1);
    overflow-y: scroll;
  }
    .popup-child .text-area p{
      padding: 2rem 5rem 0rem 5rem;
      font-size: 1.2rem;
    }

  /* L and S box text area */
  .text-area p:first-child{ padding-top: 4rem; }
  .text-area p:last-child{ padding-bottom: 4rem; }


  /* *********** textile caption box *********** */
  .popup-textile-caps{
    position: absolute;
    bottom: 10vh;
    right: 2rem;
    width: 20vw;
    height: auto;
    background-color: rgb(238, 229, 228);
    border-radius: 1.2rem;
    overflow-y: scroll;
    display: none;
  }
  .text-area-caps p{
    padding: 0.5rem 2rem;
    font-size: 1rem;
  }
  .text-area-caps .caps-title{
    padding-top: 1.5rem;
    font-size: 1.5rem;
    /* text-decoration: underline; */
  }
  .text-area-caps .caps-body-txt{
    padding-bottom: 1.5rem;
  }

  /* ------------------------------------------------------- */
  /* IG BOX STYLING */
  #ig-popup{
    position: fixed;
    bottom:0;
    left:0rem;
    height:100vh;
    width: auto;
    padding:0 2rem;
    z-index: 99;

    overflow-y: scroll;
    pointer-events: visible;

    display: flex;
    flex-direction: column;
    display: none;
  }
    .img-item{
      width: 24vw;
      height: auto;
      margin-bottom: 2rem;
      pointer-events: visible;


      align-self: center;
    }
    .img-item:first-child{
      margin-top: 6rem;
    }
    .img-item:last-child{
      margin-bottom: 8rem;
    }

    .img-item img{
      pointer-events: visible;

      width: 100%;
      box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    }

  /* ------------------------------------------------------- */
  /* VIDEO PRESENTATION STYLING */
  #video-popup{
    position: absolute;
    bottom: 13vh;
    right: calc(2rem + 3vw);
    width: 60vw;
    height: 74vh;
    /* transform: scale(0.9); */

    border-radius: 2rem;
    box-shadow: 0px 0px 2em 2em white;
    background-color: rgb(238, 229, 228);
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    pointer-events: auto;
    display: none;

  }
  .video-wrapper{
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
  }
  #video-popup iframe{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  #video-popup .video-intro{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    font-size: 2rem;
    color:black;
    text-align: center;

    display: flex;
    justify-content: center;
    align-items: center;
  }
  .video-intro span{ font-size: 1.2rem; }



  /* ------------------------------------------------------- */
  /* TOOLTIP STYLING */
  .tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 3px dotted #75a3ff;
    line-height: 1.5rem;
  }

  .tooltip .tooltiptext {
    visibility: hidden;
    opacity: 0;
    width: 20rem;
    background-color: white;
    border-radius: 1.2rem;
    padding: 1.2rem 1.5rem;
    transition: 0.3s;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    margin-top: 0.5rem;
    margin-left: -11rem;
  }

  .tooltip .tooltiptext p{
    color: #000;
    font-size: 1.2rem;
    text-align: left;
    padding: 0;
  }
  .tooltip .tooltiptext p:not(:last-child){
    margin-bottom: 1rem;
  }

  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }


  /* /i/i/i/i/i/i/i/i/i//i/i/i/i/i/i//i/i/i/i/i/ */
  /* helper class */
  .box-styling{
    word-wrap: break-word;
    pointer-events: visible;
    border: 1px solid white;
    color: white;
  }
  .popup-styling{
    word-wrap: break-word;
    pointer-events: visible;
    border: 1px solid black;
  }
  /* Hide scrollbar for Chrome, Safari and Opera */
  #ig-popup::-webkit-scrollbar, .popup-wrapper::-webkit-scrollbar, .popup-child::-webkit-scrollbar, .popup-textile-caps::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for IE, Edge and Firefox */
  #ig-popup, .popup-wrapper, .popup-textile-caps, .popup-child {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

  .italics{
    font-family: "Favorit Italic";
  }


  .close-button-Lbox, .close-button-Sbox {
    position: fixed;
    display: block;
    line-height: 1rem;
    font-size: 2rem;
    text-decoration: none;
    cursor: pointer;
    z-index: 999;
  }

  .close-button-Lbox{
    top: unset;
    right: unset;
    left: calc(100vw - 2rem - 5px - 4.4rem);
    bottom: calc(90vh - 3px - 4.4rem);
    padding: 0rem;
    border: 1.8rem solid transparent;
  }
  .close-button-Sbox{
    top: unset;
    right: unset;
    left: calc(35vw - 4rem - 4.4rem - 4px);
    bottom: calc(90vh - 4.4rem - 3px);
    padding: 0rem;
    border: 1.8rem solid transparent;
  }


  .mobile{ display: none; }
  .desktop{ display: block; }

  .footnote{
    font-size: 1rem;
    vertical-align: super;
  }


}

/* Extra large devices (large laptops and desktops, 1200px and up) */
/* @media only screen and (min-width: 1200px) {

} */
