/* including fonts */
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'), url(../fonts/montserrat1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'), url(../fonts/montserrat2.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'), url(../fonts/montserrat3.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'), url(../fonts/montserrat4.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'), url(../fonts/montserrat5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url(../fonts/montserrat6.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url(../fonts/montserrat7.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url(../fonts/montserrat8.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url(../fonts/montserrat9.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url(../fonts/montserrat10.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* End including fonts */

.Montserrat {
    font-family:Montserrat;
}

* {
    font-family: Montserrat;
}

:root {
    --color-body: #202020;
    --color-royal-blue: #2928FF;
    --color-electric-indigo: #6F00FF;
    --color-thunder: #424242;
    --color-deep-carmine-red: #F2293D;
    --color-crimson: #F00A88;
    --color-magenta: #FF99C1;
    --color-purple: #8204ff;
    --color-violet-blue: #3b08af;
    --color-orange: #fd4d36;
}

html {
  overflow-x: hidden;
}

html, html a, body {
  -webkit-font-smoothing: antialiased;
}

html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--color-body);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
    animation: fadeInBack 5s ease-in-out;
}

body::-webkit-scrollbar {
  display: none;
}

div#carousel::-webkit-scrollbar {
   height: 5px;
}

div#carousel::-webkit-scrollbar-track {
  display:none;
}
 
/* Handle */
div#carousel::-webkit-scrollbar-thumb {
  background: #2d2d2d;
  border-radius: 50px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.5;
  color: white;
  margin-top: 0;
  margin-bottom: .5rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 span {
  text-transform: capitalize;
  margin-bottom: 0.75rem;
  font-family: 'Nanum Myeongjo', serif;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #242424;
  transition-duration: 200ms;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.7, 1, 0.7, 1);
}

h1 a:focus, h1 a:hover,
h2 a:focus,
h2 a:hover,
h3 a:focus,
h3 a:hover,
h4 a:focus,
h4 a:hover,
h5 a:focus,
h5 a:hover,
h6 a:focus,
h6 a:hover {
  color: #13b1cd;
  transition-duration: 200ms;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.7, 1, 0.7, 1);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

em,
li {
  font-size: 0.88rem;
  font-weight: 300;
  color: #242424;
}

em > a,
li > a {
  color: #242424;
}

em > a:hover,
li > a:hover {
  color: #26616f;
}

small {
  color: #656565;
}

label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #242424;
  margin-bottom: .25rem;
}

