/*
 https://www.w3schools.com/howto/howto_make_a_website.asp
 https://www.w3schools.com/howto/howto_js_mobile_navbar.asp
 https://matthewjamestaylor.com/3-column-layouts#responsive-3-column-grid
 */

html {
  scroll-behavior: smooth;
}

body {
	/*font-family: Arial, Helvetica, sans-serif;*/
	font-family: "Muli", Arial, Helvetica, sans-serif;
	margin: 0; padding: 0;
}

/* ### HEADER ### */

#header {
	background-image: url('pictures/Cheffs-Banner_1080x386.jpg');
	background-repeat: no-repeat;
	height: 254px;
	background-position: center top;
	background-size: cover;
	border-bottom: 7px solid #C9804F;
	text-align: center;
}

#header #logo {
	margin-top: 176px;
	width: 306px;
}


/* Navbar menu */

#navbar_wrapper {
	/*background-color: red;*/
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
}

#navbar {
    /*position: absolute;*/
	top: 15px;
	height: 41px;
	width: 80%;
	min-width: 650px;
	max-width: 1000px;
    background: rgba(255, 255, 255, 0.9);
	padding: 0px 0px 0px 17px;
	
	/*overflow: hidden;*/
	text-align: center;
    
    z-index: 100;
    position: fixed;
    
    transition: background-color .25s;
}
#navbar div {
    float: left;
}
#navbar #small_logo {
    position: relative;
    left: -17px;
/*    display: inline;*/
    height: 41px;
    width: 41px;
}

#navbar .link {
	float: left;
	display: block;
	padding: 9px 10px;
	color: black;
	font-size: 20px;
	text-align: center;
	text-decoration: none;
}
#navbar .link .sep {
	font-size: 22px;
	line-height: 22px;
}

#navbar .language {
    float: right;
}
#navbar .right {
	float: right;
	padding: 9px 20px;
	height: 23px;
	background: #C9804F;
}

/* Hamberger menu */

#navmenu_wrapper {
    display: none;
}

#hamburgermenu {
  display: none;
}


/* ### CONTENT ###  */


#content_wrapper, #content_wrapper2, #content_wrapper3, #footer_wrapper, #mentions_legales_wrapper, #footer2_wrapper {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}
#content {
    width: 80%;
    min-width: 400px;
    max-width: 800px;
    /*background-color: red;*/
    padding: 20px;
}

/* Separator stroke */
.seperator {
    width: 143px;
    height: 6px;
    background-color: #C9804F;
    margin-left: auto;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 22px;
}

/* Catcher */

#top_catcher {
    font-size: 24px;
}

/* 1, 2, 3 tiles */

#tiles_3_wrapper {
    margin-top: 40px;
    display: grid;
    gap: 28px;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
}

#tiles_3_wrapper .tile {
    background-color: #F7F7F7;
}

#tiles_3_wrapper .sep {
    width: 0px;
}

#tiles_3_wrapper .tile .number_bg {
    width: 40px;
    height: 30px;
    background-color: #1A52B7;
    color: white;
    text-align: center;
    padding-top: 12px;
    font-size: 20px;
    line-height: 16px;
}

#tiles_3_wrapper .tile .content {
    padding: 0 20px 0 20px;
}

#tiles_3_wrapper .tile .content .title {
    font-size: 19px;
    margin-bottom: 0px;
    height: 56px;
}

#photos_4  {
    display: grid;
    gap: 16px;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr;
}

#photos_4 .frame {
    border: 1px solid #A5A5A5;
    padding: 2px 1px 0px 2px;
    text-align: center;
}

#photos_4 .frame img {
    width: 98%;
    height: 98%;
}

#tiles_3_wrapper .tile .content .text {
    font-size: 16px;
}

#tiles_3_wrapper .tile .content #planning {
    margin-top: 15px;
    width: 100%;
}

#tiles_3_wrapper .tile .content #leo_grillade {
    margin-top: 0px;
    width: 100%;
}

/* Introduction (2 columns) */

#column_2_wrapper {
    margin-top: 40px;
    display: grid;
    gap: 28px;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr;
}
#column_2_wrapper .tile {
    /*background-color: #F7F7F7;*/
}

