html,body
{
    background: rgb(27, 31, 34);
    color:white;
    margin:0;
    /* background: black; */
}
#main
{
    height:100vh;
    width:100%;
    overflow:hidden;
    display:table;
    vertical-align:middle;
    text-align:center;
    /* background:url('back.jpg'); */
    background-size:cover;
    background-position:center center;
    position: relative;
}
#img
{
    opacity: 0.7;
    position:absolute;
    transform:scale(1.2);
    width:100%;
    height:100%;
    left:0;
    transition: opacity 0.4s ease-out,transform 0.4s ease-out,background 0.4s ease-out,position 0.4s ease-out;
    background: url(back.jpg);
    background-size: cover;
    background-position: center center;
    /* transition-delay: 0.2s; */
}
#main .in
{
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
    /* background: rgba(27, 31, 34, 0.35); */
    transition: all 0.3s ease-out;
    opacity: 1;
    transform: none;
    position:relative;
    transition-delay: 0.2s;
}
#main.masque .in
{
    opacity:0;
    transition-delay: 0s;
}
#main .in .container
{
    transition: all 0.3s ease-out;
    transition-delay: 0.1s;
    transform: scale(0.95) translateY(-10px);
}
#main.masque .in .container
{
    transform:scale(0.8);
    transition-delay: 0s;
    transition: all 0.3s ease-out;
}
#logo
{
    width: 100px;
    /* border: solid 1px white; */
    height: 100px;
    /* padding: 25px; */
    /* border-radius: 100%; */
    display: block;
    margin: auto;
    width: 140px;
    opacity: 0;
    transition: all 0.3s ease-out;
}
#logo *
{
    fill:white;
}

#main a {
    text-shadow: rgba(27, 31, 34, 0.85) 0 0 2px;
    transition: all ease-out 0.1s;
    display: inline-block;
    margin: 0;
    border: solid 1px rgba(255, 255, 255, 0.5411764705882353);
    border-collapse: collapse;
    border-right: none;
    box-sizing: border-box;
    padding: 15px;
    color: white;
    text-transform: uppercase;
    font-family: raleway;
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    /* border-bottom: 0; */
    width: 150px;
    text-align: center;
    text-shadow: rgba(74, 57, 54, 0.85) 0 0 20px;
    background: rgba(74, 57, 54, 0);
    /* font-family: lato; */
    font-weight: bolder;
    opacity: 0;
    transition: opacity 0.5s,transform 0.5s ease-out;
    transition-delay: 0.5s;
}

#main a:first-child {
    border-radius: 5px 0 0 5Px;
    transition-delay: 0.6s;
}



#main a:last-child {border-radius: 0 5px 5px 0;border-right: solid 1px rgba(255, 255, 255, 0.5411764705882353);width: 150px;transition-delay: 0.6s;}

#main a:last-child:first-child {
    border-radius: 5px;
    /* background: #afa58a5e; */
    /* border: none; */
    width: 200px;
    /* transition: all; */
    transition-delay: 0.6s;
    transition-duration:0.2s;
    transform: translateY(-10px) scale(0.9);
}

.spacer {
    display: block;
    margin: auto;
    max-width: 800px;
    width: 90%;
    border-top: solid 1px white;
    margin-top: 20px;
    margin-bottom: 20px;
    position:relative;
    /* -webkit-margin-collapse: collapse; */
    width: 0px;
    transition: all 0.5s;
}

#main p {
    position:relative;
    font-family: Raleway;
    display: block;
    margin: auto;
    max-width: 800px;
    width: 90%;
    /* border-top: solid 1px white; */
    margin-top: 17px;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    line-height: 2;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 50px;
    text-shadow: rgba(74, 57, 54, 0.85) 0 0 20px;
    transition: all 0.5s;
    opacity: 0;
    transition-delay: 0.2s;
    font-weight: bolder;
}

.block {
    margin-top: 60px;
    position: relative;
}

.block:before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: -60px;
    height: 60px;
    border-left: solid 1px rgba(255, 255, 255, 0.2784313725490196);
    height: 0;
    transition: all 0.3s;
    transition-delay: 0.2s;
}

b {
    display: block;
    font-size: 2.25rem;
    line-height: 1.3;
    letter-spacing: 0.5rem;
    font-family: lato;
    /* margin-top: 50px; */
    margin-bottom: 30px;
}

