/* CSS PNM */
@import url('https://fonts.googleapis.com/css?family=Italianno|Titillium+Web:400,700');

:root{
    --primary-dark: #0e6e41;
    --yellow-in: #dbbb04;
    --black: #000;
    --size-big-plus: 48px;
    --size-big: 40px;
    --size-normal: 18px;
    --size-medium: 21px;
    --size-medium-plus: 36px;
    --size-small: 14px;
}
html {
    scroll-behavior: smooth;
}
body{
    font-family: 'Titillium web', Arial, Helvetica, sans-serif;
    font-size: var(--size-normal);
}

@media (min-width: 1200px) {
    .container-900 {
      max-width: 920px;
    }
}
.logo-bl{
    display: flex;
    flex-wrap: nowrap;
}
.logo-img{
    max-width: 58px;
}

.brand, .brand:hover{
    color: #000;
    text-decoration: none;
}
.brand{
    padding-right: 1rem;
    vertical-align: middle;
}
.brand .logo-img{
    position: relative;
    top: -.5rem;
}
.lg-baseline{
    font-size: var(--size-normal);
    font-weight: 800;
    line-height: 1.2;
    display: inline-block;
    padding-top: 1rem;
}
.social-bl{
    border-left: 1px solid var(--gray);
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#green-footer .social-bl{
    padding-left: 0;
    border-left: none;
}

#green-footer .text-left h5 {
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
}

.social-links{
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.social-links a{
    color: var(--black);
    font-size: 1.25rem;
    text-decoration: none;
    margin-right: .75rem;
}
.social-links > a > i{
    font-weight: 700;
}
.follow-us{
    font-size: 12px;
    margin-bottom: .25rem;
}

.w-header{
    padding: .6rem 0;
    transition: all .5s;
    position: relative;
}
.w-header.ifloat{
    background-color: rgba(255, 255, 255, .65);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    z-index: 1000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: .5rem 0;
    box-shadow: 0 0 3px rgba(70, 70, 70, .8);
}
.navbar-nav{
    width: 100%;
    justify-content: flex-end;
}
.navbar-brand{
    display: none;
}
.navbar-nav > .nav-item > .nav-link{
    font-size: var(--size-normal);
    font-weight: 700;
    color: #000;
    padding: .5rem .9rem !important;
    margin-bottom: -3px;
}
.navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active{
    color: var(--primary);
}
.navbar-nav > .nav-item:last-child > .nav-link{padding-right: 0!important}
.nav-link.eco {
    color: var(--primary-dark) !important;
    position: relative;
}
.nav-link.eco::after {
    content: "";
    display: block;
    height: 13px;
    width: 13px;
    background: url('../img/leaf_green-02.svg') no-repeat;
    background-size: contain;
    position: absolute;
    top: .25rem;
    right: .5rem;
}
.dropdown-menu{
    border-radius: 0;
    border-top: 3px solid var(--primary);
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}
.dropdown-menu > .dropdown-item{
    font-size: var(--size-normal) !important;
}
.dropdown-menu > .dropdown-item:hover{
    color: var(--white);
    background-color: var(--primary);
}
.bg-light{
    background-color: transparent !important;
}
/* Saerch */
#search-pop{
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem .5rem 0;
    display: none;
}

.search-group input[type="search"]:focus{
    box-shadow: none;
    outline: 0;
}
.search-group input[type="search"]{
    border: none;
    border-bottom: 1px solid #000 !important;
    border-radius: 0;
    background-color: transparent;
}
.search-p{
    position: relative;
}
.search-p input{
    text-indent: 2rem;
}
.search-p > i{
    position: absolute;
    top: 10px;
    left: 12px;
}
.sl-img-in{
    width: 100%;
    height: 600px;
    background-color: #9c9c9c;
}
.sl-img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sl-capt{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--white);
}
.sl-capt-in{
    margin-top: 12rem;
    max-width: 600px;
}
.sl-capt-title{
    font-size: var(--size-big-plus);
    font-weight: 700;
    text-shadow: 2px 0 7px rgba(50, 50, 50, .8);
    margin-bottom: 2rem;
}
#carouselOcean .carousel-control-prev, #carouselOcean .carousel-control-next{
    font-size: 3rem !important;
    width: 10%;
}
#carouselOcean .carousel-indicators{
    bottom: 10%;
}
#carouselOcean .carousel-indicators li{
    height: 15px;
    width: 15px;
    margin-left: .5rem;
    margin-right: .5rem;
    border: 2px solid var(--yellow);
    border-radius: 100%;
}

.btn{
    text-transform: uppercase;
    border-radius: 30px;
    font-weight: 700;
    font-size: var(--text-size-normal);
    padding: .45rem 1.75rem;
}
.btn-lg, .btn-group-lg > .btn {
    padding: 0.5rem 2.35rem;
    font-size: 1.125rem;
}

