/* font-family: 'DM Sans', sans-serif;
font-family: 'Playfair Display', serif; */


/* COMMON ELEMENTS */

* , *:before, *:after{ 
    box-sizing:border-box; 
    -moz-box-sizing:border-box; 
    -webkit-box-sizing:border-box; 
    -ms-box-sizing:border-box;
  }

body {
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

.btn-custom {
    border: 1px solid black;
}

h5 {
    font-weight: 800;
}

#footer a{
    text-decoration: none;
    color: #000;
    font-weight: 800;
}

#sentmsg{
    background-color: aqua;
    font-size: 3rem;
}

/* NAVIGATION */


#logo img{
    height: 150px;
}


.nav-item:hover {
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1);
}

/* MAIN */

#top {
    background-image: url("images/img7.jpg");
    width: 100%;
    height: 100%;
    color: white;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;

}

/* BANNER */

#firstbox{
    background-image: url('images/image1.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat; 
    text-align: center;
    padding: 2%;
}


/* SERVICES */

#services {
    display: block;
    padding-top: 5%;
    text-align: center;
    padding-bottom: 5%;
}

.card{
    margin-left: 20%;
    width: 60%; 
    border: none;
}


.gallery{
    margin-top: 50%;
}

.card-title{
    overflow-y: hidden;
}

/* CONTACT */

#contact {
    background-image: url("images/img10.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
}

.contact-details{
    padding-top: 3%;
    padding-left: 1%;
}

#contact-page{
    background-image: url("images/img10.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 90%;
    margin-left: 5%;
    margin-top: 20rem;
    padding: 5%;
}



/* SUBPAGES */
.white-nav{
    background-color: #fff;
    opacity: 0.8;
}

.subpage{
    margin-top: 10%;
    text-align: center;
}


/* MEDIA QUERY */
    /* phones */
@media screen and (max-width: 576px) {

    * , *:before, *:after{ 
        box-sizing:border-box; 
        -moz-box-sizing:border-box; 
        -webkit-box-sizing:border-box; 
        -ms-box-sizing:border-box;
        }

    *{
        overflow-x: hidden;
    }

    .subpage{
        margin-top: 10rem;
        text-align: center;
    }

    .navbar{
        font-size: 0.8rem;
        background-color: #fff;
        opacity: 0.8;
    }

    .dropdown-menu{
        font-size: 0.8rem;
    }
    

    #logo img{
        width: 100px;
        height: 100px;
    }

    .card-title{
        font-size: 1.3rem;
        overflow-y: hidden;
    }

    .card-text{
        font-size: 0.7rem;
    }
    
    .contact-details{
        width: 80%;
        text-align: center;
    }

    #contact-page{
        width: 100%;
        margin-left: 0%;
        margin-top: 8rem;
        padding: 5%;
        text-align: center;
    }
}