/*
Theme Name: The ugly bean
Theme URI: https://cms.koffein.io
Author: Chris Jahn
Author URI: http://chrisjahn.de
Description: Coffee is about pleasure. It’s that moment when your hand is warmed by the mug, you bring it up to your nose, inhale deeply and then take a sip. That sip is the culmination of years of work, three-thousand mile journeys, and passion.
Version: 3.0
License: GNU General Public License
*/

@font-face {
  font-family: 'MaisonNeueBook';
  src: url("dist/fonts/MaisonNeueWEB-Book.woff2") format('woff2'),
       url("dist/fonts/MaisonNeueWEB-Book.woff") format('woff');
}

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

@font-face {
  font-family: 'Calluna';
  src: url("dist/fonts/calluna.woff2") format('woff2')
       url("dist/fonts/calluna.woff") format('woff');
}

body, html {
  margin: 0;
  padding: 0;
  height: 100vh;
}

* {
  box-sizing: border-box;
}

.clearfix:after {
  content: ".";
  clear: both;
  display: block;
  visibility: hidden;
  height: 0px;
}

img {
  display: block;
  max-width: 100%;
  margin: 0.5rem;
  border: 1px solid rgba(0,0,0,0.3);
  float: left;
}

a[href$='pdf'] {
}

.blog-content {
  max-width: 1600px;
  margin: 4rem auto;
  font-family: 'MaisonNeueBook';
  font-size: 16px;
  padding: 0 2rem;
}

h1 {
  font-size: 38px;
  line-height: 1.5;
  padding: 0 1rem;
}

.pagination {
  position: fixed;
  bottom: 30px;
  right: 30px;
}

.pagination a, .goback {
  padding: 0 30px;
  height: 40px;
  border-radius: 20px;
  display: inline-block;
  color: white;
  font-family: 'MaisonNeueBook', Helvetica, Arial, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  line-height: 40px;
  margin: 0 1rem;
  position: relative;
  top: 0;

  background-image: -webkit-linear-gradient(45deg,#5334f5,#9c6fff);
  background-image: -o-linear-gradient(45deg,#5334f5 0,#9c6fff 100%);
  background-image: linear-gradient(45deg,#5334f5,#9c6fff);
  -webkit-box-shadow: 0 10px 20px 0 rgba(0,0,0,.15);
  box-shadow: 0 10px 20px 0 rgba(0,0,0,.15);
  border: none;
  -webkit-transition: .4s cubic-bezier(.2,1,.2,1);
  -o-transition: .4s cubic-bezier(.2,1,.2,1);
  transition: .4s cubic-bezier(.2,1,.2,1);
}

.pagination a:hover, .goback:hover {
  top: -2px;
  box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
}

.pagination a:first-child {

}

.search-wrapper {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #5334f5;
  padding: 0;
  border-radius: 40px;
  height: 40px;
  -webkit-box-shadow: 0 10px 20px 0 rgba(0,0,0,.15);
  box-shadow: 0 10px 20px 0 rgba(0,0,0,.15);
}

@media (max-width: 700px) {
  .pagination {
    left: 10px;
    width: calc(100% - 20px);
  }

  .pagination a {
    display: block;
    float: left;
    margin: 0;
  }

  .pagination a:first-child {
    margin-right: 8px;
  }

  .search-wrapper {
    bottom: 80px;
    width: calc(100% - 20px);
    left: 10px;
  }

  .search-wrapper input {
    width: calc(100% - 96px);
  }
}

.search-wrapper input {
  height: 40px;
  line-height: 40px;
  padding: 8px 20px;
  border-radius: 40px 0 0 40px;
  border: 1px solid white;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
}

.search-wrapper input:focus {
  outline: none;
  border: 1px solid #5334f5;
}

.search-wrapper button {
  appearance: none;
  -webkit-appearance: none;
  background-image: -webkit-linear-gradient(45deg,#5334f5,#9c6fff);
  background-image: -o-linear-gradient(45deg,#5334f5 0,#9c6fff 100%);
  background-image: linear-gradient(45deg,#5334f5,#9c6fff);
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  height: 40px;
  line-height: 40px;
  border-radius: 0 40px 40px 0;
  border: 0;
  margin: 0;
  padding: 0 15px;
}
