@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');


body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;

}

/* navigation baar  */
li {
    list-style: none;
}

a {
    text-decoration: none;
    font-size: 21px;
    font-weight: bold;
    color: #4AA82E;
}

a:hover {
    color: #626b12;
}

/*header start */
header {
    position: relative;
    padding: 0 2rem;
    background: #000000;
    border-bottom: 2px solid #4AA82E;
    border-top: 2px solid #4AA82E;
}

.navbar {
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0a0a0a;
}

.navbar .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #CAD0D3;
}

.navbar .links {
    text-decoration: none;
    display: flex;
    gap: 2rem;
}

.navbar .toggle_btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.action_btn {
    background: #313131;
    color: #f1f1f1;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
}

.action_btn:hover {
    outline: 1px solid rgb(125, 247, 77);
    background: #585858;
    color: rgb(237, 236, 236);
    box-shadow: 1px 2px 15px 2px #1a0404;
    cursor: pointer;
}

.action_btn:active {
    scale: 0.95;
}

/* dropdwon menu*/
.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    height: 0;
    top: 60px;
    width: 500px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 1.0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    z-index: 1000;
    height: 180px;
    border-bottom: 3px solid #CAD0D3;
}

.dropdown_menu li {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .action_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* responsive design*/
@media(max-width: 992px) {

    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
        color: #CAD0D3;
    }

    .dropdown_menu {
        display: block;
    }
}

@media(max-width: 576px) {
    .navbar {
        height: 40px;
    }

    .navbar .logo a {
        font-size: 1rem;
    }

    .dropdown_menu {
        left: 2rem;
        width: unset;
        z-index: 1000;
    }
}
.logo img {
    width: 90px;
    height: 45px;
    margin: 7px 0px 0px 0px 
}
@media (max-width:500px){
    .logo img {
        width: 73px;
        height: 37px;
    }
}
/* side bar navigation */
.all_section{
    display: flex;
    width: 100%;
    height: 100vh;
}
.sidenav {
    height: 100vh;
    width: 18%;
    position: relative;
    border-top: 1px solid #4AA82E;
    background-color: #333;

}

.sidenav-header {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.side_heading {
    font-size: 25px;
    font-weight: bold;
    color: #4AA82E;
}

.sidenav-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidenav-list li {
    padding: 5px 20px;
    border-bottom: .2px solid #cad0d328;
}

.sidenav-list li a {
    font-size: 18px;
    text-align: center;
    color: #CAD0D3;
    text-decoration: none;
    display: block;
}

.sidenav-list li a:hover {
    color: #4AA82E;
}

/* responsive */
@media (max-width:1025px) {
    .all_section {
        width: 100%;
        height: 50vh;
        display: flex;
    }
    .sidenav {
        height: 50vh;
    }
    .side_heading {
        font-size: 16px;
    }
    .sidenav-list li a {
        font-size: 13px;
    }
}

@media (max-width:821px) {
    .all_section {
        width: 100%;
        height: 50vh;
        display: flex;
    }
    .sidenav {
        height: 50vh;
    }
}

@media (max-width:575px) {
    
    .all_section {
        width: 100%;
        height: 90vh;
        display: flex;
    }
    .sidenav {
        height: 90vh;
    }

    .side_heading {
        font-size: 15px;
    }

    .sidenav-list li {
        padding: 5px 15px;
    }

    .sidenav-list li a {
        font-size: 10px;
    }
}

@media (max-width:431px) {
    .all_section {
        width: 100%;
        height: 90vh;
        display: flex;
    }
    .sidenav {
        height: 90vh;
    }

    .side_heading {
        font-size: 9px;
    }

    .sidenav-list li {
        padding: 5px 3px;
    }

    .sidenav-list li a {
        font-size: 8px;
    }
}

/* section two css */
.sec_two {
    width: 82%;
    height: 100vh;
    background: url(img/background_cover.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.child_one {
    width: 100%;
    margin-bottom: 25px;
}
.child_two {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.child_image {
    width: 50vh;
    height: 30vh;
    margin: 10px 10px;
    outline: 5px solid white;
    box-shadow: 0 13px 25px 0 rgba(0, 0, 0, 0.2), 0 16px 13px 0 rgba(0, 0, 0, 0.19);
}

.heading_text {
    font-size: 25px;
    margin:  10px;
    color: #4AA82E;
    letter-spacing: 2px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
}

.parag_text {
    font-size: 15px;
    margin: 10px;
    color: #000;
    text-align: justify;
}

.trade_button {
    padding: 0.1rem .5rem;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    background: #CAD0D3;
    border-radius: 20px;
    color: #4AA82E;
    outline: 1px solid #000000;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2s ease;
    margin-left: 10px;
}

.trade_button:hover {
    outline: 1px solid #4AA82E;
    background: #000000;
    color: #CAD0D3;
    cursor: pointer;
    box-shadow: 1px 2px 8px 2px #1a0404;
}
@media (max-width:1080px) {
    .child_image {
        width: 25vh;
        height: 25vh;
    }
}
@media (max-width:1025px) {
    .sec_two {
        height: 50vh;
    }
    .child_image {
        width: 17vh;
    }
    .parag_text {
        font-size: 13px;
    }

    

@media (max-width:900px) {
    .sec_two {
        height: 50vh;
    }
    .child_image {
        width: 10rem;
        height: 17vh;
    }

    .heading_text {
        font-size: 16px;
    }

    .parag_text {
        font-size: 11px;
    }

}

@media (max-width:821px) {
    .sec_two {
        height: 50vh;
    }
    .child_image {
        width: 15rem;
        height: 12vh;
    }

    .heading_text {
        font-size: 18px;
    }

    .parag_text {
        font-size: 14px;
    }

}
@media (max-width:640px) {
    .sec_two {
        height: 50vh;
    }
    .child_one {
        margin-bottom: 0px;
    }
    .child_image {
        width: 8rem;
        height: 7vh;
    }

    .heading_text {
        font-size: 16px;
    }

    .parag_text {
        font-size: 11px;
    }

}
@media (max-width:500px) {
    .sec_two {
        height: 90vh;
    }
    .child_two {
    width: 100%;
    display: grid;
        
    }
    .child_image {
        width: 27vh;
        height: 15vh;
        margin: 8px 1px;
    }
    .heading_text {
        font-size: 12px;
    }
    .parag_text {
        font-size: 9px;
    }
    .trade_button {
        font-size: 9px;
    }
}
@media (max-width:431px) {
    .sec_two {
        height: 90vh;
    }
    .child_image {
        width: 25vh;
        height: 15vh;
        margin: 9px 5px;
    }
    .parag_text {
        font-size: 9px;
    }
    .trade_button {
        font-size: 9px;
    }
}
}

/* last */
.copyright{
    width: 100%;
    background-color: #333;
    text-align: end;
    margin-top: -17px;
}
p .last_a{
    color: #CAD0D3;
    font-size: 7px;
    margin-right: 10px;
}
@media(max-with:500px){
    p .last_a{
    color: #CAD0D3;
    font-size: 4px;
        
    }
}
