@font-face {
    font-family: "Gotham Greek Ultra";
    src: url("../fonts/subset-GothamGreek-Ultra.eot");
    src: url("../fonts/subset-GothamGreek-Ultra.eot?#iefix") format("embedded-opentype"), url("../fonts/subset-GothamGreek-Ultra.woff2") format("woff2"), url("../fonts/subset-GothamGreek-Ultra.woff") format("woff"), url("../fonts/subset-GothamGreek-Ultra.ttf") format("truetype"), url("../fonts/subset-GothamGreek-Ultra.svg#GothamGreek-Ultra") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gotham Greek Book";
    src: url("../fonts/subset-GothamGreek-Book.eot");
    src: url("../fonts/subset-GothamGreek-Book.eot?#iefix") format("embedded-opentype"), url("../fonts/subset-GothamGreek-Book.woff2") format("woff2"), url("../fonts/subset-GothamGreek-Book.woff") format("woff"), url("../fonts/subset-GothamGreek-Book.ttf") format("truetype"), url("../fonts/subset-GothamGreek-Book.svg#GothamGreek-Book") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body, html {
    height: 100vh;
    overflow: hidden !important;
    font-family: "Gotham Greek Book";
    background: rgb(100 100 100);
    position: relative;
    margin: 0;
    display: table;
    width: 100vw;
}

#fandeck-container {
    height: 133vh;
    width: 133vh;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#fandeck {
    transition: transform 0.6s ease-out;
    /* transform: rotate(
-33deg); */
    height: 133vh;
    width: 133vh;
    position: absolute;
    bottom: -60vh;
    margin: auto;
    transform-origin: 50% 50%;
    left: 0;
    right: 0;
}

.color {
    height: calc(11.5% - 5px);
    display: flex;
    padding: 10px 10px 0 10px;
    box-sizing: border-box;
    font-size: 14px;
    align-items: start;
    cursor: pointer;
    text-align: right;
    user-select: none;
    justify-content: flex-end;
}

.color:before {
    content: "IST";
    padding-right: 5px;
}

section.color.selected {
    outline: 2px solid #2c3e50;
    outline-offset: -1px;
}

.color-name {
    font-size: 0.7vw;
    font-family: "Gotham Greek Ultra";
}

.color-code {
    font-size: 14px;
}

.fandeck-page {
    transform-origin: 50% 100%;
    display: flex;
    flex-direction: column;
    margin: auto;
    position: absolute;
    /* bottom: 0; */
    /* left: 50%; */
    left: 45.5%;
    margin-bottom: 10px;
    text-align: left;
    gap: 10px;
    height: 50%;
    width: 13vh;
    background-color: #fff;
    border: 1px solid #2c3e50;
    border-radius: 0 0 105px 105px;
    /*
    performance issues
    border-radius: 4px 4px 105px 105px; */
}

.fandeck-page.cover-page {
    color: #fff;
    text-align: right;
    background-color: #fff;
    background-image: url(../images/front.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.fandeck-page.cover-page div {
    transform: rotate(90deg);
    display: flex;
    align-items: center;
    margin-top: 10vh;
}

.fandeck-page.cover-page div img {
    height: 100%;
    object-fit: contain;
    margin-right: 20px;
    border-right: 1px solid #fff;
    padding-right: 20px;
    max-width: 200px;
}

.fandeck-page.cover-page div span {
    font-family: "Gotham Greek Book";
    white-space: nowrap;
    font-size: 20px;
}
div#copyrights {
    position: fixed;
    bottom: 0;
    left: 0;
    background: #000;
    width: 100%;
    color: #fff;
    font-size: 12px;
    height: 25px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    line-height: 12px;
}
div#copyrights img {
    height: 12px;
    margin: 0 5px;
}
#bottom-bar {
    position: fixed;
    bottom: 25px;
    width: 100%;
    height: 130px;
    left: 0;
}

#colors-bar-container {
    width: 100%;
    height: 30px;
}

#colors-bar {
    width: 100%;
    height: inherit;
    display: flex;
    position: absolute;
}

.color-bar-section {
    width: inherit;
    display: flex;
}

.color-bar-color {
    height: 100%;
    width: inherit;
}

#colors-bar-range {
    z-index: 2;
    position: relative;
    -webkit-appearance: none;
    display: flex;
    margin: 0 auto;
    width: 100%;
    height: 30px;
    background: transparent;
    outline: none;
    cursor: pointer;
}

#color-description-container {
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
}

.search {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 1000;
    width: 370px;
}

input.search-input:focus {
    background: #2c3a47;
}
input.search-input {
    background: #34c0bf;
    border: none;
    color: #fff;
    font-family: "Gotham Greek Book";
    height: 50px;
    padding: 0 40px 0 20px;
    width: 100%;
    outline: none;
    transition: all 0.5s ease;
    box-sizing: border-box;
    font-weight: 500;
}
.search > svg {
    position: absolute;
    height: 20px;
    right: 20px;
    top: 15px;
}