.center-btn{
    text-align: center;
}
.btn-contact{
    border: 2px solid var(--white);
    margin-block: 1rem;
}

.head-group{
    margin-bottom: 2rem;
    text-align: center;
}
.scr-phr{
    font-size: var(--size-medium-plus);
    font-family: 'Italianno', cursive;
    color: var(--primary);
    margin-bottom: 0;
    line-height: 1;
}
.section-head{
    font-size: var(--size-big);
    font-weight: 700;
    margin-bottom: .75rem;
    line-height: 1;
}


#welcome{
    margin-top: 5rem;
    margin-bottom: 5rem;
}

#home-ressources, #home-posts, #home-galery, #help-us{
    padding: 3rem 0;
}
.welcome-figure{
    height: 325px;
    background-color: var(--gray);
    background-image: url('../img/about_pnm.jpg');
    background-size: cover;
    background-position: middle;
}
.describe{
    font-size: var(--size-medium);
}

#home-posts{
    background-color: #e9e9e9;
    position: relative;
    margin-top: 5rem;
}
#home-posts::before{
    background: url('../img/frz-gry.svg') no-repeat -1rem 0;
}
#green-footer::before{
    background: url('../img/frz-grn.svg') no-repeat -1rem 0;
}
#home-posts::before, #green-footer::before{
    content: "";
    display: block;
    height: 30px;
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    background-size: 104%;
}

.post-card{
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
}
.post-card-img{
    display: block;
    height: 215px;
    overflow: hidden;
    background-color: #9c9c9c;
}
.post-card-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-card-caption{
    padding: 1.5rem 1rem;
    height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.post-card-title{
    font-size: var(--size-medium);
    font-weight: 700;
}

.text-content{
    max-width: 768px;
    margin: 0 auto;
    font-size: var(--size-normal);
    line-height: 1.7;
}
.page-content{
    max-width: 991px;
    margin: 0 auto;
}

.link-follow{
    font-size: var(--size-normal);
    text-decoration: none;
    font-weight: 400;
    color: var(--black);
}
/* .link-follow:hover, .link-follow:focus{
    text-decoration: underline;
} */
.link-follow::after{
    content: "\e606";
    font-family: 'simple-line-icons';
    font-size: 8px;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 16px;
    width: 16px;
    border-radius: 100%;
    background-color: var(--primary);
    color: var(--white);
    margin-left: .5rem;
    text-decoration: none;
}

.spce-link{
    text-align: right;
}
.spce-link .link-follow{
    font-weight: 700;
    text-decoration: underline;
    color: var(--black);
}

#home-ressources{
    background-color: #f6f6f6;
}
#home-ressources .head-group{
    text-align: left;
}

.illustr{
    max-width: 450px;
}
.resr-txt{
    text-align: center;
    padding: .5rem .35rem;
}
.resr-txt i{
    font-size: 5rem;
    color: var(--black)
}


.partn-logos{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.item-logo{
    margin-left: 1rem;
    margin-right: 1rem;
}
.item-logo img{
    max-width: 185px;
    max-height: 125px;
}

#green-footer{
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem 0 0 0;
    margin-top: 3rem;
    position: relative;
}


#green-footer a, #green-footer a:hover{
    color: var(--white);
}

.sel-lng{
    margin-bottom: 2rem;
}
.sw-p{
    margin-bottom: .25rem;
}
.logo-part{
    max-width: 150px;
}
.flinks > li {
    line-height: 2;
}
.f-bottom{
    background-color: var(--primary-dark);
    text-align: center;
    padding: 1.5rem 0 1rem 0;
}

