#title img {
    position:absolute;
    left:0;
    right:0;
    top:20%;
    margin: 0 auto;
    width:90vw;
    height:90vw;
    max-width:500px;
    max-height:500px;
    object-fit: cover;
    border-radius: 50%;
}

.intro {
    text-align: center;
    color:#fff;
    margin:50px auto;
    width:100%;
    max-width:600px;
    padding:20px;
    background-color:rgba(56,57,56,.75);
}

.intro h3 {
    margin-top:1em;
    font-weight: 300;
}

h2 {
    margin-top:10px;
}

h1, h3 {
    text-align: center;
}

h1 {
        font-weight: 500;
    font-size:2em;
}

a h2 {
    background-color:#383938;
    padding:20px;
    width:50%;
    margin: 30px auto;
    color:#fff;
    text-decoration:none;
}

a h2:hover {
    background-color:#f05e50;
}

a {text-decoration: none;}

p {
    font-size:1.2em;
    font-weight: 300;
    line-height: 2em;
}

.about {
    width:100%;
    max-width:1000px;
    margin:0 auto;
    margin-bottom:100px;
    padding:20px 15px; 
    background-color:#fff;
    color:#383938;
}

.about h3 {
    font-weight: 500;
    font-size:2em;
    border-bottom: 2px solid black;
    margin-bottom:1em;
    margin-top:2em;
}

.about h3:first-of-type {
    margin-top:0px;
}

.about p {
    margin-top:1em;
}

main img {
    max-width: 900px;
    margin-bottom:50px;
}

.auto-grid {
    background-color:#ffffff;
/*    padding: 50px;*/
    --auto-grid-min-size: 20rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
    grid-gap:10px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.auto-grid img {
    max-width: 100vw;
    max-height:90vh;
/*    height: 40vh;*/
    object-fit: fill;
    overflow: hidden;
    margin:0 auto;
}

.flex img {
    width:80%;
    margin:80px auto;
}

div:nth-child(2) {
/*    margin-bottom:50px;*/
}

/*
    div:nth-child(3) a {
        text-decoration: none;
        color:#383938;
        display: block;
        padding:20px;
        width:90%;
        max-width:400px;
        margin: 0 auto;
        background-color:#fff;
        margin-bottom:10vh;
        border: solid;
        border-color:#383938;
        padding-top:15px;
    }
*/

/*
    div:nth-child(3) a:hover {
        background-color:#383938;
        color:#fff;
    }
*/


iframe {
    visibility:hidden;
    opacity:0;
    display:none;
    overflow:none;
    width:0;
    height:0;
}

video {
    width: 100%;
    object-fit: contain;
}


.lashlogo {
    background-color:rgba(255,255,255,0.6);
}





/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
    background-color:none;
}

.mySlides img{
    height:90vh;
    object-fit: contain;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color:  #fff;
    background-color:#f05e50;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right:0;
}

.prev {
left:0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color:#383938;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #383938;
  font-size: 20px;
/*    padding:.5em;*/
  margin-top:2em;
  position: absolute;
  top: 0;
    right:45%;
    font-weight: 300;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


#title .lashlogo {
    border-radius: 0%;
    background:none;
}


.lashlogospread {
    width:100%;
    display:flex;
    flex-wrap: wrap
}

.lashlogospread img {
    width:30%;
}





:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

.page-content {
  display: grid;
  grid-gap: 1rem;
  padding: 1rem;
  max-width: 1300px;
  margin: 0 auto;
    margin-bottom:0;
}
@media (min-width: 600px) {
  .page-content {
    grid-template-columns: repeat(2, 1fr);
  }
    .card:last-of-type {
       grid-column: 1 / -1;

    }
}
@media (min-width: 950px) {
  .page-content {
    grid-template-columns: repeat(3, 1fr);
  }
    .card:last-of-type {
        grid-column: 1 / 4;
    }
}

.card {
    margin-bottom:0;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  background-color: whitesmoke;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1), 0 16px 16px rgba(0, 0, 0, 0.1);
}

