body{
    font-size: 100px;
    background: black;
    width: 100%;
}

.cover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: white;
    z-index: 1000000000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: ease-in 1s;
    overflow: hidden;
}

.cover img {
    animation: 2.5s linear forwards grow;
    transition: ease-in 1s;
    width: 250px;
}

@keyframes grow {
    0%, 60% {
        /* width: 250px; */
        transform: scale(1);
    }
    30% {
        /* width: 300px; */
        transform: scale(1.2);
    }
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: .8em;
    width: 100%;
    background: white;
    z-index: 5;
    color: black;
    border-bottom: solid black .01em;

    /* display: flex;
    justify-content: space-between;
    padding-right: 200px; */
}

.top-bar nav {
    margin-top: -.45em;
    padding-right: .5em;
}

.top-bar button {
    font-size: .25em;
    margin-right: 1.5em;
    background: none!important;
    border: none;
    padding: 0!important;
    cursor: pointer;
    color: black;
    font-family:'Allura';
}

.top-bar h6 {
    margin-top: .5em;
}

h6 {
    margin-top: .2em;
    margin-left: .7em;
    font-size: 40%;
    /* font-size: 35%; */
    font-family:'Allura';
}

@media screen and (max-width: 875px) {
    h6 {
        margin: .5em 0;
        text-align: center;
    }
}

.bgd {
    position: fixed;
}

.bgd-photo {
    margin-left: 50vw;
    margin-top: 4em;
}

.bgd-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, .3))
}

.content {
    top: .75em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.foreground {
    position: absolute;
    top: .75em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
}

.foreground h5 {
    color: black;
    font-size: 5vh;
    padding: 0em 6vw 0;
    text-align: center;
    text-shadow: 4px 6px 4px #000000;
    margin-bottom: -.5em;
}




body {
    margin: 0;
  }
  
.holder {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transform-style: preserve-3d;
    z-index: -1;
}
  
.background {
    transform-style: preserve-3d;
    position: absolute;
    top: -4em;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    z-index: -1;
    transform: translateZ(-100vw) /*translateY(-20vw)*/ scale(2.2);
}

.bgd-picgrid {
    transform-style: preserve-3d;
    display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
    justify-content: center;
}

.background img {
    /* width: 100%; */
    width: 100%;
    object-fit: cover;
}

.bgd-img-holder {
    width: 50%;
    height: 7.5em;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.img-2 {
    transform: translateZ(-100vw) translateY(3em) translateX(1.5em) scale(1.4);
    /* margin-bottom: 4.5em; */
}
.img-3 {
    transform: translateZ(-100vw) translateX(-1.6em) scale(1.4);
}
.img-6 {
    transform: translateZ(-100vw) translateY(2em) translateX(1.5em) scale(1.4);
}


.bottom-bar {
    transform-style: preserve-3d;
    display: flex;
    width: 100%;
    height: 6em;
    position: absolute;
    font-size: .15em;
    color: black;
    background-color: white;
    border-top: solid black .01em;
    padding-top: 4em;
    padding-left: 4em;
    margin-top: 5em;
}
  
.wrapper {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 100vw;
    position: relative;
}
  



.title {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* gap: 1em; */
    color: white;
    text-shadow: 0 0 5px black;
    padding: 0 4em;
    margin-top: 2em;
}

.title h5 {
    color: white;
    text-align: center;
    font-size: .7em;
    text-shadow: 4px 6px 4px #000000;
    margin-bottom: -.1em;
    /* margin-bottom: .5em; */
}

.title h4 {
    color: white;
    text-align: center;
    font-size: .4em;
    text-shadow: 4px 6px 4px #000000;
    padding: 0 3em;
}

.first-button {
    position: relative;
    transition: all 1s;

    margin: 0 15% 3%;
    width: 60%;
    height: 2em;
    background:rgba(23, 128, 16, 0.9);
    /* background:rgba(120, 128, 16, 0.9); */
    border: solid white .01em;
    color: white;
    font-size: .3em;
    font-family:'Allura';
    cursor: pointer;
}


.arrow a {
    color: white; 
    text-decoration: none;
}
.arrow {
    text-align: center;
    margin: 8% 0;
    font-size: .2em;
  }
  .bounce {
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 3s infinite;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-30px);
    }
    60% {
      transform: translateY(-15px);
    }
  }


  
