/* Generelt */
html, body {
    width: 100%;
    overflow-x: hidden; /* Forhindrer horisontal scrolling */
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #1a1a1a; /* Mørk baggrund */
    color: #e0e0e0; /* Lys tekst */

    flex-direction: column;
    min-height: 100vh; /* Siden fylder hele skærmens højde */
}

.page-wrapper {
    flex: 1 0 auto; /* Udfylder tilgængelig plads */
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: #2c2c2c; /* Mørk header */
    padding: 5px 0; /* Øget padding for bedre plads */
    text-align: center; /* Centrerer indholdet */
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Logo ovenover menu */
    align-items: center; /* Centrerer indholdet */
}

.logo {
    margin-bottom: 10px; /* Øget afstand mellem logo og menu for bedre balance */
}

.logo img {
    height: 60px; /* Juster efter dit logo */
}

/* Hamburger-menu */
.nav-toggle {
    display: none; /* Skjult som standard */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: background 0.3s; /* Tilføjet transition for glat farveændring */
}

/* Hamburger-ikoner */
.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    position: relative;
    transition: background 0.3s; /* Tilføjet transition */
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    position: absolute;
    left: 0;
    transition: transform 0.3s; /* Fjernet background fra transition */
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Nav-menu */
.nav-menu {
    display: flex;
    gap: 20px; /* Afstand mellem menupunkter */
    justify-content: center; /* Centrerer menupunkterne på desktop */
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2c2c2c;
    padding: 20px 0; /* Justeret padding for bedre centrering */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center; /* Centrerer teksten */
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px; /* Lidt padding for bedre klikområde */
    transition: color 0.3s;
}

nav a:hover {
    color: #d0d0d0; /* Lys grå ved hover */
}

/* Main */
main {
    max-width: 1200px;
    margin: 150px auto 20px auto; /* Plads til fixed header */
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box; /* Sørger for, at padding ikke øger bredden */
}

section {
    margin-bottom: 40px;
    background: #2c2c2c; /* Mørk baggrund for sektioner */
    padding: 22px;
    border-radius: 10px; /* Afrundede kanter */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

h2 {
    color: #ffffff; /* Hvid farve til overskrifter */
    margin-top: 0;
}

/* Forside-kort */

/* Universel knap-styling */
.btn {
    display: block; /* Ændret fra inline-block til block */
    padding: 10px 20px;
    background: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
    text-align: center;
    margin: 0 auto; /* Centrerer knappen horisontalt */
    width: fit-content; /* Sørger for, at knappen ikke strækker sig unødvendigt */
}

.btn:hover {
    background: #d0d0d0; /* Lys grå ved hover */
    transform: scale(1.05);
}

/* Forside-kort */
.frontpage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.frontpage-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Sørger for, at knappen altid er i bunden */
    background: #3a3a3a;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-height: 300px; /* Fast højde for at sikre ensartethed */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}



.frontpage-card h3 {
    color: #e0e0e0;
    margin: 10px 0;
}

.frontpage-card p {
    color: #b0b0b0;
  	flex-grow: 1; /* Sørger for, at teksten fylder den tilgængelige plads */
    margin-bottom: 15px;
}


/* Blog-grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.blog-card {
    background: #3a3a3a;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 10px;
}

.blog-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.blog-card h3 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #e0e0e0;
}

.blog-card p {
    font-size: 0.9em;
    color: #b0b0b0;
}

.blog-card small {
    display: block;
    margin-top: 5px;
    color: #999;
}

/* Kategori-filter */
.kategorier {
    margin-bottom: 20px;
}

.kategorier a {
    margin-right: 10px;
    text-decoration: none;
    color: #e0e0e0;
    padding: 5px 10px;
    border: 1px solid #ffffff; /* Hvid kant */
    border-radius: 5px;
    transition: all 0.3s;
}

.kategorier a.active, .kategorier a:hover {
    background: #ffffff; /* Hvid baggrund */
    color: #1a1a1a; /* Mørk tekst for kontrast */
}

/* Formular */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    color: #e0e0e0;
}

input, textarea, select {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #3a3a3a;
    color: #e0e0e0;
}

button {
    background: #ffffff; /* Hvid baggrund */
    color: #1a1a1a; /* Mørk tekst for kontrast */
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

/* Kontaktsiden */

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    color: #e0e0e0;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    background: #3a3a3a;
    color: #e0e0e0;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form textarea.message-textarea {
    min-height: 200px;
    resize: vertical;
    font-family: 'Roboto', sans-serif; /* Bruger samme font som resten af siden */
    font-size: 1em;
    line-height: 1.5; /* Gør teksten mere læsbar */
    background: #333; /* Lidt mørkere baggrund for kontrast */
    border: 1px solid #666; /* Lidt lysere kant */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); /* Subtil indvendig skygge */
}

