html {
    scroll-behavior: smooth;
    background-image:url("/images/bg.png");
    overflow: auto;

}


body {
    background-image:url("/images/bg.png");
    background-repeat: repeat-x;
    background-color: rgb(223, 223, 223, 0.5);

}

.hero-wrap {
    background: #ffffff;
}
.hero-wrap .slider-text .desc h1 {
    color: #202020;
}

header .harumatsuri-navbar-brand .harumatsuri-logo {
    color: #5a181c;
    font-family: sans-serif;
    font-size: 1rem;
    text-shadow: 1px 1px 2px #d35485;


}

.js-harumatsuri-nav-toggle .harumatsuri-nav-toggle {
    color:black;
}

.page {

}

#harumatsuri-page {


}

.harumatsuri-nav-toggle {
    width:60px;
    height:60px;
    border-radius: 100px;
    text-align: center;
    padding:12px 8px 0 0;
}

.harumatsuri-nav-toggle i {
    background:black;
    font-weight: bold;
    height:6px;
    width:40px;


}

.harumatsuri-nav-toggle i::before, .harumatsuri-nav-toggle i::after {
    background:black;
    height:6px;
    width:40px;
}




.lk {
    cursor:pointer;
}

#harumatsuri-main-nav ul li a:hover {
    color:red;
}

#harumatsuri-main-nav ul li a span{
    color:#a71d1d;
}

#harumatsuri-main-nav ul li a span:hover{
    color: #d1a2a2;
}


h1 {
}

#background-video {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    /*z-index: -1;*/
    position:absolute;
    opacity: 60%;
}

@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-15px);
    }
    100% {
        transform: translatey(0px);
    }
}
.avatar {
    width: 90%;
    overflow: hidden;
    transform: translatey(0px);
    animation: float 6s ease-in-out infinite;

    img {
        width: 90%;
        height: auto;
    }

    z-index: 3;
    margin-left:5%;
}

.logo-text {
    margin-top: -70px;
    margin-left:80px;
    color: #5a181c;
    transform: rotate(-3deg);
    text-shadow: 1px 1px 2px #d35485;
    font-size:4rem;
    line-height:2rem;
    display:inline-block;
}
footer {
    height:700px;
}

h2 {
    margin-top: 40px;
    margin-bottom: 40px;
    font-family: 'Rouge Script', cursive;
    font-size: 2rem;
    font-weight: bold;
    /*background-color: rgba(255, 255, 255, 0.73);*/
    z-index: 10!important;
    transform: rotate(0deg);
    /*border-top:solid #f8dcdc 1px;*/
    /*border-bottom:solid #f8dcdc 1px;*/
    padding:8px;
    /*box-shadow: 5px 5px 7px rgba(33,33,33,.1);*/
    border-radius: 4px;
}

.h2-title {
    font-family: 'Rouge Script', cursive;
    font-size:2.3rem;
    color:black;
    font-weight:bold;
}

h3 {
    font-family: 'Rouge Script', cursive;
    font-size:1.2rem;
    margin-left:4px;
}

.sakura_l2 {
    display: none;
}

@media (min-width: 992px) {
    .avatar {
        width: 34%;
        overflow: hidden;
        transform: translatey(0px);
        animation: float 6s ease-in-out infinite;

        img {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }

        z-index: 3;
        margin-left:34%;
    }
    footer {
        height:300px;
    }

    h2 {

        font-size: 4rem;

    }
    h3 {
        font-size:2rem;
    }


    .h2-title {
        font-size:4rem;
    }
    .sakura_l2 {
        position:absolute;
        float:left;
        left:0;
        opacity:0.5;
        z-index:0!important;
        display:inline-block;
        max-width:100%;
    }


}

section {
    margin:0px 0;
}

.section-content {

    /*background-color:white;*/
    padding:20px;
    margin-top:20px;
    /*box-shadow: 0 15px 30px 0 rgba(0,0,0, 0.1);*/
    border-radius: 10px;

    img {
        width:98%;
        /*box-shadow: 5px 5px 7px rgba(33,33,33,.7);*/
        /*transform: rotate(3deg);*/
        border-radius: 4px;
    }
}


.header-main {
    background-image: url("/images/bg3.png");
    background-repeat: repeat-x;
    background-position: bottom;
    height:110px;
    /*margin-top:14px;*/
    z-index:10;
}
footer {
    background-image: url("/images/bg2.png");
    background-repeat: repeat-x;
    background-position: top;
}




h4 {
    /*font-family: 'Rouge Script', cursive;*/
    font-size:1rem;
    line-height: 1.2rem;
}





footer h2 {
    text-align:center;
}

.post-it {
    text-decoration:none;
    color:#000;
    display:block;
    padding:2em;
    box-shadow: 5px 5px 7px rgba(33,33,33,.2);
    transform: rotate(-1deg);
    border-radius: 4px;
    /*list-style-type: none;*/
    /*background-color: rgb(247, 206, 255);*/
    /*border:solid #cacaca 1px;*/
    background-image: url("/images/bg_pink.png");
    z-index:3;
}

.post-it li, .post-it2 li {
    list-style-type: none;
}

.post-it li::before{
    /*content: "🌸";*/
}

.post-it2 {
    text-decoration:none;
    color:#000;
    display:block;
    padding:1em;
    box-shadow: 5px 5px 7px rgba(33,33,33,.2);
    transform: rotate(1deg);
    border-radius: 4px;
    margin-top:4px;
    list-style-type: none;
    background-image: url("/images/bg_blue.png");
    /*border:solid #cacaca 1px;*/
    z-index:3;



}

