body {
    padding: 0;
    margin: 0;
    /*background: #e5e0c2 url(https://carrycastle.se/wp-content/themes/accesspress-parallax/Final-Reza-keyart-with-logo_0000s_0007_BG.jpg) repeat;*/
    background-color: rgb(38, 34, 40);

    /*font-family: 'Roboto', sans-serif;*/
    font-family: 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    line-height: 1.5;
    font-weight: 300;
    font-size: 15px;
    color:rgb(206, 199, 170);

    width: 100vw;
    overflow-x: hidden;
}
html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100vw;
}
.feature-bullets {
    width: 100%;
    max-width: 350px;
    padding-left: 15px;
    margin: 20px auto 10px auto;
    line-height: 1.7;
}
.parallax-tiled {
  display: flex;
  flex-direction: row;
  width: 300vw;
  height: 120vh;
  position: absolute;
  left: 50%;
  transform: translateX(-150vw); /* center 300vw inside 100vw */
  pointer-events: none;
}

.parallax-tiled img {
  width: 100vw;
  height: 120vh;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top;
}

.parallax-wrapper {
    position: relative;
    display: inline-block;
    width: 0;
    margin-left: 50%;
    height: 120vw;
    z-index: -100;
}
.parallax-container {
    width: 100%;
    height: 120vh;
    left: 0; overflow: hidden;
    position: relative;
    z-index: -100;
    }
.steam-button{
    height: 10vh;
}
/* Portrait override */
@media (orientation: portrait) {
  .parallax-tiled img {
    height: 80vh;
    width: auto;
    object-fit: cover;
    object-position: top;
  }
  .steam-button{
    height: 8vh;
}
.parallax-wrapper {
    position: relative;
    display: inline-block;
    width: 0;
    margin-left: 50%;
    height: 80vw;
    z-index: -100;
    }
.parallax-container {
    width: 100%;
    height: 80vh;
    left: 0; overflow: hidden;
    position: relative;
    z-index: -100;
    }
}

#background-video-wrapper {
    width: 100vw;
    height: 56.25vw;
    position: absolute;
    top: calc(56px - 2.5vw); /* 56 is the height of nav bar. Then offset video */
    left: 0;
    right: 0;
    margin: 0;
    z-index: -10000;
    /* background: url("img/loam-land-header-background.jpg") center 0 no-repeat; */
    background: url("img/loam-land-header-background.jpg") center 0 no-repeat;
    background-size: cover;
    overflow-x: hidden;
    overflow-y: visible;
}
#background-video {
    width: 100vw;
}
#background-video-overlay {
    /*background: url(https://carrycastle.se/wp-content/themes/accesspress-parallax/Final-Reza-keyart-with-logo_0000s_0007_BG.jpg) repeat;*/
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 100%;
    /*box-shadow: inset 0 0 50px 70px rgb(34, 33, 27);*/
    background: linear-gradient(0deg, rgb(13, 18, 24), transparent);
}
#firstBox {
    text-align: center;
    font-size: 100%;
    margin-top: 40px;
    background: none;
    box-shadow: none;
    border: none;
    
}
#firstBox img {
    box-shadow: 0 0 18px rgba(44, 35, 29, 0.6);
}

.content-box {
    box-sizing: border-box;
    width: 100%;
    max-width: 651px;
    padding: 0px 25px;
    margin: 45px auto;
    /* background: rgba(78, 86, 88, 0.63); */
    /* box-shadow: inset 0 0 30px rgba(255, 247, 226, 0.16); */
    color: rgb(206, 199, 170);
}
 .content-box p {
    /* padding-left: 12px; */
    padding-top: 8px;
}
.content-box p a {
    text-decoration: underline;
}

.feature-cell {
    width: 50%;
    float: left;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 95%;
    margin-top: 5px;
    margin-bottom: 30px;
}
.feature-cell h3 {
    margin-top: 0;
}

.call-to-action {
    display: inline-block;
    text-align: center;
    
    color:white;
}

.image-columns {
    width: 100%;
    max-width: 720px;
    margin: auto;
}
.image-columns::after {
    clear: both;
}

.image-box {
    width: 48%;
    margin: 1%;
    float: left;
}
.image-box.full-width{
    width: 98%;
    margin: 1%; 
}
.image-box img {
    width: 100%;
    border: 1px solid #333;
    /*box-shadow: 0 0 25px rgba(0,0,0,0.3);*/
}

.center {
    text-align: center;
}

.parallax {
    position: absolute;
    /* opacity: 0.08; */
}
.parallax-top-gradient, .parallax-bottom-gradient {
    position: absolute;
    height: 200px;
    z-index: 100;
    background: linear-gradient(0deg, red/*rgb(13, 18, 24)*/, transparent);
}
.parallax-top-gradient {
    top: 0;
}
.parallax-bottom-gradient {
    bottom: 0;
}

.press-kit-link {
    text-decoration: underline;
    color: white;
    background-color: rgba(27, 27, 27, 0.86);
    padding: 12px 21px;
    border: 1px solid #ddd;
    font-size: 90%;
}

