/* HTML */

html {
    font-size: 50%;
    font-size: calc(1em * 0.50);
    background-color: var(--bleuclair);
}

@media (min-width: 1224px) {
    html {
        height: 100%;
        overflow: hidden;
    }
}

a:hover {
    cursor: pointer;

}



/* TYPO */
@font-face {
    font-family: 'LeJeune';
    src: url('fonts/LeJeuneText-Stencil-Web.woff2') format('woff2'),
        url('fonts/LeJeuneText-Stencil-Web.woff') format('woff'),
        url('fonts/LeJeuneText-Stencil.otf') format('opentype');
    font-weight: 400;

}

:root {
    --lejeune: 5.8rem;
    --garamond: 3.2rem;
    --futura: 2.4rem;
    --bodoni: 3.2rem;
    --int1: 5.8rem;
    --int2: 4.35rem;

    /* --lejeune: 5.8rem;
    --garamond: 2.8rem;
    --futura: 2.4rem;
    --bodoni: 3.2rem;
    --int1: 5.8rem;
    --int2: 4.35rem; */
}


/* COULEURS */

:root {
    --bleuclair: rgb(115, 158, 208);
    --bleufonce: rgb(91, 133, 180);
    --bleuclairtrans: rgba(255, 255, 255, 0.5);
    --bleutrans: rgba(81, 133, 180, 0.7);
}

.lightblue {
    color: var(--bleuclairtrans);
}

.lighton {
    text-shadow: rgba(255, 255, 255, 0.8) 0 0 0.8rem;
    -webkit-text-shadow: 0 0 0.6rem rgba(255, 255, 255, 1);
    color: white;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 3px;
    height: 6px;
    transform: translateX(2rem);
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bleuclair);
    border-radius: 0px;
}

::-webkit-scrollbar-track:hover {
    background: var(--bleuclair);
}

::-webkit-scrollbar-track:active {
    background: var(--bleuclair);
}

::-webkit-scrollbar-thumb {
    background: var(--bleuclair);
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    background: #3353ff;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:active {
    background: red;
}



::-webkit-scrollbar-corner {
    background: transparent;
}


/* STRUCTURE */

#content {
    width: 100%;
    height: 100%;
    padding: 2.4rem;
}

@media (min-width: 1224px) {


    #content {
        display: grid;
        grid-template-columns: minmax(45rem, 1fr) repeat(3, 1fr);
        grid-column-gap: 2.4rem;
        grid-template-rows: auto 1fr;

    }

}

/* HEADER */

header {
    grid-column: 1 / span 4;
}

header .header-title {

    text-align: center;
    display: block;
    grid-column: 1 / span 1;
}

header .header-content {
    grid-column: 2 / span 3;

}



@media (max-width: 1224px) {
    .header-title, .header-content {
        text-align: center;
        display: block;

    }
}

@media (min-width: 1224px) {

    header {
        /* display: grid; */
        /* grid-template-columns: minmax(45rem, 1fr) repeat(3, 1fr);
        grid-column-gap: 2.4rem; */
        position: relative;
        grid-column: 1 / span 1;
        /* margin-top:-1rem; */
    }

    .header-content {

        position: absolute;
        top: 0;
        left: 0;
    }
}


/* ASIDE */

header, aside {
    font-family: 'LeJeune', serif;
    text-transform: uppercase;
    font-size: var(--lejeune);
    line-height: var(--int1);


    color: white;

}

aside {
    grid-column: 1 / span 1;
    grid-row: 2;
    text-align: center;
    height: 100%;


    letter-spacing: -0.5px;



}

aside .aside-content span {
    display: block;
    cursor: default;
}

aside #aside-maison {


    margin: 1.2rem auto;

}

@media (min-width: 1224px) {
    aside {
        display: flex;
        flex-flow: column;
        overflow: hidden;
    }

    aside .aside-content {

        position: relative;
    }

    aside #aside-maison {

        min-height: 100px;
        width: auto;
        max-width: 100%;


    }
}



/* MAIN */

main {
    grid-column: 2 / span 3;
    grid-row: 1 / span 2;
    color: white;

    text-align: center;


}

