html{
    scroll-behavior: smooth;
}

body{
    background: #f0f0f0;
}

/* Header section */
.guest-landing{
    background-repeat: no-repeat;
    height: 55rem;
   
    background-image: url(../img/green-hand.png);
    background-color: #117311;

    clip-path: polygon(0 0, 100% 0, 100% 65%, 0 80%);
    
}

.logo-box{
    background-color: white;
    border-radius: 50%;
    text-align: center;
    height: 4rem;
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.farmvue-logo{
    display: inline-block;
    width: 64%;
}

.navbar-relative{
    position: relative !important;
}

.navbar-wrapper{
    gap: 17px;
}

.header-landing{
    font-family: Work Sans;
    position: absolute;
    left: 2rem;
    top: 3rem;
    width: 90%;
}


.header-landing__title{
    color: #B7C240;
    font-size: 3rem;
    font-weight: 600;
}

.header-landing__description{
    color: white;
    font-size: 2rem;
}

.header_button{
    width: 12%;
}

.heading-img__container{
    width: 45%;
    height: auto;
    position: fixed;
    right: 2px;
    top: -2.8rem;
}

.heading-img{
    max-width: 100%;
}



/* Features Section */
.features{
    margin-top: -21rem;
    background-image: url(../img/benefits-section-background-image.png);
    clip-path: polygon(0 15%, 100% 0, 100% 65%, 0 80%);
    background-repeat: no-repeat;
    background-size: cover;
    height: 50rem;
}

.feature__image{
    width: 20%;
}

.features__heading{
    padding-top: 8rem;
    color: white;
}

.features ul {
    list-style: none;
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    
}

.features ul li{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: unset;
    gap: 2rem;
    flex: 0 1 14rem;
    height: 14rem;
    padding: 1rem;
    border-radius: 12px;
    background-color: white;
    
   
}

.feature__description{
    font-family: Roboto;
    font-size: 1rem;
    font-weight: bold;
    color: #117311;
    letter-spacing: .7px;

}



/* Videos section */
.videos{
    margin-top: -14rem;
    height: 45rem;
}

.videos__heading{
    font-weight: 400;
    color: black;
    text-align: center;
    padding-top: 9rem;

}

.videos-grid{
    display: grid;
    grid-template-columns: minmax(20rem, max-content) 20rem;
    grid-template-rows: repeat(4, max-content) 5rem;
    column-gap: 5rem;
    row-gap: 1rem;
    justify-content: center;
    align-items: center;
    color: whitesmoke;
}

.current-video{
    grid-column: 1/2;
    grid-row: 1/5;
    width: 41rem;
    height: 26rem;
    
}

.image-resize{
    width: 35%;
    height: 35%;
    margin-top: 12px;

}


.video-all{
    cursor: pointer;
    transition: all 0.5s;
    display: flex;
    justify-content: flex-start;
    gap: 0.6rem;
    padding: .2rem .3rem;

}

.video-position,
.video-description{
    color: black;
    font-family: Work Sans;
    font-weight: 600;
}


.video-position{
    font-size: .8rem;
    margin-bottom: 0rem !important;
}

.video-description{
    font-size: 1rem;
}

.video-text-box{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
}



.video-all:hover,
.active-video{
    background-color: #B7C240;
}

.video-1{
    grid-column: 2/3;
    grid-row: 1/2;
}

.video-2{
    grid-column: 2/3;
    grid-row: 2/3;
}

.video-3{
    grid-column: 2/3;
    grid-row: 3/4;
}

.video-4{
    grid-column: 2/3;
    grid-row: 4/5;
}

.videos-pagination{
    grid-column: 2/3;
    grid-row: 5/6;
    color: black;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}


.pagination-forward,
.pagination-back{
    display: flex;
    justify-content: inherit;
    align-items: center;
    gap: 0.8rem;
    border: 2px solid orange;
    border-radius: 16px;
    width: 35%;
    padding: 6px;
    cursor: pointer;
    font-family: Work Sans;
    font-weight: 600;
}

.pagination-forward:hover,
.pagination-back:hover{
    background-color: #B7C240;
}



/* Frequently Asked Questions */
.FAQ {

    background-image: url(../img/faqs-section-background-image.png) !important;
    background-repeat: no-repeat;
    background-size: 100% 120%;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
    height: 48rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 5rem;

}

.FAQ__title {
    color: white;
    font-weight: 400;
    margin-top: 6.5rem;
    font-size: 40px;
 
}


.accordian {
    font-family: Work Sans;
    font-weight: 600;
    position: relative;
    width: 80%;
    font-size: 1rem;
    margin: .2rem auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem; 
    width: 50%;

}
    

.accordian-item:target .accordian-answer {
      max-height: 20rem; 
}

.accordian-item:target .accordian__arrow--down {
      display: none; 
}
    
.accordian-item:target .accordian__arrow--up {
      display: block; 
}
    
.accordian-link:link,
    .accordian-link:active{
    padding: .5rem .3rem;
    color: white !important;
    background-image: linear-gradient(-35deg, #117311, #117311 14%, #0F370E 14.2%, #0F370E 14.2%) !important;
    text-decoration: none;
    padding-left: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

.accordian-link:hover,
.accordian-link:visited{
    color: white !important;
}
    
.accordian-answer {
      font-weight: 400;
      padding-left: 1rem;
      max-height: 0;
      overflow: hidden;
      position: relative;
      background: white;
      transition: max-height 1s; 
}



.accordian__arrow--up {
    display: none; 
}


.btn-fixed{
    display: none;
    position: fixed;
    z-index: 99;
    right: 20px;
    bottom: 50px;
    color: #eee;
    border-radius: 10px;
    padding: 10px 15px;
    animation: none;
     
}


.btn-fixed:link,
.btn-fixed:visited{
    text-decoration: none;
   
}

/* Footer */
.footer-landing{
    color: white;
}


/* Utilities */

.landing__heading{
    font-family: inherit;
    font-family: Work Sans;
    font-size: 2 rem;
    font-weight: 800;
    text-align: center;

}

.btn-custom{
    background: #808000;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.247);
    border: 1px solid transparent;
    overflow: hidden;
    transition: all .1s cubic-bezier(.21,-0.67,.76,1.63);
}

.btn-custom:focus{
    outline: none;
}

.btn-custom::after{
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    right: auto;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, rgba(209,112,60,0),rgba(255,255,255,0.5) 50%,rgba(209,112,60,0));
    transform: rotate(-30deg);
}

.btn-custom:hover,
.btn-custom:active{
    transform: translateY(-1px);
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.247);
    cursor: pointer;
}

.break-toggle__header{
    display: none;
}

/* Animations */

.header-landing__typewriter{
    animation: typewriter 5s steps(400) 1s 1 normal both;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes shine {
    100% {
      transform: rotate(-30deg) translate(290%, 195%);
    }
}

@keyframes moveInBottom {
    0% {
      opacity: 0;
      transform: translateY(3rem); }
    100% {
      opacity: 1;
      transform: translateY(0); } 
}


/* PUSH NOTIFICATION FORM STYLES */
.form-container{
    margin: 4rem auto;
    /* background-position: 0px -100px; */
    background-image:linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7) 50%, 
    rgba(0, 0, 0, 0.425)50%,rgba(0, 0, 0, 0.534)) ,url(../img/Sloped-fields.jpg) !important;
    width: 70%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;

    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr;
}

