@font-face {
    font-family: "Merriweather";
    src: url("./fonts/Merriweather-Regular.ttf");
}

@font-face {
    font-family: "Sintony";
    src: url("./fonts/Sintony-Regular.ttf");
}

body, html {
    background-color: #eee;
    font-family: 'Sintony', sans-serif;
    font-size: 12px;
    width: 100%;
    margin: 0;
}

header {
    margin: 0;
    padding: 0;
}

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

.nav-bar {
    margin-top: 30px;
    font-size: 16px;
    padding: 5px 0;
    background-color: #163150;
    width: 75%;
    margin: 0 auto;
    position: fixed;
    border: black solid 1px;
    text-align: center;
    margin-top: 20px;
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 20;
    -webkit-box-shadow: 7px 9px 10px -5px rgba(0,0,0,0.12);
    -moz-box-shadow: 7px 9px 10px -5px rgba(0,0,0,0.12);
    box-shadow: 7px 9px 10px -5px rgba(0,0,0,0.12);
}

.nav-bar ul li {
	display: inline;
	list-style-type: none;
	margin-left: 5%;
	margin-right: 5%;
}

.nav-bar ul {
    width: 100%;
    padding: 0;
}

#homeHero {
    width: 100%;
    position: relative;
}

#homeHero .hero-bg-img {
    background-image: url("./images/hero-image.jpg"); 
    padding-top: 30px;
    width: 100%;
    background-color: #cccccc;
    height: 100%;
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    position: absolute;
    top: -20px;
}

#homeHero .hero-text {
    color: #fff;
    text-align: center;
    width: 50%;
    margin: 0px auto;
    padding: 50px;
    position: relative;
}

#homeHero .hero-text h1 {
    font-size: 55px;
    font-family: 'Merriweather', serif;
    font-weight: bold;
    /* color: #35DA38; */
    color: #fff;
    padding-top: 20px;
}

#homeHero .hero-text p {
    font-size: 16px;
    color:  #fff;
}

.fill {
    position: relative;
    color: #16c02d;
    border: 1px solid #16c02d;
    border-radius: 5px;
    padding: 10px 25px 10px 25px;
    font-size: 16px;
    cursor: pointer;
    overflow:hidden;
    background: none;
    z-index: 1;
    text-transform: uppercase;
    outline: 0;
    transition: 0.08s ease-in;
    -o-transition: 0.08s ease-in;
    -ms-transition: 0.08s ease-in;
    -moz-transition: 0.08s ease-in;
    -webkit-transition: 0.08s ease-in;
}

.fill:hover {
    color: white;
}

.fill:before {
    content: "";
    position: absolute;
    background: #16c02d;
    bottom: 0;
    left: 0;
    right: 0;
    top: 100%;
    z-index: -1;
    transition: 0.09s ease-in;
    -webkit-transition: top 0.09s ease-in;
}

.fill:hover:before {
    top: 0;
}

#main-content {
    text-align: center;
    font-size: 16px;
    color: #000;
    padding: 30px;
    width: 50%;
    margin: 0 auto;
    line-height: 35px;
}

#main-content h1 {
    font-size: 40px;
    font-family: 'Merriweather', serif;
}

#main-content p{
    font-family: 'Sintony';
}

footer {
    padding: 20px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    background-color: #404040;
    position: relative;
}

footer a {
    margin: 20px;
}

.credit {
    background-color: #000;
    position: relative;
    color: #fff;
    text-align: center;
}

.credit a {
    color: aqua;
}

.social-media {
    padding: 20px;
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 30px !important;
}

.social-media:hover {
    color: lightskyblue;
}

.nav-drop {
    overflow: hidden;
    background-color: #163150;
    position: fixed;
    display: none;
    width: 100%;
    z-index: 20;
}

.nav-drop #bar{
    position: relative;
}

.nav-drop #bar #logo{
    float: left;
    position: relative;
    padding: 14px 16px;
}

.nav-drop #links {
    display: none;
    position: relative;
    margin-top: 50px;
}

.nav-drop #links .link {
    padding: 14px 16px;
    text-align: center;
}

.nav-drop a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    display: block;
}

.nav-drop a.icon {
    background: black;
    padding: 14px 16px;
    display: block;
    position: relative;
    float: right;
}

.nav-drop a:hover {
    background-color: #ddd;
    color: black;
}

.active {
    background-color: #4CAF50;
    color: white;
}

.bg-img {
    background-image: url("./images/hero-image.jpg"); 
    padding-top: 30px;
    width: 100%;
    background-color: #cccccc;
    height: 100%;
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    position: fixed;
    top: -20px;
}