div#inlogo {
    /* border: solid 1px #ffffff47; */
    padding: 20px;
    display: inline-block;
    border-radius: 100%;
    margin-bottom: 40px;
    position: relative;
}

div#inlogo:after {
    display: block;
    height: 60px;
    border-left: solid 1px rgba(255, 255, 255, 0.2784313725490196);
    content: "";
    position: absolute;
    bottom: -60px;
    left: 50%;
}

#main a:hover {
    background: rgba(175, 165, 138, 0.16862745098039217);
}

.more
{
    display: table;
   
    width: 100%;
    /* height: 0px; */
    top: 0;
    left: 0;
    height: 100vh;
    overflow: hidden;
}
.more .in
{
    margin: auto;
    max-width: 1900px;
    width: 100%;
    /* background: rgba(27, 31, 34, 0.75); */
    box-sizing: border-box;
    padding: 10px;
  
    display: inline-block;
    text-align: left;
    /* display: inline; */
    /* margin: 1px; */
    /* overflow: hidden; */
    /* overflow-y: scroll; */
    transition-delay: 0s;
    transition: all ease-out 0.3s;
    height: 100vh;
}

#main.masque #img {
    transform: scale(1.1);
    filter: blur(10px);
    opacity: 0.4;
}

#main h1 {
    display: block;
    text-align: center;
    font-family: lato;
    padding-top: 20px;
    /* text-decoration: underline; */
    /* display: inline-block; */
    /* border-bottom: solid 2px white; */
}

footer {
    /* position: absolute; */
    top: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 12px;
    font-family: raleway;
    text-align: center;
    box-sizing: border-box;
    padding: 5px;
}

.more
{
    /* transform: scale(1.2); */
    /* opacity: 0; */
    transition: all linear 0.3s;
    /* display:none; */
    /* transition-delay: 0s; */
    /* overflow: hidden; */
    /* overflow-y: scroll; */
    display: table;
    /* visibility: hidden; */
    /* transition-delay: 0.1s; */
    /* transition-delay: 1s; */
    /* position: absolute; */
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}
.more.visible
{
    display:table;
    vertical-align:middle;
    opacity:1;
    transform:none;
    /* transition: display; */
    height: 100vh;
    /* transition-delay: 0.1s; */
    visibility: visible;
    transition-delay: 0s;
    /* BACKGROUND: rgba(0, 0, 0, 0.54); */
}
.more .center
{
    vertical-align: top;
    width: 100%;
    height: 100vh;
    text-align: center;
    /* background: orange; */
    display: table-cell;
    /* overflow: hidden; */
    /* overflow-x: scroll; */
    /* overflow: hidden; */
    /* overflow-y: scroll; */
    position: relative;
    transition:all 0.3s;
}

p {}

.more h1 {#main
          h1 {      display: block;
                    text-align: center;
                    font-family: lato;
                    padding-top: 20px;
                    /* text-decoration: underline; */
                    /* display: inline-block; */
                    /* border-bottom: solid 2px white; */  }
          display: block;
          /* text-align: center; */
          font-family: lato;
          padding-top: 20px;
          /* text-decoration: underline; */
          display: inline-block;
          border-bottom: solid 2px white;
          /* padding-bottom: 20px; */
          text-transform: uppercase;
          letter-spacing: 5;
          padding: 10px;
          text-align: center;
          padding-right: 5px;
          padding-top: 0;
          margin: 0;
}

.more p {
    /* position: relative; */
    font-family: Raleway;
    /* display: block; */
    /* margin: auto; */
    /* max-width: 1900px; */
    /* width: 90%; */
    /* border-top: solid 1px white; */
    /* margin-top: 17px; */
    letter-spacing: 0.1rem;
    font-size: 0.8rem;
    line-height: 1.5;
    /* text-transform: uppercase; */
    margin-top: 20px;
    margin-bottom: 0;
    text-align: justify;
    text-align: center;
    font-weight: bolder;
    width: 100%;
}

#main a:last-child:first-child:hover {
    background: rgba(175, 165, 138, 0.5215686274509804);
}
.scroll
{overflow: hidden;overflow-y: auto;max-height: calc(100% - 30px);width: 100%;/* background: red; */}
.more.visible .in {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.1s;
}