.form-information{
    grid-column: 1/2;
    grid-row: 1/1;
    margin: 2rem 1rem;

}

.form-information__heading{
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-display{
    grid-column: 2/3;
    grid-row: 1/1;
}

.form-information__features{
    display: flex;
    flex-direction: column;
    gap: 2rem;

}

.form-information__features--1,
.form-information__features--2,
.form-information__features--3{
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon-box {
    width: 4%;
    height: 2rem;
    align-self: center;
}

.form-information__icon{
    align-self: center;
    color: #0039a6;
}

.form-display{
    display: flex;
    flex-direction: column;
    margin: 2rem 1rem;
    gap: 1rem;

}

.form-display__heading{
    color: whitesmoke;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-display__item{
    display: flex;
    flex-direction: column;
}

.form-display__item label{
    font-weight: 500;
    color: white;
}

.form-display__item input,
.form-display__item textarea{
    background-color: whitesmoke;
}

.form-display__item textarea{
    height: 5rem;
}

input[type=text],
input[type=url],
textarea {
    border: 3px solid transparent;
    border-radius: 4px;
    transition: 0.5s;
    outline: none;
}

input[type=text]:focus,
input[type=url]:focus,
textarea:focus{
    border: 3px solid transparent;

}


.btn-submit{
    background-color: #0039a6;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.247);
    border: 1px solid transparent;
    width: 100%;
    height: 2rem;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
}

.btn-submit:focus{
    outline: none;
}

.btn-submit:link,
.btn-fixed:visited{
    border: 2px solid transparent;
}

.btn-submit:hover,
.btn-submit:active{
    border: 1px solid transparent;
    transform: translateY(-1px);
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.247);
    outline: none;
}

#remainingCharacters{
    color: white;
    margin-top: 1rem;
}

.loading-icon{
    animation: spin 2s linear infinite;
}

.success-icon{
    color: limegreen;
    z-index: 100;
}

.fail-icon{
    color: red;
    z-index: 100;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% {  transform: rotate(359deg); }
}