#column_2_wrapper .tile .title {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
}

#column_2_wrapper .tile li {
    font-size: 19px;
}

#column_2_wrapper .tile #right_text {
    padding-top: 30px;
    font-size: 19px;
}

/* Kitchen tasks */

#mission_wrapper .title {
    font-size: 24px;
    margin: 0;
}
#mission_wrapper .text {
    font-size: 19px;
    margin: 19px 0 0 0;
}

#mission_wrapper .mission_row {
    margin-top: 50px;
    display: grid;
    gap: 28px;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr;
}
#mission_wrapper #mission_row_top {
    margin-top: 30px;
}

.mission_row {
     /* background-color: #F7F7F7; */
}

.mission_row .column img {
    width: 390px;
}

#mission_wrapper .mission_row .column .title {
    padding-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

#mission_wrapper .mission_row .column .text {
    font-size: 16px;
    margin: 10px 0 0 0;
}


/* Separator */

#content_wrapper #content .seperator {
    margin-bottom: 10px;
}

/* Quality Chart */

#content {
    padding-bottom: 0;
}

#content_wrapper2 {
    margin-top: 0px;
    background-color: #9EB9F1;
}

#qualchart_wrapper {
    padding-bottom: 35px;
}

#qualchart_wrapper .title {
    font-size: 24px;
    margin: 0;
}
#qualchart_wrapper .text {
    font-size: 19px;
    margin: 19px 0 0 0;
}

#qualchart_wrapper .qualchart_row {
    margin-top: 20px;
    display: grid;
    gap: 40px;
    grid-auto-rows: 1fr;
    grid-template-columns: 20px 1fr;
}
#qualchart_row_top {
    margin-top: 30px;
}

#qualchart_wrapper .number_block {
    width: 37px;
    height: 37px;
    background-color: #CD8856;
    text-align: center;
}

#qualchart_wrapper .number {
    margin: 0;
    padding-top: 5px;
    font-size: 20px;
    font-weight: 600;
    color: white;
}
#qualchart_wrapper .rule .text {
    margin: 0;
    padding-top: 5px;
    font-size: 19px;
}


/* */

#content_wrapper3 {
    margin-top: 0;
}

#content_wrapper3 #content {
    margin: 0;
    padding: 0;
}
#content_wrapper3 #content .seperator {
    margin-top: 10px;
}


/* Professional Profiles */

#profile_wrapper {
    margin: 40px 0 40px 0;
/*    display: grid;*/
/*    gap: 28px;*/
/*    grid-auto-rows: 1fr;*/
/*    grid-template-columns: 1fr 1fr;*/
}
#profile_wrapper .tile {
    /*background-color: #F7F7F7;*/
}

#profile_wrapper .title {
    font-size: 24px;
    margin: 0;
}
#profile_wrapper .text {
    font-size: 19px;
    margin: 19px 0 0 0;
}

#profile_tiles {
    margin-top: 20px;
    display: grid;
    gap: 28px;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr;
}

.profile_tile {
    display: block;
    gap: 28px;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr;
}

.profile_tile {
    border: 1px solid #9EB9F1;
    padding: 20px;
}
.profile_tile .column .frame {
    width: 158px;
    height: 158px;
    border: 1px solid #A5A5A5;
    padding: 3px 1px 0px 2px;
    text-align: center;
}

.profile_tile .column .frame img {
    width: 98%;
    height: 98%;
}

#profile_tiles .profile_tile .column .title {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

#profile_tiles .profile_tile .column ul {
    padding-left: 20px;
}

#profile_tiles .profile_tile .column li {
    font-size: 16px;

}

/* Testimonies */

/* TEMPORARY NOT DISPLAYING TESTIMONIAL */
#testimonies_wrapper { display: none; }
/* */

#testimonies_wrapper .title {
    font-size: 24px;
    margin: 0;
}
#testimonies_wrapper .text {
    display: none;
    font-size: 19px;
    margin: 19px 0 0 0;
}

