/*
Theme Name: Get Better Soap Co
Author: Kerri Dawe
Author URI: www.kerridawe.com
*/

@font-face {
  font-family: 'Capuche';
  src: url('fonts/capuche-webfont.woff2') format('woff2'),
     url('fonts/capuche-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham-medium-webfont.woff2') format('woff2'),
     url('fonts/gotham-medium-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/*
@font-face {
  font-family: 'Gotham Black';
  src: url('fonts/gotham-black-webfont.woff2') format('woff2'),
     url('fonts/gotham-black-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
*/


:root{
  --bs-body-font-family: 'Gotham', serif;
}

h1, h2, h3, h4, h5, h6{
  font-family: 'Capuche', sans-serif;
  line-height: 1;  
}

hr{margin:30px 0;}


/* NAV */
.nav-container{height: 99px;  }
.nav-main{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  transition: all 0.5s Ease;
  background-color: #00535d;
}
.nav-toggle{display: none;}

.logo{
  padding: 10px 0;
}

.nav-main ul{
  display: flex;
  height: 100%;
  align-items: center;
  margin: auto 10px auto auto;
  
}
.nav-main ul li{
  display: flex;
  position: relative;
  height: 100%;
  align-items: center;
}
.nav-main ul li a{
  display: flex;
  height: 100%;
  align-items: center;
  font-weight: 700;
  text-transform: uppercase;
  font-weight: 700;
  color:#f4ed16;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 20px;
}
.nav-main ul li a:hover, .nav-main ul li.current-menu-item a, body.single-product .nav-main ul li.menu-item-33 a, body.page-id-6 .nav-main ul li.menu-item-cart a{
  background: #002b30;
}

/* HOME PAGE */
.home .section{
  font-size: 1.2rem;
  padding: 120px 0;
}
.home .section h1{font-size: 3.5rem;}
.home .section h1 strong{color:#f4ed16;}
.home .section p{margin: 30px 0;}

/* BANNER */
#banner{
  padding: 0;
  background-color: #00abc8;
  background-image: url("images/bg-bubbles-left.png"), url("images/bg-bubbles-right.png");
  background-position: 0% 70%, 100% 70%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
}
.admin-bar #banner{margin-top: 67px;}

#banner h1{margin-top: 20px;}


.banner-container{
  height: calc( 80vh + 98px );
}

.point{
  position: relative;
  padding: 15px 30px;
  
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: #00535d;
  text-decoration: none;
  font-size: 1rem;
}
.point::before { 
  content: "";
  position: absolute;
  bottom: -70px;
  left: calc(50% - 30px);
  display: block;
  width: 75px;
  height: 75px;
  background: url("images/point.png") top center no-repeat;
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(-3px); }
	40% {transform: translateY(20px); }
	60% {transform: translateY(10px);} 
}

@keyframes bounce-reverse {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}

#what-we-do{
  background: #fef2e1;
  color: #f15927;  
  box-shadow: inset 0 7px 10px -7px rgba(0,0,0,0.3);
}
#what-we-do h1 strong{color:#df1f2f;}


#soap-dish{
  position: relative;
  min-height: 258px;
}

.soap{
  position: absolute;
  top: 0;
  height: 480px;
}

.soap-1{left: 0%;}
.soap-2{left: 10%;}
.soap-3{left: 30%;}
.soap-4{left: 40%;}
.soap-5{left: 58%;}
.soap-6{right: 12%;}
.soap-7{right: 0%;}


.soap img{  
  position: relative;
  z-index: 100;  
  margin-top: 20px;
}

.soap-2 img{margin-top: 150px;}
.soap-4 img{margin-top: 170px;}
.soap-5 img{margin-top: 180px;}
.soap-7 img{margin-top: 60px;}

.soap-1 img, .soap-3 img, .soap-6 img{animation: float-top 5s ease-in-out infinite;}
.soap-2 img, .soap-5 img{animation: float-mid 4s ease-in-out infinite;}
.soap-4 img, .soap-7 img{animation: float-bottom 4s ease-in-out infinite;}

@keyframes float-top {
	50% {transform: translateY(50px) rotate(5deg);}
}
@keyframes float-mid {
	50% {transform: translateY(60px) rotate(2deg);}
}
@keyframes float-bottom {
	50% {transform: translateY(30px) rotate(-2deg);}
}


.soap::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: -10px;
  width: 120%;
  height: 90px;
  z-index: 50;  
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 90% 70%;
  opacity: 0.5;
}

