@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('dist/jquery.fancybox.css');



@font-face {
    font-family: 'Futuram';
    src: url('futuram.TTF');
}


body{
    margin: 0;
    background-color: #fafafa;
    font-family: 'Poppins', sans-serif;
    color: #444;
}
a{
    text-decoration: none;
}
img{
    max-width: 100%;
}
nav{
    background-color: #79B642;
    line-height: 2rem;
    font-size: 18px; 
}
nav a{
    color: #fff;
    display: block;
    padding: 10px 20px; 
    text-align: center;
}
nav a:hover{
    background-color: #0c716b;
}
header{
    text-align: center;
    margin: 1rem; 
    background-color: #fff;
}
header img{
    width: 200px; 
}
header h1{
    color: #79b642;
    font-weight: normal;
    font-family: Futuram;
    font-size: 30px;
    line-height: 30px;
    margin: 0; 
    padding: 0;
}
header h2{
    color: #0c716b;
    font-weight: normal;
    font-size: 60px; 
    font-family: Futuram;
    line-height: 60px;
    margin: 0; 
    padding: 0;
}
footer {
    background-color: #79B642;
    color: #fff;
    line-height: 1.7;
}
footer > div{
    max-width: 900px;
    padding: 50px 3vw;
    line-height: 1.7;
    margin: auto; 
}
footer a{
    color: #fff;
}
.page{
    height: 600px;
    background-size: cover;
}
.maintext{
    max-width: 900px;
    padding: 50px 3vw;
    line-height: 1.7;
    margin: auto; 
}
.maintext a{
    color: #444;
}
.grid{
    display: flex;
    flex-wrap: wrap;

}
.grid > div{
    flex: 1 1 400px; 
    margin: 5px; 
}
.grid > div > img,
.grid > div > a img{
    width: 100%;
    height: 100%;
    display: block;
}
@supports(display: grid) {
.grid{
    display: grid;
    justify-items: center;
    gap: 10px; 
}
}
#pictures{
	margin: 10px 0;
} 
@supports(gap: 10px){
    .grid > div{
        margin: 0;
    }
}
.parallax{
    height: 70vh;
    /* max-height: 700px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.parallax h1 {
    text-align: center;
    font-size: 4rem;
    font-family: sans-serif;
}
.table{
    display: grid;
    gap: 20px;
}





@media only screen and ( min-width: 800px ) {
    nav{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    @supports(display: grid) {
        .grid{
            border: 10px solid #fff;
            grid-template-columns: 1fr 1fr 1fr;
            background-color: #fff;
}
    @supports(object-fit: cover){
        .grid > div > img,
        .grid > div > a img{
        object-fit: cover;
        height: 100%;
        width: 100%;  
        }
        .grid > div {
        height: 30vh;
        width: 100%;
        max-height: 400px; 
        }
        } 
    }

    main {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 0px;
    }

    section {
    transform-style: preserve-3d;
    position: relative;



    }

    .no-parallax {
    background-color: #fff;
    z-index: 999;
    max-width: 1200px;
    margin: auto;
    }

    .parallax{
    height: 70vh;
    /* max-height: 700px; */
    }


    .parallax::after {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateZ(-2px) scale(3.05);
    background-size: 100%;
    z-index: -1;
    }

    .bg::after {

    background-size: cover;
    background-position: center center;
    }

    header{
        border-bottom: 30px solid #fff;
    }
    .parallax h1 {
        font-size: 8rem;
      }
    .hedge::after{
    background-image: url("images/hedge.jpg");
}
.tree::after{
    background-image: url("images/upatree.jpg");
}
.landscaping::after{
    background-image: url("images/landscaping.jpg");
}
.gardening::after{
    background-image: url("images/gardening.jpg");
}
.firewood::after{
    background-image: url("images/firewood.jpg");
}
.atv::after{
    background-image: url("images/atv.jpg");
}
}

@media only screen and ( min-width: 1200px ) {
    .top{
        border-radius: 0 0 20px 20px;
    }
    .bottom{
        border-radius:20px ;
        }
    .no-parallax {
        box-shadow: 2px 2px 15px rgba(50,50,50,0.2);
} 
.grid .pillarbox{
    grid-row: 1/4;
    grid-column: 3/4;
    height: 100%;
    max-height: none;
}
.grid .letterbox{
    grid-column: span 4;
}
}


@media only screen and ( max-width: 799px ) {
.bg{

    background-size: cover;
    background-position: center center;
    height: 60vh; 
}
.hedge{
    background-image: url("images/hedge2.jpg");
}
.tree{
    background-image: url("images/1.jpg");
}
.landscaping{
    background-image: url("images/1-5.jpg");
}
.gardening{
    background-image: url("images/1-9.jpg");
}
.firewood{
    background-image: url("images/1-13.jpg");
}
.atv{
    background-image: url("images/1-17.jpg");
}
}


@media only screen and ( min-width: 500px ) {
    .table{
        grid-template-columns: 1fr 1fr;
    }

}