* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

#wrapper{
    max-width: 1400px;
    margin: 0 auto;
}

#content {
    margin: 0px;
}

/*Pop up*/

.popup-container {
    width: 100%;
    height: 400px;
    position: absolute;
    top: 17%;
    z-index: 999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.popup {
    text-align: center;
    background-color: rgb(209, 251, 209);
    max-width: 400px;
    width: 100%;
    height: 400px;
    border: #000000 solid 2px;
    display: none;
}

#popup-close {
    text-align: right;
    padding: 15px;
    font-size: 2em;
}

.popup h2 {
    margin-top: 30px;
    font-size: 2em;
    padding: 0px 5px 100px 5px;
}

.overlayment {
    position: absolute;
    top: 0;
    width: 100%;
    height: 2500px;
    z-index: 777;
    background-color: #0000007a;
    display: none;
}

/*timer*/
#timer{
    font-size: 24px;
    font-weight: bold;
    background-color: black;
    color: white;
    text-align: center;
}

/*navigation*/
.nav {
    background-color: white;
}

.icon {
    padding: 10px;
}

.nav ul {
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    margin: 0px;
    flex-direction: column;
}

.nav li {
    list-style-type: none;
    padding: 10px;
}

.nav li a {
    color: black;
    text-decoration: none ;
}
.nav li.links {
    width: 150px;
    align-items: center;
    margin-left: 80px;
}

.logo {
    padding: 10px;
    width: 80%;
    text-align: center;
}

.logo img {
    width: 400px;
    height: 100px;
}

.Num-button {
    text-align: center;
    padding: 10px;
    width: 170px;
    background-color: green;
    height: 42px;
    border-radius: 5px;
    margin: 0px 0px 50px 0px;
    color: rgb(255, 255, 255);
}

.Num-button a {
    text-decoration: none;
    color: white;
}

/*Slider*/
.slide {
    width: 100%;
    height: 500px;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-container {
    flex-wrap: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide1 {
    background-image: url(images/slide\ images/lawn\ mowinig.jpg);
    background-position: center;
    background-size: cover;
}

.slide2 {
    background-image: url(images/slide\ images/commercial\ landscaping.jpg);
    background-position: center;
    background-size: cover;
}

.slide3 {
    background-image: url(images/slide\ images/lanscape\ maintaence.jpg);
    background-position: center;
    background-size: cover;
}

.white {
    color: white;
    font-family: 'Times New Roman', Times, serif;
    font-size: 30px;
}

.cta-wrapper {
    max-width: 1400px;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-1 {
    width: 295px;
    background: #0000004e;
    padding: 10px;
    text-align: center;
}

.banner-2 {
    width: 295px;
    background: #0000004e;
    padding: 10px;
    text-align: center;
}

.banner-3 {
    width: 295px;
    background: #0000004e;
    padding: 10px;
    text-align: center;
}

.btn-main {
    background-color: rgb(0, 61, 0);
    padding: 10px;
    border-style: solid 2px;
}

.btn-main a {
    text-decoration: none;
    color: white;
}

.fa-chevron-left {
    font-size: 1em;
    color: black;
    margin-right: 4px;
}

.fa-chevron-right {
    font-size: 1em;
    color: black;
    margin-right: 4px;
}

.dot-container {
    max-width: 1400px;
    position: relative;
    left: 50%;
    bottom: 25%;
}

.dots {
    height: 15px;
    width: 15px;
    margin: 0px 5px;
    background-color: grey;
    transition: background-color 0.6s ease;
}

.active .dots:hover {
    background-color: #fff;
}

.fade {
    -webkit-animation-name: fade;
    animation-name: fade;
    -webkit-animation-duration: 2.5s;
    animation-duration: 2.5s;
}

@-webkit-keyframes fade {
    from{opacity: .6s;}
    to{opacity: 1;}
}

@keyframes fade {
    from{opacity: .6;}
    to{opacity: 1;}
}

/*Services Boxes*/

.service-container1 {
    padding: 10px;
    background-color: green;
    margin-top: 20px;
}

.service-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.servicebx {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    color: #fff;
}

.service-container1 h1{
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 4em;
}

h1 {
    color: rgb(1, 91, 1);
    text-align: center;
    font-size: 4em;
}

.service-box1,.service-box2,.service-box3,.service-box4,.service-box5 {
    width: 30%;
    background-color: #ffffff00;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 10px 15px 0px;
}

.call-now {
    background-color: rgb(0, 0, 0);
    text-align: center;
}

.call-now a {
    color: #ffffff;
    text-decoration: none;
}

/*Contact*/

.contact-container {
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.support-box {
    background-color: #F4F4F4;
    width: 80%;
    border: #000000 solid 2px;
    border-radius: 10px;
    text-align: center;
}

.office-box {
    width: fit-content;
    padding: 20px;
    border: #000000 solid 2px;
    border-radius: 10px;
    margin: 30px;
    background-color: #F4F4F4;
    text-align: center;
}

.office-box img {
    width: 500px;
}

.map2 {
    border: #000000 solid 1px;
    border-radius: 5px;
}

#form2 {
    max-width: 600px;
    width: 100%;
    height: 325px;
    background-color: #F4F4F4;
    border: #000000 solid 2px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

#Email-field, #Name-field {
    width: 100%;
    padding: 10px 5px;
    margin: 5px 0px;
    border: solid 1px #000000;
    color: #000000;
    border-radius: 5px;
}

#Email-field::placeholder,#Name-field::placeholder {
    color : rgb(156, 156, 156);
}

#Email-field:focus, #Name-field:focus {
    box-shadow: 0 0 20px rgb(1, 55, 11);
    border: 1px solid rgb(0, 40, 8);
    outline-style: none;
    border-style: none;
}

.btn-send {
    width: 50%;
    padding: 10px 0px;
    border: #000000 solid 1px;
    border-radius: 0px;
    background-color: green;
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    margin: 20px;
}

/*Blog*/
.blog-container{
    display: flex;
    justify-content: space-around;
}

.blog-container1 {
    display: flex
;
    justify-content: space-around;
}

.box1, .box2, .box3, .box4, .box5{
    max-width: 500px;
    background-color:  #F4F4F4;
    border: solid black 1px;
    border-radius: 5px;
    padding: 10px;
    margin: 20px;
}

.blog a {
    color: green;
    text-decoration: none;
    font-size: 20px;
}

.box1 .img-box{
    width: 100%;
    height: 200px;
    background-image: url(images/blog\ images/mower.jpg);
    border: solid black 1px;
} 

.box2 .img-box{
    width: 100%;
    height: 200px;
    background-image: url(images/blog\ images/lady.jpg);
    border: solid black 1px;
} 

.box3 .img-box{
    width: 100%;
    height: 200px;
    background-image: url(images/blog\ images/grass.jpg);
    border: solid black 1px;
} 

.box4 .img-box{
    width: 100%;
    height: 200px;
    background-image: url(images/blog\ images/weeding.jpg);
    border: solid black 1px;
    background-position: bottom;
} 

.box5 .img-box{
    width: 100%;
    height: 230px;
    background-image: url(images/blog\ images/flowering-lawn.jpg);
    border: solid black 1px;
} 

.blog2-container {
    padding: 20px;
}

.blog2-container h2{
    color: green;
    font-size: 40px;
}

.blog-colum {
    display: flex;
}

.blog-colum1 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}


