/* ========================================
   CSS RESET & BASE STYLES
======================================== */

/* Modern CSS Reset */
*, 
::before, 
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

html, 
:host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    line-height: inherit;
}

/* Reset Elements */
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

ol, ul, menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

dialog {
    padding: 0;
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: inherit;
    text-decoration: inherit;
}

abbr:where([title]) {
    text-decoration: underline dotted;
}

b, strong {
    font-weight: bolder;
}

code, kbd, samp, pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Form Elements */
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button, select {
    text-transform: none;
}

button, 
input:where([type='button']), 
input:where([type='reset']), 
input:where([type='submit']) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

button, 
[role="button"] {
    cursor: pointer;
}

:disabled {
    cursor: default;
}

textarea {
    resize: vertical;
}

input::placeholder, 
textarea::placeholder {
    opacity: 1;
    color: #9ca3af;
}

/* Webkit specific */
::-webkit-inner-spin-button, 
::-webkit-outer-spin-button {
    height: auto;
}

[type='search'] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Firefox specific */
:-moz-focusring {
    outline: auto;
}

:-moz-ui-invalid {
    box-shadow: none;
}

/* Media Elements */
img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* Misc */
table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

progress {
    vertical-align: baseline;
}

summary {
    display: list-item;
}

[hidden] {
    display: none;
}


/* ========================================
   CSS VARIABLES & THEME
======================================== */

:root {
    --gjs-t-color-primary: #8b5cf6;
    --gjs-t-color-secondary: #6d28d9;
    --gjs-t-color-accent: #f59e0b;
    --gjs-t-color-success: #10b981;
    --gjs-t-color-warning: #f59e0b;
    --gjs-t-color-error: #ef4444;
}


/* ========================================
   BASE COMPONENT CLASSES
======================================== */

.gjs-t-body {
    background-color: inherit;
    color: inherit;
    font-size: 1rem;
    line-height: 1.75rem;
    font-family: Arial, Helvetica, sans-serif;
}

.gjs-t-h1 {
    color: var(--gjs-t-color-secondary);
    font-size: 1.5rem;
    line-height: 2.5rem;
}

.gjs-t-h2 {
    color: #4f46e5;
    font-size: 1.2rem;
    line-height: 1.75rem;
}

.gjs-t-button {
    background-color: var(--gjs-t-color-primary);
    color: white;
    border-radius: 0.3rem;
}

.gjs-t-link {
    color: var(--gjs-t-color-primary);
    text-decoration: none;
}

.gjs-t-border {
    border-radius: 0.3rem;
    border-color: #e0e0e0;
}

/* Page Layout Classes */
.cls-b0eeaj {
    background-color: rgb(249 250 251 / 1);
}

.cls-htd5fs {
    background-color: rgb(249 250 251 / 1);
}

.cls-w9tqlm {
    background-color: rgb(249 250 251 / 1);
}

.main-content {
    min-height: 100vh;
}

.container {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

.section-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    margin-bottom: 3rem;
    text-align: center;
}


/* ========================================
   NAVIGATION
======================================== */