.social-icon {
    text-decoration: none;
    vertical-align: middle;
    display: inline-block;
    padding-top: 4px;
    padding-bottom: 2px;
    margin-right: 6px;
}
.social-icon img {
    opacity: 0.88;
}
.social-icon img:hover {
    opacity: 1;
}

.buy-button img { transition: all 0.3s ease-in 0s; box-shadow: transparent}
.buy-button img:hover {
    
    transform: scale(1.1) rotate(1deg);
    opacity: 1.0;
    transition: all 0.15s ease-out 0s;
}

h1 {
    font-size: 260%;
}
h2 {
    font-size: 130%;
    margin: 10px 0;
    padding: 0;
    letter-spacing: 2px;
}
h3 {
    font-size: 125%;
    padding: 0;
    margin: 0;
    margin-top: 18px;
    margin-bottom: 6px;
}
h1, h2, h3 {
    color: white;
    text-shadow: 0px 0px 3px black;
    font-family: 'imperator', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.heading-with-lines {
    text-align: center;
    width: 100%;
    position: relative;
    vertical-align: middle;
    white-space: nowrap;
}
.heading-with-lines:before {
    background: white;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));
    right: .3em;

    content: "";
    display: inline-block;
    height: 4px;
    position: relative;
    vertical-align: middle;
    width: 10%;
    line-height: 4.5em;
    font-weight: initial;
    white-space: nowrap;
}
.heading-with-lines:after {
    background: white;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    left: .3em;

    content: "";
    display: inline-block;
    height: 4px;
    position: relative;
    vertical-align: middle;
    width: 10%;
    line-height: 4.5em;
    font-weight: initial;
    white-space: nowrap;
}

a, a:active, a:hover {
    color: white;
}

.navbar-dark {
    font-family: 'imperator', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif, sans-serif;
    background: rgb(18, 24, 32) !important;
    /* border-bottom: 1px solid hsla(45, 67%, 60%, 0.863); */
    /* box-shadow: 0 0 30px rgba(12, 15, 43, 0.8); */
}

.navbar-logo {
    height: 40px;
    margin-top: -20px;
    position: absolute;
}

.navbar-nav .nav-item .nav-link,
#mc_embed_signup .button#mc-embedded-subscribe {
    color: rgba(255, 239, 190, 0.8);
}
.navbar-nav .nav-item:not(.active) .nav-link:hover,
#mc_embed_signup .button#mc-embedded-subscribe:hover {
    color: rgba(255, 235, 175, 0.9);
}

@media screen and (max-width: 992px) { /* iPad portrait */
    /* #background-video {
        width: 122vw;
        margin-left: calc((122vw - 100vw) * -0.4);
    } */
    #firstBox {
        margin-top: 3vh;
    }
    h1 {
        font-size: 240%;
    }
    h2 {
        font-size: 125%;
    }
}

@media screen and (max-width: 650px) { /* most phones in portrait */
    /* #background-video-overlay {
        background: none;
    } */
    /* #background-video {
        width: 130vw;
        margin-left: calc((130vw - 100vw) * -0.4);
    } */
    #firstBox {
        margin-top: 3vh;
        color: rgb(71, 69, 77);
        text-align: center;
    }
    h1 {
        font-size: 160%;
    }
    h2 {
        font-size: 112%;
    }
    .feature-cell {
        width: 100%;
    }
    .full-page-shadow {
        box-shadow: none;
        -webkit-backface-visibility: default; /* Without this it lags behind on mobile chrome when scrolling. */
        backface-visibility: default;
    }
    .content-box { /* Content covers full screen width */
        padding: 12px;
        margin-left: 5px;
        margin-right: 5px;
        width: calc(100% - 10px);
    }
    .image-box, .image-box.full-width {
        margin-left: 5px;
        margin-right: 5px;
        width: calc(100% - 10px);
    }
    .parallax-wrapper {
        height: 90vw;
    }
    h2.heading-with-lines:before {
        display: none;
    }
    h2.heading-with-lines:after {
        display: none;
    }
}

/* MailChimp style overrides */
#mc-embedded-subscribe-form {
    padding: 0;
    margin: 0;
}

#mc_embed_signup form {
    padding: 0;
}

#mc_embed_signup_scroll {
    width: 136px;
    text-align: left;
    padding-bottom: 3px;
}

@media screen and (min-width: 992px) {
    #mc_embed_signup_scroll {
        padding-left: 6px;
    }
}

/* the button */
#mc_embed_signup .button#mc-embedded-subscribe {
    display: inline-block;
    margin-top: 6.5px;
    background: none !important;
    padding: 0 !important;
    font-size: 100%;
    transition: none;
    outline: none;
    width: auto !important;
}
/* END MailChimp */


/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on June 12, 2020 */
@font-face {
    font-family: 'imperator';
    src: url('fonts/imperator/imperator-webfont.woff2') format('woff2'),
         url('fonts/imperator/imperator-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'imperator-small-caps';
    src: url('fonts/imperator/ImperatorSmallCaps.woff2') format('woff2'),
        url('fonts/imperator/ImperatorSmallCaps.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
