/*
Theme Name: Silkworm
Theme URI: https://morris.glyndwr.io/
Author: Glyndwr Morris
Author URI: https://morris.glyndwr.io/
Description: Silkworm: Custom Apparel Engine for Wordpress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: project-silkworm
*/

/* Color Scheme:
    1: #41463D
    2: #9D8DF1
    3: #B8CDF8
    4: #95F2D9
    5: #1CFEBA
*/
body {
    font-family: "Lato", sans-serif !important;
    overflow-x: hidden;
}

nav.desktop {
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(45,45,45);
    width: 100%;
    min-height:7em;
    z-index: 10;
}

nav.mobile {
    display: none;
}

drawer{
    display: none;
    position:fixed;
    height:100%;
    width:0;
    background: rgba(157,141,241,0.98);
    top:7em;
    z-index: 9;
    transition: .3s;
}

drawer.nav{
    right:0;
    height: 87vh;
}

drawer.filter{
    left:0;
}

.drawer-container{
    display:flex;
    width:100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

main {
    position: absolute;
    top:7em;
    right:0;
    width:100%;
}

video {
    height: 100%;
    width: auto;
    transform: translate(0, 0); /* % of current element */
}

hero {
    height: 45em;
    display:flex;
}

.logo {
    position: absolute;
    top:2.5em;
    left:3em;
    color:white;
}

.nav-items {
    position: absolute;
    top:2.5em;
    right:3em;
}

a.nav-item {
    display: inline;
    margin:0 1em;
    transition: .2s;
    color:white;
}

a.nav-item:hover {
    text-decoration: none;
    color:rgb(157,141,241);
    transform: scaleY(3);
}

.footer-splitter{
    border-color:white;
}

.footer-item {
    transition: .2s;
    color:white;
}

a.footer-item:hover {
    text-decoration: none;
    color:#1CFEBA;
}

footer {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: rgb(45,45,45);
    min-height:10em;
}

.hero-merge{
    width:50vw;
}

.scrolling {
    overflow:hidden;
    background-size: cover;
    animation: hero-scroll 20s infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
}

svg.logo-svg path{
    transition: .3s;
}

svg.logo-svg:hover path{
    fill:rgb(157,141,241) !important;
}

.mobile-only{
    display: none;
}

@keyframes hero-scroll {
    from {
        background-position: 0%;
    }

    to {
        background-position: 100%;
    }
}

@media only screen and (max-width: 1024px){
    .mobile-only{
        display: initial;
    }
    hero{
        display: inline;
    }
    .hero-merge{
        width:100vw;
    }
    .top{
        opacity:0.9;
        position: absolute;
        width: 100%; 
        height:30em;
        z-index:2;
    }
    .bottom{
        position: absolute;
        width: 100%;
        height:30em;
        z-index:1;
    }
    .content{
        margin-top:30em;
    }
}

@media only screen and (max-width: 768px){
    nav.desktop {
        display: none;
    }
    nav.mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        background: rgb(45,45,45);
        width: 100%;
        min-height:7em;
        z-index: 10;
    }
    button.button-outline{
        padding:.7em;
    }
    button.button-outline-inverse{
        padding:.7em;
    }
}
@media only screen and (min-width: 768px){
    button.button-outline{
        padding:.7em 2em;
    }
    button.button-outline-inverse{
        padding:.7em 2em;
    }
}

@media only screen and (min-width: 1500px){
    .portfolio-image {
        width: 33.3333333333%;

    }
}

@media only screen and (max-width: 1500px){
    .portfolio-image {
        width: 50%;

    }
}

@media only screen and (max-width: 1000px){
    .portfolio-image {
        width: 100%;
    }
}

.purple{
    color:#9D8DF1;
}
.green{
    color: #1CFEBA;
}
.light-green{
    color: #95F2D9;
}
.light-purple{
    color: #B8CDF8;
}
.white{
    color:white;
}

button.button-outline{
    background: rgba(45,45,45,1);
    border: solid 4px rgba(45,45,45,1);
    border-radius: .3em;
    margin:2em .5em 0 .5em;
    transition: .3s;
}

button.button-outline:hover{
    background: rgba(45,45,45,0);
    color: rgb(45,45,45);
}

button.button-outline-inverse{
    background: rgba(45,45,45,0);
    border: solid 4px rgba(45,45,45,1);
    border-radius: .3em;
    margin:2em .5em 0 .5em;
    transition: .3s;
}

button.button-outline-inverse:hover{
    background: #9D8DF1;
    color: rgba(45,45,45,1);
}

#filter-options{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

#filter-controls{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

a.plain{
    color:white;
}

a.plain:hover{
    color:white;
}

.vendor-products{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.vendor-product-tile{
    display: flex;
    flex-direction: column;
    align-items: center;
}





/* Customize the label (the container) */
.check-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  .check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    transition: .3s;
  }
  
  /* On mouse-over, add a grey background color */
  .check-container:hover input ~ .checkmark {
    background-color: #95F2D9;;
  }
  
  /* When the checkbox is checked, add a blue background */
  .check-container input:checked ~ .checkmark {
    background-color: #1CFEBA;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .check-container input:checked ~ .checkmark:after {
    display: block;
  }


