/*
    Signe's CV Website
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #444;
    background-color: #fafbfc;
}

#header {
    width: 100%;
    margin: auto;
    padding: 30px 0;
    background: #fff;
    color: #6b8fb8;
    text-align: center;
    border-bottom: 2px solid #d4e8f0;
}

#header h1 {
    font-size: 2.2em;
    font-weight: 600;
}

#nav {
    width: 100%;
    margin: 20px auto;
    background-color: transparent;
    text-align: center;
    padding: 15px 0;
}

#section {
    float: left;
    text-align: left;
    width: 65%;
    padding: 30px;
    background-color: #fff;
    margin: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

#section h2 {
    color: #5a7c96;
    font-size: 1.6em;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d4e8f0;
}

#section h3 {
    color: #6b8fb8;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
}

#section p {
    margin-bottom: 12px;
    color: #666;
    font-size: 0.95em;
}

#aside {
    float: left;
    text-align: center;
    width: 25%;
    padding: 15px;
    margin: 15px;
}

#aside img {
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

#aside img:hover {
    transform: scale(1.03);
}

#footer {
    clear: both;
    width: 100%;
    padding: 25px;
    background: #fff;
    color: #888;
    text-align: center;
    margin-top: 20px;
    border-top: 2px solid #d4e8f0;
    font-size: 0.9em;
}

#menu {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: transparent;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.menuPunkt {
    flex: 0 1 auto;
    text-align: center;
}

.menuPunkt a {
    display: inline-block;
    color: #6b8fb8;
    text-align: center;
    padding: 10px 18px;
    text-decoration: none;
    background: #f0f4f8;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #d4e8f0;
    border-radius: 20px;
    font-size: 0.95em;
}

.menuPunkt a:hover {
    background: #d4e8f0;
    color: #5a7c96;
    border-color: #b8d4e8;
}

.menuPunkt a.active {
    background: #b8d4e8;
    color: #fff;
    border-color: #9ab8d4;
}

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

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

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

}