.maps {
    box-shadow: 5px 5px 7px rgba(33,33,33,.4);
    border-radius: 4px;
    margin-top:10px;
}


.logo_parts {
    text-align:center;
    height:170px;
}
.logo_part{
    max-height:150px;
    display:inline-block;
    transition: all .5s ease-in-out;
}

.logo_part:hover {
    transform: scale(1.3)
}

.card {
    padding:10px;
    text-align:center;
    box-shadow: 5px 5px 7px rgba(33,33,33,.2);
    opacity:0.95;
    transition: 0.5s;
    z-index: 10;
    /*border:solid black 1px;*/
    width:100%;
}

.card:hover {
    opacity:1;
}

.card h4 {
    margin-top:8px;
}

.card p {
    /*font-family: 'Rouge Script', cursive;*/
    font-size:0.8rem;
    line-height: normal;
}

.card img {
    /*width:100%;*/
    /*max-height:200px;*/
}

.logo-sociaux {
    width:50px !important;
    transition: 0.5s;
    opacity: 0.6;
    display:inline-block;

}
.logo-prog {
    width:150px !important;
    opacity: 0.8;
    box-shadow: 5px 5px 7px rgba(33,33,33,.4);
    transition: all .5s ease-in-out;
    display:inline-block;
}

.logo-prog:hover {
    width:150px !important;
    opacity: 1;
    box-shadow: 5px 5px 7px rgba(33,33,33,.1);
    transition: all .5s ease-in-out;

}

.logo-sociaux:hover {
    opacity: 1;

}

a {
    transition: 0.5s;
}

a:hover {
    color:red;
}


.img-txt {
    font-size:1.5rem !important;
    border-radius: 4px;

    padding:0;
    min-height:150px;
    background-color: #fafafa;
    margin:0;
}

.img-txt-1 {
    transform: rotate(-3deg);
    position:absolute;
    margin-top:1.5rem;
    font-size:1.5rem !important;
    line-height: normal;
    color:black;
    font-weight:bold;
    padding:10px;
    font-family: 'Rouge Script', cursive;

}

.title-post{
    font-family: 'Rouge Script', cursive;
    font-size:1.5rem;
    font-weight: bold;
}




.box-rebours{
    /*height: 10vh;*/
    margin-top:14px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index:500 !important;
    font-family: 'Rouge Script', cursive;
    opacity: 1;
}
.box_jour, .box_heure, .box_minute, .box_seconde {
    padding: 10px;
    opacity: 1;
}
#jour, #heure, #minute, #seconde {
    background-color: #f5a9fa;
    padding: 5px 15px;
    color: #000000;
    font-size: 1.9rem;
    font-weight: bold;
    border-radius: 4px;
    background-image: url("/images/bg_pink.png");
}
#jour_label, #heure_label, #minute_label, #seconde_label {
    font-size: 1.5rem;
    font-weight: bold;
}



.sakura_r1 {
    position:absolute;
    float:right;
    right:0;
    opacity:0.5;
    z-index:0!important;
    max-width:100%;

}

.sakura_l1 {
    position:absolute;
    float:left;
    left:0;
    opacity:0.5;
    z-index:0!important;;
    margin-top:100px;
    max-width:100%;
}


.logo_r {
    position:absolute;
    float:right;
    right:0;
    opacity:0.5;
    z-index:0!important;;
    margin-top:-40rem;
    max-width:100%;
}
.logo_l {
    position:absolute;
    float:left;
    left:0;
    opacity:0.5;
    z-index:0!important;;
    margin-top:10rem;
    max-width:100%;
}

.col-sm-12, .col-sm-6 {
    margin-bottom: 12px;
}

a {
    color: #810176;
}


.gallery {
    /* (A1) GRID LAYOUT - 3 PER ROW */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    /* (A2) OPTIONAL */
    grid-gap: 10px;
    max-width: 800px;
    padding: 10px; margin: 0 auto;
    overflow: hidden;
}

/* (PART B) IMAGES */
.gallery > img {
    width: 100%; object-fit: cover;
    aspect-ratio: 1/1;
    transition: all 0.3s;
}

/* (PART C) SMALL SCREENS - 2 PER ROW */
@media screen and (max-width:640px) {
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* (PART D) ENLARGE ON MOUSE HOVER */
.gallery > img:hover:not(.full) {
    transform: scale(1.1);
}

.gallery-meet {
    /* (A1) GRID LAYOUT - 3 PER ROW */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    /* (A2) OPTIONAL */
    grid-gap: 10px;
    max-width: 800px;
    padding: 10px;
    margin: 0 auto;
    overflow: hidden;
}

/* (PART B) IMAGES */
.gallery-meet > a {
    position: relative;
    display: block;
    overflow: hidden;
}

.gallery-meet > a img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.414; /* Format A4 */
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

/* Effet de survol */
.gallery-meet > a:hover img {
    opacity: 0.7;
    transform: scale(1.05);
}

/* Ajout d'une loupe sur l'image */
.gallery-meet > a::after {
    content: "🔍"; /* Icône loupe */
    font-size: 3rem;
    color: white;
    position: absolute;
    top: 74%;
    left: 74%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Apparition de la loupe au hover */
.gallery-meet > a:hover::after {
    opacity: 1;
}





