@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.cdnfonts.com/css/barlow-semi-condensed');
@import url('https://fonts.cdnfonts.com/css/anton');
html {
    scroll-padding-top: 4.4rem;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100vw;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: #fff;
    height: 200vh;
    text-align: justify;
    overflow-x: hidden;
    width: 100vw;
}
.float{
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
}
.float img{
    width: 60px;
}
/* Default navbar background color */
#mainNav {
    width: 100%;
    position: fixed;
    transition: background-color 0.3s ease-in-out;
}

/* Darker navbar when scrolled */
#mainNav.scrolled {
    background-color: rgb(12, 110, 3);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Navigation list transition */
#navi {
    transition: background-color 0.3s ease-in-out;
    text-align: center;
}

/* Change color of navigation list on scroll */
#navi.scrolled {
    background-color: rgba(12, 110, 3, 0.9);
}

/* Navbar link styling */
.navbar-nav .nav-link {
    color: white !important;
}

/* Hamburger menu button */
.navbar-toggler {
    border: none;
    background-color: white;
}

/* Remove focus outline on toggler */
.navbar-toggler:focus {
    box-shadow: none;
}

nav li {
    margin-left: 90px;
}

nav li a {
    font-family: 'Barlow Semi Condensed';
}

nav li:hover {
    scale: 1.1;
    transition: 0.2s;
}

.logo {
    position: fixed;
}

.container1 {
    background: url('../img/bg.jpg') fixed;
    background-size: cover;
    max-width: 100%;
    height: 66vh;
    z-index: 100;
}

.filter {
    color: #108711;
    height: 66vh;
    z-index: 101;
    background: rgba(138, 135, 135, 0.6);
    backdrop-filter: blur(5px);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter h1 {
    font-family: 'Anton', sans-serif;
    font-size: 3.5rem;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #f5f65b;
    text-align: center;
}

/* information */
#information {
    color: #108711;
    padding: 4rem 3rem 3rem 3rem;
    font-size: 17px;
    height: 88vh;
}

#img_bg {
    width: 40rem;
    position: absolute;
    right: 0;
    margin-top: 10.3em;
}

#information h2 {
    margin-bottom: 3rem;
}

#information ul a {
    text-decoration: none;
    list-style: none;
    text-align: right;
    color: #108711;
}

#information ul a span {
    display: none;
}

#information li {
    margin-bottom: 15px;
}

#information li:hover {
    color: #f5df1b;
}

/* footer css */
#footer {
    height: 48vh;
    background-color: #054c06;
}

#footer h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: #fff;
}

/* Responsive Styling */
@media (max-width: 1200px) {
    nav li {
        margin-left: 50px;
    }

    #img_bg {
        margin-top: 12.5em;
        width: 35rem;
    }
}

@media (max-width: 992px) {
    .cons {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    nav li {
        margin-left: 0px;
    }

    /* Navbar default (transparent) */
    #mainNav {
        background-color: transparent;
        z-index: 102;
        width: 100%;
        transition: background-color 0.3s ease-in-out;
    }

    /* Background appears on scroll or when toggled */
    #mainNav.scrolled,
    .navbar-collapse.show+#mainNav {
        background-color: rgb(12, 110, 3);
        /* Green when scrolling/toggled */
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    }

    /* Ensure the mobile menu has a background */
    .navbar-collapse    {
        background-color: rgb(12, 110, 3);
        transition: background-color 0.3s ease-in-out;
    }
    #img_bg {
        margin-top: 15em;
        width: 35rem;
    }

    .filter h1 {
        font-size: 3rem;
    }

    #information {
        font-size: 15px;
        padding: 3rem 2rem;
    }

    #information ul a {
        font-size: 16px;
    }

}

@media (max-width: 768px) {
    #info {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
    }
    .filter,.container1{
        height: 58vh;
    }
    #information ul {
        display: flex;
        width: 700px;
    }

    #information ul a {
        text-align: center;
        margin-right: 30px;
        font-weight: 600;
    }

    #img_bg {
        margin-top: 17.5em;
        width: 33rem;
    }

    .filter h1 {
        font-size: 2.5rem;
    }

    #information {
        font-size: 14px;
    }

    #information ul a {
        font-size: 14px;
    }
}

@media (max-width: 620px) {
    .filter h1{
        font-size: 20px;
    }
    #img_bg {
        display: none;
    }

    #information ul {
        margin-left: -30px;
    }

    #mailing {
        display: flex;
        align-items: center;
    }

}

@media (max-width: 576px) {
    .float img{
        width: 45px;
    }
    #img_bg {
        display: none;
    }
    #information {
        height: 75vh;
    }
    #information ul {
        display: flex;
        width: 500px;
    }
    #information h2{
        font-size: 25px;
        text-align: center;
    }

    .filter h1 {
        font-size: 2rem;
        padding: 10px;
    }

    #information {
        padding: 2rem 1rem;
    }

    #footer {
        height: auto;
        padding: 20px;
        text-align: center;
    }

    #footer h1 {
        font-size: 1.5rem;
    }

    #mailing {
        flex-direction: column;
        gap: 20px;
    }

    #mailing div {
        width: 100%;
    }

    .creator {
        font-size: 14px;
        flex-direction: column;
        text-align: center;
    }

    @media (max-width: 470px) {
        #mainNav{
            width: 100%;
        }
        #information ul {
            width: 450px;
            flex-direction: column;
            width: 450px;;
        }
        #information h2{
            margin-bottom: 30px;
        }
    }

    @media (max-width: 390px) {
        #information ul {
            width: 380px;
        }
        .col{
            margin: 0;
        }

    }
}