i {
  line-height: 1;
}
input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    margin:0;
}
/* Paragraph */
p {
  font-size: 1.04rem;
  font-weight: 300;
  color: white;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 1rem;
}
/* Preventing Content Copying */
p {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Links */
a {
  color: #111e79;
  text-decoration: none;
}

a:focus, a:hover {
  color: #1095ac;
  text-decoration: none;
}

a:focus {
  outline: none;
}

/* Scroll bar 
::-webkit-scrollbar{
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  cursor: pointer;
  background: #151d78;
}
*/

header {
    padding: 5px 10%;
}

.header-logo {
    border-radius:30%;
}

.headerList {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.btn, .btnGroup span[submitButton] {
    background: var(--main-color);
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
}

.btn:hover, .btnGroup span[submitButton]:hover {
    color:white;
    background: var(--main-color-contrast);    
}

.headerList .btn {
    margin-left: auto;
}

.btn, .btnGroup span[submitButton], .btnGroup span[resetButton], .uploadBox {
    -webkit-transition: 250ms;
    -moz-transition: 250ms;
    -ms-transition: 250ms;
    -o-transition: 250ms;
    transition: 250ms;
}

.trans-300, .arrow-icon {
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -ms-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
}

.promo {
    text-align: center;
    padding: 50px 10%;
}

.promo img {
    width: 300px;
}

.promo-home {
    background: url(../img/the-maze-promo.jpg) 50% 50% no-repeat;
    background-size: cover;
    min-height: calc(100vw / 5);
    padding: 0 !important;
}

.promo-calculateDistance {
    background: url(../img/promoBg01.svg) 50% 50% no-repeat;
    background-size: cover;
}

.promo-upload {
    background: url(../img/promoBg02.svg) 50% 50% no-repeat;
    background-size: cover;
}

.px-10p{
    padding-left:10%;
    padding-right:10%;
}

.py-30 {
    padding-top:30px;
    padding-bottom:30px;
}

.sectionDiv {
    padding: 20px 10%;
}

.inputGroup {
    display: flex;
    flex-direction: column;
}

.inputGroup label {
    text-align: left;
}
.inputGroup input {
    border: none;
    border-bottom: 2px solid var(--secondary-color);
    padding: 5px 0;
}

#distanceForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btnGroup {
    display: flex;
    gap: 25px
}

.btnGroup span[resetButton], .btnGroup span[submitButton] {
    cursor: pointer;
}

.btnGroup span[resetButton] {
    background: #e2e2e2;
    padding: 2px 10px;
    border-radius: 10px;
}

.btnGroup span[resetButton]:hover {
    background: #9e9e9e;
    color:white;
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1em;
}

.mb-2 {
    margin-bottom: 2em;
}

.mb-3 {
    margin-bottom: 3em;
}

.mb-6 {
    margin-bottom: 6em;
}

.hidden-xs {
    display: none;
}

a img {
    vertical-align: middle;
}

.top-promo {
    min-height: 92vh;
    padding: 20px;
    position: relative;
    display: block;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url(/assets/img/promo-bg.jpg) 50% 60%;
    background-repeat: no-repeat;
    background-size: contain;
    animation: promo-bg 15s ease-in-out infinite;
}

.top-promo-title {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.promo-credit {
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 20%;

}
.promo-credit .title {
    transform: rotate(270deg);
    display: block;
    margin-right: -25%;
    white-space: nowrap;
}

.promo-credit .line {
    background: white;
    width: 2px;
    height: 85%;
    position: absolute;
    border-radius: 0px 0px 10px 10px;
    right: 0;
    top: 0;
}

.promo-credit .arrow-icon {
    position: absolute;
    bottom: 12%;
    right: -12;
}

.about-section {
    background: linear-gradient(0deg, #66404f, #202020);
}

.waves-div {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0px;
    z-index: 1;
}

.z2 {
    z-index: 2;
}

.collection-img {
    border-radius: 10px;
}

#about {
    padding-top: 30;
}

.deco1 {
    mix-blend-mode: difference;
    position: absolute;
    left: 0;
    top: 0;
    width: 8%;
    z-index: 0;
}

.lineLink01, .lineLink02, .lineLink03 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lineLink01 .title, .lineLink02 .title, .lineLink03 .title {
    color: var(--color-magenta);
    font-weight: 700;
    cursor:pointer;
}

.lineLink01 .line, .lineLink02 .line, .lineLink03 .line {
    height: 2px;
    background: white;
    border-radius: 10px;
    display: block;
}

.lineLink01 .line {
    width: 450px;
}


.lineLink02 .line {
    width: 350px;
}

.lineLink03 .line {
    width: 100px;
}

.arrow-icon {
    cursor:pointer;
}

.arrow-icon:hover {
    opacity: 0.7;
}

.lineLink01 .arrow-icon, .lineLink03 .arrow-icon{
    transform: rotate(270deg);
}

.artworks-carousel {
    position: relative;
    padding: 0 10px;
}

.artworks-carousel-items{
    display:flex;
    gap: 20px;
    width: 100%;
    overflow-x: scroll;
    scrollbar-width: none;
    position: relative;
    scroll-behavior: smooth;
}

.carousel-next {
    position: absolute;
    background: linear-gradient(270deg, #202020, transparent);
    width: 70px;
    height: 100%;
    top: 0;
    right: 9px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.carousel-prev {
    position: absolute;
    background: linear-gradient(90deg, #202020, transparent);
    width: 70px;
    height: 100%;
    top: 0;
    left: 9px;
    align-items: center;
    justify-content: center;
}

.carousel-next img {
    transform: rotate(270deg);
}

.carousel-prev img {
    transform: rotate(90deg);
}

.artwork-btn {
    color: white;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    position:relative;
}

.artwork-btn:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 0px;
    left: 0;
    bottom: 0;
    opacity: 0;
    background: white;
    border-radius: 10px;
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -ms-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
}

.artwork-btn.active:before {
    height: 2px;
    bottom: -15;
    opacity: 1;
}

.artwork-btn:hover {
    opacity: 0.8;
}

.artwork-data-div {
    display: flex;
    gap: 30px;
    align-items: center;
}

.artwork-data-div h2 {
    font-weight: 700;
}

.artwork-data-img-div {
    min-width: 300px;
    text-align: center;
}

.ver-mid {
    vertical-align: middle;
}

.pr {
    position: relative;
}

#footer {
    background: #292929;
    padding: 20px;
    display: flex;
}
#footer span {
    color: white;
}
.footer-socials {
    margin-left: auto;
}

@media(min-width: 999px) {
    .top-promo-title h1 {
        font-size: 65px;
    }
    .w-60percent-md {
        width: 60%;
    }
    .w-50percent-md {
        width: 50%;
    }
    .w-40percent-md {
        width: 40%;
    }
    .inputGroup {
        width: 33%;
    }
    .artwork-data-div {
        padding: 50px 23%;
        min-height: 450px;
    }
    #distanceForm {
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
    }
    .home-bg {
        background: url(../img/promoBg03.svg) 50% 125% no-repeat;
        min-height: 99vh;
        background-size: contain;
    }
    .hidden-xs {
        display: inherit;
    }
    .headerLinks {
        display:flex;
        align-items: center;
        justify-content: flex-start;
        flex-grow: 1;
        gap: 20px;
    }
    .xsMenuHandler {
        display:none;
    }
    .artworks {
        margin-bottom: 100px;
    }
}

@media(max-width: 998px) {
    h1 {
        font-size:50px;
    }
    .headerLinks {
        display: none;
        position:absolute;
        flex-direction: column;
        gap: 10px;
        right: 20px;
        top: 70px;
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 1px 1px 24px #23232385;
    }
    .headerLinks.showMenu {
        display: flex;
    }
    .xsMenuHandler {
        margin-left: auto;
    }
    .deco1 {
        display:none;
    }
    .promo-credit {
        width: 9%;
    }
    .promo-credit .title {
        margin-right: -65px;
    }
    .lineLink01 .line {
        width: 150px;
    }
    .lineLink02 .line {
        width: 50px;
    }
    .artwork-data-div {
        flex-direction: column;
        padding: 0 20px;
        align-items: center;
    }
    .artwork-data-img-div img{
        max-width: 180px;
    }
    .artworks {
        margin-bottom: 15px;
    }
    #footer {
        flex-direction: column;
    }
}