.header {
    height: 500px;
}

.header h1 {
    font-size: 55px;
    font-family: 'Merriweather', serif;
    font-weight: bold;
    color: #fff;
    margin: 0 auto;
    top: 40%;
    position: relative;
    text-align: center;
}

.my-link {
    color: blue;
}

.header p {
    position: relative;
    margin: 0 auto;
    top: 50%;
    font-size: 16px;
    color: #fff;
    text-align: center;
    width: 50%;
}

/* .portfolio {
    background-color: #2f2f2f;
} */

.gallery {
    position: relative;
    margin-bottom: 10px;
}

.gallery .gallery-row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.gallery .gallery-row .gallery-col {
    flex: 32%;
    max-width: 33%;
    padding: 0 4px;
}

.gallery .gallery-row .gallery-col img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    -webkit-filter: grayscale(75%);
    filter: grayscalbloe(75%);
    border: 1px solid #fff;
    border-radius: 30px;
    transition: transform .2s;
    position: relative;
}

.gallery .gallery-row .gallery-col img:hover {
    transform: scale(1.1);
    filter: grayscale(0);
    z-index: 10;
}

.contact-form {
    position: relative;
    margin-bottom: 20px;
    left: 50%;
    width: 50%;
    transform: translateX(-50%);
    padding: 30px 50px 70px 50px;
    background: #404040;
    /* border: 2px solid #fff; */
    border-radius: 15px;
    /* box-shadow: 7px 9px 10px -5px rgba(170, 170, 170, 0.12); */
}

.contact-form input {
    width: 94%;
    padding: 10px;
    color: #fff;
    background: #2f2f2f;
    margin-bottom: 10px;
}

.contact-form textarea {
    width: 94%;
    max-width: 94%;
    max-height: 100px;
    margin: 0 auto;
    padding: 10px;
    min-height: 100px;
    background: #2f2f2f;
    color: #fff;
}

.contact-form label {
    color: #fff;
}

.contact-form button {
    margin-top: 10px;
    position: relative;
    font-size: 14px;
    width: 50%;
    float: right;
}

.services {
    position: relative;
    text-align: center;
    width: 75%;
    margin: 0 auto;
}

.services div {
    background: rgba(64, 64, 64, 0.85);
    border: 3px double rgb(255, 255, 255);
    border-radius: 15px;
    margin: 20px;
    padding: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.services div img {
    width: 50%;
    height: auto;
    margin-top: 10px;
}

.services div h1 {
    color: #fff;
    margin-top: 30px;
    font-family: 'Merriweather', serif;
    font-size: 24px;
    font-weight: bold;
}

.services div p {
    font-size: 14px;
    color: #fff;
    margin-block: 30px;
    margin-inline: 10px;
}

@media screen and (max-width: 480px) {
    #homeHero .hero-bg-img {
        height: 93%;
        top: -10px;
    }
    #homeHero .hero-text {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    #homeHero .hero-text h1 {
        font-size: 34px;
        color: #fff;
    }
    
    #homeHero .hero-text p {
        font-size: 12px;
        color:  #fff;
    }
    #main-content {
        width: 100%;
        padding: 10px 0 10px 0;
    }
    #main-content h1 {
        font-size: 24px;
    }
    #main-content p {
        font-size: 12;
    }
    .fill {
        font-size: 12px;
    }
    .gallery .gallery-row .gallery-col {
        flex: 85% !important;
        max-width: 85% !important;
    }
    .header h1 {
        font-size: 34px;
    }
    .header p {
        width: 90%;
    }
    .contact-form {
        width: 100% !important;
        padding: 30px 0px 70px 0px;
    }
    .contact-form form{
        margin: 0 20px 0 20px;
    }
    .services {
        width: 95%;
    }
}

@media screen and (max-width: 768px) {
    #homeHero {
        padding-top: 0px;
        background-color: #404040;
    }

    #homeHero .hero-bg-img {
        height: 95%;
        filter: blur(3px);
        -webkit-filter: blur(3px);
        top: 0;
    }
    #homeHero .hero-text {
        width: 90%;
        filter: blur(0);
        -webkit-filter: blur(0);
        padding-left: 0;
        padding-right: 0;
    }
    #main-content {
        width: 90%;
    }
    .nav-bar {
        display:none;
    }
    .nav-drop {
        display:block;
    }
    .gallery .gallery-row .gallery-col {
        flex: 50%;
        max-width: 50%;
        margin: 0 auto;
    }
    .bg-img {
        filter: blur(3px);
        -webkit-filter: blur(3px);
    }
    .contact-form {
        width: 75%;
    }
}