/* Site-wide styles. Component styles live next to their components (StyleX). */

/* ---- Fonts ---- */

@font-face {
  font-family: "opensans-light";
  src: url("fonts/opensans/OpenSans-Light-webfont.woff") format("woff"),
    url("fonts/opensans/OpenSans-Light-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "opensans-bold";
  src: url("fonts/opensans/OpenSans-Bold-webfont.woff") format("woff"),
    url("fonts/opensans/OpenSans-Bold-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica";
  src: url("fonts/Helvetica.woff") format("woff");
}

/* Font Awesome 5 Free (solid), subset to the two icons the site uses. */
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  src: url("fonts/fa-solid-subset.woff2") format("woff2"),
    url("fonts/fa-solid-subset.woff") format("woff");
}

.fa,
.fas {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.fa-play:before {
  content: "\f04b";
}

.fa-random:before {
  content: "\f074";
}

/* ---- Base ---- */

html,
body,
div,
span,
h2,
h5,
p,
blockquote,
img,
sup,
i,
ul,
li,
header,
section {
  margin: 0;
  padding: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  user-select: none;
}

::selection {
  text-shadow: 2px 2px 6px #b87cbf;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  -webkit-font-smoothing: antialiased;
}

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

body {
  background: #fff;
  font-family: "opensans-light", sans-serif;
  font-weight: normal;
  font-size: 15px;
  line-height: 30px;
  color: #838c95;
  zoom: 1.1;
  -webkit-text-size-adjust: 100%;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: 0.5px solid #bbb;
  border-radius: 0;
}

*::-webkit-scrollbar-thumb:hover {
  border-color: #999;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

h2,
h5 {
  color: #313131;
  font-family: "opensans-bold", sans-serif;
  font-weight: normal;
}

h2 a {
  font-weight: inherit;
}

h2 {
  font-size: 28px;
  line-height: 36px;
  margin-bottom: 6px;
}

h5 {
  font-size: 18px;
  line-height: 30px;
}

p {
  margin: 0 0 30px 0;
}

blockquote {
  margin: 30px 0px;
  padding-left: 40px;
  position: relative;
}

blockquote:before {
  content: "\201C";
  opacity: 0.45;
  font-size: 80px;
  line-height: 0px;
  margin: 0;
  font-family: arial, sans-serif;
  position: absolute;
  top: 30px;
  left: 0;
}

a,
a:visited {
  text-decoration: none;
  outline: 0;
  color: #11abb0;
  transition: color 0.3s ease-in-out;
}

a:hover,
a:focus {
  color: #313131;
}

p a,
p a:visited {
  line-height: inherit;
}

ul {
  list-style: none outside;
}

img {
  max-width: 100%;
}

button {
  background: none !important;
  border: none;
}

button:hover {
  color: rgb(200, 200, 200);
}

button::selection {
  background: none;
  color: white;
}

button:focus {
  outline: 0;
}

button:active {
  color: black;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* ---- Grid (portfolio) ---- */

#portfolio .row {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
}

.row:before,
.row:after,
.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.row:after,
.cf:after {
  clear: both;
}

.columns {
  position: relative;
  padding: 0 20px;
  min-height: 1px;
  float: left;
}

.columns.collapsed {
  padding: 0;
}

[class*="column"] + [class*="column"]:last-child {
  float: right;
}

.row .two {
  width: 16.66667%;
}

.row .twelve {
  width: 100%;
}

.bgrid-thirds [class*="column"] {
  width: 33.33333%;
}

[class*="bgrid"] [class*="column"] + [class*="column"]:last-child {
  float: left;
}

@media only screen and (max-width: 900px) {
  .s-bgrid-thirds [class*="column"] {
    width: 33.33333%;
  }
}

@media only screen and (max-width: 767px) {
  .row {
    width: 460px;
    margin: 0 auto;
    padding: 0;
  }

  .columns {
    width: auto !important;
    float: none;
    margin-left: 0;
    margin-right: 0;
    padding: 0 30px;
  }

  [class*="column"] + [class*="column"]:last-child,
  [class*="bgrid"] [class*="column"] + [class*="column"]:last-child {
    float: none;
  }
}

@media only screen and (max-width: 460px) {
  .row {
    width: auto;
  }
}

/* ---- Home ---- */

header#home {
  position: relative;
  min-height: 701px;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

header:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

img#headerpic {
  width: auto;
  overflow: hidden;
}

.container {
  color: white;
  position: relative;
}

.hover-container {
  position: absolute;
  inset: 0;
  display: block;
  /* WebP where image-set() type() is supported; older browsers keep the PNG. */
  background-image: url("../images/bgfinal.png");
  background-image: image-set(
    url("../images/bgfinal.webp") type("image/webp"),
    url("../images/bgfinal.png") type("image/png")
  );
  background-size: cover;
  overflow-x: scroll;
  overflow-y: hidden;
  height: auto;
  border: 0.5px solid black;
}

.top-left,
.bottom-right,
.bottom-leftt {
  position: absolute;
  font-family: "Cormorant Garamond";
  font-weight: 700;
  letter-spacing: 1.5px;
  text-align: left;
  padding-top: 10px;
  background: none;
  line-height: 9px;
  transition: 0.2s ease-in-out;
}

.top-left {
  top: 15px;
  left: 20px;
  font-size: 17px;
}

.bottom-right,
.bottom-leftt {
  font-size: 16px;
  color: black;
  z-index: 1000;
}

.bottom-right {
  right: 15px;
}

.bottom-leftt {
  left: 15px;
}

.top-left:hover,
.bottom-leftt:hover,
.bottom-right:hover {
  transform: scale(1.05);
  transition: 0.2s ease-in-out;
}

.bottom-left,
.bottom-left-2 {
  position: absolute;
  top: 15px;
  right: 15px;
  letter-spacing: 1.5px;
  text-align: left;
  width: auto;
  color: #212121;
  cursor: default;
}

.bottom-left {
  font: 19px "Cormorant Garamond";
  font-weight: 700;
}

.bottom-left-2 {
  font: 16px "Cormorant Garamond";
  font-weight: 700;
  z-index: 1000;
}

#play-button {
  color: rgb(43, 43, 43) !important;
  cursor: pointer;
  font-size: 19px;
}

#play-button::selection,
#play-button i::selection {
  color: white !important;
}

