/* 

1.0 General

	1.1 Global

	1.2 DOM elements

		1.2.1 Heading tags

		1.2.2 Clickable elements

		1.2.3 Structutre elements

2.0 Contents

	2.0.1 Header

	2.0.2 Logo

	2.0.3 Basket

	2.0.4 Team

	2.0.5 Map

	2.0.6 Footer

2.1 Helpers

2.2 Menu

2.3 Lift

3.0 Responsive

3.1 Desktop

3.2 Mobile

4.0 Colors 

*/


/* 1.0 General */

/* 1.1 Global */

* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}

/* 1.2 DOM elements */

body {
	font-size: 16px;
	padding: 0;
	margin: 0;
	margin-top: 70px;
	overflow-x: hidden;
	background-color: #fff;
	color: #444;
	font-weight: 400;
    -webkit-font-smoothing: antialiased;  
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto;
	line-height: 1.55em;
	font-family: 'Roboto', sans-serif;
    -webkit-transition: .3s ease;
       -moz-transition: .3s ease;
        -ms-transition: .3s ease;
         -o-transition: .3s ease;
            transition: .3s ease;
}

main > section {
	width: 100%;
	min-height: 100px;
	margin-top: 100px;
	display: inline-block;
}

main > section.sct-intro {
	margin-top: 0;
	height: calc(100vh - 70px);
}

/* 1.2.1 Heading tags */

h2 {
	font-family: 'Montserrat Alternates', sans-serif;
	font-size: 52px;
	font-weight: 400;
	line-height: 1em;
	margin-top: 0;
}

h2 > span {
	position: relative;
	word-break: break-word;
}

h2 > span:before {
	content: '';
	position: absolute;
	height: 2px;
	width: 30vw;
    -webkit-transition: left .3s ease;
       -moz-transition: left .3s ease;
        -ms-transition: left .3s ease;
         -o-transition: left .3s ease;
            transition: left .3s ease;
}

h2 > span:before {
	top: calc(50% - 1px);
	left: calc(-30vw - 10px);
}

h2:hover > span:before {
	left: calc(-30vw - 35px);
}

h3 {
	font-family: 'Montserrat Alternates', sans-serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 1em;
}

/* 1.2.2 Clickable elements */

a {
	text-decoration: none;
	color: inherit;
	position: relative;
    -webkit-transition: .3s ease;
       -moz-transition: .3s ease;
        -ms-transition: .3s ease;
         -o-transition: .3s ease;
            transition: .3s ease;
	    
}

a[href^=tel],
a[href^=mailto] {
    direction: rtl;
    unicode-bidi: bidi-override;
}

a:after {
	left: 25px;
}

a.active:after,
a:hover:after {
	left: 35px;
}

button {
	cursor: pointer;
	background-color: transparent;
	border: none;
	outline: none;
	padding: 14px 20px;
	width: 250px;
	text-align: center;
	position: relative;
}

button:before,
button:after {
	content: "";
	width: 100%;
	height: 2px;
	left: 0;
	position: absolute;
    -webkit-transition: .3s ease;
       -moz-transition: .3s ease;
        -ms-transition: .3s ease;
         -o-transition: .3s ease;
            transition: .3s ease;
}

button:before {
	top: 0;
}

button:after {
	bottom: 0;
}

button:hover:before {
	left: 25px;
}

button:hover:after {
	left: -25px;
}

/* 1.2.3 Structutre elements */

p {
	margin-bottom: 0;
}

img {
	max-width: 100%;
}

figure {
	margin: 0;
	width: auto;
	display: inline-block;
	position: relative;
}

/* figure:before {
	content: "";
	width: 100px;
	height: 200px;
	max-width: 20%;
	max-height: 50%;
	position: absolute;
	z-index: -1;
    -webkit-transition: .3s ease-in;
       -moz-transition: .3s ease-in;
        -ms-transition: .3s ease-in;
         -o-transition: .3s ease-in;
            transition: .3s ease-in;
} */
/* 
figure.box-bottom-left:before {
	bottom: 0;
	left: -20px;
} */

/* figure.box-bottom-left:hover:before {
	bottom: 10px;
	left: -10px;
} */

/* figure.box-bottom-right:before {
	bottom: 0;
	right: -20px;
} */

/* figure.box-bottom-right:hover:before {
	bottom: 10px;
	right: -10px;
} */

figcaption {
	padding: 25px 25px;
	font-family: 'Montserrat Alternates', sans-serif;
}

figcaption:after {
	position: static;
}

figure.box-bottom-right figcaption{
	margin-right: 100px;
}

figure.box-bottom-left figcaption{
	margin-left: 100px;
}

figcaption {
	width: calc(100% - 100px);
    background-color: #997aaa;
    color: #fff;
}

figure:nth-of-type(even) > figcaption {
    background-color: #444;
    color: #fff;
}

address {
	font-style: normal;
}

address > span {
	display: block;
}