/* Galerie */
.photo-gallery a::before{
    display: flex;
    justify-content: center;
    align-items: center;
}
.gallery-wrapper{
    /* column-count: 3;
    column-gap: .5em; */
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* .gallery-wrapper.c4{
    column-count: 4
} */
.photo-gallery{
    display: block;
    width: 24%;
    height: 222px;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    text-align: center;
    margin: .25rem;
}

.photo-gallery img{
    /* width: 100%; */
    height: 100%;
    opacity: 1;
    transition: opacity .5s;
}
.photo-gallery a{
    display: block;
    height: 100%;
    background-color: #000;
    text-decoration: none;
}
.photo-gallery a::before{
    content: "\e091";
    color: rgb(184, 187, 0);
    font-size: var(--size-big);
    font-family: 'simple-line-icons';
    font-weight: 700;
    margin: auto;
    text-align: center;
    text-shadow: 0 0px 5px #333;
    text-decoration: none;
    position: absolute;
    left: 45%;
    top: 40%;
    opacity: 0;
    transition: opacity .5s;
    z-index: 1000;
}
.photo-gallery:hover a::before{
    opacity: 1;
}
.photo-gallery:hover a::after{
    content: "";
    background-color: rgba(5, 5, 5, .4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.photo-gallery:hover img{
    filter: blur(5px);
}


/* Pages */
.bg-title{
    background-image: url('../img/turtle-bar.jpg');
    background-size: cover;
    color: #fff;
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}
.bg-title::before{
    content: "";
    background-image: linear-gradient(to right, rgba(0, 0, 0, .9), rgba(20, 20, 20, .1));
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.bg-title.eco {
    border-top: 3px solid var(--primary-dark);
    background-image: unset;
    background-image: linear-gradient(to right, var(--primary-dark), rgba(20, 20, 20, .1));
    color: #000;
}
.bg-title.eco::before {
    background-image: unset;
}
.bg-title .breadcrumb{
    background-color: transparent;
    padding-left: 0;
    margin-bottom: 0;
}
.bg-title .breadcrumb .breadcrumb-item{
    color: #eee;
}
.bg-title .breadcrumb .breadcrumb-item > a{
    color: var(--yellow-in);
}

#posts-section{
    padding: 3rem 0 5rem;
    margin-bottom: -3.5rem;
    background-color: #e9e9e9;
}

.head-1{
    font-size: var(--size-big);
    font-weight: 700;
}
.head-1.grn-head {
    font-size: 56px;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link{
    border-radius: 0;
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--primary);
}
.nav-pills .nav-link{
    font-weight: 700;
    color: var(--black);
    border-bottom: 2px solid var(--primary) !important;
    border-radius: 0;
    padding: 0.5rem 1rem !important;
}

.list-files{
    list-style: none;
    padding-left: 0;
}
.list-files > li::before{
    content: "\e085";
    font-family: 'simple-line-icons';
    display: inline-block;
    margin-right: .5rem;
}
.list-files > li > a{
    font-weight: 700;
    color: var(--black);
}
.card-team{
    margin-bottom: 3rem;
}
.card-team-img{
    height: 200px;
    width: 200px;
    margin: 0 auto;
    margin-bottom: .5rem;
    border: 5px solid var(--primary);
    border-radius: 100%;
    background-color: var(--gray);
    overflow: hidden;
}
.card-team-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-team-caption{
    color: var(--white);
    background-color: var(--primary);
    padding: .7rem 1rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--primary);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-team-name{
    font-size: var(--size-normal);
    font-weight: 700;
}
.card-team-post{
    font-size: var(--size-small);
    font-weight: 400;
}
.cntc-mber{
    background-color: var(--white);
    margin: -.7rem -1rem;
    margin-top: .5rem;
    padding: .25rem .5rem;
    display: flex;
    justify-content: center;
}
.cntc-mber a{
    color: var(--black) !important;
    text-decoration: none;
    display: inline-block;
    margin: 0 .5rem;
}
.text-in img{
    max-width: 100% !important;
}


#postsList {
    padding-block: 4rem;
}
.post-card-v {
    border-radius: 15px;
    position: relative;
    margin-bottom: 1.5rem;
}
.pc-garde {
    display: flex;
    background-color: #fff;
    position: relative;
    z-index: 5;
    border-radius: 15px;
}
.post-card-v::before {
    content: "";
    display: block;
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--yellow-in);
    opacity: .4;
    transform: rotate(1deg);
    z-index: 2;
    transition: transform .1s ease-in;
}

.post-card-v:hover::before {
    transform: rotate(2deg);
}
.img-side {
    width: 45%;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    overflow: hidden;
}
.txt-side {
    width: 55%;
    padding: 1.75rem 1.25rem;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: all .3s;
    position: relative;
}
.post-card-v:hover .txt-side {
    color: #fff;
    background-color: var(--primary-dark);
}
.post-card-v-title {
    font-size: var(--size-medium);
    font-weight: 700;
    margin: 0;
}
.post-card-v-img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1.1854;
}
.arrw {
    position: absolute;
    right: 2.5rem;
    bottom: 1rem;
    font-size: 2rem;
    opacity: 0;
    transition: all .3s;
}
.post-card-v:hover .arrw {
    right: 1.25rem;
    opacity: 1;
}
.sprtor {
    position: relative;
    display: flex;
    height: 7px;
    width: 7px;
    border-radius: 100%;
    background-color: var(--yellow-in);
    margin-top: 1.25rem;
    margin-inline: 12px;
}
.sprtor::before, .sprtor::after {
    content: "";
    display: block;
    height: 7px;
    width: 7px;
    border-radius: 100%;
    background-color: var(--yellow-in);
    position: absolute;
    top: 0;
}
.sprtor::before {
    left: -12px;
}
.sprtor::after {
    right: -12px;
}

