/* Mobile css */

/* page */

@media only screen and (max-width: 750px) {
  html, body {
    background-color: var(--dark);
    max-width: 100%;
    overflow: hidden;
  }
}

/* body{
        opacity: 0;

        -webkit-transition: all 1.5s ease-in-out;
        -moz-transition: all 1.5s ease-in-out;
        -o-transition: all 1.5s ease-in-out;
        transition: all 1.5s ease-in-out;

        transition-delay: 2s;
        -webkit-transition-delay: 2s;
        -moz-transition-delay: 2s;
        -o-transition-delay: 2s;
    } */

/* mobile menu container */

@media only screen and (max-width: 750px) {
  .mobile_menu {
    position: absolute;
    /*z-index: 800;*/
    top: 0;
    /*right: 100%;*/
    width: 20rem;
    height: 100%;
    max-width: 20rem;
    max-height: 100%;
    background-color: var(--dark);
    /*background-color: green;*/
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
}

@media only screen and (max-width: 750px) {
  .mobile_menu--item {
    position: relative;
    top: 1rem;
    left: 0;
    float: left;
    width: 100%;
    max-width: 100%;
    color: var(--light);
    font-size: 1.5rem;
    height: 4rem;
    line-height: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    overflow: hidden;
    z-index: 998 !important;
  }
}

@media only screen and (max-width: 750px) {
  .content {
    -webkit-overflow-scrolling: touch;
    border-radius: 1rem 1rem 0 0;
    /*background-color: red;*/
  }
}

@media only screen and (max-width: 750px) {
  .content_overlay {
    position: absolute;
    left: 20rem;
    top: 0;
    width: calc(100% - 20rem);
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 999;
    background-color: transparent;
    pointer-events: none;
    /*-webkit-transition: all 0.2s ease-in-out;*/
    /*-moz-transition: all 0.2s ease-in-out;*/
    /*-o-transition: all 0.2s ease-in-out;*/
    /*transition: all 0.2s ease-in-out;*/
  }
}

/* navbar */

/* .navbar{
        background: linear-gradient(180deg, rgba(199,43,32,1) 0%, rgba(255, 255, 255, 0) 90%);
    } */

@media only screen and (max-width: 750px) {
  .navbar_button {
    display: none;
  }
}

@media only screen and (max-width: 750px) {
  .navbar_button--menu {
    display: unset;
    position: absolute;
    color: var(--light);
    font-size: 3rem !important;
    height: 3rem !important;
    width: 3rem !important;
    top: 1.5rem !important;
    left: 1.5rem !important;
  }
}

@media only screen and (max-width: 750px) {
  .img_logo {
    position: absolute;
    width: 40%;
    left: 30%;
    height: 2rem;
    top: 2rem;
  }
}

/* content */

@media only screen and (max-width: 750px) {
  .img_main {
    position: relative;
    width: 200%;
    height: 30rem;
    object-fit: cover;
    mask-image: linear-gradient(180deg, rgba(199,43,32,0) 0%, rgba(255, 255, 255, 1) 20%);
  }
}

@media only screen and (max-width: 750px) {
  .top_img_overlay {
    position: fixed;
    z-index: 997;
    width: 100%;
    top: 0;
    left: 0;
    height: 20rem;
    object-fit: cover;
    background-color: var(--accent);
    mix-blend-mode: multiply;
    animation: slide_top_img_overlay 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc((var(--scroll)/100) * -1s);
    animation-iteration-count: 1;
    animation-fill-mode: both;
    pointer-events: none;
    -webkit-transition: left 0.2s ease-in-out;
    -moz-transition: left 0.2s ease-in-out;
    -o-transition: left 0.2s ease-in-out;
    transition: left 0.2s ease-in-out;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
  }
}

@media only screen and (max-width: 750px) {
  .page_title {
    position: absolute;
    top: 22rem;
    left: 2rem;
    font-size: 2.5rem;
    max-width: 100%;
    color: var(--light);
    animation: title_opacity_transition 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(((var(--scroll) - 175)/100) * -1s);
    animation-iteration-count: 1;
    animation-fill-mode: both;
  }
}

@media only screen and (max-width: 750px) {
  .quote_large {
    position: relative;
    height: fit-content;
    line-break: normal;
    color: #c72b20;
    font-size: 1.5rem;
    width: 75%;
    left: 12.5%;
    font-style: italic;
  }
}

@media only screen and (max-width: 750px) {
  .img_half {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    object-fit: cover;
  }
}

@media only screen and (max-width: 750px) {
  .half_centered_button {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 750px) {
  .text_block {
    position: relative;
    max-width: calc(100% - 2rem);
    margin-top: 2rem;
    margin-bottom: 2rem;
    left: 1rem;
    color: var(--accent);
  }
}

/* .text_block--image{
        position: relative;
        float: unset;
        max-width: 50%;
        max-height: 20rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        color: var(--accent);
    } */

@media only screen and (max-width: 750px) {
  .content_3 {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 0rem;
    padding-left: 0rem;
    padding-right: 0rem;
    height: fit-content;
    background-color: white;
  }
}

@media only screen and (max-width: 750px) {
  .content_3_row {
    position: relative;
    height: min-content;
    width: 100%;
    background-color: rgba(255, 166, 0, 0.201);
  }
}

@media only screen and (max-width: 750px) {
  .content_3_stack {
    position: relative;
    width: 100%;
    float: left;
    height: fit-content;
    opacity: 1;
    margin-bottom: 5rem;
  }
}

@media only screen and (max-width: 750px) {
  .footer {
    pointer-events: none;
    opacity: 0;
    display: none;
  }
}

@media only screen and (max-width: 750px) {
  .legal_bar {
    pointer-events: none;
    opacity: 0;
    display: none;
  }
}

@media only screen and (max-width: 750px) {
  .floating_button {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    height: min-content;
    width: fit-content;
    font-size: 1rem;
    background-color: var(--accent);
    color: var(--light);
    padding: 1rem;
    z-index: 1000;
  }
}

@media only screen and (max-width: 750px) {
  .form_container {
    position: relative;
    width: calc(100% - 2rem);
    max-width: 40rem;
    left: 50%;
    transform: translateX(-50%);
    height: fit-content;
    margin: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