@media (min-width: 600px) {
  .card {
    max-height: 350px;
  }
}
.card:before {
    background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.368) 70%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.79) 100%);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
background-position:center;
 transition: transform calc(var(--d) * 1.5) var(--e);
/*  pointer-events: none;*/
}

.card:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.368) 50%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.79) 100%);
  transform: translateY(-50%);
  transition: transform calc(var(--d) * 2) var(--e);
}
.card:nth-child(1):before {
  background-image: url("images/foliage/foliagescene.gif");
}
.card:nth-child(2):before {
  background-image: url("https://marycina.com/images/cascade/cover.jpg");
}
.card:nth-child(3):before {
  background-image: url("images/highsupply/edibles.gif");
}

.card:nth-child(4):before {
  background-image: url(https://marycina.com/images/ktizo/website-one.jpg);
}

.card:nth-child(5):before {
    background-image: url(images/fiveiron/logo.gif);
    background-size: contain;
    background-repeat:no-repeat;
    background-color:#000;
}

.card:nth-child(6):before {
    background-image: url(images/lashlab/instastories.jpg);
}

.card:nth-child(7):before {
    background-image: url(images/mediaspace/mediaspace-dark.png);
    background-color:#ffffff;
/*    color:#ffffff;*/
/*    background-size: 90%;*/
    background-repeat: no-repeat;
    grid-column: 1 / 3;
}

.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
/*   padding: 1rem; */
  transition: transform var(--d) var(--e);
  z-index: 1;
}
.content > * + * {
  margin-top: 1rem;
  
}

.title {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.2;
}

.copy {
  font-size: 1.125rem;
  line-height: 1.35;
}

.btn {
  cursor: pointer;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  color: white;
  background-color: black;
  border: none;
}
.btn:hover {
  background-color: white;
  color:black;
}










@media (hover: hover)  {
    
    .auto-grid img {
    max-width: 100vw;
    max-height:60vh;
    }
    
  .card:after {
    transform: translateY(0);
  }

  .content {
    transform: translateY(calc(100% - 4.5rem));
  }
  .content > *:not(.title) {
    opacity: 0;
    transform: translateY(1rem);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
  }

  .card:hover,
.card:focus-within {
    align-items: center;
  }
  .card:hover:before,
.card:focus-within:before {
    transform: translateY(-4%);
  }
  .card:hover:after,
.card:focus-within:after {
    transform: translateY(-50%);
  }
  .card:hover .content,
.card:focus-within .content {
    transform: translateY(0);
  }
  .card:hover .content > *:not(.title),
.card:focus-within .content > *:not(.title) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--d) / 8);
  }

  .card:focus-within:before, .card:focus-within:after,
.card:focus-within .content,
.card:focus-within .content > *:not(.title) {
    transition-duration: 0s;
  }
}




@media screen and (min-width:768px){
    
    .about {
        padding:70px 80px;
    }
    
    .flex {
        display:flex;
        width: 100%;
    }
    
    .flex img {
        width:30%;
        object-fit: contain;
    }
    
    .about {
        margin-bottom:175px;
    }
    
    div:nth-child(2) {
/*    margin-bottom:150px;*/
}
    .card:nth-child(2) {
        margin-bottom:0;
    }
    
    div:nth-child(3) a {
        text-decoration: none;
        display:contents;
        background-color:none;
    }
    
    div:nth-child(3) a:hover {
        color:#383938;
        cursor:auto;
    }
    
    .next {
        right: -45px;
    }

    .prev {
        left:-45px;
    }
    
    .numbertext {
  color: #383938;
  font-size: 20px;
    padding:.5em;
  margin-top:2em;
  position: absolute;
  bottom: 45%;
    right:1em;
    font-weight: 300;
}

    
    iframe {
        visibility:visible;
        opacity:1;
        width: 100%;
        max-width: 1100px;
        display:block;
        margin: 0 auto;
        margin-bottom: 50px;
        border: none;
        height:calc(100vh - 10vh);
    } 

    
}