@font-face {
    font-family: 'r-montserrat';
    src: url("../fonts/montserrat/montserrat-regular.woff") format("woff"),
    url("../fonts/montserrat/montserrat-regular.woff2") format("woff2");
    font-weight: initial;
    font-style: normal;
}

@font-face {
    font-family: 'b-montserrat';
    src: url("../fonts/montserrat/montserrat-bold.woff") format("woff"),
    url("../fonts/montserrat/montserrat-bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}

html {
    font-size: 1vw;
    color: #fff;
    font-family: r-montserrat, sans-serif;
    background-color: rgb(17,14,15);
}


/*   START LOADER   */
.page-loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center
}

.page-loader--hidden {
    opacity: 0;
    visibility: hidden;
}

.page-loader-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #151112;
    transform: scaleX(1);
    transition: transform .8s ease-in-out, opacity .8s linear;
    opacity: 1;
}
.page-loader-bg--hidden {
     transform: scaleX(0) rotate(45deg);
     opacity: 0;
 }

.loader-items {
    position: relative;
    opacity: 1;
    transition: opacity .2s ease;
}

.loader-items--hidden {
     opacity: 0;
}


.loader-water {
    position: relative;
    z-index: 10;
}

.loader-water::before {
     content: "";
     width: 125px;
     height: 125px;
     border-radius: 50%;
     position: absolute;
     left: 50%;
     top: 50%;
     transform: translate(-50%, -50%);
     background-color: #fff;
}

.loader-water__img {
    display: block;
    position: relative;
    z-index: 10;
}
/*   END LOADER   */

