:root{
    --green: #21810E;
}

*{
  margin:0; padding:0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  outline: none; border: none;
  text-decoration: none;
  text-transform: none;
  transition: .2s linear;
}

html{
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: hidden;
}

section{
    padding: 2rem 9%;
}


.btn{
    display: inline-block;
    margin-top: 1rem;
    border-radius: 5rem;
    background: #333;
    color: #fff;
    padding: .9rem 3.5rem;
    cursor: pointer;
    font-size: 1.7rem;

}

.btn:hover{
    background: var(--green);
}

header{
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #fff;
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 .5rem 1rem rgb(0, 0, 0, .1);
}


header .logo{
    font-size: 2.5rem;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
}


header .logo span{
    color: var(--green);
}


header .navbar a{
    font-size: 2rem;
    padding: 0 1.5rem;
    color: #666; 
}

header .navbar a:hover{
    color: var(--green);
}

header .icons a{
   font-size: 2.5rem; 
   color: #333;
   margin-left: 1.5rem;;
}

header .icons a:hover{
    color: var(--green);
}

header #toggler{
    display: none;
}

header .fa-bars{
    font-size: 3rem;
    color: #333;
    border-radius: .5rem;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    border: 1rem solid rgba(0,0,0,.3);
    display: none;
}

.home{
    display: flex;
    align-items: center;
    min-height: 100vh;
    background:linear-gradient(rgba(255, 255, 255, 0.155), rgba(255, 255, 255, 0.155)),
               url(https://images.unsplash.com/photo-1497211419994-14ae40a3c7a3?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D)no-repeat;
    background-size: cover;
    background-position: center;   
}

.home .content{
    max-width: 50rem;
}

.home .content h3{
    font-size: 6rem;
    color: #333;
}

.home .content span{
    font-size: 3rem;
    color:#000000;
    padding: 1rem 0;
    line-height: 1.5;
}

.home .content p{
    font-size: 1.5rem;
    color:#000000;
    padding: 1rem 0;
    line-height: 1.5;
}

.about .row{
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    padding-bottom: 3rem;
}

.about .row .image{
    flex: 1 1 40rem;
    position: relative;
}

.about .row .image img{
    width: 100%;
    height: 100%;
    border: 1.5rem solid #fff;
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgb(0, 0, 0, .1);
    object-fit: cover;
}

.about .row .content{
    flex: 1 1 40rem;
}


.about .row .content h3{
    font-size: 3rem;
    color: #333;
}

.about .row .content p{
    font-size: 1.5rem;
    color: #999;
    padding: 1rem 0;
    padding-top: 1rem;
    line-height: 1.5;
}

.footer .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer footer{
    text-align: center;
    padding: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 2.5rem;
    font-size:1rem;
    color: #333;
    border-top: 0.15rem solid rgba(0,0,0,0.15);
    width: 100%;
}

.footer footer span{
    color: var(--green);
}










@media(max-width: 991px) {

    html{
    font-size: 55%;
    }

    header{
    padding: 2rem;
    }

    section{
    padding: 2rem;
    }

    .home{
        background-position: left;
    }

}

@media(max-width: 768px) {
    header .fa-bars{
        display: block;
    }
    header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #eee;
        border-top: .1rem solid rgba(0,0,0, .1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    header #toggler:checked ~ .navbar{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    header .navbar a{
        margin: 1.5rem;
        padding:1.5rem;
        background: #fff;
        border: 1rem solid rgba(0,0,0,.1);
        display: block;
    }

    header .content h3{
        font-size: 5rem;
    }

    header .content span{
        font-size: 2.5rem;
    }
}


@media(max-width: 450px) {

    html{
    font-size: 50%;
    }

    .heading{
        font-size: 3rem;
    }
}