
/*FONTS*/

/* Titre et entêtes */

@font-face {
    font-family: 'Market_Deco';
    src: url("fonts/Market_Deco.ttf") format("opentype");
}

/* Texte général */

@font-face {
    font-family: 'Mostra_Nuova';
    src: url("fonts/Mostra Nuova.otf") format("opentype");
}

/* SCROLLBAR */

.force-overflow
{
  min-height: 450px;
}

.scrollbar
{
  margin-left: 30px;
  float: left;
  height: 300px;
  width: 65px;
  background: rgb(125, 125, 125);
  overflow-y: scroll;
  margin-bottom: 25px;
}

body::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 10px;
  background-color: rgb(125, 125, 125);
}

body::-webkit-scrollbar
{
  width: 12px;
  background-color: rgb(125, 125, 125);
}

body::-webkit-scrollbar-thumb
{
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #555;
}

/*BACKGROUND IMAGES */

.accueil{
    background-image: url('../../img/BackGround.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed; 
}

/*FLEX CONTAINER*/

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;  
}

.croped_row{
    width: 80%;
    margin-left: 10%;
}



.column {
    flex-basis: 100%;
    flex-direction: column;
    display: flex;
    flex: 1;
}

/* MENU */

.menu {
    position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
    display: none;
    z-index: 2;
}

.menu_open{
    width: 100vw;
    height: 100vh;
    background-color: rgb(174, 174, 174);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;

    animation: menuAppear 0.25s linear ;  

}

@keyframes menuAppear {
    0% {
        top: -100%;
    }
    100% {
        top: 0;
    }
}

.menu_icon{
    border-radius: 8px;
    width: 5vw;
    min-width: 7.5vh;
    margin: 2vw;
    position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
    z-index: 2;
}

.menu_item{
    width: 30vw;
    min-width: 30vh;
    height: 10vh;
    max-height: 15vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Market_Deco';
    font-size: 4.5vh;
    cursor: pointer;


    box-shadow: rgba(0, 0, 0, 0.19);
    margin: 2vh;
    border-radius: 8px;
    align-self: center;

}

.menu_item:hover {
    transform: scale(1.5);
}

/* ANIMATION */

@keyframes glow{
    0%{
        box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2), 0 6px 20px 0 rgba(255, 255, 255, 0.19);
    }
    65%{
        box-shadow:
        0 0 60px 30px white,  /* inner white */
        0 0 100px 60px black, /* middle magenta */
        0 0 140px 90px #777; /* outer cyan */
    }
    100%{
        box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2), 0 6px 20px 0 rgba(255, 255, 255, 0.19);
    }
}


/*ACCEUIL ITEMS*/

.title {
    color: aliceblue;
    text-align:center;
    font-size: 600%;
    font-family: 'Market_Deco';

    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin: 5vh;
}

.pic_title {
    animation: glow 2.25s linear infinite;  
}

.picture{
    border-radius: 8px;
    width: 30vw;
    min-width: 30vh;    
}

.accueil{
    align-items: center;
}

.spacer {
    height: 15vh;
    max-height: 15vw;
}

/* PRESENTATION */

.colpres{
    align-items: center;
    justify-content: center;
    position: relative;
}

.titlepres{
    color: aliceblue;
    text-align:left;
    font-size: 500%;
    font-family: 'Market_Deco';

    display: flex;
    align-items: center;
    flex: 1;
    margin-left: 5vw;

}

/* ANIMATION APPEAR PRES */

.onappear{
    transform: translateX(-100%);
}

.onappearAnimation{
    animation: onAppear 0.5s linear; 
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes onAppear{
    0%{
        transform: translateX(-100%);
        opacity: 0.3;
    }
    100%{
        transform: translateX(0); 
        opacity: 1;
    }
}

/* ANIMATION APPEAR IMAGE */

.onappearimg{
    opacity: 0;
    transform: scale(0);
}

.onappearimgAnimation{
    animation: onAppearimg 0.5s linear; 
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes onAppearimg{
    0%{
        transform: scale(0);
        opacity: 0;
    }
    100%{
        transform: scale(1); 
        opacity: 1;
    }
}

.txtpres{
    color: aliceblue;
    text-align: center;
    font-size: 250%;
    font-family: 'Mostra_Nuova';

    margin: 2.5vw;
    min-width: 30vh;
}


/* GALERIE */

.galerie_container {
    width: 20vw;
    min-width: 30vh;
    height: 30vw;
    min-height: 30vh;
    margin: 4%;
    color: transparent;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
}

.pic_galerie {
    width: 15vw;
    margin-left: 10vw;
    margin-right: 10vw;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2), 0 6px 20px 0 rgba(255, 255, 255, 0.19);
    cursor: pointer;
    flex-grow: 1;
}

/* Ajouter un texte dans le hover, avec une couche de sombre */


.colpres:hover .overlay {
    transform: scale(1.37);
    background-color: rgba(57, 57, 57, 0.502);
    color: #fff;
    transition: all 0.2s 0.1s ease-in-out;
}

.colpres:hover .pic_galerie {
    transform: scale(1.37);
    transition: all 0.2s 0.1s ease-in-out;
    color: rgba(57, 57, 57, 0.502);
}


.overlay{
    position: absolute;
    width: 10vw;
    height: 15vw;
    background: transparent ;

    transform: scale(0);
    /*transition: all 0.2s 0.1s ease-in-out;*/
    color: transparent;
    border-radius: 5px;
    cursor: pointer;
    /* center overlay text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 200%;
    font-family: 'Mostra_Nuova';
}

/* LIGHTBOX https://www.tutorialspoint.com/how-to-create-image-lightbox-gallery-using-html-css-and-javascript */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 3;
    flex-direction: row;
    flex-wrap: wrap;

 }

 .lightbox img {
    max-width: 90%;
    max-height: 90%;
 }
 
 .close {
    position: absolute;
    top: 20px;
    right: 20px;

    height: 4vw;
    min-height: 5vh;
    width: 4vw;
    min-width: 5vh;

    background-color: transparent;
    border: none;
    padding: 10px 10px;
    cursor: pointer;
    border-radius: 100%;
    display: flex;
 }

 .closelightbox{
    background-color: aliceblue;
 }

 .close:hover{
    background-color: #777;
 }

 .description{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    color: rgba(0, 0, 0, 0.7);
    background-color: aliceblue;
    box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2), 0 6px 20px 0 rgba(255, 255, 255, 0.19);

    font-size: 250%;
    font-family: 'Mostra_Nuova';
    padding: 25px;
    border-radius: 37px;
    max-width: 40%;


 }

/* CONTACT */

.contact_icon{
    border-radius: 8px;
    background-color: transparent;
    height: 6.5vw;
    min-height: 5vh;
}

.row_contact{
    justify-content: space-around;
}