address.contact {
	max-width: 500px;
	width: 100%;
	margin: auto;
	text-align: center;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 2px solid #fff;
}

address.contact:before {
	content: "";
}

/* 2.0 Contents */

.content footer {
	margin-top: 50px;
}

div.content > figure {
	margin-top: 100px;
}

div.content > figure:first-of-type {
	margin-top: 50px;
}

div.content > figure:nth-of-type(even) {
    float: right
}

main > section > div > div > header {
	margin: 50px 0 150px 0;
}

main > section > div > div > header > h2 {
	margin: 0;
}
 
.sct-intro {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-image: url(../img/banner.jpg);
	background-attachment: fixed;
}

/* .sct-text {
	padding: 0 20px;
} */

/* 2.0.1 Header */

body > header {
	width: 100%;
	height: 70px;
	color: #fff;
	position: fixed;
	background-color: rgba(68, 68, 68, .95);
	top: 0;
	left: 0;
	z-index: 50;
	font-family: 'Montserrat Alternates', sans-serif;
}

body > header > .container {
	padding: 20px;
	width: 100%;
}

/* 2.0.2 Logo */

body :not(footer) .logo {
	width: 60%;
	max-width: 650px;
	min-width: 250px;
	height: auto;
	position: absolute;
	z-index: 5;
	top: 50%;
	left: 50%;
	opacity: 1;
    -webkit-transition: .3s ease-in-out;
       -moz-transition: .3s ease-in-out;
        -ms-transition: .3s ease-in-out;
         -o-transition: .3s ease-in-out;
            transition: .3s ease-in-out;
    -webkit-transform: translateX(-50%) translateY(-50%);
       -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
         -o-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
}

.logo > img {
	width: 100%;
	height: 100%;
}

/* 2.0.3 Basket */


.basket-container {
	height: 500px;
}

[class^=basket-item] {
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
}

.basket-item-croissant {
	background-image: url(../img/basket/croissant.png);
	left: 0;
	width: 150px;
	height: 150px;
	top: 10%;
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
    z-index: 5 !important;
}

.basket-item-apple {
	background-image: url(../img/basket/apple.png);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    left: 50%;
}

.basket-item-bread {
	background-image: url(../img/basket/bread.png);
	left: 70%;
	height: 260px;
	width: 160px;
}

.basket-item-croissant,
.basket-item-apple,
.basket-item-bread {
	opacity: 1;
	z-index: 2;
}

.basket-item-top {
    background-image: url(../img/basket/basket_back.png);
    width: 152px;
    height: 129px;
    bottom: 23.9%;
    left: 40.1%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.basket-item-bottom {
    background-image: url(../img/basket/basket_front.png);
    bottom: 0;
    left: 50%;
    width: 325px;
    height: 230px;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 20;
}

/* 2.0.4 Team */


.sct-equipe .bg-dark {
	height: 30vh;
	min-height: 300px;
	max-height: 600px;
	width: 100%;
	position: absolute;
	top: 0;
	left: -100px;
	z-index: -1;
}

.team-members {
	margin-top: 50px;
}

.team-member > div {
	height: 352px;
	width: 100%;
}

.team-member > header {
	font-size: 32px;
}

.team-member > header,
.team-member > footer {
	margin: 20px 0;
	text-align: center;
	font-family: 'Montserrat Alternates', sans-serif;
}

@media screen and (min-width: 720px) {

	.team-members .m-grid > div:nth-child(2) {
		margin-top: 120px;
	}
}

.team-member {
	width: 80%;
	margin: auto;
}

.team-member:first-child {
	margin-top: 100px;
	/*margin-right: 70px;*/
}

.team-member:nth-child(2) {
	margin-top: -100px;
	/*margin-right: 70px;*/
}

.team-member:nth-child(2) > div {
	height: 350px;
}

/* 2.0.5 Map */

div.map {
	width: 100%;
	height: 50vh;
	max-height: 800px;
	padding-left: 50px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url(../img/map.jpg);
	margin: 50px 0;
}

/* 2.0.6 Footer */

body > footer {
	color: #fff;
	padding: 50px 20px;
	text-align: center;
	width: 100%;
	margin-top: 100px;
}

body > footer > nav > a {
	display: inline-block;
}

body > footer > nav > a:after {
	content: "-";
	margin: 0 5px;
}

body > footer .logo {
	width: 100%;
	height: 200px;
	text-align: center;
	margin-bottom: 50px;
}

body > footer .logo img {
	width: auto;
	height: auto;
	max-height: 250px;
}

body > footer .copyright {
	margin-top: 50px;
	font-weight: 100;
	color: #aaa;
}

/* 2.1 Helpers */

.wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	min-height: 1px;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}	

.large-container {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 20px;
	position: relative;
}

.bg {
	background-color: #997bab;
}

.bg-white {
	background-color: #fff;
}

.bg-dark {
	background-color: #444;
}

.full-size-fixed,
.full-size {
	width: 100vw;
	height: 100vh;
}

