body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}


.content {
    max-width: 830px;
    margin: 0 auto;
    margin-left: 30px;
    margin-right: 30px;
    flex:1;
}


.firstlink {
    margin-left: 30px;
}

/* Style the footer */



footer {
  background-color: #222222;
  padding: 10px;
  text-align: center;
  width: 100%;
  color: #f2f2f2;
  min-height: 30px;
  box-sizing: border-box;
}


.logo {
  height: 22px;
  width: 140px;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  top: 35%;
  left: 20px;
}


.topnav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        background-color: #222222;
        box-sizing: border-box;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  color: #a6a6a6;
}

.topnav a.active {
  background-color: #333333;
  color: white;
}

.topnav .icon {
  display: none;
}



@media screen and (max-width: 600px) {
    .topnav.firstlink {margin-left: 0px;}
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    display: flex;
    text-align: right;
    float: right; 
    margin-left: auto;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive {
    display: block;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .firstlink {margin-left: 0px;}
  .topnav.responsive .logo {padding-top: 0px;}
}

<!--
// * SEC NAVIGATION *//
-->


.secnav {
        flex-wrap: wrap;
        align-items: center;
        background-color: #222222;

}

.secnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.secnav a:hover {
  color: #a6a6a6;
}

.secnav a.active {
  background-color: #333333;
  color: white;
}

.secnav .icon {
  display: none;
}



@media screen and (max-width: 600px) {
    .secnav.firstlink {margin-left: 0px;}
}

@media screen and (max-width: 600px) {
  .secnav a:not(:first-child) {display: none;}
  .secnav a.icon {
    display: flex;
    text-align: right;
    float: right; 
    margin-left: auto;
  }
}

@media screen and (max-width: 600px) {
  .secnav.responsive {position: relative;}
  .secnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .secnav.responsive {
    display: block;
  }

  .secnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .secnav.responsive .firstlink {margin-left: 0px;}
  .secnav.responsive .logo {padding-top: 0px;}
}


/* EXPERIMENTAL */

/* Tab style starts here */
 /* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
} 

/* images ------------------------------------------
 * */
.recipe-image {
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
}

.recipe-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Recipe Detail Styling ------------------------------------------
 * */

.recipe-detail {
    margin: 30px 0;
}

.recipe-detail h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #222;
}

.recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-size: 1em;
}

.recipe-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tags {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: 333333;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.tag:hover {
    background-color: #038557;
}

/* Recipe Content Box with Sections */

.recipe-content-box {
    margin: 30px 0;
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    padding: 30px;
    background-color: #ffffff;
}

.recipe-section {
    margin: 0;
}

.recipe-section h2 {
    color: #222;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-content {
    line-height: 1.8;
}

.section-content h3 {
    color: #444;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.section-content ul,
.section-content ol {
    padding-left: 25px;
    margin: 15px 0;
}

.section-content li {
    margin-bottom: 10px;
}

.section-content p {
    margin: 15px 0;
}

.section-divider {
    width: 80%;
    height: 1px;
    background-color: #d0d0d0;
    margin: 30px auto;
}

.notes-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #eeeeee;
    border-radius: 8px;
}

.notes-section h2 {
    color: #222;
    margin-top: 0;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #eeeeee;
    border-radius: 5px;
    transition: all 0.3s;
}

.back-link:hover {
    background-color: #eeeeee;
    color: #000;
}

/* Responsive box */
@media screen and (max-width: 600px) {
    .recipe-content-box {
        padding: 20px;
        border-radius: 8px;
    }
    
    .recipe-section h2 {
        font-size: 1.3em;
    }
    
    .section-divider {
        margin: 20px auto;
    }
    
    .recipe-detail h1 {
        font-size: 2em;
    }
}

/* Language Toggle Styling ---------------------------------
 * */
.lang-toggle {
    margin-left: auto;
    padding: 14px 16px;
}

.lang-toggle a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #333333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.lang-toggle a:hover {
    background-color: #000;
}

@media screen and (max-width: 600px) {
    .topnav .lang-toggle {
        display: none;
    }
    
    .topnav.responsive .lang-toggle {
        display: block;
        margin-left: 0;
        padding: 0;
    }
    
    .topnav.responsive .lang-toggle a {
        display: block;
        text-align: left;
        padding: 14px 16px;
        border-radius: 0;
    }
}

/* CONSEILS -----------------------------------------------------
 * */
.conseil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.conseil-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.conseil-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.conseil-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.conseil-card h2 a {
    color: #222;
    text-decoration: none;
}

.conseil-card h2 a:hover {
    color: #04AA6D;
}

.conseil-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    color: #333;
}

@media screen and (max-width: 600px) {
    .conseil-grid {
        grid-template-columns: 1fr;
    }
}