.contact-form button.btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
    padding: 10px 20px;
    background: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.success-message {
    color: #0f0; /* Grøn farve til succes */
    background: #1a3c1a; /* Mørk grøn baggrund */
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.error-message {
    color: #f00; /* Rød farve til fejl */
    background: #3c1a1a; /* Mørk rød baggrund */
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

/* Footer */
footer {
    flex-shrink: 0; /* Forhindrer footeren i at krympe */
    background: #2c2c2c;
    text-align: center;
    padding: 10px 0; /* Fjernet ekstra padding i siderne */
    width: 100%;
    margin-top: 20px;
}

footer p {
    margin: 0;
    color: #b0b0b0;
}

footer a {
    color: #ffffff; /* Hvid farve */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Admin og login */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: #3a3a3a;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ul li a {
    color: #ff4444;
    text-decoration: none;
}

ul li a:hover {
    text-decoration: underline;
}

/* Hero-sektion */
.hero {
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
    border-radius: 15px; /* Afrundede kanter */
    overflow: hidden; /* Sikrer, at baggrundsbilledet ikke stikker ud */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Blødere skygge */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Mørk overlay for læsbarhed */
    border-radius: 15px; /* Sørger for, at overlay også er afrundet */
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3em;
    color: #e0e0e0;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.hero-button {
    display: inline-block;
    padding: 8px 15px;
    background: #ffffff; /* Hvid baggrund */
    color: #1a1a1a; /* Mørk tekst for kontrast */
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
}



/* Content og sidebar layout */
.content-wrapper {
    display: flex;
  	align-items: flex-start; /* Sørger for, at indholdet starter fra toppen */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    flex: 3;
}

.kategori-bar {
    background-color: #2a2a2a;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex; /* Flytter flex-display til .kategori-bar */
    flex-wrap: wrap;
    gap: 10px;
}

.kategori-item {
    display: inline-block;
}

.kategori-item a {
    display: inline-block;
    padding: 5px 15px;
    background-color: #444;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.kategori-item a:hover {
    background-color: #666;
}

.kategori-item a.active {
    background-color: #007bff;
}

.sidebar {
    width: 300px; /* Fast bredde til sidebar */
    max-width: 100%;
    background: #2c2c2c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sidebar h3 {
    color: #ffffff; /* Hvid farve */
    margin-top: 0;
    border-bottom: 2px solid #ffffff; /* Hvid kant */
    padding-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: #00e5ff;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar ul li a:hover {
    color: #ffffff; /* Lys grå ved hover */
}

/* Specifik sidebar for "Om mig"-siden */
.about-sidebar {

    max-width: 100%;
    background: #3a3a3a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    height: 100%; /* Strækker sig til forælderens højde */
}

.about-sidebar h3 {
    color: #ffffff;
    margin-top: 0;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 10px;
}

.about-sidebar ul {
    list-style: none;
    padding: 0;
}

.about-sidebar ul li {
    margin-bottom: 10px;
    background: #3a3a3a;
    padding: 10px;
    border-radius: 5px;
}

.about-sidebar ul li a {
    color: #00e5ff;
    text-decoration: none;
    transition: color 0.3s;
}

.about-sidebar ul li a:hover {
    color: #ffffff;
}

.about-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: stretch;
}

/* Forside-kort med billeder */
.frontpage-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Subtile animationer */
.frontpage-card, .blog-card {
    transition: transform 0.3s, box-shadow 0.3s;
}



/* Billedepositioner */
.about-me-img {
    object-position: 50% 25%; 
}

.setup1-img {
    object-position: 50% 10%; 
}

.reset1-img {
    object-position: 50% 50%; 
}

.support1-img {
    object-position: 50% 45%; 
}

.troubleshoot1-img {
    object-position: 50% 25%; 
}
/* Blog-post sektion */
.blog-post {
    background: #2c2c2c; /* Mørk baggrund som de andre sektioner */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.blog-post h2 {
    color: #ffffff; /* Hvid overskrift */
    margin-top: 0;
    margin-bottom: 15px;
}

.blog-post .blog-post-thumbnail {
    max-width: 100%;
    max-height: 1000px; /* Maksimal højde for thumbnail */
    width: auto; /* Bevarer billedets naturlige bredde */
    height: auto;
    border-radius: 10px;
    margin: 0 auto 15px auto; /* Centrerer billedet */
    display: block;
    object-fit: contain; /* Sørger for, at billedet ikke forvrænges */
}

.blog-post small {
    color: #b0b0b0;
    display: block;
    margin-bottom: 15px;
}

/* Blog-indhold (Markdown-genereret HTML) */
.blog-content {
    color: #e0e0e0; /* Lys tekst */
    line-height: 1.6;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    color: #ffffff; /* Hvide overskrifter */
    margin-top: 20px;
    margin-bottom: 10px;
}

.blog-content h1 {
    font-size: 2em;
}

.blog-content h2 {
    font-size: 1.5em;
}

.blog-content h3 {
    font-size: 1.3em;
}

.blog-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.blog-content strong {
    font-weight: 700; /* Fed tekst */
    color: #ffffff; /* Hvid for bedre kontrast */
}

.blog-content em {
    font-style: italic; /* Kursiv tekst */
}

.blog-content img {
    max-width: 70%; /* Maksimal bredde på 70% af containeren */
    height: auto;
    border-radius: 5px;
    margin: 10px auto; /* Centrerer billedet */
    display: block;
}
.blog-content iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Sørger for korrekt højde-bredde-forhold */
    margin: 10px auto;
    display: block;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
	padding-right: 20px;
}