input.search-input::-webkit-input-placeholder {
    color: #fff;
}

input.search-input::-moz-placeholder {
    color: #fff;
}

input.search-input::-ms-input-placeholder {
    color: #fff;
}

input.search-input::-moz-placeholder {
    color: #fff;
}

.search-error-message {
    color: #fff;
    display: none;
    background: #ff0000;
    font-size: 14px;
    text-align: center;
    padding: 5px 0;
}

.color-description {
    padding: 0 50px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    height: 100px;
}

.color-description h1 {
    font-family: "Gotham Greek Ultra";
    margin: 0 0px 10px 0;
    font-size: 20px;
    width: 100%;
    line-height: 18px;
    font-weight: normal;
}

.color-description p {
    margin: 0;
    width: 100%;
}

.color-description .color-description-lrv:before {
    content: "LRV: ";
}

span.color-description-lrv {
    width: 100%;
}

input#colors-bar-range input[type="range"]::-webkit-slider-thumb, input#colors-bar-range input[type="range"]::-moz-range-thumbm, input#colors-bar-range input[type="range"]::-ms-thumb {
    height: 15px;
    width: 15px;
    border-radius: 50px;
    background: #000;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
}

body:before {
    content: "ISOMAT";
    font-family: "Gotham Greek Ultra";
    position: absolute;
    color: #fff;
    opacity: 0.1;
    font-size: 27vw;
    left: -3vw;
    top: 50%;
    transform: translateY(-50%);
}

::selection {
    background: #58b19f;
    color: #fff;
}

::-moz-selection {
    background: #58b19f;
    color: #fff;
}

.fandeck-page.three-colors .color {
    height: calc(27.8% - 5px);
}

.main-site-link a {
    background: #9d4b62;
    font-family: "Gotham Greek Book";
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    font-size: 14px;
    height: 50px;
    display: flex;
    line-height: 50px;
    padding: 0 40px;
    align-items: center;
    transition: all 0.5s ease;
}

.main-site-link svg path {
    fill: #fff;
}

.main-site-link {
    position: absolute;
    right: 50px;
    z-index: 1000;
    top: 50px;
}

.main-site-link a svg {
    margin-right: 10px;
}

.main-site-link a:hover {
    background: #34c0bf;
}
span.color-bar-section.cover-section {
    display: none;
}
span.color-bar-section.static-section {
    background: #fff;
    height: 30px;
    align-self: end;
    position: relative;
}
span.color-bar-section.static-section p.color-bar-text {
    position: absolute;
    background: #fff;
    margin: 0;
    padding: 5px;
    transition: all 0.5s ease;
    opacity: 0;
    white-space: nowrap;
    left: 0;
    user-select: none;
}
span.color-bar-section.static-section:hover p.color-bar-text {
    opacity: 1;
}
.fandeck-page.static-page span {
    font-size: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    position: absolute;
    letter-spacing: 6px;
    top: 55px;
    right: 30px;
    writing-mode: vertical-lr;
    transform: scale(-1);
    font-weight: bold;
    user-select: none;
}
.fandeck-page.static-page:after {
    content: "";
    background: #eb0d1c;
    position: absolute;
    width: 7px;
    height: 85px;
    right: 15px;
}
.main-site-link h2 {
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    width: calc(100% - 50px);
    margin: 0;
    max-width: 270px;
}
.mouse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}
.scroll-downs {
    width :34px;
    height: 55px;
}
.mousey {
    width: 35px;
    padding: 10px 0;
    height: 100%;
    border: 2px solid #fff;
    border-radius: 25px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}
.scroller {
    width: 3px;
    height: 10px;
    border-radius: 25%;
    background-color: #fff;
    animation-name: scroll;
    animation-duration: 1.5s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
}
@keyframes scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0;}
}
.static-sections a {
    background: #fff;
    height: 30px;
    line-height: 30px;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    transition: all 0.5s ease;
    cursor: pointer;
}
.static-sections svg {
    margin-left: 5px;
    width: 20px;
    height: 20px;
}
.static-sections path {
    fill: #eb0d1c;
    transition: all 0.5s ease;
}
.static-sections a:hover {
    background: #eb0d1c;
    color: #fff;
}
.static-sections a:hover path {
    fill: #fff;
}
.static-sections {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}
.info {
    position: fixed;
    right: 50px;
    bottom: 55px;
    z-index: 1000;
}
.info p {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    padding: 30px;
    bottom: 0;
    right: 0;
    width: 400px;
    transition: transform 0.6s ease-out;
}
.info:hover p {
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width: 1200px) {
    .search {
        top: 30px;
        left: 30px;
    }
    div#copyrights {
    padding: 0 30px;
    }
    .color-description {
        padding: 0 30px;
    }
    .color-description h1 {
        font-size: 1.7vw;
        line-height: 1.5vw;
        margin: 0 0 5px 0;
    }
    .main-site-link {
        right: 30px;
        top: 30px;
    }
    .main-site-link h2 {
    font-size: 14px;
    }
    .scroll-downs {
    width: 30px;
    height: 45px;
    }
    .mousey {
    width: 30px;
    }
    .main-site-link h2 {
    width: 280px;
    }
}

