
@font-face {
    font-family: 'supply_mono';
    src: url('/fonts/ppsupplymono-regular-webfont.woff2') format('woff2'),
         url('/fonts/ppsupplymono-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'thicc';
    src: url('/fonts/hypochondria-thicc-webfont.woff2') format('woff2'),
         url('/fonts/hypochondria-thicc-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'thicc_condensed';
    src: url('/fonts/hypochondria-thicccondensed-webfont.woff2') format('woff2'),
         url('/fonts/hypochondria-thicccondensed-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'thicc_ultra_condensed';
    src: url('/fonts/hypochondria-thiccultracondensed-webfont.woff2') format('woff2'),
         url('/fonts/hypochondria-thiccultracondensed-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

html, body{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'supply_mono';
    color: #265FCF;
    text-transform: uppercase;
    font-size: 1em;
    overscroll-behavior: none;
}

a:link, a:visited{
    color: inherit;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

h1,h2,h3, h4{
    font-family: 'thicc_condensed';
    font-weight: normal;
    margin: 0;
    padding: 0;
}

.curtain-container.fixed{
    z-index: auto;
    display: block;
    margin: 0px;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    width: 100%;
    height: 500vh;
}

.whole-page.fixed{
    left: 0px;
    top: 0;
    margin: 0px;
    width: 100%;
    height: 500vh;
    position: fixed;
}

header{
    background-color: #265FCF;
    color: #C7E2FB;
    padding: 2vw;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    transition: transform 1s;
}
.topheader{
    width: 100%;
    position: relative;
    margin-bottom: 2vw;
}

.topheader .cart{
    position: absolute;
    top: 0;
    right: 0;
}

header .logo{
    width: 100%;
    height: auto;
    margin-bottom: 3vw;
}
/*
header .bottomheader{
    position: absolute;
    bottom: 2vw;
}*/

header h2, header h3{
    text-align: center;
    font-size: 6.3vw;
}

header h2{
    font-size: 6.6vw;
}

header h3{
    font-family: 'thicc_ultra_condensed';
    margin-bottom: -1vw;
}

header h4{
    font-family: supply_mono;
}


header.min{
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    padding: 1vw 2vw;
    width: 100%;
    height: 6vh;
    align-items: center;
    min-height: 50px;
}

header.min.animate{
    animation-name: slideIn;
  animation-duration: .25s;
  animation-fill-mode: forwards;
}

header.min.animateout{
    animation-name: slideOut;
  animation-duration: .25s;
  animation-fill-mode: forwards;
}

@keyframes slideIn {
    0%   { transform: translate(0, -6vh); }
    100% { transform: translate(0, 0); }
  }

  @keyframes slideOut {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(0, -6vh); }
  }

header.gone{
    transform: translate(0, -6vh);
    /*transition: none;*/
}


header.min h4, header.min h2, header.min h3{
    display: none;
}

header.min .topheader{
    order: 2;
    text-align: right;
    margin: 0;
}

header.min .topheader .cart{
    position: relative;
}

header.min .logo{
    height: 60%;
    width: auto;
    margin: 0;
    order: 1;
}

section.hide{
    display: none;
}

/* Marquee styles */
.marquee {
    --gap: 1rem;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
    background-color: #C7E2FB;
    color: #000454;
    position: relative;
    z-index: 10;
  }

  .marquee.bottom{
    --gap: .5rem;
  }
  
  .marquee__content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
  }


  .marquee ul{
    padding: 0;
    margin: 0.5vw 0;
  }

  .marquee li{
    list-style: none;
  }
  
  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-100% - var(--gap)));
    }
  }
  
  /* Pause animation when reduced-motion is set */
  @media (prefers-reduced-motion: reduce) {
    .marquee__content {
      animation-play-state: paused !important;
    }
  }
  
  /* Enable animation */
  .enable-animation .marquee__content {
    animation: scroll 20s linear infinite;
  }
  
  /* Reverse animation */
  .marquee--reverse .marquee__content {
    animation-direction: reverse;
  }
  
  /* Pause on hover */
  .marquee--hover-pause:hover .marquee__content {
    animation-play-state: paused;
  }
  
  /* Attempt to size parent based on content. Keep in mind that the parent width is equal to both content containers that stretch to fill the parent. */
  .marquee--fit-content {
    max-width: fit-content;
  }
  
  /* A fit-content sizing fix: Absolute position the duplicate container. This will set the size of the parent wrapper to a single child container. Shout out to Olavi's article that had this solution 👏 @link: https://olavihaapala.fi/2021/02/23/modern-marquee.html  */
  .marquee--pos-absolute .marquee__content:last-child {
    position: absolute;
    top: 0;
    left: 0;
  }
  
  /* Enable position absolute animation on the duplicate content (last-child) */
  .enable-animation .marquee--pos-absolute .marquee__content:last-child {
    animation-name: scroll-abs;
  }
  
  @keyframes scroll-abs {
    from {
      transform: translateX(calc(100% + var(--gap)));
    }
    to {
      transform: translateX(0);
    }
  }
