/*============================================================== */
/*============================================================== */
/*     R E S E T     */
/*============================================================== */
/*============================================================== */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
figure,
figcaption,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

html,
body {
  height: 100%;
}

::selection {
  background-color: #d0d0d0;
}

abbr[title] {
  border-bottom: 1px dotted #999 !important;
  cursor: help;
}

*:focus {
  outline: 0;
}

ul {
  list-style-type: none;
}

/* Apply a natural box layout model to all elements */
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/*============================================================== */
/*============================================================== */
/*     F O N T S     */
/*============================================================== */
/*============================================================== */

@font-face {
  font-display: swap;
  font-family: "TheSansMonoWebVar";
  font-stretch: 80% 100%;
  font-weight: 200 900;
  src: url("./webfonts/TheSansMonoV.woff2") format("woff2-variations"),
    url("./webfonts/TheSansMonoV.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "TheSansMonoWebVar";
  font-stretch: 80% 100%;
  font-style: italic;
  font-weight: 200 900;
  src: url("./webfonts/TheSansMonoV-Italic.woff2") format("woff2-variations"),
    url("./webfonts/TheSansMonoV-Italic.woff2") format("woff2");
}

/*============================================================== */
/*     T Y P E     */
/*============================================================== */
html {
  font-size: 16px;
}

/* 16px @ 320px increasing to 18px @ 1920px */
@media (min-width: 320px) {
  :root {
    font-size: calc(1rem + ((1vw - 3.2px) * 0.125));
    /* Note: The calc base value (1rem) MUST be stated in REM to maintain accessibility */
    /* Where: 0.125 = 100 * font-size_difference / viewport_width_difference */

    /* Safari resize fix */
    min-height: 0vw;
    -webkit-text-size-adjust: none;
  }
}
/* Prevent scaling beyond this breakpoint */
@media (min-width: 1920px) {
  :root {
    font-size: 18px;
  }
}

body {
  font-family: "TheSansMonoWebVar", "Consolas", "Menlo", monospace;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

h1 {
  font-size: 2.5rem;
  font-variation-settings: "wght" 600;
  padding: 5rem 0 8rem 0; 
  line-height: 1;
}

h2 {
  font-size: 1.75rem;
  font-variation-settings: "wght" 600;
  padding: 2.25rem 0;
  line-height: 1.5;
}

h3 {
  font-size: 1.5rem;
  font-variation-settings: "wght" 600;
  padding: 2rem 0;
  line-height: 1.5;
}

.impressum h3 {
  padding: 1rem 0;
  font-size: 1.25rem;
}

h4 {
  font-size: 1.25rem;
  font-variation-settings: "wght" 600;
  padding: 2rem 0;
  line-height: 1.5;
}

figcaption {
  /* font-style: italic; */
  padding-bottom: 2rem;
  font-size: 0.7rem;
  padding-left: 1rem;
  max-width: 400px;
}

.article-footer {
  font-style: italic;
}

.italic {
  font-style: italic;
}

/*============================================================== */
/*     G R I D    */
/*============================================================== */

.container {
  height: 100vh;

  /* grid container settings */
  display: grid;
  grid-template-columns:
    [first] 1fr
    [line2] 1fr
    [line3] 1fr
    [line4] 1fr
    [line5] 1fr
    [line6] 1fr
    [line7] 1fr
    [line8] 1fr
    [line9] 1fr
    [line10] 1fr
    [line11] 1fr
    [line12] 1fr
    [line13] 1fr
    [line14] 1fr
    [line15] 1fr
    [line16] 1fr
    [line17] 1fr
    [line18] 1fr
    [end];
  grid-template-rows: auto 1fr auto;
  color: #000;
  background-color: #fff;
}

/*============================================================== */
/*     N A V I G A T I O N     */
/*============================================================== */

nav.side-nav-menu {
  grid-column-start: first;
  grid-column-end: line19;
  grid-row: 1;
  min-width: 150px;
  max-width: 100%;
}

#retail-fonts .side-nav-menu {
  background-color: #fff;
}

.side-nav-menu {
  background-color: #999;
}

.nav-fonts {
  flex-grow: 1;
}

nav .nav-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  left: 0px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

nav.nav-light-bg {
  background-color: #fff !important;
}

.nav-menu-main {
  background-color: #fff;
  width: 100%;
}

.main-nav__hamburger-icon {
  display: none;
}

.nav-menu-main,
.nav-menu-sub {
  display: flex;
  flex-direction: row;
  overflow: auto;
  white-space: nowrap;
}

.nav-menu-main {
  overflow-x: hidden;
}

.nav-menu-sub {
  background-color: #999;
  width: 100%;
  font-style: italic;
}

li {
  padding: 0.5rem 1rem 0.5rem 1rem;
}

.list-retail-fonts{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.list-retail-fonts span {
  padding-right: 2rem;
}

.list-retail-fonts span li {
  padding: 0.5rem 1rem 0.5rem 0 !important;
}

/* .list-retail-fonts__item:hover::after {
  content: "→";
  margin-left: 0.3rem;
} */

a.list-retail-fonts__item {
  text-decoration-line: none;
}

li a {
  color: #000;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}

li a:hover {
  font-variation-settings: "wght" 600;
  animation: weightChange .3s linear;
}

.list-retail-fonts__item:hover {
  font-variation-settings: "wght" 600;
  animation: weightChange .3s linear;
}

li.highlight {
  background-color: #000;
}

div a.homepage-link {
  padding: 0 1rem 0.1875rem 1rem;
  background-color: #999;
  line-height: 2.5;
  font-variation-settings: "wght" 600;
}

a.list-retail-fonts__item g{
  fill: white;
  pointer-events: bounding-box;
}

a.list-retail-fonts__item * {
  fill: black;
}

a.list-retail-fonts__item:hover g path {
  fill: #FF6600;
}

.mobile-nav {
  /* padding: 0 1rem 0.1875rem 1rem; */
  background-color: #999;
  line-height: 2.5;
  font-variation-settings: "wght" 600;
  display: flex;
  flex-direction: row;
}

.main-nav__hamburger-icon {
  padding: 8px 1rem 0 0;
}

a {
  color: #000;
}

a.homepage-link {
  text-decoration: none;
  font-size: 18px;
  color: #fff;
  display: block;
  width: 100%;
}

a:visited {
  color: #000;
}

/* links */

#retail-fonts .retail-fonts,
#retail-fonts .nav-menu-main__button-fonts,
#free-fonts .free-fonts,
#free-fonts .nav-menu-main__button-fonts,
#sao-paolo .nav-sao-paolo-button,
#sao-paolo .nav-menu-main__button-works,
#spiegel .nav-spiegel-button,
#spiegel .nav-menu-main__button-works,
#agrofont .nav-agrofont-button,
#agrofont .nav-menu-main__button-works,
#vw .nav-vw-button,
#vw .nav-menu-main__button-works,
#sun .nav-sun-button,
#sun .nav-menu-main__button-works,
#bellsouth .nav-bellsouth-button,
#bellsouth .nav-menu-main__button-works,
#audi .nav-audi-button,
#audi .nav-menu-main__button-works,
#learn .nav-menu-main__button-learn,
#lucas .nav-menu-main__button-lucas,
#impressum .nav-menu-main__button-impr,
#abc-macher .nav-menu-main__button-learn,
#abc-macher .nav-abc-macher-button,
#privacy .nav-menu-main__button-impr,
#privacy .nav-privacy-button {
  background-color: black;
}

#retail-fonts .retail-fonts a,
#retail-fonts .nav-menu-main__button-fonts a,
#free-fonts .free-fonts a,
#free-fonts .nav-menu-main__button-fonts a,
#sao-paolo .nav-sao-paolo-button a,
#sao-paolo .nav-menu-main__button-works a,
#spiegel .nav-spiegel-button a,
#spiegel .nav-menu-main__button-works a,
#agrofont .nav-agrofont-button a,
#agrofont .nav-menu-main__button-works a,
#vw .nav-vw-button a,
#vw .nav-menu-main__button-works a,
#sun .nav-sun-button a,
#sun .nav-menu-main__button-works a,
#bellsouth .nav-bellsouth-button a,
#bellsouth .nav-menu-main__button-works a,
#audi .nav-audi-button a,
#audi .nav-menu-main__button-works a,
#learn .nav-menu-main__button-learn a,
#lucas .nav-menu-main__button-lucas a,
#impressum .nav-menu-main__button-impr a,
#abc-macher .nav-menu-main__button-learn a,
#abc-macher .nav-abc-macher-button a,
#privacy .nav-menu-main__button-impr a,
#privacy .nav-privacy-button a {
  color: white;
  font-variation-settings: "wght" 550;
}

@media (min-width: 320px) {
  nav.side-nav-menu {
    grid-column-start: first;
    grid-column-end: line19;
    grid-row: 1;
    min-width: 150px;
    max-width: 100%;
  }

  #retail-fonts .side-nav-menu {
    background-color: #fff;
  }
  
  .side-nav-menu {
    background-color: #999;
  }
  
  .nav-fonts {
    flex-grow: 1;
  }

  .main-nav__hamburger-icon {
    display: block;
  }
  
  nav .nav-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    left: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .nav-menus-wrapper {
    display: flex;
    flex-direction: row;
  }
  
  nav.nav-light-bg {
    background-color: #fff !important;
  }
  
  .nav-menu-main {
    background-color: #fff;
    width: 100%;
  }
  
  .nav-menu-sub {
    background-color: #fff;
    width: 100%;
    font-style: italic;
  }

  .nav-menu-main,
  .nav-menu-sub {
    display: flex;
    flex-direction: column;
    overflow: auto;
    white-space: nowrap;
  }

  .nav-menu-main {
    overflow-x: hidden;
  }
  
  li {
    padding: 0.5rem 1rem 0.5rem 1rem;
  }
  
  .list-retail-fonts li {
    padding: 0.5rem 1rem 0.5rem 0 !important;
  }
  
  /* .list-retail-fonts__item:hover::after {
    content: "→";
    margin-left: 0.3rem;
  } */
  
  a.list-retail-fonts__item {
    text-decoration-line: none;
  }
  
  li a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
  }
  
  li a:hover {
    font-variation-settings: "wght" 600;
  }
  
  /* .list-retail-fonts__item path:hover {
    font-variation-settings: "wght" 600;
    fill: #FF6600;
  } */
  
  li.highlight {
    background-color: #000;
  }
  
  div a.homepage-link {
    padding: 0 1rem 0.1875rem 1rem;
    background-color: #999;
    line-height: 2.5;
    font-variation-settings: "wght" 600;
  }
}

