@font-face {
  font-family: 'Nourd';
  src: url('/fonts/nourd_regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roca';
  src: url('/fonts/Roca.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
    background-color: #faf7f3;
    font-family: 'Nourd', serif;
    color: #000;
    margin: 0;
    padding: 0;
    
}

.main-container, .main-container * {
    box-sizing: border-box;
    line-height: 1.5;
}

.top-decor {
    position: absolute;
    top: 130px;
    left: -50px;
    width: 100px;
    height: 100px;
    background-color: #fae7b5;
    border-radius: 50%;
    z-index: -1;
}

.main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
}

.main-title,
.section-title {
    color: #ff8c75;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Roca', serif;
    font-size: 40px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.main-title {
    font-size: 42px;
    margin-bottom: 30px;
}

section {
    margin-bottom: 50px;
}

.intro-text {
    font-weight: 600;
    font-size: 18px;
    max-width: 900px;
}

.coop-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.coop-content {
    flex: 1;
}

.coop-name {
    color: #8caae6;
    font-size: 26px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    font-family: 'Roca', serif;
}

.coop-name::before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 15px;
    width: 200vw;
    height: 26px;
    background-image:
        radial-gradient(circle, #ffccbc 10px, transparent 11px),
        radial-gradient(circle, #fae7b5 6px, transparent 7px);
    background-size: 36px 26px;
    background-position: right 0 center, right 18px center;
    background-repeat: repeat-x;
    pointer-events: none;
}

.coop-logo {
    width: 350px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
}

.coop-item:nth-of-type(2) .coop-logo {
    padding-top: 60px;
}

.foundation-logo {
    max-width: 100%;
    height: auto;
    display: block;
}

.team-member {
    display: flex;
    margin-bottom: 40px;
    gap: 40px;
    align-items: flex-start;
}

.team-member.centered {
    align-items: center;
}

.member-left-col {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 200px;
    align-items: center;
}

.member-right-col {
    flex: 1;
    padding-top: 0;
}

.member-name {
    color: #8caae6;
    font-family: 'Roca', serif;
    font-size: 26px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    line-height: 1.2;
}

.member-avatar {
    display: flex;
    justify-content: center;
}

.avatar-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #cceeff;
}

.member-right-col p {
    font-family: 'Nourd', serif;
    font-size: 17px;
    text-align: justify;
    line-height: 1.5;
    margin: 0;
}
.it-content p,
.funding-text,
.license-text {
    font-family: 'Nourd', serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.funding-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin: 40px 0;
    align-items: center;
    justify-content: center; 
}

.fund-logo {
    display: block;
    width: auto;
    height: 80px; 
}

.funding-logos img:nth-child(1) {
    height: 100px;
}
.funding-logos img:nth-child(2) {
    height: 80px;
}

.funding-logos img:nth-child(3) {
    height: 80px;
}

.license-text {
    font-size: 14px;
    color: #555;
    margin-top: 30px;
}
.footer {
    display: flex;
    flex-wrap: wrap; 
    background-color: #b7ccfa; 
    padding-top: 30px;
    justify-content: space-evenly;
    align-items: flex-start;
}

.footer h3 {
    font-family: 'Roca', serif;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
    color: #03234d;
}

.footer a, 
.footer p {
    font-family: 'Nourd', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #323232;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-funders {
    width: 100%;
    background-color: #b7ccfa; 
    padding: 12px 0 16px;              
    display: flex;
    justify-content: center;
}

.footer-funders img {
    width: 100%;
    max-width: 1000px;  
    height: auto;
    display: block;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #333;
    background-color: #b7ccfa; 
}

.footer-copyright a {
    color: inherit;
    text-decoration: underline;
    display: inline; 
    margin-bottom: 0; 
}


.footer-copyright img {
    display: inline; 
    vertical-align: baseline;
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .coop-item, .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .member-left-col {
        width: auto;
        margin-bottom: 20px;
    }
    
    .coop-item {
        flex-direction: column-reverse;
    }

    .coop-name::before {
        display: none;
    }

    .coop-name {
        display: block;
        width: 100%;
    }

    .member-right-col p {
        text-align: left;
    }

    .funding-logos {
        justify-content: center;
        gap: 30px;
    }
     footer, 
  .footer {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px !important; 
    padding-right: 15px !important;
  }
footer, .footer {
    display: flex !important;
    flex-direction: column !important; 
    height: auto !important; 
    text-align: center !important; 
    padding-bottom: 30px !important;
  }


  footer > div, .footer > div,
  footer .container, .footer .container {
    width: 100% !important;
    display: block !important;
    margin-bottom: 20px;
  }
}

html, body {
  max-width: 100%;
}