.whole-page{
    position: relative;
    z-index: 50;
}

  .behindsplash{
    position: fixed;
    height: 100vh;
    width: 100vw;
    overflow-y: hidden;
    scrollbar-width: none;

  }

  .behindsplash::-webkit-scrollbar{
    background: transparent; /* Chrome/Safari/Webkit */
    width: 0px;
    display: none;
  }

  .behindsplash img{
    height: 100%;
    width: auto;
    position: absolute;
    margin: auto;
    display: block;
    bottom: 0px;
    top: 0px;
    left: 50%;
    transform: translate(-50%, 0);
  }

  
  section.splash{
    
    color: #fff;
  }

  section.splash.withbg{
    background-image: url('../images/photos/4.webp');
    background-size: auto 100vh;
    background-position: bottom;
  }

  @media(min-aspect-ratio: 2932/1956){
    .behindsplash{
        background-position: bottom;
    }

    .behindsplash img{
        height: auto;
        width: 100%;
    }

    section.splash.withbg{
        background-size: 100% auto;
    }
  }

  .splash h1{
    font-size: 5vw;
    line-height: 4.5vw;
  }

  .splash h1:first-of-type{
    margin-bottom: 2vw;
    margin-top: 1vw;
  }

  .splashcontent{
    max-width: 60%;
    padding: 80vh 0 4vw 2vw;
  }

  section.point, section.video{
    padding: 4vw 2vw;
  }

  section.point{
    
    display: flex;
  }

  section.point h2{
    font-size: 4.5vw;
    line-height: 4vw;
    width: 50%;
  }

  section.point .bodycontent{
    width: 50%;
  }

 section.blue{
    background-color: #265FCF;
    color: #C7E2FB;
    
 }
 section.fidelity h2{
    order: 2;
 }

 section.fidelity .bodycontent, section.buy .bodycontent{
    padding-right: 6vw;
 }

 button{
    background: none;
    outline: none;
    font-family: inherit;
    border: 1px solid #C7E2FB;
    color: inherit;
    padding: .5vw;
    width: 75%;
    border-radius: 100px;
    text-transform: inherit;
    margin-top: 2vw;
    cursor: pointer;
    pointer-events: none;
    opacity: .4;
 }

 button:hover{
    background-color: #C7E2FB;
    color: #265FCF;
 }

 .videocontainer{
    width: 100%;
    position: relative;
 }

 section.video video{
    width: 100%;
    aspect-ratio: 16/9;
    padding-top: 0;
    display: block;
 }

 section.video .playbuttoncontainer{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
 }

 #ytplayer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
 }

 .playbutton{
    background-color: #C7E2FB;
    color:#000454;
    border-radius: 500px;
    width: 8vw;
    height: 8vw;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
 }

 .playbutton:hover{
    background-color: #265FCF;
    color:#C7E2FB;
 }

 section.white{
    background-color: #fff;
    color: #265FCF
 }

 section.ducts .bodycontent{
    padding-left: 6vw;
 }

 .white button{
    border-color: #265FCF;
 }

 .white button:hover{
    background-color: #265FCF;
    color: #C7E2FB;
 }

 section.gallery{
    padding: 12vw 0;
 }
 .carousel{
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; 
    -ms-overflow-style: none;
    display: flex;
    height: 40vh;
    overflow-y: hidden;
 }

 .carousel::-webkit-scrollbar{
    display: none;
 }

 .carousel-items{
    display: flex;
    height: 100%;
    padding-right: 100vw;
 }

 .carousel-image{
    padding: 0 2vw;
 }

 .carousel-image img{
    height: 40vh;
    width: auto;
 }

 .carousel-controls{
    padding: 0 0 0 2vw;
 }

 .carousel-controls button{
    width: auto;
    padding:  .5vw 2vw;
    margin-right: 1vw;
 }

 section.point.album{
    display: block;
 }

 .cta{
    width: 100%;
    padding-bottom: 2vw;
 }

 .cta img{
    height: 1.25em;
    width: auto;
 }

 section.point.album h2{
    width: 100%;
    font-family: 'thicc';
    font-size: 6.7vw;
    line-height: 6.2vw;
 }

 .slideshow{
    width: 100%;
    height: 50vw;
    display: flex;
    position: relative;
    padding: 2vw 0;
 }