@media screen and (min-width: 1121px) {
    .top-vid {
        padding:32% 0 0 0;
    }

    
}
@media screen and (max-width: 1280px) {
    .title h5 {
        font-size: .6em;
    }
    .title h4 {
        font-size: .4em;
    }

    .background {
        top: -10em;
        left: -4em;
    }
    .background img {
        width: 200%;
        margin-left: -1.5em;
    }
    .title {
        padding: 0;
        margin-top: .5em;
        /* gap: .1em; */
    }
    #img-2 {
        transform: translateZ(-100vw) translateY(8em) scale(1.4);
        margin-bottom: 12em;
    }
    .top-vid {
        margin-top: .5em;
    }
}
@media screen and (max-width: 1120px) {
    .top-vid {
        padding:46% 0 0 0;
    }   
    .title h5 {
        font-size: .5em;
    }
    .title h4 {
        font-size: .3em;
    }

    .background {
        top: -10em;
        left: -4em;
    }
    .background img {
        width: 200%;
        margin-left: -1.5em;
    }
    .title {
        padding: 0;
        margin-top: 1em;
        gap: -.1em;
    }
    #img-2 {
        transform: translateZ(-100vw) translateY(8em) scale(1.4);
        margin-bottom: 12em;
    }
    .top-vid {
        margin-top: .5em;
    }
}
@media screen and (max-width: 992px) {
    .top-vid {
        /* margin-top: -.4em; */
        padding:46% 0 0 0;
    }
}
@media screen and (max-width: 768px) {
    .top-vid {
        margin-top: -1.4em;
        /* margin-top: .5em; */
        padding:46% 0 0 0;
    }

    .title h5 {
        font-size: .4em;
    }
    .title h4 {
        font-size: .2em;
    }

    .background {
        top: 2em;
    }
    .background img {
        width: 200%;
        margin-left: -1.5em;
    }
    .title {
        padding: 0;
        margin-top: -.5em;
        gap: .1em;
    }
    #img-2 {
        transform: translateZ(-100vw) translateY(8em) scale(1.4);
        margin-bottom: 12em;
    }
}
@media screen and (max-width: 480px) {
    .foreground h5, .wrapper h5 {
      margin: 1em 0 3em;
    }
    .copy p {
        margin: 0 1em !important;
    }

    .title h5 {
        font-size: .3em;
        margin-bottom: 0;
    }
    .title h4 {
        font-size: .2em;
    }

    .background {
        top: 2em;
    }
    .background img {
        width: 200%;
        margin-left: .3em;
    }
    .title {
        padding: 0;
        /* margin-top: -2em; */
        gap: .1em;
    }
    #img-2 {
        transform: translateZ(-100vw) translateY(8em) scale(1.4);
        margin-bottom: 12em;
    }

    .date-label::after {
        top: 0 !important;
        margin-left: .3em !important;
    }

    .time-label::after {
        margin-top: -.55em !important;
        margin-left: .3em !important;
    }

    #date-box, .time {
        color: rgb(26, 26, 26) !important;
    }

    input::-webkit-date-and-time-value {
        text-align: left;
    }
}

@media screen and (max-width: 375px) {
    .top-bar h6 {
        font-size: .28em;
    }
    .top-bar {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .first-button {
        font-size: .28em;
    }
    .foreground h5, .wrapper h5 {
      margin: 1em 0 3em;
    }
    .copy p {
        margin: 0 1em !important;
    }

    .title h5 {
        font-size: .3em;
        margin-bottom: 0;
    }
    .title h4 {
        font-size: .2em;
    }

    .background {
        top: 2em;
    }
    .title {
        padding: 0;
        margin-top: .5em;
        /* gap: .1em; */
    }
    .top-vid {
        margin-top: .5em;
    }
    #img-2 {
        transform: translateZ(-100vw) translateY(8em) scale(1.4);
        margin-bottom: 12em;
    }
}

.top-vid {
    filter: drop-shadow(11px 15px 14px #000);
    width: 80%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.form-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap-reverse;
    z-index: 1;
    max-width: 95%;
}

#solos-vid {
    height: 100%;
}

.vid {
    height: 5.3em;
}

