@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: 1px solid #CAD0D3;
    border-top: 1px solid #CAD0D3;  
}
.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;
    }
}

.all_section{
    width: 100%;
    display: flex;
    height: 100vh;
}
/* side bar navigation */
.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: 50vh;
        display: flex;
    }
    .sidenav {
        height: 50vh;
    }

    .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: 35vh;
        display: flex;
    }
    .sidenav {
        height: 35vh;
    }

    .side_heading {
        font-size: 9px;
    }

    .sidenav-list li {
        padding: 5px 3px;
    }

    .sidenav-list li a {
        font-size: 8px;
    }
}

/* section one css */
.carousel{
    width: 82%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.carousel .list .item{
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: relative;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #eee;
    text-shadow: 0 5px 10px #004;
}
.carousel .list .item .content .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .content .title,
.carousel .list .item .content .topic{
    font-weight: bold;
    font-size: 3.5em;
    line-height: 1.3em;
}
.carousel .list .item .content .topic{
    color:#4AA82E;
}
/* thumbmail */
.thumbnail {
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 210px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnail .item .content{
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: #eee;
}
.thumbnail .item .content .title{
    font-weight: bold;
}
/* arrow */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    font-family: monospace;
    color: #4AA82E;
    font-weight: bold;
    font-size:24px;
    transition: .5s;
    z-index: 100;
}
.arrows button:hover{
    background-color: #eee;
    color: #4AA82E;
}
.carousel .list .item:nth-child(1){
    z-index: 1;
}
.carousel .list .item:nth-child(1) .author,
.carousel .list .item:nth-child(1) .title,
.carousel .list .item:nth-child(1) .topic,
.carousel .list .item:nth-child(1) .des,
.carousel .list .item:nth-child(1) .button{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}
.carousel .list .item:nth-child(1) .title{
    animation-delay:1.2s ;
}
.carousel .list .item:nth-child(1) .topic{
    animation-delay:1.4s ;
}
.carousel .list .item:nth-child(1) .des{
    animation-delay:1.6s ;
}
.carousel .list .item:nth-child(1) .button{
    animation-delay:1.8s ;
}
/* effect on next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 20px;
    animation: showImage 0.5s linear 1 forwards;
}
@keyframes showImage{
    to{
        width: 100%;
        height: 100%;
        left: 0;
        bottom: 0;
        border-radius: 0;
    }
}
.carousel.next .thumbnail .item:nth-last-child(1){
    width: 0;
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
@keyframes showThumbnail{
    to{
        width: 150px;
    }
}
.carousel.next .thumbnail{
    transform: translateX(150px);
    animation: transformThumbnail .5s linear 1 forwards;
}
@keyframes transformThumbnail{
    to{
        transform: translateX(0);
    }
}
/* effect prev click */
.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}
.carousel.prev .list .item:nth-child(2) img{
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
}
@keyframes outImage{
    to{
        width: 150px;
        height: 220px;
        border-radius: 20px;
        left: 50%;
        bottom: 50px;
    }
}
.carousel.prev .thumbnail .item:nth-child(1){
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
}
.carousel.prev .list .item:nth-child(2) .author,
.carousel.prev .list .item:nth-child(2) .title,
.carousel.prev .list .item:nth-child(2) .topic,
.carousel.prev .list .item:nth-child(2) .des,
.carousel.prev .list .item:nth-child(2) .buttons{
    animation: contentOut 1.5s linear 1 forwards;
}
@keyframes contentOut{
    to{
        transform: translateX(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
/* time */
.time{
    width: 100%;
    height: 3px;
    background-color:#4AA82E;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
}
.carousel.next .time,
.carousel.prev .time{
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
}
@keyframes timeRunning{
    to{
        width: 0;
    }
}
.trade_button{
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    background: #CAD0D3;
    border-radius: 20px;
    color: #4AA82E;
    outline: 1px solid #000000;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2s ease;
}
.trade_button:hover{
    outline: 1px solid #4AA82E;
    background: #000000;
    color: #CAD0D3;
    cursor: pointer;
    box-shadow: 1px 2px 8px 2px #1a0404;
}
/* responsive */
/* for ipad pro */
@media (max-width:1025px){
    .carousel{
        height: 50vh;
    }
}
/* air/mini */
@media (max-width:821px){
    .carousel{
        height: 50vh;
    }
}
/* already built */
@media screen and (max-width:678px){
    .carousel .last .item .content{
        padding-right: 0;
    }
    .carousel .last .item .content .title{
        font-size: 30px;
    }   
}
@media (max-width:575px){
    .carousel{
        height: 50vh;
    }
}
/* mobile */
@media (max-width:431px){
    .carousel{
        height: 35vh;
    }
    .thumbnail {
        position: absolute;
        bottom: 10px;
    }
    .thumbnail .item {
        width: 90px;
        height: 150px;
    }
    .thumbnail .item .content {
        font-size: 10px;
    }
    .carousel .list .item .content .title,
    .carousel .list .item .content .topic{
        font-size: 1em;
    }
    .arrows {
        top: 80%;
        right: 60%;
    }
}
@media (max-width:431px){
    
    .trade_button{
        font-size: 8px;
        padding: 4px 5px;
    }
}
@media (max-width:376px){
    .thumbnail .item {
        width: 80px;
        height: 125px;
    }
}
/* section text css end */
/* section two css */
.sec_two{
    width: 100%;
    height: 100vh;
    background-color:#333;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    border-top: 2px solid green;
}
/* sec_two part div one */
.children{
    margin-top: 3%;
    display: flex;
}
.child_one{
    width: 50%;
}
.child_two{
    width: 50%;
}
.child_image{
    margin: 30px 1px 5px 100px;
    width: 60vh;
    box-shadow: 0 13px 25px 0 rgba(0, 0, 0, 0.2), 0 16px 13px 0 rgba(0, 0, 0, 0.19);
}
.child_image_two{
    margin: 30px 1px 5px 100px;
    width: 50vh;
    box-shadow: 0 13px 25px 0 rgba(0, 0, 0, 0.2), 0 16px 13px 0 rgba(0, 0, 0, 0.19);

}
.heading_text{
    color: #CAD0D3;
    letter-spacing: 2px;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    padding: 1px 1px 1px 100px;
}
.parag_text{
    font-size: 15px;
    text-align: justify;
    color: lightgrey;
    margin: 1px 1px 1px 100px;
    line-height: 20px;
}
@media (max-width:1133px){
    .sec_two{
        height: auto;
    }
    .child_image {
        margin: 30px 1px 5px 35px;
        width: 55vh;
    }
    .child_image_two {
        margin: 30px 1px 5px 35px;
        width: 45vh;
    }
    .heading_text{
        padding: 1px 1px 1px 35px ;
    }
    .parag_text{
        margin: 1px 1px 1px 35px ;
    }
}
@media (max-width:1025px){
    .sec_two{
        height: 45vh;
    }
    .child_image{
        width: 30vh;
    }
    .child_image_two{
        width: 25vh;
    }
}
@media (max-width:821px){
    .sec_two{
        height: 50vh;
    }
    .children{
        margin-top: 7%;
    }
    .child_image{
        margin: 30px 1px 5px 50px;
    }
    .child_image_two{
        margin: 30px 1px 5px 50px;
    }
    .heading_text{
        padding: 1px 1px 1px 50px ;
    }
    .parag_text{
        font-size: 13px;
        margin: 1px 1px 1px 50px ;
    }
}
@media (max-width:700px){
    .sec_two{
        min-height: 40vh;
        height: auto;
    }
    .children {
        margin-top: 0%;
        display: grid;
    }
    .child_one {
        width: 100%;
        display: grid;
        justify-items: center;
    }
    .child_image {
        display: none;
        margin: 10px;
        width: 90%;
    }
    .heading_text{
        padding: 0px 0px 0px 0px ;
        font-size: 16px;
    }
    .parag_text{
        font-size: 13px;
        margin: 10px ;
    }
    .child_two {
        width: 100%;
        display: grid;
        justify-items: center;
    }
    .child_image_two {
        display:none;
        margin: 10px;
        width: 90%;
    }
}
@media (max-width:500px){
    
    .heading_text{
        padding: 0px 0px 0px 0px ;
        font-size: 12px;
    }
    .parag_text{
        font-size: 8px;
        margin: 10px ;
        line-height: 12px;
    }
}
/* 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;
        
    }
}
