@import url(https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Nunito:wght@500&display=swap);
#bodyy.active, .dropbtn.noir, .footer, .zou, body, div#Nom.Nom.noirr {
    background-color:#000
}

.carail, .dark, .dark .toggle .bx-sun, .dropbtn.noir, .dropdown-content.noir a, .light .toggle .bxs-sun, .navig.noir a, .zou, a {
    color:#fff
}

#i2, .Nom, .footer, .titremobile a, .titremobile h1, .toggle i {
    text-align:center
}

.navig a, a {
    text-decoration:none
}

#i2, .Nom, .navig a, .navigation, .zou, body {
    transition:.3s
}

#popup-content, .Nom, .navig, .navigation {
    display:flex
}

.image-grid-row-2, .toggle, img {
    cursor:pointer
}

html {
    scroll-behavior:smooth
}

body {
    padding: 0;
    margin:0 0 -17px
}

.zou {
    padding-right: 20px;
    padding-left: 30px;
    font-family: Nunito, sans-serif;
    letter-spacing:5px
}

#Nom2, .Nom, .footer {
    font-family: 'Josefin Sans', sans-serif
}

#rire, .Nom, .zou.noir {
    background-color:#fff
}

.dark .toggle .bxs-moon, .light, .light .toggle .bx-moon, .zou.noir {
    color:#000
}

h1 {
    font-weight:10
}

.carail {
    letter-spacing: 10px;
    font-weight:bolder
}

.carail.noir h1 {
    color: #000;
    font-weight:bolder
}

.Nom {
    font-size: 20px;
    padding-left: 60px;
    color:color
}

#owner1, .navig, .navig a, .navigation {
    text-align:right
}

.navigation {
    flex: 3 0 auto;
    justify-content: flex-end;
    align-items:right
}

.navig a {
    align-items: right;
    color: rgb(0 0 0);
    font-size: 25px;
    padding-left:20px
}

.navig a:hover {
    font-size: 26px;
    color:#858585
}

.navig {
    flex: none;
    justify-content: flex-end;
    font-weight: 800;
    align-items: right;
    letter-spacing: 0;
    margin-top: 65px;
    margin-right:60px
}

#i2 {
    font-size: 35px;
    padding-right: 10px;
    color:#fff
}

#i2:hover {
    color: #858585;
    transform:scale(1.3)
}

img {
    border-radius: 5px;
    transition:.5s
}

.image-grid {
    transition: transform .2s;
    --gap: 10px;
    width: 1500px;
    --num-cols: 4;
    --row-height: 220px;
    margin-left: 180px;
    margin-right: 100px;
    margin-top: 50px;
    box-sizing: border-box;
    padding: var(--gap);
    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    grid-auto-rows: var(--row-height);
    gap:var(--gap)
}

img:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .6);
    z-index:2
}

.image-grid > img {
    width: 100%;
    height: 100%;
    object-fit:cover
}

.image-grid-col-2 {
    grid-column: span 1;
    cursor:pointer
}

.image-grid-row-2 {
    grid-row:span 2
}

@media screen and (max-width: 1681px) {
    #grille {
        display:flex
    }

    .image-grid {
        margin-left: 0;
        margin-right:0
    }
}

.footer {
    color: #fff;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-top:197px
}

#Nom2 {
    font-size: 50px;
    letter-spacing:4px
}

#suite {
    margin-top:-40px
}

#book {
    margin-top: -20px;
    font-size:17.1px
}

#contactme {
    text-align: left;
    margin-left:20px
}

#owner1 {
    margin-top: -35px;
    margin-right:20px
}

::-webkit-resizer {
    width:10px
}

::-webkit-scrollbar {
    width:10px
}

#footer.active, #grille.active, #header.active {
    filter:blur(4px)
}

#popup-bg {
    display: none;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 2 !important;
    justify-content: center;
    align-items: center;
    filter:none
}

#popup-bg.active {
    display: flex;
    opacity: 1;
    filter:none
}

#popup-content {
    max-width: 63%;
    justify-content: center;
    align-items: center;
    position: relative;
    filter:none
}

#popup-img {
    width: 50%;
    opacity: 100%;
    cursor: default;
    filter: none;
    height:50%
}