.visible .spacer {
    width: 90%;
}

.visible .block:before {
    height: 60px;
}

#main.visible  a {
    opacity: 1;
    /* transform: translateY(0px); */
}

#main.visible p {
    opacity: 1;
}

.close{
    display:block;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.23921568627450981);
    font-size: 30px;
    position:absolute;
    top: -13px;
    right: -5px;
    text-align:center;
    line-height:50px;
    transform:rotate(45deg);
    /* font-family:lato; */
    font-weight:400;
}
.close:hover{
    color:#fff;
    cursor:pointer
}

#main.visible a:last-child:first-child {
    transform: none;
}

#main.visible .in .container {
    transform: scale(1);
    transition: all 0.3s ease-out;
}

.more span img {
    width: 50px;
    height: 50px;
    display: inline-block;
    margin: auto;
    /* vertical-align: middle; */
    margin: 10px;
    display: block;
    margin: auto;
    /* background: red; */
    margin-bottom: 5px;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    left: 0;
    top: 55px;
} 


.more span {
    transition: opacity 0.5s;
    /* opacity: 0; */
    display: block;
    text-transform: uppercase;
    /* margin: 20px 0; */
    /* width: 400px; */
    /* border-top: solid 1px #cccccc29; */
    /* padding-top: 10px; */
    text-align: left;
    width: calc(50% - 50px);
    display: inline-block;
    vertical-align: top;
    font-weight: bolder;
    box-sizing: border-box;
    padding: 20px 10px 20px 81px;
    /* padding-bottom: 45px; */
    position: relative;
    /* border-bottom: solid 1px #cccccc14; */
    /* height: 184px; */
    max-width: 450px;
    padding-right: 10px;
    margin-right: 20px;
    color: #e0b175;
    font-size: 20px;
    font-weight: bolder;
    min-width: 350px;
    margin: 20px 20px;
    line-height: 26px;
}
.visible #logo {
    opacity: 1;
}

small {
    display: block;
    font-size: 13px;
    font-weight: normal;
    line-height: 14px;
    text-transform: none;
    color: white;
    margin-top: 5px;
}
.more p.title
{
    font-size: 30px;
    text-transform: uppercase;
    /* margin-bottom: 34px; */
    text-align: center;
    /* padding-bottom: 27px; */
    padding-top: 50Px;
}

.more span:last-child {
    border: none;
}

.more .center a img {
    /* position: fixed; */
    /* top: 50%; */
    height: 14px;
    width: 20px;
    /* margin-top: -20px; */
    /* right: 50px; */
    opacity:0;
    transition:none;
}
.more.visible a img 
{
    transition: all 0.3s;
    /* transition-delay:0.5s; */
    opacity:0.5;
}
.more.visible .center a img:hover {
    opacity:1;
    transition:none;
}

.more .center a:first-child img {
    /* left: 50px; */
}
#avant .center
{
    /* transform: translateX(-50%); */
}
.visible .center
{
    transform:none!important;
}
#apres .center
{
    /* transform: translateX(50%); */
}
.apres #pendant .center,
.apres #avant .center,
.pendant #avant .center {
    transform: translateX(-50%);
    transition-delay:0;
}
.avant #pendant .center,
.avant #apres .center,
.pendant #apres .center {
    transform: translateX(50%);
    transition-delay:0s;
}
.contact #pendant .center,
.contact #avant .center,
.contact #apres .center {
    transform: translateX(0);
    transition-delay:0s;
}

.avant #img
{
    left:2%!important;
    background-position-x: left!important;
}
.pendant #img
{
    left:0;
}
.apres #img
{
    left:-2%!important;
    background-position-x: right !important;
}
#main .contact
{

    margin-top: 40px;
}


input#msgNom {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
    padding: 10px 5px;
    font-family: lato;
    font-size: 14px;
    margin-bottom: 20px;
    color: white;
    background: rgba(224, 177, 117, 0.050980392156862744);
    border: solid 1px rgba(255, 255, 255, 0.1803921568627451);
    margin-top: 20px;
    border-radius: 5px;
}