/* animations */
@-webkit-keyframes promo-bg {
    0% {
        background-position-y: 60%;
	}
	33% {
        background-position-y: 58%;
	}
	66% {
        background-position-y: 63%;
	}
	100% {
        background-position-y: 60%;
	}
}

.frame-5 {
	-webkit-animation: none;
	-moz-animation: none;
	-ms-animation: none;
	animation: none;
	color: transparent;
	text-shadow: 0px 0px 1px #fff;
}
.frame-5 span {
	-webkit-animation: blurFadeIn 2.5s ease-in 1s backwards;
	-moz-animation: blurFadeIn 1s ease-in 1s backwards;
	-ms-animation: blurFadeIn 2.5s ease-in 1s backwards;
	animation: blurFadeIn 2.5s ease-in 1s backwards;
	color: transparent;
	text-shadow: 0px 0px 1px #fff;
}
.frame-5 span:nth-child(2) {
	-webkit-animation-delay: 2s;
	-moz-animation-delay: 2s;
	-ms-animation-delay: 2s;
	animation-delay: 2s;
}
.frame-5 span:nth-child(3) {
	-webkit-animation-delay: 3s;
	-moz-animation-delay: 3s;
	-ms-animation-delay: 3s;
	animation-delay: 3s;
}
@-webkit-keyframes blurFadeIn {
	0% {
		opacity: 0;
		text-shadow: 0px 0px 40px #fff;
		-webkit-transform: scale(1.3);
	}
	50% {
		opacity: 0.5;
		text-shadow: 0px 0px 10px #fff;
		-webkit-transform: scale(1.1);
	}
	100% {
		opacity: 1;
		text-shadow: 0px 0px 1px #fff;
		-webkit-transform: scale(1);
	}
}
@-webkit-keyframes fadeInBack {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* waves */
.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}


.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
}