
:root {
    --btn-white: #ffffff;
    --btn-green: #245A32;
    --section-gray: #E8E7E7;
    --section-green-tint: #EAF5EC;
    --footer-colour: #1f2f24;
    --main-font: "Inter", sans-serif; 
    --heading-font: "Playfair Display", serif;
    --button-font: "Montserrat", sans-serif;
}


html {
    margin: 0;
    padding: 0;
}

body {
    padding-top: 0px;
    display: flex;
    background-color: #f3f1f1;
    color: #0a0a0a !important;
    height: 100%;
}


footer {
    background-color: var(--footer-colour);
    color: #fff;
}


h1, h2, h3, h4, h5 {font-family: var(--heading-font);}

h1 {
    font-weight: 500;
    font-size: 3rem;
}

h2 {font-size: 2.5rem;}

p {font-family: var(--main-font)}


a {
    text-decoration: none;
    font-family: var(--main-font);
}

footer  a {color: #fff !important;}

/* ===== Navbar ===== */

.navbar {
    
    background-color: #2F6F3E !important;
    z-index: 999;
}

.logo-img {
    height: 30px;
    width: auto;
}

.nav-link {color: #ffffff;}


.nav-link:hover {color: #fff;}

.nav-link:active, .nav-link:focus, .show {
    color: #fff !important;
    box-shadow: none;
}


/* ===== Buttons ===== */

.close-btn:active, .close-btn:focus {
    border: 0px;
}

.close-btn {
    border: 0px;
}
.btn {
  border-radius: 0rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  font-family: var(--button-font);
}


.btn-login {
    color: #ffffff;
    background: transparent;
    border: 1px solid #FFFFFF !important;
    transition: all 0.25s ease;
}

.btn-login:hover {
    background-color: #E8E8E8 !important;
    border: 1px solid #ffffff !important;
    color: #2F6F3E;
    box-shadow: 0 4px 10px rgba(94, 188, 103, 0.3);
}

.btn-register {
    background-color: var(--btn-white);
    color: #2F6F3E;
    transition: all 0.25s ease;
}

.btn-register:hover {
    background-color: var(--brand-green-dark);
    border-color: #000;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(94, 188, 103, 0.3);  
}

.btn-primary {
    background-color: var(--btn-green);
    color: #fff;
    border: 0px;
}

.btn-primary:hover {
    background-color: #214b2b;
}

.btn-primary:active {background-color: #1a3a21 !important;}


.form-control:focus {
    box-shadow: none;
}

/* Default mobile behaviour */
.back-to-top {
    position:fixed;
    bottom: 20px;
    right: 20px;
    padding: 0.5rem 1rem;
    z-index: 999;
}


.back-to-top.is-hidden {display: none;}


/* Desktop behaviour */
.back-to-top.is-desktop {display: block;}


/* ===== Keyframes ===== */
@keyframes fadein{
    0%{
        opacity: 10%;
    }
    100% {
        opacity: 100%;
    }
}


@media (min-width: 576px) {
    .logo-img {
        height: 50px;
    }
}

@media (max-width: 992px) {
    
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}


@media (max-width: 1440px) {
    .navbar-nav {
        font-size: 0.9rem;
    }

    .btn-login, .btn-register {
        font-size: 0.9rem;
    }
}