@keyframes animatearrow {
  from {
    margin-left: -3px;
  }
  to {
    margin-left: 5px;
  }
}
@keyframes animatearrow2 {
  from {
    margin-right: 6px;
  }
  to {
    margin-right: 0px;
  }
}
/*
$S:     767px;
$M:     768px;
$L:     1170px;
$XL:     1320px;  */
.button {
  padding: 0.8em 1.2em;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  color: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.06);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.button span {
  color: white;
}

/* --------------------------------

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  box-sizing: border-box;
}

body {
  font-family: "Instrument Sans", serif;
  background: #fffdfa;
}

a, a:hover, a:visited, a:focus {
  color: #000;
  text-decoration: none !important;
}

img {
  max-width: 100%;
}

h1, .h1 {
  font-size: 3.2rem;
  text-transform: none;
}

h2, .h2 {
  font-size: 2.8rem;
  text-transform: none;
  padding: 20px 0;
}

h3, .h3 {
  font-size: 2.5rem;
}

h4 {
  font-size: 2.1rem;
}

h5 {
  font-size: 1.8rem;
}

p {
  line-height: 1.3;
  font-size: 1.15rem;
}
p.smaller {
  font-size: 1rem;
}

.bodytextlg {
  font-size: 1.25rem;
}

.serif {
  font-family: "Instrument Serif", sans-serif;
}

a.taly {
  display: inline-block;
  color: black;
  font-size: 20px;
  padding: 8px 0;
  font-weight: 500;
  letter-spacing: -0.2px;
  overflow: visible;
}

a.taly .uiux {
  color: #C1BBAE;
}

.surface {
  background: #F4F0E8;
}

.hello {
  font-size: 42px;
  text-align: left;
  letter-spacing: -0.5px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
}

.hello a {
  font-family: "Instrument Serif", sans-serif;
  font-style: italic;
  position: relative;
}
.hello a::before {
  display: block;
  content: "";
  position: absolute;
  background: #EFBE52;
  width: 100%;
  height: 20px;
  bottom: 4px;
  left: 0;
  z-index: -1;
  opacity: 50%;
  transform: scaleX(0);
  transform-origin: left;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  transition: transform 0.6s ease-out;
}
.hello a:hover::before {
  transform: scaleX(1);
}

.work-item h5 {
  font-size: 0.8rem;
}
.work-item h4 {
  font-size: 1.2rem;
}
.work-item .button-arrow {
  width: 60px;
  margin-right: 6px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.work-item a {
  display: block;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.work-item a:hover .heading {
  background: #F4F0E8;
}
.work-item a:hover .thumbnail {
  background: #E8E2D8;
}
.work-item a:hover .button-arrow {
  animation-duration: 0.4s;
  animation-name: animatearrow2;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in;
}
.work-item .heading {
  background: #FAF7F0;
  margin-bottom: 5px;
  padding: 15px;
  padding-bottom: 30px;
}
.work-item .thumbnail {
  background: #F4F0E8;
}

.work-Mozi span {
  color: #42B9EB;
}

.work-See span {
  color: #E51E22;
}

.work-Stack span {
  color: #01AF63;
}

.descriptor {
  color: #8F8E89;
  text-transform: uppercase;
}

.design-system h3 img {
  width: 50px;
  text-align: center;
  margin-right: 20px;
}

.see-top {
  background: url(../images/casestudies/seetickets/phone.png) center 25px no-repeat #F4F0E8;
  background-size: 250px auto;
}
.see-top img {
  height: 490px;
  max-width: 280px;
  border-radius: 5px 5px 0 0;
}

.keywords {
  font-style: italic;
  font-size: 1.4rem;
  font-family: "Instrument Serif", sans-serif;
}

.br-top {
  border-radius: 10px 10px 0 0;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.no-gutters > .col,
.no-gutters > [class*=col-] {
  padding-right: 0;
  padding-left: 0;
}

.copyright {
  font-size: 0.8rem;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer a {
  background: #E8E2D8;
  border-radius: 30px;
  display: inline-block;
  padding-left: 20px;
  padding-top: 3px;
  line-height: 1;
}
.footer a img {
  margin-top: -2px;
  margin-left: -3px;
}
.footer a:hover img {
  animation-duration: 0.4s;
  animation-name: animatearrow;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in;
}

.mozi-top img {
  margin-left: -100px;
}

@media only screen and (max-width: 1200px) {
  .hello {
    font-size: 42px;
  }
}
@media only screen and (max-width: 992px) {
  .mozi-top img {
    margin-left: -50px;
  }
}
@media only screen and (max-width: 768px) {
  .mozi-top img {
    margin-left: 0;
  }
}
@media only screen and (max-width: 575px) {
  h1 {
    font-size: 2.8rem;
  }
  .hello {
    font-size: 34px !important;
  }
}