.slideshow-image{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
 }

.slideshow-image.show{
    display: block;
}

.slideshow-btn{
    position: absolute;
    width: 4vw;
    height: 4vw;
    background-image: url(../images/arrow_btn_states.svg);
    background-size: 200%;
    top: 50%;
    right: 5vw;
    margin-top: -2vw;
    cursor: pointer;
}

.slideshow-btn:hover{
    background-position: 100%;
}

.slideshow-btn.left{
    left: 5vw;
    transform: scaleX(-1);
}

.slideshow-btn.hide{
    display: none;
}

section.buy{
    padding-top: 0;
    padding-bottom:20vw;
}

.buy .button-container{
    width: 50%;
}

.buy button{
    width: 100%;
    font-size: 2vw;
    padding: 1.5vw 0;
}

.darkblue{
    background-color:#000454;
    color: #fff;
}

.lookbook{
    position: relative;
}

.lookbook .photos{
    width: 100%
}

.lookbook .info{
    width: 25vw;
    height: 100%;
    position: absolute;
    top: 2vw;
    right: 2vw;
}

.lookbook h2{
    font-size: 1.8vw;
}

.lookbook .info-content{
    position: sticky;
    top: 10vh;
    left: 0;
    padding: 2vw;
    background-color: #fff;
    margin-bottom: 10vh;
}

.lookbook .info button{
    width: 100%;
}

.lookbook .lookbook-image{
    width: 100%;
    padding-bottom: 70%;
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid;
}



footer{
    padding: 6vw 2vw 0;
}

.footer-content{
    position: relative;;
}

.footer-left{
    width: 40%;
}

.footer-right{
    width: 50%;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: end;
    height: 100%;
}

.footer-right img{
    width: 100%;
    height: auto;
}

footer button{
    width: 100%;
    padding: 1.5vw 0;
}

.footerlogo{
    width: 100%;
    height: 7.5vw;
    background-image: url(../images/crynyl-logo-white.svg);
    background-size: cover;
    background-position: top center;
    margin-top: 4vw;
}

footer a:link{
    text-decoration: underline;
}

footer .termslinks{
    opacity: .5;
    font-size: .75em;
}

video[poster]{object-fit:cover}

.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    z-index: 99999;
    box-sizing: border-box;
    display: none;
}