.soap-1::after{background-image: url("images/shadow-1.png"); bottom:50px; background-size: 80% 70%;}
.soap-2::after{background-image: url("images/shadow-2.png");}
.soap-3::after{background-image: url("images/shadow-3.png"); bottom:50px; background-size: 90% 70%;}
.soap-4::after{background-image: url("images/shadow-4.png");}
.soap-5::after{background-image: url("images/shadow-5.png");}
.soap-6::after{background-image: url("images/shadow-6.png"); bottom:50px; background-size: 90% 70%;}
.soap-7::after{background-image: url("images/shadow-7.png");}


.soap-1::after, .soap-3::after, .soap-6::after{animation: float-top-shadow 5s ease-in-out infinite;}
.soap-2::after, .soap-5::after{animation: float-mid-shadow 4s ease-in-out infinite;}
.soap-4::after, .soap-7::after{animation: float-bottom-shadow 4s ease-in-out infinite;}


@keyframes float-top-shadow {
	50% {background-size: 90% 100%; opacity: 0.8;}
}
@keyframes float-mid-shadow {
	50% {background-size: 90% 100%; opacity: 0.8;}
}
@keyframes float-bottom-shadow {
	50% {background-size: 90% 100%; opacity: 0.8;}
}



#products{
  background: #14b8b1;
  background-image: url("images/bg-bubbles-left.png"), url("images/bg-bubbles-right.png");
  background-position: left center, right center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding: 200px 0;
  
  min-height: 1000px;
  
}
#products h1 strong{color:#f4ed16;}


#about{
  position: relative;
  background: #fffac2;
  color: #4e2d75; 
  padding-top: 160px;
}
#about h1 strong{color:#00abc8;}

#characters{
  position: relative;
  margin-top: -250px;
}

/* ALL PRODUCT LISTINGS */

.woocommerce .products ul, .woocommerce ul.products{
  text-align: center;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family: 'Gotham';
  padding-bottom: 5px;
  font-weight: 700;
  font-size: 1.3rem;
  color: #333;
}
.woocommerce ul.products li.product .price{
  font-size: 1.3rem;
  color: #333;
}

.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button{
  border-radius: 0;
  background: #00535d;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-top: 0;
  padding: 20px 30px;
  text-align: center;
  position: relative;
}
.woocommerce ul.products li.product .button.loading{padding-right: 60px;}
.woocommerce ul.products li.product .button.loading::after{
  font-family: "FontAwesome";
  content: "\f110";
  position: absolute;
  top: initial;
  right: 30px;
  opacity: 1;
}

.woocommerce div.product form.cart .button{
  padding: initial;
  padding-left: 30px;
  padding-right: 30px;
  height: 60px;
  
}
.woocommerce ul.products li.product .added_to_cart{display: none;}

.woocommerce .quantity .qty{
  height: 58px;
}


.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce div.product p.stock{color: initial;}
.woocommerce div.product p.price{font-size: 2rem;}

.product_meta > span{display: block;}

.cart-contents span{display: none;}
.cart-contents:before {
   font-family: 'FontAwesome';
   font-weight: 900;
   content: "\f07a" !important;  
}
.cart-contents-count{margin-left: 5px; font-weight: normal;}


/* HOME PAGE PRODUCT LISTINGS */
.home{
  .woocommerce-ordering, .woocommerce .woocommerce-result-count{display: none;}
  .woocommerce ul.products{margin: 60px 0;}
  
  .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price{color: #fff; font-size: 1.5rem;}
  
  .woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button{font-size: 1.2rem;}
}

/* PAGES */
#main{font-size: 1.1rem;}
#main .content{margin: 180px 0 100px 0; color: #333;}

.content h1.title, .content .product_title {font-size: 4rem; color: #00abc8;}
.content .product_title{margin-bottom: 10px;}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6{
  margin-bottom: 30px;
}

.content a{color:#00535d;}

.wp-block-button a{
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 700;
}

.wp-block-button a{background: #00535d; color: #fff;}
.wp-block-button.is-style-outline a{background:#fff; border-color: #00535d; color:#00535d;}





/* FOOTER */

#footer{
  border-top: 15px solid #05305d;
  background: #fff;
  padding: 35px 0;
}

#footer ul li {
  padding-right: 11px;
  margin-right: 8px;
  border-right: 3px solid #f26222;
  display: inline;
}
#footer ul li.phone, #footer ul li.email, #footer ul li.home{
  border: 0;
  display: inline-block;
}
#footer ul li.phone{clear: both;}
#footer ul li.phone a, #footer ul li.email a{
  color: #f26222;
}
footer ul li a {
  font-size: 18px;
  line-height: 2.2;
  color: #3896b4;
  text-decoration: none
}

#footer .copyright{margin: 0 auto;}
#footer .copyright, #footer .copyright a{
  color: #3295b4;
  text-decoration: none;
}