@media screen and (min-width: 820px) {
  nav.side-nav-menu {
    grid-column-start: first;
    grid-column-end: line4;
    grid-row-start: 1;
    grid-row-end: 3;
    min-width: 150px;
    max-width: 165px;
    height: 100%;
  }

  .main-nav__hamburger-icon {
    display: none;
  }

  .nav-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .nav-teach{
    flex-grow: 1;
  }

  .nav-menus-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  #retail-fonts .side-nav-menu {
    background-color: #999;
    height: 100vh !important;
    min-height: 100%;
  }
}

/*============================================================== */
/*     C O N T E N T   P A G E S     */
/*============================================================== */

main {
  grid-column-start: line3;
  grid-column-end: line17;
  grid-row: 2;
  padding-bottom: 8rem;
}

.content {
  grid-column-start: line6;
  grid-column-end: line14;
  grid-row: 1;
  hyphens: auto;
  display: flex;
  flex-direction: column;
}

.content-container {
  display: flex;
  flex-direction: column-reverse;
}

.paragraphs-wrapper {
  flex: 3;
}

.empty-div {
  flex: 1;
}

.figure-center {
  display: flex;
  flex-direction: column;
}

.figure-center img {
  flex: 3;
}

.img-aside {
  flex: 1;
}

.figure-center figcaption {
  padding-top: 1rem;
  padding-left: 0;
}

