@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    font-family: "Source Sans Pro", arial, sans-serif;
}

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

h1, h2, h3, h4, h5, h6, p, a, i {
    color: white;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

#wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 3;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#bg {
    -moz-transform: scale(1.0);
    -webkit-transform: scale(1.0);
    -ms-transform: scale(1.0);
    -o-transform: scale(1.0);
       transform: scale(1.0);
    -webkit-backface-visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}
#bg:before, #bg:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#bg:before {
    -moz-transition: background-color 2.5s ease-in-out;
    -webkit-transition: background-color 2.5s ease-in-out;
    -o-transition: background-color 2.5s ease-in-out;
    transition: background-color 2.5s ease-in-out;
    -moz-transition-delay: 0.75s;
    -webkit-transition-delay: 0.75s;
    -o-transition-delay: 0.75s;
       transition-delay: 0.75s;
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(19, 21, 25, 0.5)), to(rgba(19, 21, 25, 0.5))), url('../images/overlay.png');
    background-image: -webkit-linear-gradient(bottom, rgba(19, 21, 25, 0.5), rgba(19, 21, 25, 0.5)), url('../images/overlay.png');
    background-image: -moz-linear-gradient(bottom, rgba(19, 21, 25, 0.5), rgba(19, 21, 25, 0.5)), url('../images/overlay.png');
    background-image: -o-linear-gradient(bottom, rgba(19, 21, 25, 0.5), rgba(19, 21, 25, 0.5)), url('../images/overlay.png');
    background-image: linear-gradient(to top, rgba(19, 21, 25, 0.5), rgba(19, 21, 25, 0.5)), url('../images/overlay.png');
    -webkit-background-size: auto, 256px 256px;
       -moz-background-size: auto, 256px 256px;
         -o-background-size: auto, 256px 256px;
            background-size: auto, 256px 256px;
    background-position: center, center;
    background-repeat: no-repeat, repeat;
    z-index: 2;
}
#bg:after {
    -moz-transform: scale(1.125);
    -webkit-transform: scale(1.125);
    -ms-transform: scale(1.125);
    -o-transform: scale(1.125);
       transform: scale(1.125);
    -moz-transition: -moz-transform 0.325s ease-in-out, -moz-filter 0.325s ease-in-out;
    -webkit-transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out;
    transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out;
    -o-transition: filter 0.325s ease-in-out, -o-transform 0.325s ease-in-out;
    -moz-transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, -moz-transform 0.325s ease-in-out;
    transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out;
    transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out, -moz-transform 0.325s ease-in-out, -o-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out;
    background-image: url('../images/bg.jpg');
    background-position: center;
    -webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}
#bg.backgrounded:after {
    -moz-transform: scale(1.0825);
    -webkit-transform: scale(1.0825);
    -ms-transform: scale(1.0825);
    -o-transform: scale(1.0825);
       transform: scale(1.0825);
    -moz-filter: blur(0.2rem);
    -webkit-filter: blur(0.2rem);
    -ms-filter: blur(0.2rem);
    filter: blur(0.2rem);
}
.floating-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-image: -webkit-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
    background-image: -moz-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
    background-image: -o-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
    background-image: radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
    max-width: 60%;
    -webkit-transition: opacity 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out;
    transition: opacity 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out;
    -o-transition: filter 0.325s ease-in-out, opacity 0.325s ease-in-out, -o-transform 0.325s ease-in-out;
    -moz-transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out, -moz-transform 0.325s ease-in-out;
    transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
    transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out, -moz-transform 0.325s ease-in-out, -o-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out;
}
.floating-container.backgrounded {
    -moz-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
       transform: scale(0.95);
    -moz-filter: blur(0.1rem);
    -webkit-filter: blur(0.1rem);
    -ms-filter: blur(0.1rem);
    filter: blur(0.1rem);
    opacity: 0;
}

.floating-container .gemHeader {
    display: inline-block;
    font-size: 32px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border: 1px solid white;
    -webkit-border-radius: 100%;
       -moz-border-radius: 100%;
            border-radius: 100%;
}

.floating-body {
    padding: 40px;
}

.floating-body h1 {
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 18px;
}
.floating-body img {
    width: 180px;
    margin-top: 24px;
    cursor: pointer;
}

.floating-content {
    position: relative;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    margin-top: 50px;
}

.floating-body p {
    text-transform: uppercase;
    font-weight: 100;
    font-size: 14px;
    letter-spacing: 3px;
}

.floating-options {display: -webkit-box;display: -webkit-flex;display: -moz-box;display: -ms-flexbox;display: flex;-webkit-box-orient: horizontal;-webkit-box-direction: normal;-webkit-flex-direction: row;-moz-box-orient: horizontal;-moz-box-direction: normal;-ms-flex-direction: row;flex-direction: row;}