textarea#msgmsg {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
    padding: 5px;
    font-family: lato;
    font-size: 14px;
    margin-bottom: 20px;
    resize: vertical;
    height: 200px;
    color: white;
    background: rgba(224, 177, 117, 0.27058823529411763);
    /* border: solid 1px #ffffff54; */
    border-radius: 5px;
    /* max-width: 1200px; */
    background: rgba(224, 177, 117, 0.050980392156862744);
    border: solid 1px rgba(255, 255, 255, 0.1803921568627451);
}

input.send {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: solid 1px rgba(255, 255, 255, 0.3411764705882353);
    padding: 5px;
    font-family: lato;
    font-size: 14px;
    margin-bottom: 5px;
    border: solid 1px white;
    color: white;
    font-family: raleway;
    font-size: 16px;
    font-weight: bolder;
    background: white;
    color: black;
    font-weight: bolder;
    text-shadow: rgba(27, 31, 34, 0.85) 0 0 2px;
    transition: all ease-out 0.1s;
    display: inline-block;
    margin: 0;
    border: solid 1px rgba(255, 255, 255, 0.5411764705882353);
    border-collapse: collapse;
    /* border-right: none; */
    box-sizing: border-box;
    padding: 15px;
    color: white;
    text-transform: uppercase;
    font-family: raleway;
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    /* border-bottom: 0; */
    width: 200px;
    text-align: center;
    text-shadow: rgba(74, 57, 54, 0.85) 0 0 20px;
    background: rgba(74, 57, 54, 0);
    /* font-family: lato; */
    font-weight: bolder;
    /* opacity: 0; */
    /* transition: opacity 0.5s,transform 0.5s ease-out; */
    /* transition-delay: 0.5s; */
    border-radius: 5px;
    float: right;
    clear: both;
    cursor: pointer;
}

center {
    font-family: raleway;
    font-size: 14Px;
    color: white;
    padding-bottom: 10px;
}

center a 
{
    text-decoration:none;
    color:white;
}

svg * {
    fill: white;
}

svg {
    width: 100px;
    display: block;
    margin: 20px;
    /* float: left; */
}

.more span:nth-child(2n) img {
    /* left: auto; */
    /* right: 5px; */
}
.visible span 

.visible .more span {}

.visible.more span {
    opacity: 1;
}

.more span:nth-child(1) {
    transition-delay: 200ms;
}
.more span:nth-child(2) {
    transition-delay: 250ms;
}
.more span:nth-child(3) {
    transition-delay: 300ms;
}
.more span:nth-child(4) {
    transition-delay: 350ms;
}
.more span:nth-child(5) {
    transition-delay: 400ms;
}
.more span:nth-child(6) {
    transition-delay: 450ms;
}

.contact>a {
    text-shadow: rgba(27, 31, 34, 0.85) 0 0 2px;
    transition: all ease-out 0.1s;
    display: inline-block;
    margin: 0;
    border: solid 1px rgba(255, 255, 255, 0.5411764705882353);
    border-collapse: collapse;
    /* border-right: none; */
    box-sizing: border-box;
    padding: 15px;
    color: white;
    text-transform: uppercase;
    font-family: raleway;
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    /* border-bottom: 0; */
    width: 200px;
    text-align: center;
    text-shadow: rgba(74, 57, 54, 0.85) 0 0 20px;
    background: rgba(74, 57, 54, 0);
    /* font-family: lato; */
    font-weight: bolder;
    /* opacity: 0; */
    /* transition: opacity 0.5s,transform 0.5s ease-out; */
    /* transition-delay: 0.5s; */
    border-radius: 5px;
}

.more span.contact {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
}


.contact>a:hover,input.send:hover {
    background: rgba(224, 177, 117, 0.27058823529411763);
}

form {
    padding-bottom: 100px;
}

div#send {
    /* max-width: 1000px; */
}

div#contact .in {
    max-width: 1000px;
}
.more .center>a img {
    position: fixed;
    top: 50%;
    right: 10px;
    height: 40px;
    z-index: 999;
}

