html, body {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

@font-face {
    font-family: ResidentEvil;
    src: url("/fonts/Resident-Evil.otf") format("opentype")
}

@font-face {
    font-family: Main;
    src: url("/fonts/HeliosCondCNormal.otf") format("opentype")
}

body {
    background: #1b1852;
    color: #fff;
    padding: 0;
    font-size: 18px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: .04rem;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent
}

h1 {
    font-family: ResidentEvil, serif;
    text-transform: uppercase;
    color: #ef7d00;
    font-size: 140px
}

h2 {
    font-family: Main, serif;
}

h2 {
    font-size: 40px;
    text-align: center;
    display: block;
    max-width: 800px;
    margin: 0 auto 30px;
}

h3 {
    font-family: ResidentEvil, serif;
    border-radius: 13px;
    margin: 10px 0;
    display: inline-block;
    font-size: 90px;
}

.map {
    width: 100%;
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("/images/bg.jpg");
    background-size: cover;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.main:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background-color: rgba(0, 0, 0, 0.33);
    z-index: 0;
}

.bg {
    height: 100vh;
    min-height: 500px;
    width: 100%;
    background-size: cover;
    background-position: center 0;
    position: relative;
    overflow: hidden;
    opacity: 0.4;
    transition: opacity 300ms ease-in;
}

.bg:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.33);
    z-index: 0;
}

.main-content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.63);
    text-align: center;
}

.content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.63);
    transition: top 300ms ease-in;
    text-align: center;
    top: -150px;
}
.bg.animate {
    opacity: 1;
    transition: opacity 300ms ease-in;
}
.bg.animate .content {
    top: 5px;
    transition: top 300ms ease-in;
}

@keyframes move {
    0% {
        top: 0;
        transition: top 300ms ease-in-out 0s;
    }
    50% {
        top: 10px;
        transition: top 300ms ease-in-out 0s;
    }
    100% {
        top: 0;
        transition: top 300ms ease-in-out 0s;
    }
}

.btn {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.arrow-down {
    background-color: transparent;
    height: 20px;
    width: 20px;
    top: 0;
    border-bottom: 3px solid white;
    border-left: 3px solid white;
    transform: rotate(315deg);
    animation: move 800ms 0ms infinite;
    transition: top 300ms ease-in-out 0s;
    position: relative;
}

.contacts {
    text-align: center;
    display: block;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.contacts p {
    margin-bottom: 3px;
}

.copy {
    margin-top: 20px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 1024px) {
    h3 {
        font-size: 70px;
    }
}

@media screen and (max-width: 786px) {
    h1 {
        font-size: 70px
    }

    h2 {
        font-size: 26px;
        padding: 0 10px;
    }

    h3 {
        line-height: 1;
        font-size: 50px;
        padding: 0 7px;
    }

    .bg {
        height: 50vh;
    }

    .contacts {
        padding: 0 25px;
    }

    .copy {
        flex-direction: column;
    }
}