

*{ margin: 0px; padding: 0px; box-sizing: border-box;}

body{background-color: rgb(255, 255, 255); width:100%; font-family: 'Raleway', sans-serif;}

/* BUTTON TO TOP */
#totopbutton{
    display: inline-block;
    background-color: rgba(58, 58, 58, 0.753);
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}
#totopbutton::after{
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: rgb(255, 255, 255);
}
#totopbutton:hover {
    cursor: pointer;
    background-color: #333;
}
#totopbutton:active {
    background-color: #555;
}
#totopbutton.show {
    opacity: 1;
    visibility: visible;
}

/* HEADER */
header{ 
    position:fixed;
    width: 100vw;
    z-index: 2;
}

/* NAV GALERIE */
.heading{
    position:relative;
    background: rgb(255, 255, 255);
    background-size: cover;
    padding:11vh 2vw 0 2vw;
    font-family: 'Raleway', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.heading-container-box{
    height: 40vh;
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: rgba(81, 81, 81, 0.4) -4px 4px, rgba(81, 81, 81, 0.3) -8px 8px, rgba(81, 81, 81, 0.2) -12px 12px, rgba(81, 81, 81, 0.1) -16px 16px, rgba(81, 81, 81, 0.05) -20px 20px;
    border-radius: 2px;
}
.heading-container-box .heading-box{
    padding:15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.612);
    backdrop-filter: blur(1px);
}
.heading-container-box .heading-box:hover{
    height: 100%;
}
.heading-container-box a{
    font-size:1.5vw;
    color: rgb(57, 57, 57);
    text-decoration: none;
}
.heading-container-box a.active{
    color:#e94e4e;
    font-weight: bolder;
    height: 100%;
    background: rgba(0, 0, 0, 0.391);
}

/* background images des heading-container-box */
.heading-container-box.box1{
    background: url("../images/galerie/Mariage/mariage\ \(1\).jpg") no-repeat center;
    background-size: cover;
}
.heading-container-box.box2{
    background: url("../images/galerie/Shooting/shooting\ \(1\).jpg") no-repeat center;
    background-size: cover;
}
.heading-container-box.box3{
    background: url("../images/galerie/Mes\ photographies/CoucherDesoleil/mesphotographies-coucherdesoleil (16).jpg") no-repeat center;
    background-size: cover;
}
.heading-container-box.box4{
    background: url("../images/galerie/Voyages\ Adaptes/Malte/voyagesadaptes-malte.jpg") no-repeat center;
    background-size: cover;
}
.heading-container-box.box5{
    background: url("../images/galerie/Menton\ Riviera\ Merveilles/Ambassadeurs/collab-mentonrivieramerveilles-ambassadrice-5.jpg") no-repeat center;
    background-size: cover;
}
.heading-container-box.box6{
    background: url("../images/galerie/Collab/Les\ Produits\ de\ Kat/collab-savon-valleedelaroya-3.jpg") no-repeat center;
    background-size: cover;
}