.no-hyphens {
  hyphens: none;
}

p {
  padding-bottom: 1.5rem;
  max-width: 40rem;
}

figure {
  grid-column-start: line14;
  grid-column-end: line18;
  grid-row: 1;
}

figure.figure-center {
  padding-bottom: 1.5rem;
}

img {
  max-width: 1000px;
}

figure img.center-image {
  width: 100%;
  max-width: 40rem;
}

figure.img-aside {
  padding-bottom: 3rem;
}

.figcap-aside {
  padding: 0;
}

figure.img-aside img {
  width: 100%;
}

.img-aside.fontfabrik-logo {
  max-width: 200px;
  padding: 0;
}

.fontfabrik-logo {
  max-width: 200px;
}

.slider{
  position: relative;
  height: 0;
  width: 100%;
  padding-bottom: 51.3%;
}

img.learn-img {
  display: block;
  box-shadow: 10px 10px 20px 0 rgba(94, 47, 59, 0.2);
  position: absolute;
  height: auto;
  width: 65vw;
}

.credits-container {
  display: flex;
  flex-direction: row;
  padding-bottom: 1.5rem;
}

.credits-left-column {
  flex: 3;
  font-variation-settings: "wght" 600;

}

.credits-right-column {
  flex: 5;
}

/* #free-fonts, #retail-fonts {
  background-color: #e5e5e5;
  background-image: radial-gradient(#999999 0.75px, #e5e5e5 0.75px);
  background-size: 15px 15px;
  height: auto;
} */