.floating-options a {
    padding: 12px 31px;
    border: 1px solid white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    -webkit-transition: background-color 150ms ease-out;
    -o-transition: background-color 150ms ease-out;
    -moz-transition: background-color 150ms ease-out;
    transition: background-color 150ms ease-out;
}
.floating-options a:hover {
    background-color: rgba(255,255,255,0.2);
}

.floating-options a:nth-of-type(1) {
    -webkit-border-bottom-left-radius: 4px;
       -moz-border-radius-bottomleft: 4px;
            border-bottom-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
       -moz-border-radius-topleft: 4px;
            border-top-left-radius: 4px;
}
.floating-options a:last-of-type {
    -webkit-border-bottom-right-radius: 4px;
       -moz-border-radius-bottomright: 4px;
            border-bottom-right-radius: 4px;
    -webkit-border-top-right-radius: 4px;
       -moz-border-radius-topright: 4px;
            border-top-right-radius: 4px;
}
.floating-options a:nth-of-type(n+2) {
    border-left: none;
}

.floating-container nav {
    position: relative;
    margin-top: 50px;
}

.floating-container nav::before, .floating-content::before {
    content: '';
    height: 51px;
    width: 1px;
    border-right: 1px solid white;
    position: absolute;
    left: 50%;
    top: -51px;
}

.main {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.main > div {
    position: relative;
    left: 50%;
    -moz-transform: translate(-50%, 0.25rem);
    -webkit-transform: translate(-50%, 0.25rem);
    -ms-transform: translate(-50%, 0.25rem);
    -o-transform: translate(-50%, 0.25rem);
       transform: translate(-50%, 0.25rem);
    -moz-transition: opacity 0.325s ease-in-out, -moz-transform 0.325s ease-in-out;
    -webkit-transition: opacity 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out;
    transition: opacity 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out;
    -o-transition: opacity 0.325s ease-in-out, -o-transform 0.325s ease-in-out;
    -moz-transition: opacity 0.325s ease-in-out, transform 0.325s ease-in-out, -moz-transform 0.325s ease-in-out;
    transition: opacity 0.325s ease-in-out, transform 0.325s ease-in-out;
    transition: opacity 0.325s ease-in-out, transform 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out, -moz-transform 0.325s ease-in-out, -o-transform 0.325s ease-in-out;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 28px;
    background-color: rgba(27, 31, 34, 0.85);
    max-width: 58%;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
    opacity: 0;
}
.main > div.active {
    -moz-transform: translate(-50%,0);
    -webkit-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
       transform: translate(-50%,0);
    opacity: 1;
}

.main > div h2 {
    text-transform: uppercase;
    letter-spacing: 7px;
    border-bottom: solid 1px #ffffff;
    padding-bottom: 7px;
    width: -moz-max-content;
    width: -webkit-max-content;
    width: -ms-max-content;
    width: max-content;
    margin: 0 0 2rem 0;
}

.main > div > span {
    display: block;
    color: white;
    font-size: 36px;
    font-family: Verdana, sans-serif;
    font-weight: 100;
    margin-top: -11px;
    margin-bottom: 16px;
    text-align: right;
    cursor: pointer;
}
.main > div > span:hover {
    color: rgba(255,255,255,0.8);
}

.main > div img {
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
    width: 100%;
    margin-bottom: 38px;
}
.main > div p {
    margin-bottom: 25px;
}

/* IMPORT FOR PORTRAIT */
/* IMPORT FOR PORTRAIT */
/* IMPORT FOR PORTRAIT */
/* IMPORT FOR PORTRAIT */
/* IMPORT FOR PORTRAIT */
/* IMPORT FOR PORTRAIT */

@media screen and (max-aspect-ratio: 13/9) and (max-width: 1023px) { /* Portrait Styles */

.floating-container {
    max-width: 90%;
    display: block;
}

.floating-container .gemHeader {
    margin-top: 20px;
}

.floating-container nav {
    margin-bottom: 20px;
}

.floating-options, .floating-options a {
    display: block;
}

.floating-options a:nth-of-type(1) {
    -webkit-border-bottom-left-radius: 0;
       -moz-border-radius-bottomleft: 0;
            border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 4px;
       -moz-border-radius-topleft: 4px;
            border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
       -moz-border-radius-topright: 4px;
            border-top-right-radius: 4px;
}
.floating-options a:last-of-type {
    -webkit-border-bottom-left-radius: 4px;
       -moz-border-radius-bottomleft: 4px;
            border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
       -moz-border-radius-bottomright: 4px;
            border-bottom-right-radius: 4px;
    -webkit-border-top-right-radius: 0;
       -moz-border-radius-topright: 0;
            border-top-right-radius: 0;
}
.floating-options a:nth-of-type(n+2) {
    border-left: 1px solid white;
    border-top: none;
}

.main > div {
    max-width: 90%;
    margin-top: 20px;
    padding: 20px;
}

.main > div > span {
    font-size: 27px;
    margin-top: -4px;
    margin-bottom: 4px;
}

.main > div h2 {
    font-size: 18px;
}

}