/* MAIN CSS */

* {
    font-family: 'Raleway', sans-serif;
}


h1 {
    font-size: 75px!important;
    font-weight: bold!important;
}

h2 {
    padding: 2rem;
    text-align: center;
    color:#c2af9e;
    font-size: 50px!important;
}

strong {
    font-weight: bold;
}

a.logo-link, a.logo-link:hover {
    text-decoration:none;
}

.lead2 {
	color: #321c0f !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

header {
    position: fixed;
    z-index: 1000;
    height: 100%;
}

header ul {
    list-style: none;
    padding: 0;
    transform: rotate(-90deg);
}

header ul li {
    display: inline;
}

section#team{
    min-height: 100%;
}

.min-height-initial {
    min-height: initial;
}

footer .line {
    margin: auto;
    width:500px;
    height:5px;
    background: #c2af9e;
}

footer ul li a {
    color:dimgray;
    transition-duration: 0.2s;
}

footer ul li a:hover {
    color:#c2af9e;
    transition-duration: 0.2s;
    text-decoration: none;
}

footer p:last-of-type {
    font-size:13px;
    padding-bottom:1rem;
}

.container-zero {
    margin:0;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}

.full-height {
    min-height: 100%;
}

.main-nav {
    background: white;
    display:flex;
    flex-direction: column-reverse;
    justify-content: space-around;
    align-items: center;
    height:500px;
    width: 100px;
}

.main-nav p {
    color:#c2af9e;
    font-weight: lighter;
    font-size: 65px;
    font-weight: 100;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.main-nav span:last-of-type {
    color:#321c0f;
}

legend#contact {
    font-weight:bold;
}

#navclick {
    font-weight: lighter;
    font-size: 45px;
    display: block;
    margin:2rem;
}

#navclick:hover {
    cursor: pointer;
}

.clearfix {
    clear:both
}

.field-contact {
    border:2px solid white;
    padding:0rem 3rem 1rem 3rem;
}

.field-contact legend {
    width:auto;
    padding:0rem 2rem;
    font-size:55px;
}

.field-contact ul li {
    margin-bottom:1rem;
}

.field-contact ul li:last-of-type {
    margin-bottom:0rem;
}


/* SERVICES */

.service {
    box-shadow: 0px 0px 15px lightgrey;
    transition-duration: 0.2s;
    cursor: pointer;
    display:flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.service:hover {
    box-shadow: 0px 0px 5px lightgrey;
    transition-duration: 0.2s;
}

.btn-green {
    background: #c2af9e!important;
    color: white!important;
    border-radius: 0!important;
    text-transform: uppercase;
    transition-duration: 0.2s;
}

.btn-green:hover {
    background: #816f60 !important;
    transition-duration: 0.2s;
}

.btn-brown {
    background: #321c0f!important;
    color: white!important;
    border-radius: 0!important;
    text-transform: uppercase;
    transition-duration: 0.2s;
}

.btn-brown:hover {
    background: #190e08 !important;
    transition-duration: 0.2s;
}

/* ABOUT */

.about {
    max-height: 50vh !important;
    min-height: 50vh !important;
}

/* PLUG-INS */

/* WAVES */

#home {
    background:#c2af9e;
    background-size: cover;
}

#team {
    background:#d0635a;
    background-size: cover;
}

.text-red {
    color:#d0635a;
}

#gallery {
    background:#775a48;
}

#contactus {
    background: #b19eb5;
}

.text-purple {
    color:#b19eb5
}

.text-green {
    color:#c2af9e;
}

.bg-green {
    background:#c2af9e;
}

.text-brown {
    color:#321c0f;
}

.waves {
    position:relative;
    width: 100%;
    height:15vh;
    margin-bottom:-7px; /*Fix for safari gap*/
    min-height:100px;
    max-height:150px;
}

.content {
    position:relative;
    height:20vh;
    text-align:center;
    background-color: white;
}

/* Animation */

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height:40px;
        min-height:40px;
    }
    .content {
        height:30vh;
    }
    h1 {
        font-size:24px;
    }
}

/* MAIN MENU */
/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
    letter-spacing: initial;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: #c2af9e;
    text-decoration: none;
    letter-spacing: 0.5rem;
    transition: 0.3s; /* Transition effects on hover (color) */
}

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

/* MEDIA QUERIES */

@media screen and (max-width: 1280px) {
    section {
        min-height:0;
    }

    h1 {
        font-size: 50px!important;
    }

    .field-contact legend {
        font-size:35px;
        padding:1rem;
    }
}

/* L'EQUIPE */

.nom {
	text-transform : uppercase;
}

.p-relative {
    position: relative;
}

.p-absolute {
    position: absolute;
}

.mt-8 {
    margin-top:5rem;
}