#testimonies_wrapper .testimony_row {
    margin-top: 20px;
    display: grid;
    gap: 28px;
    grid-auto-rows: 1fr;
    grid-template-columns: 0.3fr 1fr;
}
#testimony_row_top {
    margin-top: 40px;
}

.testimony_row {
    padding: 15px;
    background-color: #F7F7F7;
}

.testimony_row .column .frame {
    width: 80px;
    height: 80px;
    border: 1px solid #A5A5A5;
    padding: 2px 1px 0px 1px;
    text-align: center;
    margin-bottom: 6px;
}

.testimony_row .column .frame img {
    width: 98%;
    height: 98%;
}

.testimony_row p {
    font-size: 13px;
    margin: 0;
}

.testimony_row .left_column {
    padding-top: 20px;
}

.testimony_row .column quote:before {
    content:"« ";
    font-size: 30px;
    line-height: 10px;
    display: inline-block;
    position: relative;
    top: 0px;
    padding-right: 5px;
}
.testimony_row .column quote:after {
    content:" »";
    font-size: 30px;
    line-height: 10px;
    display: inline-block;
    position: relative;
    top: 7px;
    padding-left: 5px;
}

/* Seperator contact */

/* TEMPORARY NOT DISPLAYING TESTIMONIAL */
#separator_contact { display: none; }
/* */

#content_wrapper3 #content #separator_contact {
    margin-top: 50px;
}

/* Contact */

#contact_wrapper #catcher {
    text-align: center;
    font-size: 20px;
    margin: 40px 0 20px 0;
}
#contact_wrapper #catcher br {
    display: none;
}

/* ### FOOTER ###  */

#footer_wrapper {
/*    margin-top: 0px;*/
    background-color: #CCCCCC;
}

#top_footer {
    margin: 20px 0 20px 0;
    display: grid;
    gap: 28px;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 3fr 1fr;
}

#top_footer .column img {
    height: 181px;
}

#top_footer .column .title {
    font-size: 19px;
    font-weight: 600;
    padding: 30px 0 20px 0;
}

#top_footer .column p {
    margin: 5px 0 0 0;
    padding: 0;
}

#top_footer .column p a {
    text-decoration: none;
    color: black;
    padding: 0;
}

#top_footer .column .company {
    padding-top: 80px;
    font-size: 11px;
}

#footer2_wrapper {
    margin: 0;
    padding: 0;
    text-align: right;
}
#footer2_wrapper #content {
    margin: 0;
    padding: 0;
    
}

#footer2_wrapper #content p {
    margin: 3 0 0 0;
    padding: 0;
    font-size: 11px;
}

/* Legal Terms */

#mentions_legales_wrapper {
    display: none;
    margin: 20px 0 0 0;
}

#mentions_legales_wrapper #close a {
    text-decoration: none;
    color: black;
}


/* ################ BREAK POINTS ################ */

@media (max-width: 1060px) {
    
    /* ### HEADER ### */
    
    #navbar .link {
        padding: 9px 5px;
    }
    
}


