@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    font-size: 10px;
    scroll-behavior: smooth;
}

.center{
    margin:0 auto;text-align:center; width:1100px;
}

body{
    font-family: 'Open Sans', 'sans-serif';
    font-size: 1.6rem;
    background: #fff;
    color: #333;
    line-height: 1.6;
}

ul{
    list-style: none;
}

a{
    color: #333;
    text-decoration: none;
}

h1,h2{
    font-weight: 300;
    line-height: 1.2;
}

p{
    margin: 1rem 0;
}

img{
    width: 100%
}

.text-center{
    text-align: center;
}

/* navbar */
.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #239B56 ;
    opacity: 0.8;
    color: #fff;
    position: fixed;
    width: 100%;
    height: 7rem;
    top:0;
    padding: 0 3rem;
}
.navbar a{
    color: #fff;
    padding: 1rem 2rem;
    margin: 0 .5rem;
}

.navbar a:hover{
    border-bottom: 2px solid var(--warning);
}

.navbar ul{
    display: flex;    
}

.navbar .brand{
    font-weight: 400;
}

.navbar h1{
    font-size: 3rem;
}

.navbar span{
    color: var(--green);
}

/* header */
.main-header{
    background-image: url('../image/3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 70vh;
    color: #fff;
    position: relative;
}

.main-header.blog{
    background-image: url('../img/bg-2.jpeg');
    height: 50vh;
}

.main-header .content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.main-header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.main-header *{
    z-index: 5;
}
.main-header .content h1{
    font-size: 5.5rem;
}

.main-header .content a{
  margin-top: 1.5rem;
}

/* about */
.about{
    color: #2e2a2a;
}

.about .column .column-1,
.about .column .column-2{
    height: 45rem;
}

.about img{
    border-radius: 25px;
}

.about h2{
    font-size: 4rem;
    font-weight: 400;
}

.about p{
    margin: 2rem 0;
    color: #888888;
}

/* gallery */
.gallery img:hover{
    cursor: pointer;
    opacity: 0.8;
}

/* services */
.card{
    color: #888888;
    font-weight: 700;    
}

.card-body{
    padding: 2rem;
    background: var(--green);
    opacity: 0.9;
    height: 25%;
    border-radius: 1.5rem;
    width: 40rem;
    transform: translate(9rem , -5rem);    
}

.services img{   
    height: 40rem;
    border-radius: 10px;
}

/* gallery */
.gallery .column img{
    width: 100%;
    height: 40rem;   
    border: 2px solid var(--secondary);
    border-radius: 10%;
    transition: all .2s ease-in; 
}

.gallery .column{
    overflow: hidden;
}

.gallery .column:hover img{
    TRANSFORM: translateY(-8px);    
}

/* Contact */
#contact-section{
    font-family: "Roboto Mono", monospace;
}

.contact{ 
    padding: 2rem 2rem;
    text-align: center;
}


.contact .contact-center i{
    font-size: 4rem;
    color: #239B56;
}

.contact .contact-center p{
    font-size: 2.2rem;
    font-weight: 500;
}

.clear-fix{
    clear: "";
    display: block;
    clear: both;
}

/* location */
.location-section{
    text-align: center;
}


/* article */
.articles{
    padding: 3rem 5rem;
}

.article{
    margin-top: 1.5rem;
    color: var(--white);
}

/* footer */

footer {
    position: relative;
    bottom: 0;
}

@media (max-height:800px) {
    footer {
        position: static;
    }

    header {
        padding-top: 40px;
    }

}

.footer-distributed {
    background-color: #239B56  ;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font: bold 16px sans-serif;
    padding: 50px 50px 60px 50px;
    margin-top: 80px;
}

.footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
    display: inline-block;
    vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left {
    width: 30%;
}

.footer-distributed h3 {
    color: #ffffff;
    /* font: normal 36px 'Cookie', cursive; */
    font-size: 3.6rem;
    margin: 0;
}


.footer-distributed h3 span {
    color: #e0ac1c;
}

/* Footer links */

.footer-distributed .footer-links {
    color: #ffffff;
    margin: 20px 0 12px;
}

.footer-distributed .footer-links a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
    color: inherit;
}

.footer-distributed .footer-company-name {
    color: #8f9296;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center {
    width: 35%;
}

.footer-distributed .footer-center i {
    background-color: #33383b;
    color: #ffffff;
    font-size: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    margin: 10px 15px;
    vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope {
    font-size: 17px;
    line-height: 38px;
}

.footer-distributed .footer-center p {
    display: inline-block;
    color: #ffffff;
    vertical-align: middle;
    margin: 0;
}

.footer-distributed .footer-center p span {
    display: block;
    font-weight: normal;
    font-size: 14px;
    line-height: 2;
}

.footer-distributed .footer-center p a {
    color: #e0ac1c;
    text-decoration: none;
    ;
}

/* Footer Right */

.footer-distributed .footer-right {
    width: 30%;
}

.footer-distributed .footer-company-about {
    line-height: 20px;
    color: #92999f;
    font-size: 13px;
    font-weight: normal;
    margin: 0;
}

.footer-distributed .footer-company-about span {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-distributed .footer-icons {
    margin-top: 25px;
}

.footer-distributed .footer-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: #33383b;
    border-radius: 2px;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-right: 3px;
    margin-bottom: 5px;
}

.footer-distributed .footer-icons a:hover {
    background-color: #3F71EA;
}

.footer-links a:hover {
    color: #3F71EA;
}

@media (max-width: 880px) {
    .footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
        display: block;
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }
    .footer-distributed .footer-center i {
        margin-left: 0;
    }

    .footer-distributed .footer-left img{
        margin-left: 0 !important;
    }

}            
  

/* mobile */
@media(max-width:768px){
    html{
        font-size: 9px;
    }

    .navbar{
        flex-direction: column;
        height: 120px;
        padding: 20px;
        
    }

    .main-header{
        height: 75vh;
    }

    .navbar a{
        padding: 10px;
        margin: 0 3px;
    }

    .contact-icon{
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .location-section .location iframe{
        width: auto;
        height: 45rem;
    }

    .card-body{       
        transform: translate(3rem , -5rem);    
    }
    
    .gallery .column img{
        height: 20rem;
    }
    
}