/* NAVBAR */
.maNav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height:7vh;
    transition: all 0.5s ease-in;
    font-family: 'Raleway', sans-serif;
    background-color: rgb(255, 255, 255);
}
.maNav .sections li a{
    text-shadow: none;
    color:rgb(54, 54, 54);
}
.maNav .burger div{
    background-color: rgb(54, 54, 54);
}
.logo {
    padding-left: 10%;
    z-index:90;
}
.logo a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    text-shadow: rgb(0, 0, 0) 2px 1px 5px;
    letter-spacing: 5px;
    font-size: 27px;
    font-weight: 700;
    color: rgb(0, 0, 0);
    text-shadow: rgb(134, 134, 134) 2px 1px 5px;
}
.maNav .sections a:hover{
    text-shadow: rgb(178, 178, 178) 1px 1px 1px;
}
.sections{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    padding:0 1% 0 20%;
}
.sections li{
    list-style: none;
}
.dropmenu{
    display: none;
    position: absolute;
    max-width: 100%;
    z-index: 1;
    padding-top:10px;
    background-color: rgb(255, 255, 255);
}
.dropmenu a{
display: block;
padding: 4px 12px;
}
.dropdown:hover .dropmenu{
display: block;
}
.sections a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    text-shadow: rgb(58, 58, 58) 2px 1px 5px;
    letter-spacing: 2px;
    font-size: 18px;
}
.burger{
    display:none;
    padding-right:10%;
    cursor:pointer;
}
.burger div{
    width: 24px;
    height: 3px;
    background-color: rgb(206, 206, 206);
    margin:5px;
    border-radius: 30%;
    transition: all 0.5s ease;
}
.toggle .l1{
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .l2{
    opacity:0;
}
.toggle .l3{
    transform: rotate(45deg) translate(-5px, -6px);
}

/*CONTAINER GALERIE*/
.desc-section-galerie{
    padding:9vh 10vh 2vh 10vh;
    text-align: center;
}
.desc-section-galerie .title-desc{
    font-size:2rem;
    letter-spacing: 1rem;
    padding-bottom:40px;
    text-transform: uppercase;
}
.desc-section-galerie .desc-desc{
    font-size:1rem;
    letter-spacing: .1rem;
    line-height: 1.8rem;
}

.menu-section-galerie{
    background: rgb(255, 255, 255);
    background-size: cover;
    font-family: 'Raleway', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:50px 30px;
    flex-wrap: wrap;
    padding-top:5vh;
}
.heading-container-box.sub-heading{
    height: 25vh;
    width: 22%;
}

/* background des sub-heading */
 .heading-container-box.box-mrm-01{
    background: url("../images/galerie/Menton\ Riviera\ Merveilles/Ambassadeurs/collab-mentonrivieramerveilles-ambassadrice-4.jpg") no-repeat center;
    background-size: cover;
}.heading-container-box.box-mrm-02{
    background: url("../images/galerie/Menton\ Riviera\ Merveilles/Team\ Presta/collab-mentonrivieramerveilles-2.jpg") no-repeat center;
    background-size: cover;
}.heading-container-box.box-collab-01{
    background: url("../images/galerie/Collab/CommercantValléeRoya/collab-valleedelaroya-commercant.jpg") no-repeat center;
    background-size: cover;
}.heading-container-box.box-collab-02{
    background: url("../images/galerie/Collab/Mercantour-gmf/collab-mercantour-gmf-2.jpg") no-repeat center;
    background-size: cover;
}.heading-container-box.box-collab-03{
    background: url("../images/galerie/Collab/MireilleOver60/collab-mireilleover60.jpg") no-repeat center;
    background-size: cover;
}.heading-container-box.box-collab-04{
    background: url("../images/galerie/Collab/Ouzbekistan/collab-ouzbekistan.jpg") no-repeat center;
    background-size: cover;
}.heading-container-box.box-collab-05{
    background: url("../images/galerie/Collab/RoyaEvasion/collab-transhumance-royaevasion.jpg") no-repeat center;
    background-size: cover;
}.heading-container-box.box-mesphotos-01{
    background: url("../images/galerie/Mes\ photographies/CoucherDesoleil/mesphotographies-coucherdesoleil (18).jpg") no-repeat center;
    background-size: cover;
}.heading-container-box.box-mesphotos-02{
    background: url("../images/galerie/Mes\ photographies/Détails/mesphotographies-detail (12).jpg") no-repeat center;
    background-size: cover;
}.heading-container-box.box-mesphotos-03{
    background: url("../images/galerie/Mes\ photographies/Paysages/Flamantrose-parcphoenix (1).jpg") no-repeat center;
    background-size: cover;
}.heading-container-box.box-mesphotos-04{
    background: url("../images/galerie/Mes\ photographies/Portraits/portrait (1).jpg") no-repeat center;
    background-size: cover;
}.heading-container-box.box-mesphotos-05{
    background: url("../images/galerie/Mes\ photographies/Rues/nice-tram-cimiez-arenas (1).jpg") no-repeat center;
    background-size: cover;
}

.section-galerie{
    display: none;
    padding:7vh 2vw 0 2vw;
}
.container-galerie {
    padding:0 0 7vh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.alb-title{
    width: 100%;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: .4rem;
    line-height: 3rem;
    border-bottom:solid 1px grey;
    padding-top: 20px;
    align-self:center;
}
.alb-title p {
    text-align: center;
}
.alb-title span {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: .2rem;
    line-height: 2rem;
}
.container-column{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 70vw;
}
.container-column:hover .item:not(:hover) {
    filter: grayscale(1);
}
.column {
    flex: 50%;
    max-width: 50%;
}
.column .item{
    margin-bottom: 4.5%;
    margin-top: 4.5%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-height: 85vh;
    transition: .3s;
}
.column .item .tooltip {
    position: absolute;
    top:7px;
    right:7px;
    display: inline-block;
    color: rgba(44, 44, 44, 0.614);
    padding:2px 9px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.879);
    font-family:'Times New Roman', Times, serif;
    font-size:1.2rem;
    box-shadow: rgba(255, 255, 255, 0.516) 0px 0px 4px;
}
.column .item .tooltip:hover, .column .item .tooltip:active, .column .item .tooltip.active{
    background-color: rgb(255, 255, 255);
    color: rgba(44, 44, 44, 0.845);
}
.column .item .tooltip .tooltiptext {
    visibility: hidden;
    width: 180px;
    background-color: rgba(0, 0, 0, 0.628);
    color: #dbdbdb;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: -5px;
    right: 110%;
    font-family: 'Raleway', sans-serif;
    font-size:1rem;
  }
  
  
.column .item .tooltip:hover .tooltiptext {
    visibility: visible;
  }

.item::after {
    transition: .3s;
}
.column.column-left .item {
    margin-right:2%;
}
.column.column-right .item {
    margin-left:2%;
}
.item img {
    display: block;
    width: 100%;
    transition: all 0.5s ease;
}
.column img:hover {
    transform: scale(1.1);
}

/* MODAL */

.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.733);
    margin-top: -1px;
    animation: zoom 0.5s ease-in-out;
    z-index: 2;
}
@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
.modal img {
    max-height: 95%;
    max-width: 95%;
}
.close {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.8;
  }
  .close:hover {
    opacity: 1;
  }
  .close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 40px;
    width: 5px;
    background-color: #fff;
  }
  .close:before {
    transform: rotate(45deg);
  }
  .close:after {
    transform: rotate(-45deg);
  }