.grn-txt {
    font-size: var(--size-medium);
    margin-bottom: 1.5rem;
}
.bg-grdn {
    background-color: #fcfcf1;
    background-image: linear-gradient(45deg, #fcfcf1 0%, #ebfeeb 100%);
}
.bg-grdn.bgcrsl {
    padding-block: 2rem;
}
.meta-art {
    padding-block: 1rem;
    margin-block: 1.75rem 1.25rem;
    border-top: 1px solid #777;
    border-bottom: 1px solid #777;
}
.meta-art a{
    color: #000 !important;
    font-weight: 700;
    text-decoration: none;
}

/*Media Queries*/
@media (min-width: 1200px) {
    .container.ctn-md {
      max-width: 1000px;
    }
}

/* Large devices */
@media screen and (max-width: 1199px) {
    .lg-baseline{
        font-size: var(--size-small);
        font-weight: 900;
        line-height: 1.2;
        padding-top: 1rem;
    }
    .navbar-nav > .nav-item > .nav-link{
        font-size: var(--size-small);
        padding: .5rem .7rem !important;
    }

    .post-card-img{
        height: 180px;
    }

    .img-side {
        width: 40%;
    }
    .txt-side {
        width: 60%;
    }
    .post-card-v-img {
        aspect-ratio: 0.9;
    }
}

/* Medium devices */
@media screen and (max-width: 991px) {
    .navbar-nav > .nav-item > .nav-link{
        font-size: var(--size-normal);
    }
    .navbar-brand{
        display: inline-block;
        font-weight: 700;
    }
    .navbar-brand::after{
        content: " Parc National de Mohéli";
    }
    
    .navbar-light .navbar-toggler{
        border: none;
    }
    .brand{
        display: none;
    }

    .post-card-img{
        height: 130px;
    }
    .post-card-caption{
        height: 210px;
    }
    .post-card-title{
        font-size: var(--size-normal);
    }
    #header .social-bl{
        display: none !important;
    }
    .illustr{
        max-width: 100%;
    }
    .photo-gallery{
        height: 160px;
    }
    .bg-title{
        padding: 2rem 0;
    }
    .head-1{
        font-size: var(--size-medium-plus);
    }

    .img-side {
        width: 30%;
    }
    .txt-side {
        width: 70%;
        padding: 1.25rem .75rem;
    }
    .post-card-v-img {
        aspect-ratio: 0.6;
    }
    .post-card-v-title {
        font-size: var(--size-normal);
    }
}

/* Small devices */
@media screen and (max-width: 767px) {
    .welcome-details{
        margin-bottom: 2rem;
    }
    

    .post-card-img{
        height: 180px;
    }
    .post-card-caption{
        height: 210px;
    }
    .illustr-bloc{
        text-align: center;
    }
    .illustr{
        max-width: 300px;
    }

    #green-footer{
        text-align: center;
    }

    .social-links{
        justify-content: center;
    }
    .social-links a{
        margin-right: 1rem;
        margin-left: 1rem;
    }

    .photo-gallery{
        width: 48%;
        height: 222px;
    }
    .bg-title{
        padding: 1.8rem 0;
    }
    .img-side {
        width: 40%;
    }
    .txt-side {
        width: 60%;
        padding: 1.75rem 1.25rem;
    }
    .post-card-v-img {
        aspect-ratio: 0.9;
    }
    .post-card-v-title {
        font-size: var(--size-medium);
    }
}

/* Extra small */
@media screen and (max-width: 575px){
    .navbar-brand img{
        max-width: 40px;
    }
    
    #carouselOcean .carousel-indicators{
        bottom: 0;
    }

    .post-card-img{
        height: auto;
        max-height: 350px;
    }
    .post-card-caption{
        height: auto;
    }
    .post-card-title{
        font-size: var(--size-medium);
    }
    .photo-gallery{
        width: 45%;
        height: 135px;
    }

    .item-logo img {
        max-width: 180px;
        max-height: 115px;
    }
}

@media screen and (max-width: 480px){
    .img-side {
        width: 35%;
    }
    .txt-side {
        width: 65%;
        padding: 1rem .75rem;
    }
    .post-card-v-img {
        aspect-ratio: 0.8;
    }
    .post-card-v-title {
        font-size: var(--size-normal);
    }
}

@media screen and (max-width: 395px){
    .navbar-brand::after{
        content: " PN de Mohéli";
    }
    .item-logo img {
        max-width: 90px;
        max-height: 90px;
    }
    .logo-part{
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 325px){
    .navbar-brand img{
        max-width: 30px;
    }
    .item-logo img {
        max-width: 80px;
        max-height: 80px;
    }
}