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

.projectInfoList {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 3rem 1rem;
    text-align: center;
    flex-wrap: wrap;
}

.infoBox h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    color: #004753;
}

.infoBox p {
    font-style: italic;
    font-size: 1.1rem;
    margin: 0;
}

.projectTxt {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.projectTxt h2 {
    margin-top: 2.5rem;
    font-size: 1.8rem;
    color: #004753;
}

.projectTxt p {
    margin-bottom: 1.5rem;
}

.no-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* Meny for scrolling prosjekter, samme som navbar */

.projectMenuLinks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
    margin: 2rem 0;
}

.projectMenuLinks li a {
    position: relative;
    color: black;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}

.projectMenuLinks li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: #004753;
    transition: width 0.3s ease;
}

.projectMenuLinks li a:hover::after {
    width: 100%;
}

.projectMenuLinks li a:hover {
    color: #004753;
    transform: scale(1.05);
}

/* til toppen */
#scrollToTopBtn {
    position: fixed;
    bottom: 40px;
    right: 70px;
    z-index: 100;
    background-color: #004753;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 0.75rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollToTopBtn:hover {
    transform: scale(1.1);
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .projectInfoList {
        flex-direction: column;
        gap: 2rem; 
        padding: 2rem 1rem;
    }
}