.content-box {
    background: linear-gradient(rgba(255, 255, 255, 0.658), rgba(255, 255, 255, 0.8));
    /* background: linear-gradient(rgba(0, 0, 0, 0.658), rgba(0, 0, 0, .8)); */
    border-width: .01em;
    border-style: solid;
    border-color: black;
    filter: drop-shadow(11px 15px 14px #000);
}

.content-box h6 {
    font-size: 43%;
}

.form {
    position: relative;
    color: black;
    /* color: white; */
    max-width: 4.9em;
    /* max-width: 5.6em; */
    transform: translateZ(.01px);

}

.form h6 {
    margin-top: .5em;
    font-size: 3.6vh;
    /* font-size: 3.5vh; */
    margin-right: 1em;
    margin-left: 1em;
}

@media screen and (max-width: 1000px) {
    .form h6 {
      margin-bottom: 3em;
    }
}

@media screen and (max-width: 640px) {
    .form h6 {
      margin-bottom: 2.5em;
    }

    .vid {
        width: 100%;
        justify-content: center;
        display: flex;
        padding-bottom: 28.5%;
    }
    #solos-vid {
        width: 100%;
        height: 119%;
    }

    .calls-left {
        margin-top: 1%;
    }
}

.text-boxes {
    display: flex;
    flex-direction: column;
    margin-top: -.7em;
}

textarea {
    resize: none;
}

#lead-form, .spinner, .front, .back {
    display: flex;
    flex-direction: column;
    gap: .2em;
    text-align: center;
}

.back p {
    margin-top: -1.8em;
    font-size: .15em;
    cursor: pointer;
}

.spinner {
    transform-style: preserve-3d;  
    perspective: 50em;
    transform: translateZ(2em);
    position: relative;
    align-items: center;
}

@-moz-document url-prefix() {
    .spinner {
        margin: .1em;
    }

    label, .time, #date-box, .date-label::after {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
}

.front {
    transform-style: preserve-3d;  
    z-index: 2;
    transform: translateZ(1px);
    /* width: 100%; */
    margin: .2em;
    backface-visibility: hidden;
}

.divider {
    background-color: rgb(3, 3, 3);
    border: solid;
    border-width: .01em;
    border-color: rgba(192, 192, 192, 0.192);
    width: 80%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.spinner-bgd {
    background-color: rgb(219, 219, 219);
    /* background-color: rgb(3, 3, 3); */
    border: solid;
    border-width: .01em;
    border-color: rgb(0, 0, 0);
    /* border-color: rgba(192, 192, 192, 0.192); */
    width: 80%;
    padding: .2em 0 .1em;
    /* width: 80%;
    height: 100%;
    position: absolute;
    z-index: 1; */
}

.back {
    transform-style: preserve-3d;  
    position: absolute;
    transform: rotateY(180deg) translateZ(1px);
    /* -moz-transform: rotateY(180deg) translateZ(-1px); */
    /* width: 100%; */
    margin: .2em;
    backface-visibility: hidden;
}

@keyframes flip {
    from {
        transform: translateZ(2em) rotateY(0deg);
    }
    to {
        transform: translateZ(2em) rotateY(180deg);
    }
}

@keyframes flipBack {
    from {
        transform: translateZ(2em) rotateY(180deg);
    }
    to {
        transform: translateZ(2em) rotateY(360deg);
    }
}

.text-entry {
    margin: 0 7%;
    height: 2.5em;
}

textarea {
    margin: 0 7%;
}

select, .time, #date-box, #first-name, #last-name {
    width: 100%;
    height: 2.5em;
    margin: 0;
}

.time, #date-box, #start-time, #end-time {
    appearance: all;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
}

/* #start-time:before {
   content: 'Start:';
   margin-right: .6em;
   color: #000000;
}

#end-time:before {
   content: 'End:';
   margin-right: .6em;
   color: #000000;
} */

label, .time, #date-box {
    position: relative;
    display: block;
    padding-top: 10px;
    /* padding-top: 12px; */
    width: 100%;
    max-width: 185px;
    box-sizing: border-box;
    transform-style: preserve-3d;
    transform: translateZ(2em);
    -moz-transform: translateZ(0);
    /* -webkit-transform: translateZ(0); */
}

#date-box, .time-label {
    margin-top: -10px;
}

.date-label::after {
    top: 3px;
}

