html{
    width: 100%;
    height: 100%;
}
#body{
    font-family: 'Raleway', sans-serif;
}

/*NAV*/
#homeBtn{
    display: none;
}

#mainNav a:hover{
    text-decoration: none;
}

#homeBtn{
    margin: 16px 0 0 0;
    font-size: 1em;
    color: #1d1d1d;
    font-weight: 700;
}

.navbar{
    background-color: rgba(230, 230, 230);
}

#mainNav ul{
    border-radius: 0.5rem;
}

#mainNav .nav-link{
    font-weight: 700;
    font-size: 1.1em;
    color: #1d1d1d;
}

.nav-link:hover{
    background-color:rgb(255, 255, 255);
    border-radius: 0.5em;
    font-size: 1.5em;
}

#menuButton{
    font-family: 'Cookie', cursive;
    font-size: 2em;
    color:rgb(112, 112, 112);
    padding: 0;
} 


#mainNav .dropdown-menu{
    overflow: hidden;
    background: rgb(230, 230, 230);
    border: 0;
    border-radius: 0.5em;
}

#mainNav .dropdown-item:hover{
    background-color:rgb(255, 255, 255);
}

#mainNav .dropdown-item{
    font-weight: 500;
    font-size: 1em;
    color: #1d1d1d;
    opacity: none;
}

#mainNav .dropdown-item:hover{
    border-radius: 0.5em;
}

.fixed-top.scrolled {
    font-size: 1em;
    background-color:rgb(230, 230, 230);
}

/*HEADER*/
.wrapper{
    background: url(../img/header-bg.jpg) no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    height: 100vh;
}

.welcome{
    font-size: 6rem;
    font-family: 'Cookie', cursive;
    color: black;  
}

.intro{
    padding-top: 0.5rem;
    font-size: 1.5rem;
    font-weight: 500;
}


.buffer1{
    height: 1vw;
}

section .btn{
    font-weight: 600;
    border-radius: 400px;
    text-transform: uppercase;    
}

section .btn-xl{
    padding: 1rem 2rem;
}

section .btn-primary{
    background-color: #7EA6B9;
    border: #7EA6B9;
    color: black;  
}

section .btn-primary:hover{
    background-color: #B2CED8;
    border: #B2CED8;
}

/*Service*/
.service{
    margin-top: 2rem;
}

.row  h2{
    font-size: 4rem;
    padding-bottom: 2rem;  
}

.container .box-2{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

div.card-body {
padding: 0;
margin: 0;
}

#service img{
    width: 100%;
}
#service .card{
    display: flex;
    align-items: start;
}

.row .card {
    border-radius: 0%;
    padding: 0.3em;
    height: 100%;
    border: 2px;
}

.card-front{
    background-color: rgb(255, 255, 255);
}

.card .card-footer{
    background-color: rgb(255, 255, 255);
    border: 1px rgb(247, 247, 247);
    font-weight: 700;
    padding: 0.5rem;
    margin: 0;
}

#service .card-title {
    padding: 0.5rem;
    font-weight: 700;
}
#service .card-text {
    padding: 0.4rem;
    height: 150px;
}

.buffer{
    height: 4rem;
}

/*FLIP CARD*/
.card-flip > div {
    backface-visibility: hidden;
    transition: transform 300ms;
    transition-timing-function: linear;
    height: 100%;
    margin: 0;
    display: flex;
}
  
.card-front {
   transform: rotateY(0deg);
}
.card-back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    background-color: #F8FCFE;
    background-image: linear-gradient(to right,#F8FCFE, rgb(230, 240, 245));
    padding: 0 1em 0 1em;
}
  
.card-flip:hover .card-front {
    transform: rotateY(-180deg);
}
    
.card-flip:hover .card-back {
    transform: rotateY(0deg);
}

/*Agent*/
.container .agent {
border: 3px rgb(247, 247, 247);
}

.container .logo{
    display: flex;
    align-content: center;
    align-items: center;
}
.agent-text h5{
    font-size: 1.5rem;
    padding: 0;
}
.agent-text p{
    text-align:justify;  
    text-justify:auto;
}

/*contact*/
#contact{
background: url(../img/contact4.jpg) no-repeat center center; 
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
-webkit-appearance: none;
-moz-appearance: none;
-o-appearance: none;
appearance: none;
height: 70vh;
}

.info {
    background-color: rgba(230, 230, 230, 0.7);
    padding:2em 0 0em 0;
    height: 70vh;
    min-width: 250px;
}

#contact a {
    text-decoration: none;
    color: black;
}

#contact a:hover{
    color: #0008c5;
    font-size: larger;
}

#contact p{
    margin: 0;
}

/*Footer*/
.footer{
    padding: 25px 0 0 0 ;
    background-color:  rgb(112, 112, 112);
    color: white; 
}

.copyright{
    min-width: 230px;
}

footer a{
    color: white;
    text-decoration: none;
}

footer a:hover{
    font-weight: 600;
    color: #7EA6B9;
    text-decoration: none;
}

@media screen and (max-width: 1010px){

    #coverImg{
        display: none;
    }

    #homeBtn{
        display: block;
    }

    #mainNav .dropdown-menu{
        background: rgb(247, 247, 247, 0,9);
    }

    #menuButton i {
        background-color: white;
    }

    /*Header*/
    header .welcome{
        margin-top: 20px;
        font-size: 3rem; 
    }

    header .intro{
        padding-top: 0;
        font-size: 1.1rem; 
    }

    section .btn{
        font-size: 0.8em;
        padding: 10px 26px;
    }

    .buffer{
        height: 5rem;
    }


    /*SERVICE*/
    #service .section-heading{
        font-size: 2rem;
    }

    .card-back p, ul{
        font-size: 14px;
        padding: 0;
    }

   /*CONTACT*/
    #contact{
        font-size: 0.7rem;
        font-weight: 600;
    }

    #contact h1{
        font-size: 1.5rem;
    }
    
    .tele, #email {
        font-size: 0.7rem;
    }

    /*FOOTER*/
    .footer .row{
        margin: 0;
        padding: 0px;
    }

    .footer .copyright{
        display: flex;
        justify-content: center;
    }

    .footer #terms{
        display: flex;
        justify-content: center;
    }
  
}
												