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

/* CATCH ALL */

html, body {
  height: 100%;
}

body {
  font-size: 16px;
  font-family: arial, helvetica, sans-serif;
  line-height: 1.3;
  color: black;
  -webkit-animation-name: body-bg-color;
          animation-name: body-bg-color;
  -webkit-animation-duration: 80s;
          animation-duration: 80s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
          animation-direction: alternate;
}

em {
  font-style: italic;
  font-family: 'century', times, serif;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: blue;
}

img {
  width: 100%;
}

header,
footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px;
  width: 100%;
  position: fixed;
  z-index: 9999;
  pointer-events: none !important;
}

header {
  top: 0;
}

footer {
  bottom: 0;
  padding-left: 100px;
  padding-bottom: 80px;
  width: auto;
}

footer.project {
  direction: rtl;
  right: 250px;
}

.nav {
  display: inline-block;
  visibility: hidden;
}

.nav__item--left {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 70%;
          flex: 0 0 70%;
}

.nav__item--right {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 30%;
          flex: 0 0 30%;
  padding-top: 20px;
  text-align: right;
}

.info {
  padding-top: 20px;
}

.home a,
.info a,
.button {
  font-size: 1.8em;
  pointer-events: all;
  font-family: 'century', times, serif;
  visibility: visible;
}

.home a:hover,
.info a:hover,
.button:hover {
  cursor: pointer;
  color: black !important;
}

.home a:hover,
.info a:hover {
  font-style: italic;
}

.button:hover {
  -webkit-transform: rotate(-5deg) !important;
      -ms-transform: rotate(-5deg) !important;
          transform: rotate(-5deg) !important;
}

.ww-wrapper {
  visibility: visible;
  margin: 0 auto;
  -webkit-animation-duration: 80s;
          animation-duration: 80s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}

.ww-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.weatherCard {

}

.cityContainer {
  width: 100%;
}

.cityName {
}

.weatherTemp {
}

.tempAndCity {
}

.tempAndCity p {
  display: inline-block;
}

.slash {
  padding-left: 5px;
  padding-right: 5px;
}





/* HOME - VIEW MODES */

.media__container {
  display: none;
  margin-top: 150px;
  text-align: center;
}

.media__block ,
.slideshow__item {
  -webkit-animation-duration: 40s;
          animation-duration: 40s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
          animation-direction: alternate;
}

.media__block.float {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  height: 55%;
  margin-bottom: 250px;
  padding: 0 150px 0 150px;
}

.media__block.float .caption {
  margin-bottom: 10px;
  /* flipped from transform-y */
}

.media__block.grid .caption {
  margin-top: 5px;
}

.media__block.float:last-child {
  padding-bottom: 150px;
}

.media__container.grid {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 100px 150px 100px;
}

.media__block.grid {
  margin: 0 auto;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 33.33%;
          flex: 0 0 33.33%;
  padding: 40px;
}

.row {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
  height: 100%;
  display: inline-block;
}

.left {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.right {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.button {
  display: none;
}

.show {
  display: block;
}

.show--flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.text img {
  visibility: hidden;
}

.caption:hover ~ img {
  visibility: visible;
}

.row {
  -webkit-transform: scaleY(-1);
  -ms-transform: scaleY(-1);
      transform: scaleY(-1);
}

.row > a img,
.row > a div,
.row > img,
.row > div {
  -webkit-transform: scaleY(-1);
  -ms-transform: scaleY(-1);
      transform: scaleY(-1);
}


/* PROJECTS - SLIDESHOW */

.media__container.project {
  margin-top: 0px;
  padding-top: 150px;
  /* overflow-x: hidden !important; */
}

.slideshow__container {
  display: inline-block;
  margin: 0 auto;
}

.slideshow__item img {
  cursor: pointer !important;
  width: inherit;
  vertical-align: bottom;
  margin: 0 auto;
  height: 60vh;
  /* mix-blend-mode: multiply; */
}

.slideshow__item img.disable {
  cursor: auto !important;
}

.counter {
  padding: 20px 0 80px 20px;
  display: inline-block;
  vertical-align: bottom;
}

.img-zoom {
  height: 100vh !important;
}

.zoom {
  padding-top: 0 !important;
}



/* TEXT CONTAINERS */

.text__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px;
  width: 100%;
}

.text__container.project {
  bottom: 0;
  position: fixed;
}

.text__container.project .spacer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
}

.project-description {
  margin-top: 15px;
}


/* INFO PAGE */

.info-title {
  font-size: 1.8em;
  font-family: century, times;
}

.text__container.row-1 {
  padding-top: 55px;
}

.text__container.row-1 .spacer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 30%;
          flex: 0 0 30%;
}

.text__container.row-2 {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding-right: 150px;
  padding-top: 50px;
}

.text__container.row-2 .spacer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 30%;
          flex: 0 0 30%;
}

.text__container.row-2 .text__block:first-child {
  padding-left: 50px;
  padding-bottom: 50px;
}

.text__container.row-3 {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-left: 100px;
}

.text__container.row-3 .spacer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 70%;
          flex: 0 0 70%;
}

