/*--------------------*/
      /* Navbar*/
/*--------------------*/

.navbar {
  overflow: hidden;
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  border-bottom: 3px solid #c0c5c9;
  z-index:1;
  top: 0;
  left: 0;
}

.torxt {
  color: #e2e1f4;
}

.navbar a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 17px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0; /* Reset default body margin */
  padding-top: 60px; /* Add padding equal to the navbar height */
}


/*--------------------*/
       /* Images*/
/*--------------------*/

img.rounded-corners {
  border-radius: 20px;
}

.ennyeux {
  width: 50px;
  height: 50px;
}

#logo {
  height: 80%;
  margin-right: 10px;
}

/*--------------------*/
      /* Slogan*/
/*--------------------*/

.Slogan {
  padding-top: 20px;
}

.header {
  padding: 20px;
  text-align: center;
  background: #3a3a42;
  color: #e2e1f4;
  border-radius: 20px;
  z-index: 2
}


/*--------------------*/
    /* Main View*/
/*--------------------*/

.side {
  flex: 30%;
  padding: 20px;
  color: #3a3a42;
}

.main {
  flex: 30%;
  padding: 20px;
  background-color: #f1f1f1;
  color: #3a3a42;
}

.e2e1f4 {
  color: #3a3a42;
}



/*--------------------*/
      /* Navbar*/
/*--------------------*/

.navbar {
  overflow: hidden;
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  border-bottom: 3px solid #c0c5c9;
  z-index:1;
  top: 0;
  left: 0;
}

.navbar a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 17px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0; /* Reset default body margin */
  padding-top: 60px; /* Add padding equal to the navbar height */
}


/*--------------------*/
       /* Images*/
/*--------------------*/

img.rounded-corners {
  border-radius: 20px;
}

.ennyeux {
  width: 50px;
  height: 50px;
}


/*--------------------*/
      /* Slogan*/
/*--------------------*/

.Slogan {
  padding-top: 20px;
}

.header {
  padding: 20px;
  text-align: center;
  background: #3a3a42;
  color: #e2e1f4;
  border-radius: 20px;
  z-index: 2
}


/*--------------------*/
    /* Main View*/
/*--------------------*/

.side {
  flex: 30%;
  padding: 20px;
  color: #3a3a42;
}

.main {
  flex: 30%;
  padding: 20px;
  background-color: #f1f1f1;
  color: #3a3a42;
}

.e2e1f4 {
  color: #3a3a42;
}

/*--------------------*/
    /* Emberandom*/
/*--------------------*/

.Randomnavbar {
  overflow: hidden;
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  border-bottom: 3px solid #c0c5c9;
  z-index:1;
  top: 0;
  left: 0;
}

.Randomnavbar a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 7px 10px;
  text-decoration: none;
  font-size: 17px;
}

.mainRandom {
  flex: 30%;
  padding: 20px;
  color: #3a3a42;
}

/*--------------------*/
   /* Code Snippets*/
/*--------------------*/

.box_scroll {
  width: 300px; /* Set a fixed width for the box */
  height: 200px; /* Set a fixed height for the box */
  overflow: auto; /* This enables scrollbars when content overflows */
  border: 1px solid #ccc; /* Optional: Add a border for visual clarity */
}

.code-container {
  position: relative;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 10px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #eaeaea;
}

.code-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-family: system-ui;
  font-weight: 700;
  color: #333;
}

.copy-button {
  background-color: transparent;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  cursor: pointer;
  padding: 5px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
}

.copy-button:hover {
  background-color: #f9f9f9;
  border-color: #ccc;
}

.copy-button.copied {
  background-color: #3a3a42;
  border-color: #2a2a32;
  color: #fff;
}

.copy-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.code-block {
  padding: 10px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #333;
  overflow-x: auto;
  margin-top: 10px;
}

@media screen and (max-width:650px) {
  .ennyeux {
    display: none;
    visibility: hidden;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
  }

  #logo {
    max-width: 100%;
    max-height: 100%;
  }
}

/*--------------------*/
   /* Recipes*/
/*--------------------*/

@media print {
  .no-print {
    display: none !important; /* Corrected property and value */
  }
}

.alert {
  color: #ff0000;
  font-size: 20px;
}




@media (prefers-color-scheme: dark) {
  /*--------------------*/
      /* Navbar*/
/*--------------------*/

.navbar {
  overflow: hidden;
  background-color: #3a3a42;
  position: fixed;
  width: 100%;
  border-bottom: 3px solid #2a2a32;
  z-index:1;
  top: 0;
  left: 0;
}

.navbar a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 17px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0; /* Reset default body margin */
  padding-top: 60px; /* Add padding equal to the navbar height */
}


/*--------------------*/
       /* Images*/
/*--------------------*/

img.rounded-corners {
  border-radius: 20px;
}

.ennyeux {
  width: 50px;
  height: 50px;
}


/*--------------------*/
      /* Slogan*/
/*--------------------*/

.Slogan {
  padding-top: 20px;
}

.header {
  padding: 20px;
  text-align: center;
  background: #3a3a42;
  color: #e2e1f4;
  border-radius: 20px;
  z-index: 2
}

.side {
  flex: 30%;
  padding: 20px;
  color: #e2e1f4;
}

.main {
  flex: 30%;
  padding: 20px;
  background-color: #3a3a42;
  color: #e2e1f4;
}

.e2e1f4 {
  color: #e2e1f4;
}

body {
  background-color: #46464F;
}

/*--------------------*/
    /* Emberandom*/
/*--------------------*/
.Randomnavbar {
  overflow: hidden;
  background-color: #3a3a42;
  position: fixed;
  width: 100%;
  border-bottom: 3px solid #2a2a32;
  z-index:1;
  top: 0;
  left: 0;
}

.Randomnavbar a {
  float: left;
  display: block;
  color: #3a3a42;
  text-align: center;
  padding: 7px 10px;
  text-decoration: none;
  font-size: 17px;
}

.mainRandom {
  flex: 30%;
  padding: 20px;
  color: #e2e1f4;
}

/*--------------------*/
   /* Code Snippets*/
/*--------------------*/

.box_scroll {
  width: 300px; /* Set a fixed width for the box */
  height: 200px; /* Set a fixed height for the box */
  overflow: auto; /* This enables scrollbars when content overflows */
  border: 1px solid #ccc; /* Optional: Add a border for visual clarity */
}

.code-container {
  position: relative;
  background: #3a3a42;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 10px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e1f4;
}

.code-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-family: system-ui;
  font-weight: 700;
  color: #e2e1f4;
}

.copy-button {
  background-color: transparent;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  cursor: pointer;
  padding: 5px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
}

.copy-button:hover {
  background-color: #f9f9f9;
  border-color: #ccc;
}

.copy-button.copied {
  background-color: #3a3a42

}

.copy-icon {
  width: 18px;
  height: 18px;
  color: #e2e1f4;
}

.code-block {
  padding: 10px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #e2e1f4;
  overflow-x: auto;
  margin-top: 10px;
}
}


@media screen and (max-width:650px) {
  .ennyeux {
    display: none;
    visibility: hidden;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
  }

  #logo {
    height: 80%;
    margin-left: auto; /* Push to the right */
    margin-right: auto; /* Push to the left */
    display: block; /* Ensure it behaves as a block-level element for margin auto to work */
  }
}