/* #free-fonts, #retail-fonts {
  background-color: #e5e5e5;
  background-image:  radial-gradient(#ffffff 1px, transparent 1px), radial-gradient(#ffffff 1px, #e5e5e5 1px);
  background-size: 25px 25px;
  background-position: 0 0,12.5px 12.5px;
  height: auto;
} */

#free-fonts, #retail-fonts {
  background-color: #E0E0E0;
  background-image:  radial-gradient(#999 1px, transparent 1px), radial-gradient(#999 1px, #E0E0E0 1px);
  background-size: 8px 8px;
  background-position: 0 0,4px 4px;
  height: auto;
}

@media screen and (max-width: 1000px) {
  img.learn-img {
    width: 70%;
    height: auto;
  }
}

@keyframes slideInAndOut {
  0% {
    transform: scaleX(0);
  }
  10%,
  80% {
    transform: scaleX(1);
  }
  90%,
  100% {
    transform: scaleX(0);
  }
}

@keyframes fadeIn {
  0%,
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeImg {
  from {
    opacity: 0.7;
  }

  to {
    opacity: 1;
  }
}

@media (min-width: 320px) {
  main {
    grid-column-start: line3;
    grid-column-end: line17;
    grid-row: 2;
    padding-bottom: 8rem;
  }

  .content {
    grid-column-start: line6;
    grid-column-end: line14;
    grid-row: 1;
    hyphens: auto;
    display: flex;
    flex-direction: column;
  }

  .content-container {
    display: flex;
    flex-direction: column-reverse;
  }

  .paragraphs-wrapper {
    flex: 3;
  }

  .empty-div {
    flex: 1;
  }

  .figure-center {
    display: flex;
    flex-direction: column;
  }

  .figure-center img {
    flex: 3;
  }

  .img-aside {
    flex: 1;
  }

  .figure-center figcaption {
    padding-top: 1rem;
    padding-left: 0;
  }

  .no-hyphens {
    hyphens: none;
  }

  p {
    padding-bottom: 1.5rem;
    max-width: 40rem;
  }

  figure {
    grid-column-start: line14;
    grid-column-end: line18;
    grid-row: 1;
  }

  figure.figure-center {
    padding-bottom: 1.5rem;
  }

  img {
    max-width: 1000px;
  }

  figure img.center-image {
    width: 100%;
    max-width: 40rem;
  }

  figure.img-aside {
    padding-bottom: 3rem;
  }

  .figcap-aside {
    padding: 0;
  }

  figure.img-aside img {
    width: 100%;
  }

  .img-aside.fontfabrik-logo {
    max-width: 200px;
    padding: 0;
  }

  .fontfabrik-logo {
    max-width: 200px;
  }

  img.learn-img {
    width: 80vw;
  }

  .credits-container {
    display: flex;
    flex-direction: column;
    padding-bottom: 1.5rem;
  }
  
  .credits-left-column {
    flex: 5;
    font-variation-settings: "wght" 600;
  
  }
  
  .credits-right-column {
    flex: 5;
  }

  @keyframes slideInAndOut {
    0% {
      transform: scaleX(0);
    }
    10%,
    80% {
      transform: scaleX(1);
    }
    90%,
    100% {
      transform: scaleX(0);
    }
  }

  @keyframes fadeIn {
    0%,
    40% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  @keyframes fadeImg {
    from {
      opacity: 0.7;
    }

    to {
      opacity: 1;
    }
  }
}

@media screen and (min-width: 820px) {
  .content-container {
    display: flex;
    flex-direction: row;
  }

  .content {
    grid-column-start: line6;
    grid-column-end: line14;
    grid-row: 1;
    hyphens: auto;
    display: flex;
    flex-direction: column;
  }

  main {
    grid-column-start: line5;
    grid-column-end: line18;
    padding-bottom: 8rem;
    grid-row: 1;
  }

  .nav-menu-main,
  .nav-menu-sub {
    background-color: #fff;
    width: 100%;
  }

  .nav-menu-main,
  .nav-menu-sub {
    display: flex;
    flex-direction: column;
    overflow: auto;
  }

  .nav-menu-main,
  .nav-menu-sub li a {
    white-space: nowrap;
  }

  .nav-menu-sub {
    background-color: #999;
  }

  figure img.center-image {
    width: 70% !important;
    height: 70% !important;
  }

  figure.img-aside {
    padding-left: 1rem;
  }

  .figure-center {
    flex-direction: row !important;
  }

  figcaption {
    font-size: 0.7rem;
    padding: 0 0 2rem 1rem !important;
    max-width: 400px;
  }

  img.learn-img {
    width: 65vw;
  }
}

/*============================================================== */
/*     F O N T S     */
/*============================================================== */

.free-font-container {
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
  margin: 0 0 3em 0;
  background-color: #fff;
  border-radius: 5px;
  padding: 1rem 3rem 4rem 3rem;
  /* box-shadow: 6px 6px  rgba(153, 153, 153, 1); */
  box-shadow: 6px 6px  rgba(0, 0, 0, 1);
  border: 1.5rem solid #E0E0E0;
  border-bottom-style: hidden;
  border-left-style: hidden;
  border-right-style: hidden;
}

.free-fonts-wrapper {
  display: flex;
  flex-direction: row;
}

.font-headline {
  font-size: 6rem;
  line-height: 1.1;
}

.free-font-container__item-dscription {
  flex: 2;
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.free-font-container__item-example {
  flex: 5;
  width: 70%;
  padding-right: 2rem;
}

.free-font-container__item-example div p {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  white-space: wrap;
}

.free-font-container__item-dscription-wrapper p{
  padding-bottom: 1rem;
}

.free-font-container__item-dscription-wrapper {
  padding-bottom: 2rem;
}

.retail-font-container {
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
  margin: 0 0 3em 0;
  background-color: #fff;
  border-radius: 5px;
  padding: 1rem 3rem 4rem 3rem;
  /* box-shadow: 6px 6px  rgba(153, 153, 153, 1); */
  box-shadow: 6px 6px  rgba(0, 0, 0, 1);
  border: 1.5rem solid #E0E0E0;
  border-bottom-style: hidden;
  border-left-style: hidden;
  border-right-style: hidden;
  max-width: 800px;
}

.retail-fonts-wrapper {
  display: flex;
  flex-direction: column;
}

.font-headline {
  font-size: 6rem;
  line-height: 1.1;
}

.retail-font-container__item-dscription-wrapper{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
}

.retail-font-container__item-dscription-wrapper p {
  padding-right: 1rem;
}

.lufo-fonts-list {
  padding: 2.5rem 1rem 3rem 2.5rem !important;
}


.retail-font-container__item-dscription {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.retail-font-container__item-example {
  padding: 2rem 0;
}

.retail-font-container__item-example img {
  width: 100%;
}

.retail-font-container__item-example div p {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  white-space: wrap;
}

.retail-fonts__buttons-wrapper{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.retail-fonts__buttons-wrapper a {
  padding-bottom: 2rem;
}

a.button {
  text-decoration: none;
  text-align: center;
  padding: .5rem 1rem 0.6rem 1rem;
  border-radius: 10px;
  background: #fff;
  border: 2px solid #000;
  color: #000;
  cursor: pointer;
  font-family: TheSansMonoWebVar, Consolas, Menlo, monospace;
  font-size: 1rem;
  max-height: 2.8rem;
  white-space: nowrap;
}

a.button span {
  vertical-align: middle; 
}

a.button:hover {
  color:#fff;
  animation: weightChange .3s linear;
  cursor: pointer; 
  background: #000;
  -webkit-animation-fill-mode: forwards;
}
  
@keyframes weightChange {
  0% {font-variation-settings: "wght" 400; }
  100% {font-variation-settings: "wght" 550; } 
}

.cart .num {
  text-align: right;
}

.cart button {
  margin: 1em 0 0;
  width: auto;
  padding: 0 1rem;
}

.cart button:hover {
  color: #ffffff;
}

@media (min-width: 320px) {
 .free-fonts-wrapper{
    display: flex;
    flex-direction: column;
 }
 .free-font-container__item-example{
  width: 100%;
  padding-right: 0;
  padding-bottom: 0rem;
 }

 .free-font-container__item-dscription{
  width: 100%;
  padding-right: 0;
  flex-direction: row;
  flex-wrap: wrap;
 }

 .free-font-container__item-dscription button {
   align-self: flex-end;
   font-size: .9rem;
   margin-top: 1rem;
 }

 .font-headline {
    font-size: 4rem;
    line-height: 1.1;
  }

  .free-font-container__item-example div p {
    font-size: 1.5rem;
  }

  .retail-font-container {
    padding: 1rem 2.5rem 3rem 2.5rem;
  }

  .retail-font-container__item-dscription {
    flex-direction: column;
  }

  .retail-font-container__item-example{
    padding: 1rem 0;
  }

  .retail-fonts__buttons-wrapper {
    flex-direction: column;
  }
  
  .hidden {
    display: none;
  }
}

@media screen and (min-width: 820px){
  .free-font-container {
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
    margin: 0 0 3em 0;
    background-color: #fff;
    border-radius: 5px;
    padding: 1rem 3rem 4rem 3rem;
    /* box-shadow: 6px 6px  rgba(153, 153, 153, 1); */
    box-shadow: 6px 6px  rgba(0, 0, 0, 1);
    border: 1.5rem solid #E0E0E0;
    border-bottom-style: hidden;
    border-left-style: hidden;
    border-right-style: hidden;
    max-width: 820px;
  }
  
  .free-fonts-wrapper {
    display: flex;
    flex-direction: row;
  }
  
  .font-headline {
    font-size: 6rem;
    line-height: 1.1;
  }
  
  .free-font-container__item-dscription {
    flex: 2;
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .free-font-container__item-example {
    flex: 5;
    width: 70%;
    padding-right: 2rem;
  }
  
  .free-font-container__item-example div p {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    white-space: wrap;
  }

  .retail-font-container {
    padding: 2.5rem 3rem 4rem 3rem;
  }

  .retail-font-container__item-dscription {
    flex-direction: row;
  }
  .retail-font-container__item-example{
    padding: 2rem 0;
  }

  .retail-fonts__buttons-wrapper {
    flex-direction: row;
  }

  .hidden {
    display: block;
  }
  
  button {
    outline:none;
    height: 40px;
    text-align: center;
    width: 130px;
    border-radius:10px;
    background: #fff;
    border: 2px solid #000;
    color:#000;
    letter-spacing:1px;
    text-shadow:0;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: "TheSansMonoWebVar";
    font-size: 1rem !important;
  }
  
  button:hover {
    background: #000;
  }
  button:active {
    letter-spacing: 1px;
  }
  
  button a {
    text-decoration: none;
  }
  
  button a:hover {
    color:#fff;
  }
}

@media screen and (max-width: 900px) {
  .free-font-container {
    flex-direction: column;
  }
}
