@font-face {
    font-family: 'Britannic';
    src: url(../fonts/britannic-becker-med.ttf);
}

:root {
    --accent-color: #34632C;/*#559749;*/
    --main-color: #3F5D5D;
    --secondary-color: #3f5d5d;/*#698787;*/
    --text-font: 'DM Sans', sans-serif;
    --title-font: 'Britannic'
}

* {
    font-family: var(--text-font);
    color: var(--main-color) !important;
}
#main-nav l.nav-item a.active{
    border-bottom: 1px solid var(--accent-color) !important;
}

#calendar button, #calendar button span{
    color:#FFF !important;
}
.custom-btn,
h1,
h2,
h3 {
    font-family: var(--title-font);
    font-weight: bold;
}

.ahead-section {
    display: flex;
    align-items: space-around !important;
}

.card {
    display: inline-block !important;
    border: none;
}

.overlay p {
    font-weight: bold !important;
}

footer div,
footer a {
    margin: 10px;
}

/* FONT-SIZE */

section h2 {
    font-size: 18px;
}

section p,
.ahead-section .card {
    font-size: 14px;
}

footer,
section a.mybtn {
    font-size: 12px;
}

/* COLORS */

.custom_btn,
section .mybtn,
.overlay p,
footer a,
footer div {
    color: white !important;
}

#main-nav .nav-item a:hover {
    border-bottom: 1px solid var(--accent-color) !important;
}

footer a:hover {
    color: var(--main-color) !important;
}

/* BACKGROUND COLORS */

#main-nav {
    background: none !important;
}

.custom_btn,
section a.mybtn {
    background-color: var(--accent-color) !important;
}

footer a,
section .mybtn,
#logo-img {
    display: block;
}

.container {
    width: 80%;
}

section {
    margin-top: 50px;
    margin-bottom: 50px;
}

section p {
    padding: 25px 0;
}

#logo-img {
    width: 90%;
}

/*a.navbar-brand {
    width: 50%;
}*/

#mainNavbarToggler .nav-item{
    width:140px;
}

section h2,
section a.mybtn,
footer {
    text-align: center;
}

footer a,
section a.mybtn {
    text-decoration: none;
}

section a.mybtn {
    text-transform: uppercase;
    font-weight: bold;
    border: 1px solid var(--secondary-color);
    padding: 10px;
}

.custom_btn,
.btn {
    border: 1px solid white !important;
}
section .mybtn {
    width: 200px;
    margin: 0 auto;
}

.custom_btn,
.card .mybtn {
    width: 125px;
}

.ahead-section {
    background-color: var(--main-color);
    padding: 0px 50px;
}

/*.ahead-section .card {
    width: 250px !important;
    margin: auto;
}*/

footer {
    padding: 50px;
    background-color: var(--secondary-color);
}

/* OVERLAY */

.overlay {
    background: var(--secondary-color);
    opacity: 0.95;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0s;
}

.overlay:hover{
    display: block;
}

.overlay .card-body p{
    padding:10px;
}

/* .overlay i{
	font-size: 35px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%);
	color: #4e3914;
} */
.ahead-section .card:hover .overlay {
    top: 0;
}

.card {
    overflow: hidden;
}


@media screen and (min-width: 650px) {

    footer div,
    footer a {
        display: inline;
    }
}

@media screen and (min-width: 992px) {
    #logo-img {
        width: 120%;
    }
}

@media screen and (min-width: 1250px) {
    #logo-img {
        width: 40%;
    }
}

@media screen and (min-width: 768px) {

    section h2 {
        font-size: 22px;
    }

    section p,
    .ahead-section .card {
        font-size: 16px;
    }

    footer,
    section a.mybtn {
        font-size: 12px;
    }

    section .mybtn {
        width: 250px;
    }

    .card .mybtn {
        width: 150px;
    }

}

@media screen and (min-width: 970px) {

    section h2 {
        font-size: 26px;
    }

    section p,
    .ahead-section .card {
        font-size: 18px;
    }

    footer,
    section a.mybtn {
        font-size: 14px;
    }

}
.esta_view{
    margin-top:10px;
}
.esta_view .card-img-top{
    height: 40vw;
}

@media screen and (min-width: 768px) {
    .esta_view .card-img-top{
        height: 30vw;
    }
}

@media screen and (min-width: 992px) {
    .esta_view .card-img-top{
        height: 20vw;
    }
}