.main-navigation {
    position: sticky;
    top: 0px;
    z-index: 50;
    background-color: rgb(255 255 255 / 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.navigation-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navigation-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    color: rgb(31 41 55 / 1);
}

.logo-link {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 300;
    color: rgb(31 41 55 / 1);
    letter-spacing: 0.025em;
}

.navigation-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Navigation Link Styles */
.home-link,
.about-link,
.assignment-link,
.diary-link,
.status-link,
.reflection-link {
  font-weight: 600;        /* bold baseline */
  color: rgb(75 85 99 / 1);
}


.home-link:hover,
.about-link:hover,
.assignment-link:hover,
.diary-link:hover,
.status-link:hover,
.reflection-link:hover {
  color: rgb(107 33 168 / 1);
}

.home-link.active,
.about-link.active,
.assignment-link.active,
.diary-link.active,
.status-link.active,
.reflection-link.active {
  color: rgb(107 33 168 / 1);
  font-weight: 600;
}

/* ========================================
   HERO SECTIONS
======================================== */

.hero-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-content-container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 8rem;
    padding-bottom: 8rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0.025em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-button {
    display: inline-block;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
    transform: translate(0, 0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

.hero-cta-button:hover {
    transform: translate(0, 0) rotate(0) skewX(0) skewY(0) scaleX(1.05) scaleY(1.05);
    background-color: rgb(107 33 168 / 1);
}


/* ========================================
   PROJECT OVERVIEW SECTION
======================================== */

.project-overview-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.overview-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.overview-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.overview-description {
    color: rgb(75 85 99 / 1);
    font-weight: 300;
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

.objectives-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.objectives-list > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(0.75rem * calc(1 - 0));
    margin-bottom: calc(0.75rem * 0);
}

.objectives-container {
    background-color: rgb(249 250 251 / 1);
    border-radius: 1rem;
    padding: 2rem;
}

.objective-item {
    display: flex;
    align-items: flex-start;
}

.bullet-point {
    color: rgb(147 51 234 / 1);
    margin-right: 0.75rem;
}

.bullet {
    display: inline-block;
    width: 0.375rem;
    height: 0.375rem;
    background-color: rgb(217 119 6 / 1);
    border-radius: 9999px;
    margin-top: 0.5rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.objective-text {
    color: rgb(55 65 81 / 1);
}

.overview-image-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.text-content {
    flex: 1 1 0%;
}


/* ========================================
   TEAM SECTION
======================================== */

.team-introduction-section {
    background-color: rgb(243 244 246 / 1);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.team-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    background-color: rgb(255 255 255 / 1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.member-image {
    margin: 0 auto 1.5rem; 
    width: 150px;          
    height: 150px;
    border-radius: 50%;
    overflow: hidden;      
    display: flex;         
    align-items: center;
    justify-content: center;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;     
    display: block;
}

.member-name {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.member-role {
    color: rgb(107 33 168 / 1);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-description {
    color: rgb(75 85 99 / 1);
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    display: inline-block;
    background-color: rgb(243 244 246 / 1);
    color: rgb(55 65 81 / 1);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.member-socials {
    margin-top: 1rem;
    text-align: center; 
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icon.linkedin {
    background-color: #0077b5; 
}

.social-icon.linkedin:hover {
    background-color: #005582;
}

/* LinkedIn Profiles */
.linkedin-profiles-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    text-align: center;
}

.linkedin-profiles-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.linkedin-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgb(255 255 255 / 1);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
    text-decoration: none;
}

.linkedin-profile-link:hover {
    box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.linkedin-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.profile-name {
    font-weight: 500;
}


/* ========================================
   ASSIGNMENT SECTIONS
======================================== */

.assignment-overview-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: rgb(255 255 255 / 1);
}

.assignment-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    margin-bottom: 1.5rem;
}

.assignment-brief {
    color: rgb(75 85 99 / 1);
    font-size: 1.125rem;
    line-height: 1.625;
    margin-bottom: 2rem;
}

.detailed-description-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-image:
      linear-gradient(to bottom, transparent, rgb(255, 255, 255)), 
      url("https://raw.githubusercontent.com/Gruppe10UIA/ParatAI/main/images/om-oss-bakgrunn.jpeg");
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3rem;
}

.description-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.block-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.description-text {
    color: rgb(75 85 99 / 1);
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

.description-text:last-child {
    margin-bottom: 0;
}


.description-image {
    border-radius: 1rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.requirements-block {
    background-color: rgb(255 255 255 / 1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.requirements-list > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(0.75rem * calc(1 - 0));
    margin-bottom: calc(0.75rem * 0);
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.item-text {
    color: rgb(55 65 81 / 1);
}

/* Stilsetting for oppgavebeskrivelsen */
.assignment-brief p {
  margin-bottom: 1rem;   /* gir mellomrom mellom avsnitt */
  line-height: 1.6;      /* gjør teksten mer lesbar */
}

.assignment-brief p:last-child {
  margin-bottom: 0;      /* fjerner ekstra luft etter siste avsnitt */
}



/* ========================================
   DELIVERABLES SECTION
======================================== */

.deliverables-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: rgb(255 255 255 / 1);
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.deliverable-card {
    text-align: center;
    background-color: rgb(249 250 251 / 1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon {
    font-size: 3rem;
    line-height: 1;
}

.deliverable-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.deliverable-description {
    color: rgb(75 85 99 / 1);
    line-height: 1.625;
}

.additional-deliverables {
    margin-top: 3rem;
    background-color: rgb(249 250 251 / 1);
    border-radius: 1rem;
    padding: 2rem;
}

.additional-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.additional-list > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(0.75rem * calc(1 - 0));
    margin-bottom: calc(0.75rem * 0);
}

.additional-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}


/* ========================================
   TIMELINE SECTION
======================================== */

.timeline-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: rgb(249 250 251 / 1);
}

.timeline-container {
    position: relative;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.timeline-line {
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgb(229 231 235 / 1);
}

.timeline-items {
    position: relative;
    padding-left: 4rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -5rem;
    top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgb(255 255 255 / 1);
    border: 3px solid rgb(107 33 168 / 1);
    border-radius: 50%;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 33 168 / 1);
}

.week-number {
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1rem;
}

.check-icon {
    font-size: 1.5rem;
    color: rgb(34 197 94 / 1);
}

.timeline-content {
    background-color: rgb(255 255 255 / 1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.milestone-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.date {
    color: rgb(107 33 168 / 1);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.milestone-description {
    color: rgb(75 85 99 / 1);
    line-height: 1.625;
}


/* ========================================
   STATUS PAGE STYLES
======================================== */

.status-overview-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.status-overview-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.status-banner {
    background: linear-gradient(135deg, rgb(107 33 168 / 1) 0%, rgb(147 51 234 / 1) 100%);
    border-radius: 1rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 25px 50px -12px rgb(0 0 0 / 0.25);
    padding: 2rem;
    color: rgb(255 255 255 / 1);
}

.status-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.025em;
}

.status-summary {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 300;
    opacity: 0.9;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.progress-bar-background {
    flex: 1 1 0%;
    background-color: rgb(255 255 255 / 0.2);
    border-radius: 9999px;
    height: 0.75rem;
}

.progress-bar-fill {
    background-color: rgb(255 255 255 / 1);
    height: 100%;
    border-radius: 9999px;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 500ms;
}

.progress-percentage {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 500;
}

.detailed-status-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.detailed-status-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.status-table-container {
    background-color: rgb(255 255 255 / 1);
    border-radius: 1rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    overflow: hidden;
}

.table-wrapper {
    overflow-x: auto;
}

.status-table {
    width: 100%;
}

.table-header {
    background-color: rgb(249 250 251 / 1);
    border-bottom-width: 1px;
    border-color: rgb(229 231 235 / 1);
}

.header-cell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: rgb(55 65 81 / 1);
    letter-spacing: 0.05em;
}

.table-body > :not([hidden]) ~ :not([hidden]) {
    border-top-width: calc(1px * calc(1 - 0));
    border-bottom-width: calc(1px * 0);
    border-color: rgb(229 231 235 / 1);
}

.table-row {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.table-row:hover {
    background-color: rgb(249 250 251 / 1);
}

.component-cell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    white-space: nowrap;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: rgb(17 24 39 / 1);
}

.status-cell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    white-space: nowrap;
}

.status-badge {
    display: inline-flex;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
    border-radius: 9999px;
    background-color: rgb(219 234 254 / 1);
    color: rgb(30 64 175 / 1);
}

.progress-cell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    white-space: nowrap;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(75 85 99 / 1);
}

.date-cell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    white-space: nowrap;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(75 85 99 / 1);
}


/* ========================================
   CHALLENGES & NEXT STEPS SECTIONS
======================================== */

.challenges-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: rgb(249 250 251 / 1);
}

.challenges-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
}

.challenge-card {
    background-color: rgb(255 255 255 / 1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.challenge-header {
    margin-bottom: 1rem;
}

.challenge-title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: rgb(17 24 39 / 1);
}

.challenge-content > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(1rem * calc(1 - 0));
    margin-bottom: calc(1rem * 0);
}

.challenge-description {
    color: rgb(75 85 99 / 1);
    line-height: 1.625;
}

.solution-text {
    color: rgb(75 85 99 / 1);
    line-height: 1.625;
}

.next-steps-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.next-steps-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.next-steps-content {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.steps-timeline {
    position: relative;
}

.timeline-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(255 255 255 / 1);
    border: 3px solid rgb(107 33 168 / 1);
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-description {
    color: rgb(75 85 99 / 1);
    line-height: 1.625;
    margin-bottom: 0.75rem;
}

.step-date {
    color: rgb(107 33 168 / 1);
    font-weight: 500;
    font-size: 0.875rem;
}


/* ========================================
   DIARY SECTION
======================================== */

.diary-introduction-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: rgb(255 255 255 / 1);
}

.introduction-container {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.diary-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    margin-bottom: 1.5rem;
}

.diary-description {
    color: rgb(75 85 99 / 1);
    font-size: 1.125rem;
    line-height: 1.625;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.diary-entries-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: rgb(249 250 251 / 1);
}

.entries-container {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.entries-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-align: center;
}

.diary-entry-card {
    background-color: rgb(255 255 255 / 1);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.entry-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgb(229 231 235 / 1);
}

.entry-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.entry-date {
    color: rgb(107 33 168 / 1);
    font-weight: 500;
    font-size: 0.875rem;
}

.entry-content {
    color: rgb(75 85 99 / 1);
    line-height: 1.625;
}

.entry-content > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(1rem * calc(1 - 0));
    margin-bottom: calc(1rem * 0);
}

.add-entry-section {
    background-color: rgb(255 255 255 / 1);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.add-entry-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.add-entry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: rgb(55 65 81 / 1);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid rgb(209 213 219 / 1);
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(107 33 168 / 1);
    box-shadow: 0 0 0 3px rgb(107 33 168 / 0.1);
}

.submit-button {
    padding: 0.75rem 1.5rem;
    background-color: rgb(107 33 168 / 1);
    color: rgb(255 255 255 / 1);
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition-property: background-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

.submit-button:hover {
    background-color: rgb(147 51 234 / 1);
}


/* ========================================
   RESOURCES SECTION
======================================== */

.resources-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: rgb(255 255 255 / 1);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
}

.resource-category {
    background-color: rgb(249 250 251 / 1);
    border-radius: 1rem;
    padding: 1.5rem;
}

.category-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.resource-list > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(0.75rem * calc(1 - 0));
    margin-bottom: calc(0.75rem * 0);
}

.resource-link {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

.resource-link:hover {
    color: rgb(109 40 217 / 1);
}

.support-box {
    margin-top: 3rem;
    background-color: rgb(245 243 255 / 1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.support-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.support-text {
    color: rgb(55 65 81 / 1);
    margin-bottom: 1.5rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.email-button,
.forum-button {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0.75rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background-color: rgb(107 33 168 / 1);
    color: rgb(255 255 255 / 1);
}

.email-button:hover,
.forum-button:hover {
    background-color: rgb(109 40 217 / 1);
}


/* ========================================
   REFLECTION SECTIONS
======================================== */

.page-introduction-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.page-heading {
    font-size: 3rem;
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0.025em;
    margin-bottom: 1.5rem;
    color: rgb(31 41 55 / 1);
}

.introduction-text {
    font-size: 1.125rem;
    line-height: 1.625;
    color: rgb(75 85 99 / 1);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.reflections-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.reflections-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.the-good-section {
    background-color: rgb(240 253 244 / 1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.good-heading {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 300;
    color: rgb(22 101 52 / 1);
    margin-bottom: 1rem;
}

.good-content > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(1rem * calc(1 - 0));
    margin-bottom: calc(1rem * 0);
}

.good-content {
    color: rgb(55 65 81 / 1);
    line-height: 1.625;
}

.the-bad-section {
    background-color: rgb(254 242 242 / 1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.bad-heading {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 300;
    color: rgb(153 27 27 / 1);
    margin-bottom: 1rem;
}

.bad-content > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(1rem * calc(1 - 0));
    margin-bottom: calc(1rem * 0);
}

.bad-content {
    color: rgb(55 65 81 / 1);
    line-height: 1.625;
}

.the-weird-section {
    background-color: rgb(250 245 255 / 1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.weird-heading {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 300;
    color: rgb(107 33 168 / 1);
    margin-bottom: 1rem;
}

.weird-content > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(1rem * calc(1 - 0));
    margin-bottom: calc(1rem * 0);
}

.weird-content {
    color: rgb(55 65 81 / 1);
    line-height: 1.625;
}

.summary-section {
    margin-top: 4rem;
    text-align: center;
}

.summary-heading {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 300;
    color: rgb(31 41 55 / 1);
    margin-bottom: 1.5rem;
}

.summary-container {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.summary-text {
    font-size: 1.125rem;
    line-height: 1.625;
    color: rgb(75 85 99 / 1);
    font-style: italic;
}


/* ========================================
   CONTACT SECTION
======================================== */

.contact-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: rgb(249 250 251 / 1);
}

.contact-content {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-description {
    color: rgb(75 85 99 / 1);
    font-size: 1.125rem;
    line-height: 1.625;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-link,
.phone-link {
    font-size: 1.125rem;
    line-height: 1.75rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

.email-link:hover,
.phone-link:hover {
    color: rgb(107 33 168 / 1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.linkedin-link,
.twitter-link,
.github-link {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0.75rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
    text-decoration: none;
    background-color: rgb(107 33 168 / 1);
    color: rgb(255 255 255 / 1);
}

.linkedin-link:hover,
.twitter-link:hover,
.github-link:hover {
    background-color: rgb(107 33 168 / 1);
}


/* ========================================
   FOOTER
======================================== */

.footer,
.main-footer {
    background-color: rgb(17 24 39 / 1);
    color: rgb(209 213 219 / 1);
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 0rem;
}

.footer-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 80rem;
}

.footer-content {
    display: flex;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.footer-column {
    text-align: center;
}


.column-title {
    color: rgb(255 255 255 / 1);
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.footer-links > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(0.3rem * calc(1 - 0));
    margin-bottom: calc(0.3rem * 0);
}

.footer-link {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
    text-decoration: none;
}

.footer-link:hover,
.footer-home-link:hover,
.footer-about-link:hover,
.footer-reflection-link:hover,
.footer-contact-link:hover {
    color: rgb(255 255 255 / 1);
}

.footer-navigation {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info {
    margin-bottom: 0.5rem;
}

.project-info {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top-width: 1px;
    border-color: rgb(55 65 81 / 1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-divider {
    border-top-width: 1px;
    border-color: rgb(31 41 55 / 1);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-section {
    background-color: rgb(17 24 39 / 1);
    color: rgb(209 213 219 / 1);
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.footer-brand {
    text-align: center;
}

.course-name {
    color: rgb(255 255 255 / 1);
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 0.5rem;
}

.university-name {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.copyright-text {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128 / 1);
}

.copyright {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128 / 1);
}


/* ========================================
   RESPONSIVE DESIGN - MOBILE BREAKPOINTS
======================================== */

@media (max-width: 992px) {
    .overview-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .deliverables-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .challenges-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .deliverables-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .timeline-dot {
        width: 3rem;
        height: 3rem;
    }
    
    .timeline-line {
        left: 1.5rem;
    }
    
    .timeline-items {
        padding-left: 3.5rem;
    }
    
    .timeline-dot {
        left: -4rem;
    }
    
    .nav-links-container {
        gap: 1rem;
    }
    
    .linkedin-profiles-row {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .navigation-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content-container {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .project-overview-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .team-introduction-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .assignment-highlights-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .timeline-line {
        display: none;
        left: 1rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-dot {
        position: relative;
        left: 0px;
        transform: none;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        margin-left: 1.5rem;
    }
    
    .latest-diary-entry-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .assignment-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 1rem;
    }
    
    .diary-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .diary-description {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    
    .entries-title {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    
    .diary-entry-card {
        padding: 1.5rem;
    }
    
    .entry-title {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    
    .add-entry-title {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    
    .status-overview-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .status-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .detailed-status-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .header-cell,
    .progress-cell,
    .date-cell {
        display: none;
    }
    
    .challenges-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .challenge-card {
        padding: 1.5rem;
    }
    
    .next-steps-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .timeline-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .logo-container {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .navigation-layout {
        flex-direction: column;
    }
    
    .linkedin-profiles-row {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .linkedin-profile-link {
        width: 100%;
        justify-content: center;
    }
    
    .week-number {
        display: none;
    }
    
    .status-summary {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
    
    .navigation-menu {
        gap: 1rem;
    }
    
    .linkedin-profiles-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
}


/* ========================================
   UTILITY CLASSES & SPECIFIC IDS
======================================== */

/* Progress bar specific width */
#ii0gtm {
    width: 5%;
}

/* Specific image styles */
#i4ncs-2,
#ipglxp-2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mindre luft øverst */
.hero-section {
    padding-top: 2rem;     /* var 4rem */
    padding-bottom: 2rem;  /* litt strammere */
    background: none;      /* fjernet lys bakgrunn, bruker sidens bakgrunn */
}

.hero-content-container {
    padding-top: 2rem;     /* var 8rem tidligere i CSS */
    padding-bottom: 2rem;
    text-align: center;
}

/* Gruppebilde helt ned mot footer */
.group-photo {
    display: block;
    max-width: 800px;
    width: auto;              
    max-width: 100%;           
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.group-photo-link {
    display: inline-block;
    margin: 1.5rem auto 0; 
}

.group-photo:hover {
    transform: scale(1.02);
}


.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 format */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 12px; /* gir avrundede hjørner, kan fjernes */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* liten skygge */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}