/* BUTTON */
.btn{
  border-radius: 0;
  border: 0;
}
.btn-primary{
  background: #53ac1e;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus{background: #34780c;}
.btn i{padding-left: 5px; font-size: 1.2em;}
.btn i:before{position: relative; bottom: -2px;}

  
/* MISC */	
.clear{clear:both;}
.cf:before, .cf:after{content: " ";  display: table;}
.cf:after{clear: both;}
.cf{*zoom: 1;}

.alignleft{float:left; margin:0 30px 30px 0;}
.alignright{float:right; margin:0 0 30px 30px;}

.error404 #main .content{
  padding: 60px 0;
  text-align: center;
}
.error404 #main .content h1{font-size: 8em; margin: 0; color: lightgray;}
.error404 #main .content h2{font-size: 3em; margin-top: 0;}
.error404 #main .content img{
  border-radius: 50%;
  max-width: 300px; 
  margin-top: 20px;
  filter: grayscale(100%);
}



/* Large Screen Sizes */
@media (max-width: 1400px){
  
}


@media (max-width: 1260px){
  
}


@media (max-width: 1199px){
  
  
}

/* Medium Screen Sizes */
@media (max-width: 992px){
  
  #menu-main-navigation{
    display: none;
    position: absolute;
    top: 99px;
    width: 100%;
  }
  
  #menu-main-navigation li{padding-top: 0; padding-bottom: 0;}
  
  .nav-container{position: relative;}
  
  .nav-main ul li{
    display: block;
    position: relative;
    width: 100%;
    border-top: 1px solid #eee;
    background: #fff;
    height: auto;
    text-align: right;
  }
  .nav-main ul li:first-child{border:0;}
  .nav-main ul li a{display: block; color:#00535d; border:0; padding: 15px;}
  
  .nav-main ul li a:hover, .nav-main ul li.current-menu-item a, body.single-product .nav-main ul li.menu-item-33 a, body.page-id-6 .nav-main ul li.menu-item-cart a{
    background: #fff;
  }
  
  .cart-contents span{display: inline;}
  
  .nav-toggle{
    display: block;
    position: relative;
    margin: auto 10px auto auto;
  }
  .nav-toggle svg{
    position: absolute;
    top: -15px;
    right: 0;
    width: 30px;
    height: 30px;
    fill: #f4ed16;
    opacity: 1;
    transition: all 0.25s ease;
  }
  .nav-toggle svg.close{opacity: 0;}
  
  
  .nav-toggle.active svg.close{opacity: 1;}
  .nav-toggle.active svg.open{opacity: 0;}
  
  #banner{margin-top: 90px;}
  .banner-container{height: initial; padding: 60px 0 120px 0;}
  
  .soap img{max-width: 175px;}
  #products{padding: 150px 0;}
  
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size: 1.2rem;}
  .woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button{font-size: 1rem;}
  
  .home .woocommerce ul.products {margin: 60px 0 30px 0; }
  
  #about{padding-top: 120px;}
  #characters{margin-top: -200px;}
  #characters img{max-height: 130px;}
    
  #footer{text-align: center;}
  #footer ul{margin: 30px 0;}
  #footer ul li{display: none !important;}
  #footer ul li.phone, #footer ul li.email{
    display: block!important;
    height: 20px;
    padding: 0;
    margin: 0;
  }
  #footer .copyright > div{display: initial !important;}
  #footer .copyright p{display: block; margin-bottom: 0;}
  
  
  
}

/* Small Screen Sizes */
@media (max-width: 768px) {  
  
  .point{
    display: block;
    margin: 0 auto;
    max-width: 400px;
  }
  
  #soap-dish{min-height: 140px;}
  
  .soap{height: 300px;}
  .soap::after{height: 30px;}
  .soap-1::after, .soap-3::after, .soap-6::after{bottom: 20px;}
  
  
  .soap img{max-width: 110px;}
  
  .soap-2 img{margin-top: 100px;}
  .soap-4 img{margin-top: 120px;}
  .soap-5 img{margin-top: 50px;}
  .soap-7 img{margin-top: 40px; max-width: 100px;}
  
  #characters{margin-top: -180px;}
  #characters img{max-height: 100px;}
  
}

/* X-Small Screen Sizes */

@media (max-width: 574px){
  
  .home .section h1{font-size: 3rem;}
  #products{padding: 100px 0;}
  
}

@media (max-width: 420px){
  
  .home .section{padding: 80px 0;}
  
  #soap-dish{min-height: 175px;}
  
  .woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button{font-size: 0.8rem;}
  
  #characters{margin-top: -125px;}
  #characters img{max-height: 75px;}
  
  #about{padding-top: 80px;}
  
}