.modal .playercontainer{
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.modal video{
    width: 100%;
    height: 100%;
}

.closebutton{
    background-color: #000454;
    color:#C7E2FB;
    border-radius: 500px;
    font-size: 20px;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.closebutton:hover{
    background-color: #C7E2FB;
    color:#000454;
}

@media(max-aspect-ratio: 1/1){
    .modal .playercontainer{
        aspect-ratio: 9/16;
        height: auto;
        width: 100%;
    }
}

.brainouter{
    width: 10vw;
    height: 10vh;
    /* background-color: #FF4A00; */
    /*padding: 0.5vw;*/
    position: fixed;
    bottom: 0px;
    right: 2vw;
    z-index: 999;
    transform-origin: bottom right;
    
}

.braincontainer .box {
    position: relative;
    /*background-color: #fff;*/
    width: 100%;
    height: 100%;
    margin: 0;
    top: 0;
}
.braincontainer {
    width: 100%;
    height: 100%;
    background-color: #FF4A00;
    padding: 0.3vw;
    position: absolute;
    /* bottom: 0px; */
    /* right: 2vw; */
    z-index: 999;
    transform-origin: bottom right;
    transition: transform .25s;
    top: 0;
    left: 0;
    /* box-sizing: border-box;*/
    transition: transform .25s;
    box-sizing: border-box;
    cursor: pointer;

}

.brainhit{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    transform: translateY(-100%);
}
.brain {
    position: absolute;
    right: 5%;
    top: 6%;
    width: 90%;
    height: 88%;
    background-image: url(/images/brain-white.svg);
    background-size: contain;
    background-position: top right;
    background-repeat: no-repeat;
}

@media (min-aspect-ratio: 1/1) { /* wider than square */
  .brain {
      right: 0.6vh;
  }

}

@media (max-aspect-ratio: 1/1) { /* wider than square */
  .brain {
      top: 0.6vh;
  }

}
/*
.brain{
    font-family: supply_mono;
    font-size: 35px;
    width: 55px;
    height: 135px;
    color: #fff;
    background-color: #FF4A00;
    padding: 8px 4px 28px;
    position: fixed;
    bottom: 0px;
    right: 30px;
    z-index: 999;   
    display: flex;
    justify-content: center;
    transition: transform .25s;
    cursor: pointer;
}

.braintext{
    width: 42px;
    word-wrap: break-word;
    line-height: 35px;
    text-align: right;
}
*/
.braincontainer.hidden{
    transform: translateY(93%);
}

.braincontainer.allhidden{
    transform: translateY(100%);
}

@media only screen and (max-width: 500px)  {
    
    header h2{
        font-size: 6.2vw;
    }
    header h3{
        font-size: 6vw;
    }
    header h4{
        display: none;
    }

    .topheader{
        display: none;
    }

    header.min .topheader{
        display: block;
    }

    header{
        padding: 5vw;
    }

    header .logo{
        margin-bottom: 4vw;
    }

    header.min{
        display: flex;
        align-items: center;
        padding: 4vw 2vw;
    }

    header.min .logo{
        height: 4vw;
    }

    header.min .topheader{
        width: 56%;
    }

    .splashcontent{
        max-width: 100%;
    }

    .splash h1 {
        font-size: 7.5vw;
        line-height: 6.5vw;
    }
    .splash h1:first-of-type {
        margin-bottom: 5vw
    }

    section.point{
        display: block;
    }

    section.point, section.video {
        padding: 20vw 2vw;
    }

    section.point h2, .lookbook h2 {
        font-size: 7.5vw;
        line-height: 6.5vw;
        width: 100%;
    }

    section.point .bodycontent {
        width: 100%;
    }

    button{
        width: 100%;
        padding: 5vw;
    }

    section.video{
        padding: 0;
        
    }

    section.video video{
        aspect-ratio: auto;
        height: 65vh;
    }

    .playbutton{
        width: 30vw;
        height: 30vw;
    }

    section.ducts .bodycontent {
        padding-left: 0;
    }

    section.fidelity .bodycontent, section.buy .bodycontent {
        padding-right: 0;
    }

    .carousel-controls button {
        padding: 3.5vw 7vw;
    }

    .cta img {
        height: 0.75em;
    }

    section.point.album{
        padding-bottom: 2vw;
    }

    .slideshow-btn {
        width: 12vw;
        height: 12vw;
        margin-top: -6vw;
    }

    section.point.buy{
        padding-top: 0vw;
    }

    .buy .button-container {
        width: 100%;
    }

    .buy button{
        font-size: inherit;
        padding: 5vw;
    }

    .lookbook .info{
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        padding: 20vw 2vw;
        box-sizing: border-box;
    }

    .lookbook .info-content{
        position: initial;
        padding: 0;
        margin-bottom: 0;
    }

    .lookbook .lookbook-image{
        height: 80%;
    }

    footer {
        padding: 20vw 2vw 0;
    }

    .footer-left {
        width: 100%;
        padding-right: 0;
    }

    .footer-right {
        position: inherit;
        width: 100%;
        padding: 10vw 0 0;
    }

    footer button {
        padding: 5vw;
    }

}