.kine-title {
    top: 55px;
    left: -55px;
}

/* GALERIE */

.container.gallery-container {
    background-color: #fff;
    color: #35373a;
    min-height: 100vh;
    padding: 30px 50px;
}

.gallery-container h1 {
    text-align: center;
    margin-top: 50px;
    font-family: 'Droid Sans', sans-serif;
    font-weight: bold;
}

.gallery-container p.page-description {
    text-align: center;
    margin: 25px auto;
    font-size: 18px;
    color: #999;
}

.tz-gallery {
    padding: 40px;
}

/* Override bootstrap column paddings */
.tz-gallery .row > div {
    padding: 2px;
}

.tz-gallery .lightbox img {
    width: 100%;
    border-radius: 0;
    position: relative;
}

.tz-gallery .lightbox:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -13px;
    margin-left: -13px;
    opacity: 0;
    color: #fff;
    font-size: 26px;
    content: 'Voir';
    pointer-events: none;
    z-index: 9000;
    transition: 0.4s;
}


.tz-gallery .lightbox:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color:#c2af9e;
    content: '';
    transition: 0.4s;
}

.tz-gallery .lightbox:hover:after,
.tz-gallery .lightbox:hover:before {
    opacity: 1;
}

.baguetteBox-button {
    background-color: transparent !important;
}

@media(max-width: 768px) {
    body {
        padding: 0;
    }
}

/* MAIL SENT */

#mail-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: mail-move 3s infinite;
}

#line-container {
    position: absolute;
    left: -70px;
    width: 60px;
    overflow: hidden;
}

#line-container .line {
    margin-top: 5px;
    width: 70px;
    height: 5px;
    background: #c2af9e;
    border-radius: 6px;
}

#mail {
    width: 60px;
    height: 45px;
    border: solid 5px #c2af9e;
    border-radius: 10px;
    overflow: hidden;
}

#mail:before {
    content: '';
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
    transform: rotate(45deg);
    top: 18px;
    left: 12px;
    background: white;
}

#mail:after {
    content: '';
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;
    border: solid 5px #c2af9e;
    transform: rotate(45deg);
    top: -70px;
    border-radius: 15px;
}

.line-1 {
    animation: line-1-move 3s infinite;
}

@keyframes line-1-move {
    0% {
        transform: translateX(-100%);
    }
    20% {
        transform: translateX(100%);
    }
    20.0001% {
        transform: translateX(-100%);
    }
    40% {
        transform: translateX(20%);
    }
    60% {
        transform: translateX(20%);
    }
    80% {
        transform: translateX(-100%);
    }
    80.1% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.line-2 {
    animation: line-2-move 3s infinite;
}

@keyframes line-2-move {
    0% {
        transform: translateX(-100%);
    }
    20% {
        transform: translateX(100%);
    }
    20.0001% {
        transform: translateX(-100%);
    }
    40% {
        transform: translateX(40%);
    }
    60% {
        transform: translateX(40%);
    }
    80% {
        transform: translateX(-100%);
    }
    80.1% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.line-3 {
    animation: line-3-move 3s infinite;
}

@keyframes line-3-move {
    0% {
        transform: translateX(-100%);
    }
    20% {
        transform: translateX(100%);
    }
    20.0001% {
        transform: translateX(-100%);
    }
    40% {
        transform: translateX(60%);
    }
    60% {
        transform: translateX(60%);
    }
    80% {
        transform: translateX(-100%);
    }
    80.1% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.line-4 {
    animation: line-4-move 3s infinite;
}

@keyframes line-4-move {
    0% {
        transform: translateX(-80%);
    }
    20% {
        transform: translateX(100%);
    }
    20.0001% {
        transform: translateX(-100%);
    }
    40% {
        transform: translateX(120%);
    }
    60% {
        transform: translateX(120%);
    }
    80% {
        transform: translateX(-80%);
    }
    80.1% {
        transform: translateX(80%);
    }
    100% {
        transform: translateX(-120%);
    }
}

.line-5 {
    animation: line-5-move 3s infinite;
}

@keyframes line-5-move {
    0% {
        transform: translateX(-80%);
    }
    20% {
        transform: translateX(100%);
    }
    20.0001% {
        transform: translateX(-100%);
    }
    40% {
        transform: translateX(150%);
    }
    60% {
        transform: translateX(150%);
    }
    80% {
        transform: translateX(-80%);
    }
    80.1% {
        transform: translateX(80%);
    }
    100% {
        transform: translateX(-120%);
    }
}

@keyframes mail-move {
    0% {
        opacity: 0;
        left: 3%;
    }
    40% {
        opacity: 1;
        left: 50%;
    }
    60% {
        left: 50%;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        left: 95%;
    }
}

#mailsent {
    min-height:500px;
}

.title-conf {
    font-size:35px;
}