.text__container.row-3 .text__block:last-child {
  padding-left: 300px;
}




/* KEYFRAME ANIMATIONS */

@-webkit-keyframes body-bg-color {
  0% { background-color: #FFFDD5; }
  25% { background-color: #FFF0E6; }
  50% { background-color: #F4FFDD; }
  75% { background-color: #FFDEAD; }
  100% { background-color: #FFE4E1;}
}

@keyframes body-bg-color {
  0% { background-color: #FFFDD5; }
  25% { background-color: #FFF0E6; }
  50% { background-color: #F4FFDD; }
  75% { background-color: #FFDEAD; }
  100% { background-color: #FFE4E1;}
}

@-webkit-keyframes pulse-blur {
  0% { -webkit-filter: blur(0px); filter: blur(0px); }
  25% { -webkit-filter: blur(30px); filter: blur(30px); }
  50% { -webkit-filter: blur(5px); filter: blur(5px); }
  50% { -webkit-filter: blur(30px); filter: blur(30px); }
  100% { -webkit-filter: blur(5px); filter: blur(5px); }
}

@keyframes pulse-blur {
  0% { -webkit-filter: blur(0px); filter: blur(0px); }
  25% { -webkit-filter: blur(30px); filter: blur(30px); }
  50% { -webkit-filter: blur(5px); filter: blur(5px); }
  50% { -webkit-filter: blur(30px); filter: blur(30px); }
  100% { -webkit-filter: blur(5px); filter: blur(5px); }
}

@-webkit-keyframes reset-pulse-blur {
  0% { -webkit-filter: blur(0); filter: blur(0); }
}

@keyframes reset-pulse-blur {
  0% { -webkit-filter: blur(0); filter: blur(0); }
}






/* MOBILE STYLES */


@media only screen
and (max-width : 1000px) {

/* INFO PAGE */
.text__container.row-1 .spacer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
}

.text__container.row-2 .spacer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 40%;
          flex: 0 0 40%;
}

.text__container.row-2 {
  padding-right: 10px;
}

.text__container.row-3 {
  padding-left: 50px;
}

}


@media only screen
and (max-width : 900px) {

.media__container.grid {
  padding: 0 20px 0 20px;
}

.media__block.grid {
  padding: 30px;
}

.media__container.project {
  padding-top: 20vh !important;
}

.media__container.project.zoom {
  padding-top: 0 !important;
}

.slideshow__item img {
  height: 45vh;
  vertical-align: center;
}

/* INFO PAGE */

.text__container.row-2 {
  padding-right: 50px;
}

.text__container.row-3 {
  padding-top: 50px;
}

}


@media only screen
and (max-width : 800px) {

.nav__item--left {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
}

.nav__item--right {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
}

}


@media only screen
/* and (min-width: 320px) */
and (max-width : 736px) {

body {
  font-size: 14px;
}

/* HIDE VIEW MODES */

.not-mobile {
  display: none;
}

.mobile {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.media__block.grid {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
  padding: 30px;
}

/* PROJECT PAGE - TURN OFF ZOOM */

.media__container.project,
.media__container.project.zoom {
  padding-top: 20vh !important;
}

.slideshow__container {
  display: block;
}

.slideshow__item img {
  height: 40vh !important;
}

.counter {
  padding: 20px 0 0px 0px;
  display: block;
}


/* INFO PAGE */

.text__container.row-1 .spacer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 60%;
          flex: 0 0 60%;
}

.text__container.row-2 .spacer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 65%;
          flex: 0 0 65%;
}

.text__container.row-3 {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  padding-left: 100px;
}

.text__container.row-3 .text__block:last-child {
  padding-left: 150px;
}

}


@media only screen
and (max-width : 550px) {

header {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-align: center;
  bottom: 40px;
}

.ww-wrapper {
  display: none;
}

.info {
  padding-top: 0;
}

.nav__item--left {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
}

.nav__item--right {
  padding: 0;
  text-align: center;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
}

.media__container {
  margin-top: 10vh;
}

.media__container.grid {
  padding: 0 20px 0 20px;
}

.media__block.grid {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  padding: 20px;
}

.media__block.grid:last-child {
  padding-bottom: 80px;
}

.text__container.project {
  position: inherit;
}

.text__container.project .spacer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
}

.text__container.project .text__block:last-child {
  padding-bottom: 80px;
}

/* INFO PAGE */

.text__container.row-1 .spacer,
.text__container.row-2 .spacer,
.text__container.row-3 .spacer {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 90%;
          flex: 0 0 90%;
}

.text__container.row-1,
.text__container.row-2,
.text__container.row-3 {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-right: 0;
  padding-left: 0;
}

.text__container.row-2 {
  padding-left: 50px;
  padding-top: 0;
}

.text__container.row-2 .text__block:first-child {
  padding-left: 100px;
  padding-top: 30px;
}

.text__container.row-3 {
  padding-top: 30px;
}

.text__container.row-3 .text__block:last-child {
  padding-left: 100px;
  padding-top: 30px;
  padding-bottom: 80px;
}

}