@media screen and (max-width: 1024px) {
    .color-description {
        font-size: 14px;
    }
    .mouse {
    display: none;
    }
}

@media screen and (max-width: 767px) {
    #color-description-container {
        grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
        grid-template-rows: repeat(auto-fit, minmax(50%, 1fr));
        height: 100px;
    }
    .info svg path {
    fill: #fff;
    }
    .info p {
    right: initial;
    bottom: initial;
    top: 0;
    left: 0;
    width: calc(100vw - 60px);
    box-sizing: border-box;
    }
    .info {
    right: initial;
    bottom: initial;
    left: 30px;
    top: 100px;
    }
    .color-description {
        height: 100%;
        align-items: end;
        position: relative;
    }
    span.color-description-lrv, p.color-description-code {
        text-align: right;
    }
    h1.color-description-name {
        width: calc(100% - 150px);
        position: absolute;
        left: 30px;
        margin: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        line-height: 14px;
    }
    .fandeck-page.cover-page div img {
        width: 150px;
    }
    .search {
        width: 275px;
    }
    .main-site-link a {
        padding: 0 20px;
    }
    .static-sections {
    display: none !important;
    }
}

@media screen and (max-width: 640px) {
    .main-site-link {
        right: 20px;
        top: 20px;
        left: 20px;
    }
    .main-site-link a {
        height: 40px;
        line-height: 40px;
        justify-content: center;
    }
    .search {
        top: 65px;
        left: 20px;
        right: 20px;
        width: auto;
    }
    input.search-input {
        width: 100%;
        box-sizing: border-box;
        height: 40px;
    }
    .search svg {
        height: 15px;
        top: 13px;
    }
    span.color-bar-section.static-section {
    display: none;
    }
    .info {
    left: 20px;
    top: 120px;
    }
    .info p {
    width: calc(100vw - 40px);
    }
}

@media screen and (max-width: 580px) {
    #color-description-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(auto-fit, minmax(25%, 1fr));
    }
    div#copyrights {
    padding: 0 20px;
}
    h1.color-description-name {
        position: relative;
        top: initial;
        transform: none;
        width: auto;
        left: initial;
        margin-right: auto;
    }
    .color-description {
        padding: 0 20px;
    }
    .color-description {
        flex-wrap: unset;
        flex-direction: row;
        align-items: center;
        justify-content: end;
    }
    span.color-description-lrv, p.color-description-code {
        width: auto;
    }
    span.color-description-lrv {
        margin-left: 10px;
    }
}

@media screen and (max-width: 400px) {
    h1.color-description-name, .color-description {
        font-size: 12px;
        line-height: 12px;
    }
    .main-site-link a, input.search-input {
        height: 30px;
        line-height: 30px;
    }
    .search svg {
        top: 8px;
        right: 10px;
    }
    .search {
        top: 55px;
    }
    .info {
    top: 100px;
    }
}

@media screen and (max-height: 900px) {
    .static-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    margin-top: 10px;
    }
    .static-sections a {
    margin: 0;
    }
}

@media screen and (max-height: 800px) {
    #fandeck {
        bottom: -55vh;
    }
    .color {
        font-size: 12px;
    }
    .fandeck-page.static-page span {
    font-size: 2.5vh;
    }
}

@media screen and (max-height: 700px) {
    .color:before {
        padding-right: 0;
        position: absolute;
        right: 10px;
        top: 10px;
    }
    section.color {
        padding-top: 23px;
        position: relative;
    }
    .static-sections {
    display: none;
    }
}

@media screen and (max-height: 600px) {
    .color {
        padding: 5px 5px 0 5px;
        font-size: 2vh;
    }
    .color {
        height: 35px;
    }
    .fandeck-page.cover-page div img {
        width: 18vh;
    }
    .fandeck-page.cover-page div span {
        font-size: 16px;
    }
    .color:before {
        right: 5px;
        top: 5px;
    }
    section.color {
        padding-top: 15px;
    }
}

@media screen and (max-height: 500px) {
    .color {
        height: 30px;
    }
    .fandeck-page {
        gap: 5px;
    }
    .fandeck-page.cover-page div span {
        font-size: 3vh;
    }
    .fandeck-page.static-page span {
    letter-spacing: 3px;
    }
}