.main-content {

    font-family: 'garamond-atf-subhead';
    font-size: var(--garamond);
    line-height: var(--int2);
    padding-top: 5.8rem;
   
    
}

main section {
    margin-bottom: 11.6rem;
}


main h1 {
    font-family: 'LeJeune', serif;
    text-transform: uppercase;
    font-size: var(--lejeune);
    line-height: var(--int1);
    color: white;
    font-weight: normal;

    margin-bottom: 2.9rem;



}



main p span.section_titre {
    font-family: "futura-pt-bold", sans-serif;
    font-size: var(--futura);
    text-transform: uppercase;
    color: black;


}


main p span.item_description {

    font-style: italic;
    white-space:normal;
    font-variant-numeric: oldstyle-nums;

}

main p span.item_the{
    white-space: normal;
}

main p span.item_wrapper{
    white-space: nowrap;
}

main p span.item_prix {
    color: black;
    font-size: var(--bodoni);
    font-family: 'bodoni-egyptian-pro';
    font-variant: small-caps;
    font-variant-numeric: oldstyle-nums;


}


sup {

    line-height: 0;
    font-variant-numeric: normal;
    font-variant-position: super;
    -moz-font-feature-settings: "sups";
    -webkit-font-feature-settings: "sups";
    font-feature-settings: "sups";

}

span.euro {
    font-variant: all-petite-caps;
}

@media (min-width: 1224px) {



    main .main-content{
        padding-left: 5%;
    padding-right: 5%;
    max-width: 130rem;
    margin: 0 auto;
    }

    main {

        overflow-y: auto;





    }
}




@media (max-width: 1224px) {

    aside .aside-content {

        margin-top: 0rem;
    }

    aside {

        margin-top: 0rem;

    }

    aside #aside-maison {

        width: 60%;
        height: auto;

    }
}

/* ABOUT */

.about {

    color: var(--bleuclairtrans);
    font-family: 'LeJeune', serif;
    font-size: var(--lejeune);
    line-height: var(--int1);
    text-transform: uppercase;
    
    position: absolute;
    visibility: hidden;
    opacity: 0;


}

#about-desktop{
    text-align: left;

    text-indent: -4rem;

}

#about-mobile{
   
    text-align: center;
    


}

.about p strong {
    color: white;
    font-weight: normal;

}

/* MOUSE EVENTS  */

#content.show-about .main-content,
#content.show-about .header-content,
#content.show-open.open-false .header-content {
    opacity: 0;

}


@media (min-width: 1224px) {

#content.show-about #about-desktop {
    visibility: visible;
    opacity: 1;

}
}
@media (max-width: 1224px) {

    #content.show-about #about-mobile{
        visibility: visible;
        opacity: 1;
        position: relative;
    
    }
    }

aside .aside-open {
    display: none;

    text-align: center;
    width: 100%;
}

@media (min-width: 1224px) {
    aside .aside-open {
        position: absolute;
        top: 0;
        left: 0;

    }
}

#content.show-open.open-false aside .aside-open, #content.show-open.open-false .header-title {
    color: rgba(0,0,0,0);
  text-shadow: 0.05rem 0.05rem 0.0rem var(--bleufonce), 0 0 0 hsl(218,70%,27%, 0.7);
}



#content.show-open.open-true aside .aside-open {
    color: white;


}

#content.show-open aside .aside-open {
    display: block;
}


.show-open.open-true .main-content{
    opacity: 0.5;
}

.show-open.open-false .main-content{
    opacity: 0;
}

.show-open .aside-hours, .show-open .aside-infos{
   
    opacity: 0;
}


/* RESPONSIVE :  */

/* MOBILE */

@media (min-width: 1px) and (max-width: 1000px) {
    html {
        font-size: 85%;
        font-size: calc(1em * 0.85);
    }

}

/* TABLETTE */

@media (min-width: 1000px) and (max-width: 1224px) {
    html {
        font-size: 85%;
        font-size: calc(1em * 0.85);
    }

}

/* SMALL DESKTOP */

@media (min-width: 1224px) and (max-width: 1600px) {

    html {
        font-size: 50%;
        font-size: calc(1em * 0.50);
    }


}

/* DESKTOP */