/*Footer*/
#footer {
    width: 100%;
    padding: 10px;
    background-color: green;
    display: flex;
    align-items: center;
    color: rgb(255, 255, 255);
    flex-direction: column;
    justify-content: space-around;
}

#footer .map img {
    width: 300px;
    align-content: center;
    border: 2px solid black;
    border-radius: 5px;
}

.info ul{
    text-align: center;
}

.info li {
    list-style-type: none;
}

.mediaicons {
    display: flex;
    flex-direction: row;
    font-size: 20px;
    justify-content: center;
}

#facebook, #instagram, #twitter {
    padding: 10px;
    font-size: 30px;
}

#form {
    max-width: 300px;
    width: 100%;
    height: 325px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

#email-field, #name-field, #zip-field{
    width: 100%;
    padding: 10px 5px;
    margin: 5px 0px;
    border-style: none;
    color: #000000;
    border-radius: 5px;
}

#email-field::placeholder,#name-field::placeholder,#zip-field::placeholder {
    color : rgb(156, 156, 156);
}

#email-field:focus, #name-field:focus, #zip-field:focus {
    box-shadow: 0 0 20px rgb(3, 87, 18);
    border: 1px solid rgb(3, 87, 18);
    outline-style: none;
    border-style: none;
}

button {
    width: 50%;
    padding: 10px 0px;
    border-style: none;
    background-color: rgb(79, 79, 79);
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    border-radius: 10px;
    margin: 20px;
}

#error-email {
    color: rgb(255, 255, 255);
    padding: 3px 3px;
}

.hide {
    display: none;
}

#copyright {
    background-color: rgb(0, 0, 0);
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 10px;
}

#back-to-top {
    position: fixed;
    bottom: 4px;
    right: 0px;
    background-color: rgb(210, 255, 215);
    border-radius: 5px;
    border: solid 1px black;
    font-size: 30px;
    padding: 25px;
    margin: 40px;
    transition: all .3s ease-in-out;
    opacity: 0;
}

#back-to-top:hover{
    background-color: rgb(210, 255, 215);
    padding: 35px;
}

#back-to-top.visible{
    opacity: 1;
}

@media screen and (min-width: 900px){
    .nav {
        background-color: rgb(255, 255, 255);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav li {
        text-align: center;
    }
   
    .logo  {
        text-align: left;
        width: 40%;
    }

    .nav ul {
        display: flex;
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 10px;
    }

    .icon {
        display: none;
    
    }
   
    .hide {
        display: block;
    }

    .contact-container {
        justify-content: space-evenly;
    }

    #footer {
        flex-direction: row;
    }

}