
/*FF4200*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Open+Sans:wght@400;600&display=swap');

.header {
    position: sticky;
    background-color: #FF8C42;
    top: 0;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 45px;
    text-decoration: none;
    padding: 15px;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* -------------------------------------------MENU----------------------------*/
.menubar {
    list-style-type: none;
    position: sticky;
    top: 90px;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #1A1A1A;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.dropbtn {
    background-color: #1A1A1A;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    transition: background-color 0.3s ease;
}

.dropdown {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2D2D2D;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #FF991C; color: rgb(255, 255, 255);}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #2D2D2D;}

/* -----------------------------------------------------------------------*/

body {
    background-color: #FF8C42;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

a {
    color: #0213fc;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0906b6;
    text-decoration: underline;
}

.links {
    display: inline-block;
    margin: 10px;
    transition: transform 0.3s ease;
}

.links:hover {
    transform: translateY(-3px);
}

p {
    color: #1A1A1A;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    padding: 10px 0;
    text-align: left;
    margin: 0;
}

.selectBox {
    background-color: #FF8C42;
    color: #1A1A1A;
    font-size: 16px;
    border-radius: 4px;
    border: none;
    padding: 12px;
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.selectBox:hover {
    background-color: #e26125;
    transform: translateY(-2px);
}

.selectBox:focus {
    outline: none;
    box-shadow: 0 0 0 2px #FF991C;
}

.selectBox option {
    background-color: #2D2D2D;
    color: white;
    padding: 12px;
    font-size: 14px;
}

pre {
    position: relative;
}

pre code {
    /* background-color: #1A1A1A; */
    background-color: #1A1A1A;
    /* border: 1px solid #FF8C42; */
    border-radius: 10px;
    text-align: left;
    display: block;
    padding: 15px;
    /* color: #FF8C42; */
    margin: 15px 0;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
code {
    background-color: #2b323b;
    color: #FF991C;
    border-radius: 3px;
    padding: 2px 4px;
}
.hljs-comment,
.hljs-quote {
    color: #0eb92a !important;
    font-style: italic; /* valfritt */
}
.hljs {
    background: #1e1e1e !important; /* välj din egen färg */
  }

/* ----------------------------------------------------COLUMNS-------------------*/
.column {
    float: left;
    padding: 30px;
    transition: all 0.3s ease;
}

.column.side {
    position: fixed;
    left: 0;
    top: 150px;
    /* top: 0; */
    width: 250px;
    background-color: #1A1A1A;
    border-radius: 8px;
    margin: 10px;
    padding: 20px;
    box-shadow: 0px 5px 6px rgb(0, 0, 0);
    /* box-shadow: 2px 2px 5px rgba(247, 123, 45, 0.9); */
    color: white;
    max-height: 65%;
    overflow-y: auto;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
    
}

.column.side h2 {
    color: #FF8C42;
    margin-bottom: 20px;
}

.column.side p {
    color: white;
    font-size: 14px;
}

.column.side a {
    color: #FF8C42;
    text-decoration: none;
}

.column.side a:hover {
    color: #FF9F5B;
    text-decoration: underline;
}

.column.middle {
    width: calc(100% - 380px);
    margin-left: 340px;
    padding: 20px;
    background-color: rgba(247, 123, 45, 0.9);
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 60px;
    /* box-shadow: 0 10px 15px rgba(0,0,0,0.1); */
    box-shadow: 0px 5px 10px rgb(0, 0, 0);
    min-height: calc(100vh - 250px);
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */

    max-width: 1000px;
}

/* Clear floats after the columns */
.row::after {
    content: "";
    display: table;
    clear: both;
}

.about {
    width: 65%;
}

/* Stack columns on top of each other instead of next to each other (small screens) */
@media screen and (max-width: 900px) {
    .menubar {
        width: 100%;
        /* height: auto; */
        /* position: static; */
        margin-top: 10px;
    }
    .column.side {
        position: static;
        width: 93%;
        max-height: 150px;
        margin: 10px 7px;
        overflow-y: auto;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
    }
    .column.middle {
        width: 93%;
        margin: 10px 7px;
        min-height: auto;
    }
    .header {
        font-size: 30px;
    }

    .nav-card h3 {
        font-size: 9px;
      }
      
    .nav-card p {
    font-size: 12px;
    line-height: 0.8;
    }
}

/* -----------------------------------------------------------------------*/

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #1A1A1A;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: white;
    /* text-align: center; */
    padding: 8px;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

table {
    padding: 5px;
    border-color: #1A1A1A;
    border-radius: 4px;
    overflow: hidden;
    margin: 15px 0;
}

td, th {
    padding: 12px;
    border: 1px solid #1A1A1A;
}

th {
    background-color: #1A1A1A;
    color: #FF8C42;
}




.content-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.nav-card {
  background: #1A1A1A;
  border-left: 4px solid #FF991C;
  padding: 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.nav-card:hover {
  background: #2D2D2D;
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-card h3 {
  margin: 0 0 8px 0;
  color: #FF991C;
  font-size: 16px;
}

.nav-card p {
  margin: 0;
  font-size: 14px;
  color: #ccc;
  line-height: 1.4;
}

.copy-button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #202020;
  border: none;
  padding: 2px 3px;
  cursor: pointer;
  font-size: 0.6rem;
  border-radius: 5px;
  opacity: 0.8;
  height: 25px;
  color: wheat;
}

.copy-button:hover {
    background: #FF991C;
}

.copyimg {
    height: 20px;
}

.code-block {
  background-color: #1e1e1e;
  /* color: #d4d4d4; */
  font-family: 'Fira Code', monospace;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  margin: 2rem 0;
  line-height: 1.5;
  font-size: 0.95rem;
}