@media (min-width: 1920px) {

    html {
        font-size: 62.5%;
        font-size: calc(1em * 0.625);
    }


}


/* LARGE DESKTOP */



@media (min-width: 3200px) {

    /* html {
        font-size: 100%;
        font-size: calc(1em * 1);
    } */


}




/* LUMIERES */

#content.lightoff .aside-infos> :not(.lighton), #content.lightoff .aside-hours:not(.lighton) {
    color: var(--bleuclairtrans);
    transition: color 0.5s;
}

#content.lightoff .main-content {
    opacity: 0.5;

}



* {
    transition: opacity 0.1s;
}


.open-true.show-open svg {
  
    animation: none;
}




@keyframes mymove {
    66%{
        -webkit-filer: drop-shadow(0 0 0.6rem rgb(0, 0, 0, 0.2));
    filter: drop-shadow(0 0 0.6rem rgb(0, 0, 0, 0.2));

    }
    
}


@keyframes windows {
    66% {
       
        visibility: hidden;
        fill:none;
    
    }


}


@keyframes bg {
    66% {
        /* visibility: visible;
        -webkit-filer: drop-shadow(0 0 0.8rem rgba(255, 255, 255, 1));
        filter: drop-shadow(0 0 0.8rem rgba(255, 255, 255, 1));
        fill:white; */
       
    
    }


}

#windows{
    
    /* fill:var(--bleufonce); */
   
       

        visibility: visible;
        -webkit-filer: drop-shadow(0 0 0.3rem rgba(255, 255, 255, 1));
        filter: drop-shadow(0 0 0.3rem rgba(255, 255, 255, 1));
        fill:white;
        

}

.loaded #windows{
    animation: windows 2s infinite steps(1);
}

.loaded #background{
    
    animation: bg 2s infinite steps(1); 
}



#background{
    
    fill:var(--bleufonce);
    /* visibility: hidden; */
}

#house, svg {
   
   
   
  
    -webkit-filer: drop-shadow(0 0 0.8rem rgba(255, 255, 255, 1));
    filter: drop-shadow(0 0 0.8rem rgba(255, 255, 255, 1));
    
   

}

.loaded #house, .loaded svg{
    animation: mymove 2s infinite steps(1);

}

#house, svg{
    fill: var(--bleuclair);
}

.open-true.show-open #house, .open-true.show-open #windows,   .open-true.show-open svg{
    -webkit-filer: drop-shadow(0 0 0.8rem rgba(255, 255, 255, 1));
    filter: drop-shadow(0 0 0.8rem rgba(255, 255, 255, 1));
    animation: none;
}


.open-false.show-open #house, .open-false.show-open svg{
    -webkit-filer: drop-shadow(0 0 0.6rem rgb(0, 0, 0, 0.2));
    filter: drop-shadow(0 0 0.6rem rgb(0, 0, 0, 0.2));
    animation: none;
    
}

.open-false.show-open #windows{
    animation: none;
    fill:none;
    
}

.open-true.show-open #windows{
    visibility: visible;
        -webkit-filer: drop-shadow(0 0 0.3rem rgba(255, 255, 255, 1));
        filter: drop-shadow(0 0 0.3rem rgba(255, 255, 255, 1));
        fill:white;
        animation: none;
    
}

.open-false.show-open #background{
    animation: none;
}

#content.lightoff #house, #content.lightoff svg{
    -webkit-filer: drop-shadow(0 0 0.8rem rgba(255, 255, 255, 0.6));
    filter: drop-shadow(0 0 0.8rem rgba(255, 255, 255, 0.6));
    animation: none;

}

#content.lightoff #windows{
    -webkit-filer: none;
    filter: none;
    fill:white;
    visibility: visible;
    animation: none;

}

#content.lightoff #background{
    animation: none;
}




/* ENTREE DANS LE SITE */

@keyframes landing {
    0% {
        opacity: 0;

    }

    100% {
        opacity: 1;
    }
}

main {
    opacity: 0;
    animation: landing 1s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

.aside-content, .header-title {
    opacity: 0;
    animation: landing 1s;
    animation-delay: 1s;
    animation-fill-mode: forwards;

}