.fa-play::selection {
  background-color: white !important;
}

.draggableImage {
  margin-top: 1%;
  transform: scale(0.6) !important;
}

.draggableImage:hover {
  transform: scale(0.62) !important;
}

#mobile-only {
  display: none;
}

/* ---- Portfolio ---- */

#portfolio {
  height: 100%;
  border: 0.5px solid black;
}

#portfolio h2 {
  font: 30px/36px "Cormorant Garamond", serif;
  font-weight: 500;
  color: rgb(53, 53, 53);
  text-align: center;
  margin-bottom: -15px;
  margin-right: 20px;
  background: #ffffff;
  z-index: 1000;
  position: relative;
}

#portfolio h5 {
  font: 12px/12px "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 5px;
}

#portfolio .tagline {
  background: #ffffff;
  z-index: 1000;
  position: relative;
  width: 370px;
  float: right;
}

#portfolio-wrapper {
  margin-top: 20px;
  margin-left: -5px;
  margin-right: -5px;
}

.portfolio-item .portfolio-item-meta p {
  font: 11px/18px "opensans-light", sans-serif;
  color: black;
  margin-bottom: 0;
}

a.collab:hover {
  text-decoration: underline;
}

.special-links {
  color: inherit !important;
  text-decoration: underline;
}

/* react-web-tabs */

.rwt__tablist {
  font-size: 13px;
  padding-left: 30px;
  background-image: url(/images/tabs.png);
  border-bottom: 0.5px solid #111111;
}

.rwt__tab {
  background: transparent;
  border: 0;
  font-size: 18px;
  cursor: pointer;
  font-family: "Cormorant Garamond";
  color: #0d0d0d !important;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 0.2s ease-in-out;
  margin-top: 10px;
  width: 150px;
  border-right: 0.5px solid #111111;
  border-top: 0.5px solid #111111;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 50px;
  bottom: 0px;
  padding: 0.6rem 0rem;
}

button#one-tab {
  border-left: 0.5px solid #111111 !important;
}

.rwt__tab[aria-selected="false"] {
  color: #0d0d0d !important;
  position: relative;
  bottom: -1px;
}

.rwt__tab[aria-selected="true"] {
  position: relative;
  color: rgb(42, 42, 42) !important;
  border-left: 0.5px solid #111111;
  border-bottom: 1px solid white;
  z-index: 10;
  background: white !important;
  font-weight: 500;
  bottom: -1px;
}

.rwt__tab:hover {
  transform: scale(1.03);
  color: black;
}

.rwt__tabpanel {
  overflow: scroll;
  height: calc(90.1vh / 1.1);
  padding: 10px 20px;
}

.browsero {
  right: 20px;
  position: absolute;
  color: #424242;
  top: 15px;
  font-size: 25px;
  z-index: 1000;
}

/* ---- Responsive ---- */

@media only screen and (min-height: 890px) and (min-width: 1350px) {
  .top-left,
  .bottom-left {
    font-size: 18px;
  }

  #portfolio .row {
    width: 96%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 1024px) {
  header#home {
    min-height: 500px;
  }
}

@media only screen and (max-width: 900px) and (max-height: 850px) {
  .bottom-left {
    display: none;
  }

  .bottom-left-2 {
    display: block !important;
  }

  #portfolio .row {
    border-left: none;
    border-right: none;
  }
}

@media only screen and (max-width: 860px) {
  body {
    zoom: 1 !important;
  }

  a {
    color: inherit;
  }

  #mobile-only,
  .bottom-left-2 {
    display: block !important;
  }

  #play-button,
  .bottom-leftt:hover,
  .bottom-right:hover {
    transform: none;
    font-size: 17px;
  }

  .bottom-left {
    display: none;
  }

  header#home {
    margin: 0px;
    min-height: 0px;
    height: 100%;
  }

  .hover-container {
    height: auto !important;
  }

  .draggableImage {
    margin-right: 100% !important;
  }

  .rwt__tab[aria-controls="two"],
  .rwt__tab[aria-controls="three"],
  .rwt__tab[aria-controls="five"],
  .browsero {
    display: none;
  }

  #portfolio h2 {
    margin-bottom: 5px;
  }

  #portfolio-wrapper {
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    padding-top: 20px;
  }

  #portfolio-wrapper .columns {
    margin-bottom: 40px;
  }

  .portfolio-item.columns {
    padding: 0px 30px !important;
  }
}
