/*
    CSS file created by Malthe Tranekær Jensen 
*/

body {
    width: 90%;
    margin: auto;
}

#header {
    width: 100%;
    margin: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #072d14; /* mørkegrøn */
    color: white;
    text-align: center;
}

#nav {
    width: 100%;
    margin: auto;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #0f6b36; /* grøn variant */
    text-align: center;
}

/* Layout: place section and aside side-by-side using a flex container */
.content {
    display: flex;
    gap: 2%;
    align-items: flex-start;
    margin-top: 12px;
}

#section {
    flex: 1 1 60%;
    text-align: left;
    margin: 0;
}

#aside {
    flex: 0 0 35%;
    text-align: center;
    margin: 0;
}

#footer {
    float: left;
    width: 100%;
    margin: auto;
    padding-top: 1px;
    padding-bottom: 1px;
    background-color: black;
    color: white;
    text-align: center;
}

#menu {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #100909;
}

.menuPunkt {
    float: left;
}

.menuPunkt a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    background-color: rgb(12, 138, 216);
}

.menuPunkt a:hover {
    background-color: #0562c5;
}

/* mobil optimeret design */
@media screen and (max-width: 800px) {

        .content {
                flex-direction: column;
        }

        #section, #aside {
            width: 100%;
            margin: auto;
        }

}

/* Responsive image helper */
.responsive-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Smaller image helper for aside/profile pictures */
.small-img {
    max-width: 260px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Larger image helper for Uddanelse aside */
.large-img {
    max-width: 420px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 800px) {
    .large-img {
        max-width: 260px;
    }
}

/* Hero section styles */
.hero {
    background: linear-gradient(135deg, #072d14 0%, #0f6b36 50%, #2aa66a 100%);
    color: #fff;
    padding: 48px 16px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(12,45,22,0.25);
    margin-top: 12px;
}
.hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 2.4rem;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}
.hero .tagline {
    margin: 0 0 18px 0;
    opacity: 0.95;
}
.cta-button {
    display: inline-block;
    background: #fff;
    color: #0b3d0b;
    padding: 10px 18px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    transition: transform .14s ease, box-shadow .14s ease;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,0.12); }

/* Smooth page scrolling for browsers that support it */
html { scroll-behavior: smooth; }

@media screen and (max-width: 600px) {
    .hero h1 { font-size: 1.6rem; }
    .hero { padding: 28px 12px; }
}