@media (max-width: 905px) {

    /* ### HEADER ### */
    
    #navbar_wrapper {
        display: none;
    }
    
    #navmenu_wrapper {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    #navmenu {
        /*position: absolute;*/
        top: 2px;
        height: 31px;
        width: 80%;
        background: rgba(255, 255, 255, 0.9);
        /* background-color: red;*/
        
        padding: 0px 0px 0px 5px;
        
        /*overflow: hidden;*/
        text-align: center;
        
        z-index: 100;
        position: fixed;
    }

    #navmenu .link {
        float: right;
        display: block;
        height: 13px;
        padding: 9px 20px;
        color: black;
        font-size: 18px;
        text-align: center;
        text-decoration: none;
        background: #C9804F;
        line-height: 12px;
    }

    /* Hamburger Icon */

    #hamburger {
        display: block;
        float: left;
        padding: 3px 4px;
    }
    
    #hamburger_container {
      display: inline-block;
      cursor: pointer;
    }

    .hamburger_bar1, .hamburger_bar2, .hamburger_bar3 {
      width: 24px;
      height: 3px;
      background-color: #333;
      margin: 4px 0;
      transition: 0.4s;
    }
    .hamburger_change .hamburger_bar1 {
      transform: translate(0, 7px) rotate(-45deg);
    }
    .hamburger_change .hamburger_bar2 {opacity: 0;}
    .hamburger_change .hamburger_bar3 {
      transform: translate(0, -7px) rotate(45deg);
    }

    /* Hamburger Menu */

    #hamburgermenu {
        display: none;
        /*position: absolute;*/
        top: 33px;
        width: 80%;
        
        z-index: 100;
        position: fixed;
    }
    
    #menu_links {
        background-color: #333;
        /* margin: 0 9%;*/
        padding: 20px 20px;
    }
    
    #menu_links a {
      color: white;
      padding: 7px 16px;
      text-decoration: none;
      font-size: 17px;
      display: block;
    }
    #menu_links a.icon {
      background: black;
      display: block;
      position: absolute;
      right: 0;
      top: 0;
    }

    
    /* ### CONTENT ### */
    
    /* Kitchen tasks */
    
    #mission_wrapper .mission_row {
        display: block;
    }
    .mission_row .column img {
        width: 100%;
    }
    
    /* Professional Profiles */

    .profile_tile {
        display: block;
    }
    
    .profile_tile .column .frame {
        width: 150px;
        height: 150px;
        padding: 3px 2px 0px 2px;
    }
    
    #profile_tiles .profile_tile .column .title {
        margin-top: 20px;
    }
    
    /* Contact */
    #contact_wrapper #catcher br {
        display: inherit;
    }
    
    /* Top Footer */
    
    #top_footer .column .company {
        padding-top: 50px;
    }
    
}

@media (max-width: 650px) {
    
    /* ### HEADER ### */
    
	#header {
		height: 122px;
		border-bottom: 5.6px solid #C9804F;
	}
	#header #logo {
		margin-top: 78px;
		width: 226px;
	}
	
    /* Navbar menu */
    

    /* ### CONTENT ### */
    
    #content_wrapper {
        margin-top: 50px;
    }
    
    #content {
        min-width: 250px;
        max-width: 400px;
        padding: 0px;
    }

    /* Catcher */
    
    #top_catcher {
        font-size: 20px;
    }
    
    /* 1, 2, 3 tiles */
    
    #tiles_3_wrapper {
        display: block;
    }
    
    #tiles_3_wrapper .tile .content .title {
        font-size: 19px;
    }

    #tiles_3_wrapper .tile .content .text {
        padding-bottom: 20px;
    }
    
    #tiles_3_wrapper .tile .content #planning {
        margin-top: 5px;
        width: 100%;
    }

    /* Introduction (2 columns) */
    
    #column_2_wrapper {
        display: block;
    }
    
    #column_2_wrapper .tile #right_text {
        padding-top: 0px;
    }
    
    /* Kitchen tasks */
    
    #mission_wrapper .column .title {
        padding-top: 5px;
    }
    
    #mission_wrapper .mission_row {
        /* margin-top: 10px;*/
    }
    
    #mission_wrapper .column img {
        width: 100%;
    }
    
    /* Seperator */
    #content_wrapper #content .seperator {
        margin-bottom: 32px;
    }
    
    /* Quality Chart */
    
    #qualchart_wrapper {
        padding-top: 24px;
    }
    #qualchart_wrapper .text {
        font-size: 16px;
        margin: 10px 0 0 0;
    }
    #qualchart_wrapper .rule .text {
        font-size: 16px;
    }
    
    
    /* Professional Profiles */

    #profile_tiles {
        display: block;
    }
    
    .profile_tile {
        display: block;
        margin-top: 20px;
    }
    
    /* ### FOOTER ###  */
    
    #top_footer {
        display: block;
    }
    
    /* Top Footer */
    
    #top_footer .column .company {
        padding-top: 10px;
    }
    
    #top_footer .column3 {
        padding-top: 30px;
    }
    
    /* Legal Terms */
    
    #mentions_legales_wrapper #content {
        font-size: 12px;
        width: 100px;
        padding: 0 20px 0 20px;
    }
    
}