label::after {
    content: attr(data-domain);
    position: absolute;
    top: 16px;
    left: 4px;
    /* font-family: arial, helvetica, sans-serif; */
    font-family: monospace;
    font-size: 10px;
    /* font-size: 11.5px; */
    display: block;
    color: rgba(0, 0, 0, 0.6);
    font-weight: bold;
    transform: translateZ(3em);
    -moz-transform: translateZ(0);
    /* -webkit-transform: translateZ(0); */
}

/* #date-box:before {
   content: 'Date:';
   margin-right: .6em;
   color: #000000;
} */

.double-col {
    margin: 0 7%;
    display: flex;
    justify-content: space-between;
    gap: .15em;
}

.call-button {
    /* For spinner */
    position: relative;
    transition: all 1s;

    margin: 0 7% 3%;
    height: 1.5em;
    /* height: 2em; */
    background:rgba(16, 73, 11, 0.658);
    border: solid white .01em;
    color: white;
    font-size: .3em;
    font-family:'Allura';
}

#form-submit:hover, .call-button:hover, #form-submit:disabled {
    cursor: pointer;
    background:rgba(26, 105, 19, 0.658);
}

iframe {
    height: 470px;
}

@media screen and (max-width: 1020px) {
    iframe {
      margin-bottom: .2em;
    }
}

.calls-left {
    font-size: .15em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding-bottom: 2em;
    margin: -6em 6em -.3;
}

.calls-left img {
    width: 58%;
    min-width: 10em;
}

.testimonials{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 95%;
    overflow: hidden;
}

.reviews-wrapper {
    width: 100%;
    display: flex;
    align-items: left;
    flex-direction: column;
    gap: .1em;
    margin-top: -4%;
}

.reviews {
    display: flex;
    justify-content: left;
    flex-wrap: nowrap;
    gap: .33%;
    perspective: 200em;
    width: 300%;
    animation: slide 38s infinite linear;
    /* transform: translateX(-18em); */
}

#reviews-row-2 img:nth-child(1), #reviews-row-2 img:nth-child(9) {
    margin-top: .06%;
}

#reviews-row-2 img:nth-child(2), #reviews-row-2 img:nth-child(10) {
    margin-top: -1.9%;
}

#reviews-row-2 img:nth-child(3), #reviews-row-2 img:nth-child(11) {
    margin-top: -.6%;
}

#reviews-row-2 img:nth-child(4), #reviews-row-2 img:nth-child(12) {
    margin-top: -2.94%;
}

#reviews-row-2 img:nth-child(5), #reviews-row-2 img:nth-child(13) {
    margin-top: -2.8%;
}

#reviews-row-2 img:nth-child(6) {
    margin-top: -.8%;
}

#reviews-row-2 img:nth-child(7) {
    margin-top: -2.55%;
}

#reviews-row-2 img:nth-child(8) {
    margin-top: -2.53%;
}


#reviews-row-3 img:nth-child(1), #reviews-row-3 img:nth-child(9) {
    margin-top: -.1%;
}

#reviews-row-3 img:nth-child(2), #reviews-row-3 img:nth-child(10) {
    margin-top: -.94%;
}

#reviews-row-3 img:nth-child(3), #reviews-row-3 img:nth-child(11) {
    margin-top: .23%;
}

#reviews-row-3 img:nth-child(4), #reviews-row-3 img:nth-child(12) {
    margin-top: -3.43%;
}

#reviews-row-3 img:nth-child(5), #reviews-row-3 img:nth-child(13) {
    margin-top: -2.03%;
}

#reviews-row-3 img:nth-child(6) {
    margin-top: -.02%;
}

#reviews-row-3 img:nth-child(7) {
    margin-top: -1.7%;
}

#reviews-row-3 img:nth-child(8) {
    margin-top: -2.13%;
}

.reviews img {
    vertical-align: middle;
    width: 7%;
    min-width: 7%;
    align-self: flex-start;
    will-change: transform;     /* Prevents images from re-rendering with each loop */
}

.reviews img:hover {
    transform: scale(101%);
}

@keyframes slide {
	to { transform: translateX(var(--direction, -58.67%)) }
}

@keyframes slide2 {
    /* to { transform: translateX(calc(-100% + 100vw)) } */
	to { transform: translateX(var(--direction, -200%)) }
}