.hero {
    background-color: #151112;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

.hero__lighthouse {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10rem;
}

.hero-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-bar {
    padding-top: 10rem;
    display: flex;
    justify-content: flex-end;
    padding-right: 10rem;
    position: relative;
}

.decor-fire {
    display: block;
    width: 94.5rem;
    -o-object-fit: cover;
    object-fit: cover;
}
.hero__decor-fire {
    position: absolute;
    right: -4rem;
    top: .5rem;
}

.lighthouse__wrapper {
    display: block;
    width: 57.5rem;
    height: 48.2rem;
}

.lighthouse {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.screens-nav {
    position: absolute;
    min-width: 10rem;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: 1rem;
    margin-top: 1.65rem;
}
.screens-nav__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.screens-nav--mobile {
    display: none;
}

.screens-nav__item {
    list-style: none;
    color: #fff;
    margin-bottom: 1.6rem;
    cursor: pointer;
    position: relative;
}
.screens-nav__item:after {
    content: "";
    width: 1rem;
    height: 1px;
    background-color: #fff;
    position: absolute;
    bottom: -.5rem;
    left: 0;
    transition: width .25s ease-in-out;
}

.screens-nav__item:hover:after {
    width: 100%;
}

.screens-nav__item span {
    color: #DFAF40;
    min-width: 1.5rem;
    font-size: .9rem;
}

.screens-nav__text {
    font-size: .8rem;
    line-height: 1.4;
    background-color: #000;
    padding: .5rem;
    position: fixed;
    width: 90%;
    margin-left: -10%;
    box-sizing: border-box;
    pointer-events: none;
    bottom: 16rem;
    border: .3rem solid rgb(172, 84, 19);
    opacity: 0;
    /*transform: scale(0);*/
    transform: translateX(1rem);
    transition: opacity .2s ease-in-out, transform .4s cubic-bezier(.22,.68,0,1.71);
}

.screens-nav__item.is-active .screens-nav__text {
    opacity: 1;
    /*transform: scale(1);*/
    transform: translateX(0);
}

.screens-nav__text-row {
    display: flex;
}

.screens-nav__text span {
    color: #DFAF40;
    min-width: 7rem;
    display: block;
    text-align: right;
    padding-right: 1rem;
}
.screens-nav__text--bottom {
    bottom: -10rem;
    width: 212%;
    margin-left: -132%;
}

.screens-nav__link span {
    text-shadow: 0 0 45px #DFAF40;
}

.screens-nav__link {
    display: flex;
    align-items: center;
    font-size: .85rem;
    transition: width .55s ease;
    width: auto;
}

.screens-nav__link span {
    flex-shrink: 0;
    text-shadow: 0 0 15px #DFAF40;
    transition: text-shadow .3s ease;
}

.container {
    width: 86%;
    margin: 0 auto;
}

.hero-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-bar {
    padding-top: 10rem;
    display: flex;
    justify-content: flex-end;
    padding-right: 10rem;
    position: relative;
}

.top-bar__logo {
    display: none;
}

.hero-body {
    margin: auto 0;
    display: flex;
    align-items: center;
    padding-left: 7rem;
    position: relative;
}

.main-title {
    font-size: 3.9rem;
    line-height: 1.2;
    letter-spacing: -.1rem;
    color: #DFAF40;
    text-shadow: 0 -3px 13px rgba(223, 175, 64, .75);
    font-family: b-montserrat, sans-serif;
    text-transform: uppercase;
}

.hero__main-title {
    max-width: 18rem;
    flex-shrink: 0;
    width: 100%;
    margin-right: 4.2rem;
    margin-top: 2.2rem;
    position: relative;
}

.hero__main-title::before {
     content: "";
     display: block;
     position: absolute;
     right: 100%;
     margin-right: 1rem;
     left: -15rem;
     height: 1px;
     top: 3.5rem;
     background-color: #E5E5E5;
 }

.top-contact-form {
    width: 100%;
    max-width: 24.3rem;
    margin-top: 3rem;
}

.contact-form {
    padding: .5rem 3.7rem;
    padding-bottom: 3rem;
    border-radius: 5px;
    background-color: rgba(256,256,256, .05);
    border: 1px solid #fff;
}


.contact-form__heading {
    font-weight: 400;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: .95rem;
    line-height: 1.4;
}

.contact-form__heading span {
    display: block;
}

.contact-form__body {
    width: 100%;
    max-width: 21rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-form__row:not(:last-of-type) {
     margin-bottom: .9rem;
}

.contact-form__message {
    min-height: 6rem;
}

.contact-form__submit {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}


.form-input {
    font-size: 1rem;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: .3rem;
    padding: .5rem .7rem;
    box-sizing: border-box;
    /*padding: elemEmSize(16, 10) elemEmSize(16, 15);*/
    display: block;
    width: 100%;
    color: #fff;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.form-input::placeholder {
     color: rgba(256,256,256, .5);
     font-family: l-montserrat, sans-serif;
}

.form-input:focus {
     outline: none;
    box-shadow: 0 0 10px rgba(223,175,64, .95);
 }

.form-input.validate-error {
     box-shadow: 0 0 10px rgba(223,68,39, .95);
     border-color: #DF4427;
}

.form-message {
    font-size: 1rem;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: .3rem;
    padding: .5rem .7rem;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #fff;
    transition: box-shadow .3s ease, border-color .3s ease;
    resize: none;
}

.form-message::placeholder {
     color: rgba(256,256,256, .5);
     font-family: l-montserrat, sans-serif;
}

.form-message:focus {
     outline: none;
     box-shadow: 0 0 10px rgba(223,175,64, .95);
 }

.form-message.validate-error {
     box-shadow: 0 0 10px rgba(223,68,39, .95);
     border-color: #DF4427;
 }


.hero__logo.logo {
    position: absolute;
    left: 7rem;
    bottom: 100%;
    margin-bottom: -11.5rem;
}
.hero__logo.logo img {
    width: 15.5rem;
}

.button {
    display: inline-block;
    font-weight: 700;
    font-size: 1rem;
    min-width: 100%;
    text-align: center;
    color: #fff;
    background-color: #DFAF40;
    border: none;
    border-radius: 5px;
    padding: .5rem 2rem;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 20px #DFAF40;
    transition: box-shadow .3s ease;
    line-height: 1.2;
}

.button:link, .button:visited {
     color: #fff;
     text-decoration: none;
}

.button:hover {
    box-shadow: 0 0 1rem #DFAF40;
}

.button:focus {
    outline: none;
}

.button-wrapper {
    position: relative;
}

.button {
    position: relative;
    z-index: 10;
}

.button-wrapper:hover .button-circle--1 {
     animation-name: circle1;
     animation-duration: 2600ms;
     animation-timing-function: ease-out;
 }

.button-wrapper:hover .button-circle--2 {
     animation-name: circle1;
     animation-duration: 2600ms;
     animation-timing-function: ease-out;
     animation-delay: 300ms;
}

.button-wrapper:hover .button-circle--3 {
     animation-name: circle1;
     animation-duration: 2600ms;
     animation-timing-function: ease-out;
     animation-delay: 600ms;
}

.button-wrapper:hover .button-circle--4 {
     animation-name: circle1;
     animation-duration: 2600ms;
     animation-timing-function: ease-out;
     animation-delay: 900ms;
}

.button-wrapper:hover .button-circle--5 {
     animation-name: circle1;
     animation-duration: 2600ms;
     animation-timing-function: ease-out;
     animation-delay: 1200ms;
}

.button-circle {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0) scale(0);
    background-color: #DFAF40;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
}
.button-circle {
    width: 5rem;
    height: 5rem;
}


@keyframes circle1 {
    0% {
        opacity: 0.70;
        transform: translate3d(-50%, -50%, 0) scale(0);
        visibility: visible;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(6.5);
        visibility: visible;
    }
}

@media screen and (max-width: 768px){
    html {
        font-size: 14px;
    }
    .hero {
        max-height: unset;
        height: auto;
        overflow: auto;
    }
    .hero-body {
        padding-left: 0;
        flex-direction: column;
    }
    .hero__logo.logo {
        position: relative;
        margin-bottom: 1rem;
        left: 0;
    }
    .hero__logo.logo img {
        width: 7rem;
    }
    .hero__main-title {
        margin-top: 0;
        margin-right: 0;
        max-width: unset;
        text-align: center;
    }
    .main-title {
        margin-top: 0;
        font-size: 2rem;
    }
    .hero__main-title::before {
        display: none;
    }
    .lighthouse__wrapper {
        display: none;
        width: 82%;
        margin-top: 5rem;
    }
    .top-contact-form {
        margin-top: 0;
    }
    .screens-nav {
        position: relative;
        transform: none;
        margin-left: 1rem;
    }
    .screens-nav__list {
        padding-left: 0;
    }
    .screens-nav__item::after {
        display: none;
    }
    .screens-nav__text {
        font-size: 1rem;
        padding: .75rem 0;
        position: static;
        opacity: 1;
        transform: none;
        width: 100%;
        margin-left: 0;
        border: none;
        background-color: transparent;
    }
    .screens-nav__text span {
        min-width: 6.4rem;
    }
    .decor-fire {
        width: 100%;
        right: 0;
    }
    .button-circle {
        display: none;
    }
}

@media screen and (max-width: 390px){
    .contact-form {
        padding: .5rem 2rem 3rem;
    }
}