.blog-content ul li,
.blog-content ol li {
    margin-bottom: 5px;
}

.blog-content a {
    color: #0e76a8; /* LinkedIn-blå til links */
    text-decoration: none;
}

.blog-content a:hover {
    text-decoration: underline;
}

/* Responsivt design */
@media (max-width: 600px) {
    .blog-post {
        padding: 15px;
    }

    .blog-content h1 {
        font-size: 1.8em;
    }

    .blog-content h2 {
        font-size: 1.3em;
    }

    .blog-content h3 {
        font-size: 1.1em;
    }

    .blog-content p {
        font-size: 1em;
    }
}
/* Responsivt design */
@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
        align-items: center; /* Centrerer indholdet på mobil */
        gap: 0px; /* Mindre afstand på mobil */
    }
	.main-content {
        width: 115%; /* Fuld bredde på mobil */
    }
    .sidebar {
        /* Fjernet order: -1, så sidebaren forbliver i bunden */
    }
	
  	.sidebar {
        width: 100%; /* Fuld bredde på mobil */
    }

    .hero {
        height: 400px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }
}

@media (max-width: 600px) {
    header {
        padding: 5px 0;
        min-height: 60px;
        display: flex;
        align-items: center;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between; /* Sørger for, at logo og nav-toggle fordeles korrekt */
        align-items: center;
        padding: 0 10px;
        position: relative;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0;
    }

    .logo img {
        height: 40px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto; /* Skubber knappen til højre */
        margin-right: 10px;
        margin-top: 0;
        order: 2; /* Sørger for, at nav-toggle kommer efter logoet i flex-rækkefølgen */
    }

    /* Fjerner hover-effekt på mobil for nav-toggle */
    .nav-toggle:hover .hamburger,
    .nav-toggle:hover .hamburger::before,
    .nav-toggle:hover .hamburger::after {
        background: #e0e0e0;
    }

    /* Visuel indikator for aktiv menu */
    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2c2c2c;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        text-align: center;
    }

    nav a {
        margin: 5px 0;
        padding: 10px;
        font-size: 1.2em;
        text-align: center;
    }

    main {
        margin-top: 80px;
        padding: 0 10px;
    }

    footer {
        padding: 10px 0;
    }


    /* Hero-sektion */
    .hero {
        height: auto; /* Lader højden tilpasse sig indholdet */
        min-height: 300px; /* Minimumshøjde for at sikre plads */
        padding: 40px 20px; /* Mere padding for at undgå afskæring */
    }

    .hero-content {
        padding: 20px 10px; /* Mindre padding i siderne */
    }

    .hero h1 {
        font-size: 1.8em; /* Mindre overskrift */
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 0.9em; /* Mindre tekst */
        margin-bottom: 15px;
    }

    .hero-button {
        padding: 10px 20px; /* Mindre knap */
        font-size: 0.9em;
    }

    /* Generelle justeringer */
    section {
        padding: 15px;
    }

    h2 {
        font-size: 1.5em;
    }

    /* Forside-kort */
    .frontpage-grid {
        grid-template-columns: 1fr; /* Én kolonne på mobil */
        gap: 15px;
    }

    .frontpage-card {
        padding: 15px;
    }

    .frontpage-card h3 {
        font-size: 1.2em;
    }

    .frontpage-card p {
        font-size: 0.9em;
    }

.btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    /* Blog-grid */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .blog-card {
        padding: 10px;
    }

    .blog-card h3 {
        font-size: 1.1em;
    }

    .blog-card p {
        font-size: 0.8em;
    }

    .blog-card small {
        font-size: 0.7em;
    }

    /* Kategori-filter */
    .kategorier {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .kategorier a {
        padding: 5px 8px;
        font-size: 0.9em;
    }
  
    /* Formular */
    form input,
    form textarea,
    form select {
        font-size: 0.9em;
    }

    form button {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    /* Sidebar */
    .sidebar {
        padding: 15px;
    }

    .sidebar h3 {
        font-size: 1.2em;
    }

    .sidebar ul li a {
        font-size: 0.9em;
    }
}

/* Finjustering for mindre skærme (f.eks. iPhone 12, 390px) */
@media (max-width: 400px) {
    .header-container {
        padding: 0 5px; /* Endnu mindre padding på meget små skærme */
    }

    .nav-toggle {
        margin-right: 5px; /* Mindre margin for at sikre synlighed */
    }

    .hero {
        padding: 30px 10px; /* Endnu mindre padding */
    }

    .hero h1 {
        font-size: 1.5em; /* Endnu mindre overskrift */
    }

    .hero p {
        font-size: 0.9em; /* Endnu mindre tekst */
    }

    .hero-button {
        padding: 8px 16px;
        font-size: 0.8em;
    }

    .frontpage-card {
        padding: 15px;
    }

    .frontpage-card h3 {
        font-size: 1.2em;
    }

    .frontpage-card p {
        font-size: 0.9em;
    }
}

/* Sikr desktopvisning (over 600px) */
@media (min-width: 601px) {
    .nav-toggle {
        display: none; /* Sikrer, at hamburger-menuen forbliver skjult på desktop */
    }

    .nav-menu {
        display: flex; /* Sørger for, at navigationen vises på desktop */
        justify-content: center; /* Centrerer menupunkterne */
    }
}

/* About Me Section */
.about-me {
    background: #2c2c2c;
    padding: 20px; /* Reduceret padding for mindre afstand */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.about-me-content {
    display: flex;
    flex-direction: column; /* Ændret til lodret layout */
    align-items: center; /* Centrerer indholdet */
    gap: 20px;
}

.about-me-image {
    width: 100%;
    max-width: 300px; /* Begrænser billedets bredde */
    margin: 0 auto; /* Centrerer billedet */
}

.about-me-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.about-me-text {
    width: 100%;
    color: #e0e0e0;
    text-align: justify; /* Lige kanter for teksten */
}

.about-me-text h2 {
    margin-bottom: 15px; /* Afstand mellem overskrift og tekst */
    text-align: center; /* Overskriften forbliver centreret */
}

.about-me-text p {
    background: #2a2a2a; /* Mørk baggrund for hver afsnit */
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px; /* Mellemrum mellem afsnit */
    color: #e0e0e0;
    line-height: 1.6; /* Forbedret linjeafstand for læsbarhed */
    font-size: 1.1em; /* Lidt større tekst */
}

.linkedin-button {
    display: block; /* Ændret til block for at kunne bruge margin: 0 auto */
    margin: 20px auto; /* Centrerer knappen horisontalt og tilføjer lidt plads ovenfor */
    padding: 12px 25px;
    background: #0e76a8; /* LinkedIn-blå */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
    width: fit-content; /* Sørger for, at knappen ikke strækker sig unødvendigt */
}

.linkedin-button:hover {
    background: #095c87;
    transform: scale(1.05);
}
/* Forbedret textarea */
textarea#tekst {
    min-height: 300px; /* Gør den højere */
    resize: vertical; /* Tillad kun lodret resize */
    background: #3a3a3a;
    color: #e0e0e0;
    border: 1px solid #555;
    border-radius: 5px;
    padding: 10px;
    font-size: 1em;
}


/* Responsivt design for About Me */
@media (max-width: 900px) {
    .about-me-content {
        flex-direction: column;
        align-items: center;
    }

    .about-me-image {
        max-width: 100%;
    }

    .about-me-text {
        text-align: center; /* Behold justify på større skærme */
    }

    .linkedin-button {
        margin: 20px auto; /* Sikrer centrering på større skærme */
    }
}

@media (max-width: 600px) {
    .about-me {
        padding: 15px 10px; /* Yderligere reduceret padding på mobil */
    }

    .about-me-text {
        text-align: left; /* Behold justify på mobil */
    }

    .about-me-text p {
        font-size: 1em;
    }

    .linkedin-button {
        padding: 10px 20px;
        font-size: 0.9em;
        margin: 15px auto; /* Lidt mindre margin på mobil */
    }
}

/* Sidebar (genbruger din eksisterende sidebar-styling, men tilføjer lidt ekstra) */
.sidebar {
    background: #3a3a3a;
    padding: 20px;
    border-radius: 10px;
}

.skills, .experience {
    margin-bottom: 20px;
}

.skills h3, .experience h3 {
    color: #ffffff;
    margin-top: 0;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 10px;
}

.skills ul, .experience ul {
    list-style: none;
    padding: 0;
}

.skills ul li, .experience ul li {
    background: #4a4a4a;
    padding: 14.8px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #e0e0e0;
    transition: background 0.3s;
}

.skills ul li:hover, .experience ul li:hover {
    background: #5a5a5a;
}
