* {
    font-family: 'Baloo Tamma 2', cursive;
}

body, html {
    width: 100%;
    height: 100%;
}

section {
    overflow: hidden;
}

#hero {
    margin: 0 !important;
    padding: 0 !important;
}

#hero .inner {
    z-index: 50;
    text-align: center;
}

#hero .nav-header {
    z-index: 50;
}

#hero .background1 {
    z-index: 20;
}

#hero .background2 {
    z-index: 10;
}

#hero .background1, #hero .background2 {
    background-image: url('../images/Screen06.jpg');
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
}

#hero .overlay {
    background-color: black;
    opacity: 0.3;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 50;
}

#hero nav {
    padding-top: 30px;
}

#hero nav a {
    color: white;
    font-weight: 700;
    font-size: 20px;
}

#hero nav a:hover {
    text-decoration: underline;
}

#hero h1 {
    word-wrap: break-word;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 60;
    display: inline-block;
}

#hero h1 a {
    color: white !important;
}

#hero h1 a:hover {
    color: white !important;
    text-decoration: none;
}

#hero h2 {
    font-weight: 500;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 60;
    display: inline-block;
    margin-bottom: 100px;
}

.btn-action {
    color: white;
    background-color: transparent;
    border: 1px solid white;
    padding: 18px 15px 15px 15px;
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
}

.btn-action:hover {
    color: #3a783c;
    background-color: white;
}

h2, h3, h4, h5, h6, a, i {
    color: #3a783c;
}

.display-1 {
    font-weight: 700;
}

h2 {
    word-wrap: break-word;
    font-size: 35px;
    font-weight: 700;
}

.btn-contact, .btn-contact:hover, .btn-contact:active, .btn-contact:focus, .btn-contact:visited {
    color: white;
    background-color: #3a783c;
    border-color: #3a783c;
}

.section {
    padding: 0px;
    margin-top: 4em;
    margin-bottom: 4em;
}

.container.content {
    padding-left: 50px;
    padding-right: 50px;
}

.col-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.gallery-container .row > div {
    overflow: hidden;
    margin-bottom: 20px;
}
 
.gallery-thumb {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
}

.gallery-thumb-hover {
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #3a783c;
    opacity: 0.5;
    justify-content: center;
}

.gallery-thumb-hover i {
    color: white;
    font-size: 30px;
    display: grid;
    height: 100%;
    align-content: center;
}

.gallery-thumb-hover svg {
    width: 100% !important;
}

.gallery-item {
    display: block;
    position: relative;
}

.gallery-item:hover .gallery-thumb-hover {
    display: block;
}

#contact-validation-error, #contact-send-error, #contact-send-success {
    display: none;
}

#contact-validation-error p, #contact-send-error p {
    color: red;
}

footer {
    background-color: #3a783c;
    padding: 4em;
}

footer p {
    margin: 0;
    text-align: center;
    color: white;
}

footer a {
    color: white;
}

footer a:hover {
    color: white;
}

.subpage .cover-container {
    height: 50%;
}

.subpage #hero .background1, .subpage #hero .background2 {
    height: 50% !important;
}

.subpage #hero .overlay {
    height: 50% !important;
}

.slide-in {
    transform: translateX(150px);
    animation: slide-in 0.8s ease forwards;
}
.slide-in:nth-child(odd) {
    transform: translateX(-150px);
}

@keyframes slide-in {
    to { transform: translateY(0); }
}


@media (max-width: 575.98px) {
    #hero h1 {
        font-size: 3rem;
    }
}