@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter-latin-500-normal.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter-latin-400-normal.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter-latin-700-normal.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
  font-size: 16px;  /* Your base; adjust if needed */
}

@media (max-width: 960px) {
  :root {
    font-size: 14px;  /* Slightly smaller base on small screens */
  }
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Inter;
}

#page {
  width: 100vw;          /* or 100% */
}

#page-inner {
  width: 100%;
  margin: 0 auto;
  overflow-x: clip;
}

section {
    scroll-margin-top: var(--navbar-height, 80px);
}

h1 {
    color: #FFF;
    font-size: 3.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 75px;
    letter-spacing: 1.56px;
    margin: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    margin-bottom: 2.5rem;
}

h2 {
    color: #FFF;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

p {
    color: #FFF;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

#navbar {
    width: 100%;
    display: flex;
    height: 80px;
    padding: 8px 3.125rem;
    justify-content: space-between;
    align-items: center;
    background: #264A97;
    position: sticky;
    top: 0;
    z-index: 100;
}

main {
    width: 100%;
}

#navbar-link-group {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navbar-link {
    color: #FFF;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
}

#navbar-logo {
    width: 36.3px;
    height: 42px;
    flex-shrink: 0;
    fill: #FFF;
    background: url('../assets/images/logo-navbar.svg') center / contain no-repeat;
}

#header {
    width: 100%;
    height: 700px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.20)), url('../assets/images/solar-park-topview.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-left: 7.5rem;
    padding-right: 7.5rem;
}

#header .container {
    height: 100%;
    display: flex;
    align-items: flex-end;
}

#header-text-box {
    width: 718px;
    height: 325px;
    display: flex;
    flex-direction: column;
}

#about {
    padding-left: 7.5rem;
    padding-right: 7.5rem;
    padding-top: 10rem;
    position: relative;
}

#about-logo {
    width: 124px;
    height: 144px;
    position: absolute;
    top: 16px;
    right: 73px;
    background: url('../assets/images/logo-color.svg') center / contain no-repeat;
}


#about h1 {
    color: #264A97;
    width: 662px;
    line-height: 1.1;
}

#about-text {
    color: #264A97;
    width: 823px;
}


#pros-boxes-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
}

.pros-box {
    display: flex;
    padding: 100px 60px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

#pros-box-1 {
    border: 1px solid #000;
    background: #EF874E;
}

#pros-box-1 h2, #pros-box-1 p {
    color: #0F3380;
}

#pros-box-2 {
    background: #264A97;
}

#pros-box-2 h2, #pros-box-2 p {
    color: #FFF;
}

#pros-box-3 {
    background: #EF874E;
}

#pros-box-3 h2, #pros-box-3 p {
    color: #0F3380;
}

.text-white {
    color: #FFF;
}

.text-blue {
    color: #264A97;
}

#timeline {
    font-size: 18px;
    width: 775px;
}

#timeline p {
    color: #264A97;
    margin: 0;
}

#timeline-list {
    list-style: none;
    padding: 0;
}

#timeline-list ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

#timeline-list li {
    color: #264A97;
}

#link {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

#area-maps-view {
    width: 489px;
    height: 370px;
    aspect-ratio: 226/171;
    background: url('../assets/images/area-maps-view.png') lightgray 50% / cover no-repeat;
}

#project-status {
    padding-top: 122px;
    margin-bottom: 122px;
}

#project-status-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}

#project-more-info {
    color: #264A97;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

#team {
    background-color: #264A97;
    padding-top: 62px;
    padding-bottom: 140px;
    padding-left: 120px;
    padding-right: 120px;
}

#team-image-outer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#team-image {
    width: 788px;
    height: 703px;
    aspect-ratio: 102/91;
    background: url('../assets/images/team-image.png') lightgray 50% / cover no-repeat;
}

#team-image-description {
    color: #FFF;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 4px;
    text-align: center;
}

#team h1 {
    color: #FFF;
    margin-top: 55px;
    margin-bottom: 30px;
}

#team p {
    color: #FFF;
}

#contact {
    background-color: #FFF;
    padding-top: 200px;
    padding-bottom: 324px;
    padding-left: 120px;
    padding-right: 120px;
}

#contact h1 {
    color: #264A97;
    margin-bottom: 40px;
}

#contact p {
    color: #264A97;
}

#contact-info > p:first-child {
    margin-bottom: 1.25rem;
}

footer {
    width: 100%;
    height: 276px;
    background: #264A97;
    padding-left: 120px;
    padding-right: 120px;
    padding-bottom: 60px;
    padding-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer-logo {
    width: 100.257px;
    height: 116.001px;
    fill: #FFF;
    background: url('../assets/images/logo-navbar.svg') center / contain no-repeat;
}

#footer-navigation {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 40px;
}

@media (max-width: 1440px) {
    #about-text {
        width: 65%;
    }
    #project-status-content {
        flex-direction: column;
    }
    #area-maps-view {
        width: 100%;
        max-width: 489px;
        height: auto;
    }
    #timeline {
        width: 100%;
    }
}

@media (max-width: 960px) {
    #navbar {
        padding: 8px 1.25rem;
    }
    #header {
        padding-bottom: 120px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    #header-text-box {
        width: 100%;
        max-width: 718px;
    }
    #about {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    #about-text {
        width: 100%;
        text-align: justify;
    }
    #about-logo {
        position: relative;
        float: right;
        top: -20px;
        right: 0;
        width: 99px;
        height: 115px;
        margin-left: 20px;
    }
    .pros-box {
        padding: 60px 1.25rem;
    }
    #team {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    #team-image {
        width: 100%;
        height: auto;
    }
    #contact {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 480px) {
    footer {
        height: auto;
        flex-direction: column;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        gap: 40px;
        align-items: flex-start;
    }
    #footer-logo {
        width: 80px;
        height: 92px;
    }
    #footer-navigation {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}

#privacy {
    margin-bottom: 28px;
}

#privacy h4 {
    font-size: 1.5rem;
    color: #0F3380;
}

#privacy p {
    color: #000;
    font-size: 1rem;
}

#imprint {
    margin-bottom: 28px;
}

#imprint h4 {
    font-size: 1.5rem;
    color: #0F3380;
}

#imprint p {
    color: #000;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 28px;
}


@media (max-width: 1440px) {
    #privacy, #imprint {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}