::-webkit-scrollbar-thumb {
    background:0 0
}

::-webkit-scrollbar-thumb:hover {
    background:0 0
}

#mobile-only {
    display:none !important
}

@media screen and (max-width: 1024px) {
    .image-grid {
        --gap: 10px;
        margin-right: 1px;
        --num-cols: 1;
        --row-height: 360px;
        padding: var(--gap);
        grid-template-columns: repeat(var(--num-cols), 1fr);
        grid-auto-rows: var(--row-height);
        gap:var(--gap)
    }

    #grille, #header.active {
        display:contents
    }

    #Nom2, .dropdown-content, .footer {
        font-family: 'Josefin Sans', sans-serif
    }

    #footer.active, #grille.active, #header.active {
        filter:blur(0)
    }

    .navig a {
        text-decoration: none;
        color:#fff
    }

    .navig {
        font-weight: 100;
        text-align: left;
        align-items: left;
        display:none
    }

    #contactme, #owner1, .dropbtn, .dropdown, .dropdown-content, .dropdown-content a, .footer {
        text-align:center
    }

    .navigation {
        flex:none
    }

    #mobile-only {
        display:block !important
    }

    #desktop-only, .desktop-only {
        display:none !important
    }

    .dropdown-content {
        margin-left: 30%;
        margin-right: 30%;
        display: none;
        overflow: auto;
        font-weight: 900;
        box-shadow:0 8px 16px 0 rgba(0, 0, 0, .2)
    }

    #contactme, .image-grid {
        margin-left:0
    }

    .image-grid, .show {
        display:block
    }

    .dropbtn {
        background-color: #fff;
        color: #000;
        padding: 20px 16px 16px;
        font-size: 16px;
        border: none;
        transition: .3s;
        cursor:pointer
    }

    .dropbtn:focus, .dropbtn:hover {
        color: #000;
        background-color: #fff;
        text-align:center
    }

    .zou {
        padding-left:25px
    }

    #img:hover {
        transform:none
    }

    .dropdown-content a {
        color: #000;
        padding: 12px 16px;
        text-decoration: none;
        display:block
    }

    .footer {
        background-color: #000;
        color: #fff;
        padding-bottom: 1px;
        padding-top: 1px;
        margin-top:197px
    }

    #Nom2 {
        font-size: 30px;
        letter-spacing:4px
    }

    #book {
        margin-top: -20px;
        font-size:17.1px
    }

    #owner1 {
        margin-top: 0;
        margin-right:0
    }

    img {
        transition: none;
        border-radius:5px
    }

    img:hover {
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(0, 0, 0, .6);
        z-index:2
    }

    .image-grid {
        padding-left: 0;
        --row-height: 10px;
        padding: var(--gap);
        box-sizing: content-box;
        --gap: 20px;
        width: 50%;
        --num-cols: 3;
        --row-height:360px
    }

    .image-grid > img {
        width: 180%;
        height: 10%;
        object-fit: cover;
        margin-bottom:10px
    }

    .image-grid-col-2 {
        grid-column: span 1;
        cursor: pointer;
        margin:auto
    }

    .image-grid-row-2 {
        grid-row: span 6;
        cursor: pointer;
        margin:auto
    }
}

.toggle {
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 120px;
    height: 60px;
    border-radius: 50px;
    transition: .2s;
    right: 5px;
    z-index:1500000
}

.toggle i {
    width: 50%;
    line-height: 60px;
    font-size: 30px;
    z-index:1
}

.toggle .ball {
    position: absolute;
    width: 45px;
    height: 45px;
    margin: 7.5px;
    border-radius: 50%;
    transition:.3s ease-out
}

.switcher {
    display:none
}

.light {
    background:#fff
}

.light .toggle {
    background:linear-gradient(145deg, #fff, #fff)
}

.dark, .dark .toggle, .light .toggle .ball {
    background:#000
}

.dark .toggle .ball {
    background: #fff;
    transform: translateX(60px)
}

.Nom.noirr {
    color: white;
}

#grille {
    margin: 0;
    display: flex;
    padding: 0;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width: 1024px) {

    #grille{
        display: block;
    }
}
    