@import "animations.css";
@import "stretchText.css";
@import url("https://use.typekit.net/cty2omg.css");
@import url("https://fonts.googleapis.com/css?family=Oswald:500|Roboto+Condensed:700|Roboto+Condensed:400|Roboto:300&display=swap");
@import "adobeFonts.css";

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

*:focus,
*:active {
  outline: 0 !important;
}

:root {
  font-size: 16px;
  -webkit-animation: fadein 0.4s ease-in both;
  -moz-animation: fadein 0.4s ease-in both;
  -o-animation: fadein 0.4s ease-in both;
  animation: fadein 0.4s ease-in both;
}

body {
  color: var(--color-text);
  font-family: "Roboto", sans-serif;
  line-height: 150%;
  font-weight: 300;
  margin: 2rem;
  -webkit-animation: fadein 0.4s 0.5s ease-in both;
  -moz-animation: fadein 0.4s 0.5s ease-in both;
  -o-animation: fadein 0.4s 0.5s ease-in both;
  animation: fadein 0.4s 0.5s ease-in both;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: normal;
  font-family: "roboto condensed", sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--color-link);
  outline: none;
  word-wrap: break-word;
}

a:hover,
a:focus {
  color: var(--color-link-hover);
}

a.back {
  font-size: 1.3rem;
  background: none !important;
  padding: none;
  font-family: "roboto condensed", sans-serif;
  font-weight: 700;
  border: none;
  color: var(--color-text);
  transition: 0.2s ease-in-out;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  /* antialiasing */
  outline: 1px solid transparent;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
  -webkit-perspective: 1000;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: -o-fit-content;
  width: fit-content;
}

a.back:hover {
  cursor: pointer;
  color: var(--color-deco);
  transform: translateY(-5px);
}

a.back span {
  margin-right: 0.5rem;
  height: 3rem;
  width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0.1rem;
  padding-bottom: 0.5rem;
  padding-right: 0.2rem;
  border-radius: 1000px;
  transition: 0.5s;
}

#spotlightHeader {
  display: flex;
  margin-bottom: 2rem;
  justify-content: center;
  align-items: center;
}

#leftHorizontalLine {
  background: var(--color-deco);
  height: 2.5rem;
  width: 100%;
}

#heading h2 {
  font-family: "roboto condensed", sans-serif;
  padding-left: 0.5rem;
  line-height: 2rem;
  font-size: 3rem;
  margin: 0;
  color: var(--color-deco);
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  body {
    margin: 1rem;
  }
  #heading h2 {
    font-size: 1.5rem;
  }
  #leftHorizontalLine {
    height: 1.25rem;
  }
}
/*END GENERAL CSS*/

/*BEGIN SPOTLIGHT WRAPPER CSS*/
#spotlightWrap {
  display: flex;
}

#spotlightWrap > div {
  width: 50%;
}

@media screen and (max-width: 1024px) {
  #spotlightWrap {
    flex-direction: column-reverse;
  }
  #spotlightWrap > div {
    width: 100%;
  }
}
/*END SPOTLIGHT WRAPPER CSS*/

/* START MASONRY GALLERY CSS */
.grid {
  background: transparent;
  margin-left: -5px;
  margin-right: -5px;
}

/* clear fix */
.grid:after {
  content: "";
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width: 50%;
  padding: 5px;
}

.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  max-width: 100%;
}
/*END MASONRY GALLERY CSS*/

/*START SPOTLIGHT CONTENT CSS*/
#spotlightContent {
  padding: 5rem;
  position: fixed;
  right: 0;
  height: calc(100% - 12rem);
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#spotlightContent h3 {
  color: var(--color-deco);
  font-family: rockwell, serif;
  line-height: 1rem;
}

#spotlightContent h1 {
  font-family: "roboto condensed", sans-serif;
  font-size: 2rem;
  margin-top: 0;
}

#spotlightContent .large {
  color: var(--color-deco);
  font-size: 1.5rem;
}

#spotlightContent article {
  text-align: justify;
  margin-top: 1rem;
  max-height: 35vh;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  padding-right: 1rem;
}

@media screen and (min-height: 767px) {
  #spotlightContent {
    position: fixed;
  }
}

@media screen and (max-height: 768px) {
  #spotlightContent {
    position: relative;
  }
  #spotlightContent article {
    max-height: none;
  }
}

@media screen and (max-width: 1600px) {
  #spotlightContent {
    position: relative;
    padding: 2rem;
  }
  #spotlightContent article {
    position: relative;
    max-height: none;
    padding-right: 0;
  }
}

@media screen and (max-width: 1024px) {
  #spotlightContent {
    padding: 0;
  }
}

@media screen and (max-width: 768px) {
  .grid-item {
    width: 100%;
  }
}
/*END SPOTLIGHT CONTENT CSS*/

#lang a {
  font-family: "rockwell-web", sans-serif !important;
}