.more .center>a:first-child img {
    left: 10px;
}
#navigate
{
    display:none;
    position: fixed;
    bottom: 15px;
    z-index: 100;
    text-align: center;
    width: 100%;
    height: 18px;
    overflow: hidden;
}
#navigate2
{
    display:none;
    position: fixed;
    top: 5px;
    z-index: 100;
    text-align: center;
    width: 100%;
    height: 18px;
    overflow: hidden;
}
.avant #navigate,.pendant  #navigate,.apres  #navigate,
.avant #navigate2,.pendant  #navigate2,.apres  #navigate2,.contact  #navigate2
{
    display:block;
}
#navigate>a
{
    display: inline-block;
    height: 10px;
    width: 10px;
    border: solid 1px rgba(255, 255, 255, 0.53);
    border-radius: 100%;
    margin: 5px;
    margin-bottom: 30px;
    opacity:0;
    transition:all 0.1s;
}
#navigate>a:hover
{
    background:white; 
}
.avant #navigate>a,
.pendant #navigate>a,
.apres #navigate>a
{
    opacity:1;
    transition-delay:1.5s;
    transition:all 1s;
}

.avant #navigate>a:nth-child(1), 

.pendant #navigate>a:nth-child(2), 

.apres #navigate>a:nth-child(3) {
    background: rgba(255, 255, 255, 0.34);
}
@media screen and (max-width:500px)
{
    #main a 
    {
        width: 100px!important;
        font-size: 11px;
        padding: 15px 0;
    }
    #main.visible a:last-child:first-child
    {
        width:200px!important;
    }
    b {
        font-size:1.8rem;
        letter-spacing: 0.1rem;
    }
    .more .in
    {
        width:100%;
        padding: 10px;
        box-sizing: border-box;
    }
}
@media screen and (max-width:870px)
{
    .more span {
        width: 100%;
        padding-right: 10px;
        min-width: 132px;
        /* padding-bottom: 30px; */
        max-width: 500px;
        margin: 10px 0!important;
        box-sizing: border-box;
    }
    .more span img
    {
        top:50%;
        left:10px;
    }

}

@media screen and (max-height:800px)
{
    .more span
    {margin: 10px 20px;} 
}
@media screen and (max-width:700px)
{

    .more p.title
    {
        padding-top:0;
        /* overflow: hidden; */
        /* overflow-y: auto; */
        /* max-height: 100%; */
        /* width: 100%; */
    }
    .more .center a img {
        height: 13px;
        width: 20px;
        /* margin-top: -10px; */
        /* right: 5px; */
    }
    .more .center a:first-child img {
        /* left: 5px; */
    }
    .more .center>a img
    {
        display:none;
    }
}
@media screen and (min-width:1500px) and (min-height:650px)
{
    .more span
    {
        margin: 25px 20px 20px 20px;
    }

}
@media screen and (min-width:1500px) and (min-height:700px)
{
    .more span
    {
        margin: 40px 20px 20px 20px;
    }
}
@media screen and (min-width:1500px) and (min-height:800px)
{
    .more span
    {
        margin: 62px 20px 40px 20px;
    }
}
@media screen and (min-width:1500px) and (min-height:900px)
{
    .more span
    {
        margin: 94px 20px 40px 20px;
    }
}
@media screen and (min-width:1500px) and (min-height:1100px)
{
    .more span
    {
        margin: 155px 20px 40px 20px;
    }
}

@media screen and (max-height:670px)
{
    #main p
    {
        margin-top:5px;
        margin-bottom:5px;
    }
}
@media screen and (max-height:610px)
{
    .spacer
    {
        display:none;
    }
    .block:before
    {
        display:none;
    }
    .block
    {
        margin-top:0;
    }
    b
    {
        margin-bottom:0;
    }
}

@media screen and (max-height:470px)
{
    #logo
    {
        height:50px;
    }
    #main p
    {

        line-height: 1.4;
        letter-spacing: 0.1rem;
    }
    #main .contact
    {
        margin-top:20px;
    }
    b
    {
        line-height:1;
    }
} 

@media screen and (max-height:330px)
{
    #main{
        display:block;
    }
    #main .in
    {
        padding-top:20px;
        padding-bottom:20px;
        box-sizing:border-box;
        overflow-x:scroll;
        display:block;

    }
} 
@media screen and (min-width:1500px) and (min-height:600px)
{

    .more .center>a img {

        right: 50px;
        height: 30px;
        width: 30px;
    }
    .more .center>a:first-child img {
        left: 50px;
    }
}