@media screen and (max-width: 1000px) {
    .reviews img {
        width: 24%;
        min-width: 24%;
    }

    .reviews-wrapper {
        margin-top: -3%;
        margin-bottom: -16.5%;
    }

    .reviews {
        gap: 1%;
        animation: slide2 100s infinite linear;
    }


    #reviews-row-2 img:nth-child(2), #reviews-row-2 img:nth-child(10) {
        margin-top: -6.92%;
    }
    
    #reviews-row-2 img:nth-child(3), #reviews-row-2 img:nth-child(11) {
        margin-top: -2.3%;
    }
    
    #reviews-row-2 img:nth-child(4), #reviews-row-2 img:nth-child(12) {
        margin-top: -10.47%;
    }
    
    #reviews-row-2 img:nth-child(5) {
        margin-top: -10%;
    }
    
    #reviews-row-2 img:nth-child(6) {
        margin-top: -3.2%;
    }
    
    #reviews-row-2 img:nth-child(7) {
        margin-top: -9.16%;
    }
    
    #reviews-row-2 img:nth-child(8) {
        margin-top: -9.16%;
    }
    
    
    #reviews-row-3 img:nth-child(1), #reviews-row-3 img:nth-child(9) {
        margin-top: -.8%;
    }
    
    #reviews-row-3 img:nth-child(2), #reviews-row-3 img:nth-child(10) {
        margin-top: -3.7%;
    }
    
    #reviews-row-3 img:nth-child(3), #reviews-row-3 img:nth-child(11) {
        margin-top: .3%;
    }
    
    #reviews-row-3 img:nth-child(4), #reviews-row-3 img:nth-child(12) {
        margin-top: -12.3%;
    }
    
    #reviews-row-3 img:nth-child(5) {
        margin-top: -7.48%;
    }
    
    #reviews-row-3 img:nth-child(6) {
        margin-top: -.65%;
    }
    
    #reviews-row-3 img:nth-child(7) {
        margin-top: -6.35%;
    }
    
    #reviews-row-3 img:nth-child(8) {
        margin-top: -7.85%;
    }
}

@keyframes rotate {
    to {
        transform: rotateX(360deg) translateZ(.01px);
    }
}

.foreground h6, .content h6 {
    color: black;
}

.multiline {
    white-space: pre-wrap;
}

.copy {
    display: flex;
    flex-direction: column;
    max-width: 94%;
    margin-bottom: 2em;
}

.copy p {
    color: black;
    font-size: .2em;
    margin: 0 2em;
}

.copy h6 {
    margin-top: .5em;
}

@media screen and (min-width: 875px) {
    .copy {
        max-width: 62%;
    }
    .copy p {
        margin-top: -4.8em;
    }
}

/* SOCIAL MEDIA BUTTONS */
.social-menu {
    position: relative;
    margin: .5em;
}
.social-menu ul{
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0;
    margin: 0;
    transform: translate(-50%, -50%);
    display: flex;
}

.social-menu ul li{
    list-style: none;
    margin: 0 15px;
}

.social-menu ul li .fab{
    font-size: 30px;
    line-height: 60px;
    transition: .3s;
    color: #000;
}

.social-menu ul li .fab:hover{
    color: #fff;
}

.social-menu ul li a{
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    text-align: center;
    transition: .6s;
    box-shadow: 0 5px 4px rgba(0,0,0,.5);
}

.social-menu ul li a:hover{
    transform: translate(0, -10%);
}

.social-menu ul li:nth-child(1) a:hover{
    background-color: #E4405F;
}
.social-menu ul li:nth-child(2) a:hover{
    background-color: #FF0000;
}

select {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-position: right center;
    background-color: white;
    color: #000000;
}


/**** SPINNER ****/

/* position of the spinner when it appears, you might have to change these values */
.spin .spinner {
    left: -.6em;
    top: .4em;
    width: 2.5em;
    display: block;
    position: absolute;
}

/* spinner animation */
@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    
    100% {
        transform: rotate(360deg);
    }
}

/* The actual spinner element is a pseudo-element */
.spin .spinner::before {
    content: "";
    width: 1em; /* Size of the spinner */
    height: 1em; 
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: solid .25em #999;
    border-bottom-color: #555; 
    animation: .8s linear infinite spinner; /* speed of spinner */
    transform: translate(-50%, -50%);
    will-change: transform;
    box-sizing: border-box;
}

.wrapper {
    background-image: url("/pics/AdobeStock_676146075 [Converted].png");
    background-size: cover;
    background-repeat: repeat-y;
}