.nextBtn {
    position: absolute;
    width: 40px;
    height: auto;
    opacity: 0.8;
    left:95%;
}
.nextBtn:hover {
    opacity: 1;
  }
.nextBtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 20px;
    height: 20px;
    border: 5px solid #fff;
    border-width: 5px 5px 0 0;
}

.prevBtn {
    position: absolute;
    width: 40px;
    height: auto;
    opacity: 0.8;
    right:95%;
}
.prevBtn:hover {
    opacity: 1;
  }
.prevBtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-140deg);
    width: 20px;
    height: 20px;
    border: 5px solid #fff;
    border-width: 5px 5px 0 0;
}


/*FOOTER*/
footer{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    color:rgb(77, 77, 77);
    margin:50px 0;
}
footer div{
    min-width: 30%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap:3%;
}
footer a{
    text-decoration: underline;
    color:rgb(110, 110, 110);
}

footer div.icons-contact{
    width: 30%;
    height: 55px;
}
footer div.icons-contact svg{
    width:20%;
    height: 100%;
}
footer div.icons-contact svg a.icon{
    transition: transform 0.2s;
}
footer div.icons-contact svg a.icon:hover{
    transform: scale(1.1);
}


@media screen and (max-width:820px) {
    body{
        overflow-x:hidden;
    }
    .maNav{
        height:8vh;
    }
    .sections{
        position: absolute;
        right : 0px;
        height: 45vh;
        top:0vh;
        padding: 0;
        background-color: rgba(255, 255, 255, 0.990);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        padding-top:4vh;
    }
    .dropdown:hover .dropmenu{
        display: none;
    }
    .sections li{
        opacity:0;
        color: rgb(88, 88, 88);
    }
    .burger{
        display:block;
    }
    .heading{
        flex-wrap:wrap;
        gap:10px 0px;
        padding-top:9vh;
        padding: 11vh 4vw 0 4vw;
    }
    .heading .heading-container-box{
        width: 48.5%;
        height:20vh;
        box-shadow: none;
        border-radius: 10px;
    }
    .heading-container-box .heading-box{
        padding:0;
    }
    .heading-container-box a {
        font-size: 1.7rem;
        line-height: 2.3rem;
    }
    .menu-section-galerie{
        background: rgb(255, 255, 255);
        background-size: cover;
        padding:4vh 2vw 0 2vw;
        font-family: 'Raleway', sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        gap:5px;
    }
    .heading-container-box.sub-heading{
        height: 15vh;
        width: 47%;
        box-shadow: none;
        border-radius: 5px;
        font-size:20%;
    }
    .heading-container-box.sub-heading a{
        font-size: 1.2rem;
        line-height: 2rem;
    }
    .desc-section-galerie{
        padding:6vh 2vw;
    }
    .desc-section-galerie .title-desc{
        font-size:1.5rem;
        letter-spacing: .5rem;
        padding-bottom:20px;
    }

    /* GALERIE */
    .container-column{
        width: 99%;
    }
    .column {
        flex: 95%;
        max-width: 95%;
    }
    .column .item{
        margin: 1vh 0%;
    }
    .column.column-left .item {
        margin-right:0%;
    }
    .column.column-right .item {
        margin-left:0%;
    }
    .nextBtn {
        left:60%;
        top:95%;
        opacity: 1;
    }
    .prevBtn {
        right:60%;
        top:95%;
        opacity: 1;
    }
    .close{
        opacity:1;
    }

    /* FOOTER */
    footer{
        margin:20px 0;
    }
    footer div{
        min-width: 100%;
        max-width: 100%;
        padding: 20px 0 10px 0;
    }
    footer div.icons-contact{
        width: 50%;
        height:80px;
    }
}
.nav-active{
    transform: translateX(0%)
}

@keyframes sectionsFade{
    from{
        opacity:0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}