.full-size-fixed {
	position: fixed;
	top: 0;
	left: 0;
}

.pos-center {
	position: absolute;
	top: 50%;
	left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
       -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
         -o-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
}

.pointer {
	cursor: pointer;
}

[disabled] {
	cursor: not-allowed;
}

ul.no-style {
	padding: 0;
	margin: 0;
}

ul.no-style li {
	list-style-type: none;
}

.clear {
	clear: both;
}


/* 2.2 Menu */

.main-menu-trigger {
	position: relative;
}

.main-menu-trigger:before,
.main-menu-trigger:after {
	position: absolute;
	width: 100%;
	height: 2px;
	content: "";
	top: 20px;
	left: 0;
    -webkit-transition: .3s ease;
       -moz-transition: .3s ease;
        -ms-transition: .3s ease;
         -o-transition: .3s ease;
            transition: .3s ease;
}

.main-menu-trigger:after {
	top: 26px;
}

.main-menu-trigger.active:before,
.main-menu-trigger.active:after {
	    -webkit-transform-origin: top left;
	       -moz-transform-origin: top left;
	        -ms-transform-origin: top left;
	         -o-transform-origin: top left;
	            transform-origin: top left;
	    
}

.main-menu-trigger.active:before {
	left: 50%;
	top: 30px;
	width: 50%;
    -webkit-transform: rotate(35deg) translateX(-50%);
       -moz-transform: rotate(35deg) translateX(-50%);
        -ms-transform: rotate(35deg) translateX(-50%);
         -o-transform: rotate(35deg) translateX(-50%);
            transform: rotate(35deg) translateX(-50%);
}

.main-menu-trigger.active:after {
	left: 50%;
	top: 30px;
	width: 50%;
    -webkit-transform: rotate(-35deg) translateX(-50%);
       -moz-transform: rotate(-35deg) translateX(-50%);
        -ms-transform: rotate(-35deg) translateX(-50%);
         -o-transform: rotate(-35deg) translateX(-50%);
            transform: rotate(-35deg) translateX(-50%);
}

.main-menu {
	position: fixed;
	width: 100vw;
	height: calc(100vh - 70px);
	left: -100vw;
	top: 70px;
	color: #fff;
	z-index: 500;
    -webkit-transition: .3s ease;
       -moz-transition: .3s ease;
        -ms-transition: .3s ease;
         -o-transition: .3s ease;
            transition: .3s ease;
}

.main-menu.active {
	left: 0;
}

.main-menu .logo {
	opacity: 0.03;
}

.main-menu .logo {
	z-index: 1;
}

.main-menu .content {
	z-index: 2;
	font-size: 25px;
	font-family: 'Montserrat Alternates', sans-serif;
}

.main-menu .content li:not(:first-child) {
	margin-top: 3vh;
}

/* 2.3 Lift */

.lift {
	position: fixed;
	text-align: center;
	color: #fff;
	bottom: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	padding: 12px 6px;
	z-index: -1;
	opacity: 0;
    -webkit-transition: .3s ease;
       -moz-transition: .3s ease;
        -ms-transition: .3s ease;
         -o-transition: .3s ease;
            transition: .3s ease;
	    
}

.lift:before,
.lift:after {
	content: '';
	position: absolute;
	top: 0;
	height: 50%;
	width: 100%;
	left: 0;
	z-index: -1;
    -webkit-transition: .3s ease;
       -moz-transition: .3s ease;
        -ms-transition: .3s ease;
         -o-transition: .3s ease;
            transition: .3s ease;
}

.lift:after {
	top: 50%;
}

.lift.active {
	opacity: 1;
	z-index: 50;
}

/* 3.0 Responsive */

/* 3.1 Desktop */

@media screen and (min-width:481px) {
	p.sct-description {
		padding-left: 100px;
	}
}

@media screen and (min-width: 993px) {
    
    .main-menu-trigger:hover:before {
        left: 10px;
    }
    .main-menu-trigger:hover:after {
        left: -10px;
    }

    .lift:hover:before {
        left: 10px;
    }

    .lift:hover:after {
        left: -10px;
    }

}

/* 3.2 Mobile */

@media screen and (max-width: 480px) {
/* 	body {
		text-align: center;
	} */

	h2,
	body > header {
		text-align: left;
	}

    figure {
        width: calc(100% + 20px);
    }

	figcaption {
		text-align: right;
	}

	h2 {
		font-size: 35px;
        margin-bottom: 3rem;
	}

	.team-member > header,
	h3 {
		font-size: 28px;
	}

}

/* 4.0 Colors */

button:before,
button:after,
figure:before,
.team-member > div,
.main-menu-trigger:before,
.main-menu-trigger:after,
.lift,
.lift:before,
.lift:after,
h2 > span:before {
	background-color: #997bab;
}

body > footer > nav > a:after,
.team-member,
a:hover {
	color: #997bab;
}

address.contact {
	border-color: #997bab;
}