:root {
  --primary-color: #005594;
}

body {
    font-family: "Source Sans 3", sans-serif;
    color: black;
}

h1 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 40px;
}

h1 span:first-child {
    font-size: 100px;
}

h1 i {
    color: #19A463;
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h1 span:first-child {
    font-size: 60px;
  }
}

footer p {
    font-size: 11px;
    line-height: 14px;
    font-style: italic;
}

.footer-logos img {
    max-width: 250px;
    max-height: 60px;
}

/* HOMEPAGE */

form {
    border: 4px solid #D2F6E5;
}

.introduction {
    font-size: 24px;
}

.introduction a {
    color: var(--primary-color);
}

@media (max-width: 768px) {
  .introduction {
    font-size: 18px;
  }
}

h6 {
    font-size: 14px;
    font-weight: 400;
}

.filter-button {
    font-size: 24px;
    line-height: 40px;
    background-color: #D2F6E5;
    transition: 0.25s ease-out;
}

.filter-button:hover {
    background-color: #D2F6E5;
    transform: scale(1.1);
}

.filters input {
    display: none;
}

.filters .filters-categories {
    display: flex;
    flex-wrap: wrap;
}

.filters label {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.625rem;
    padding-right: 0.625rem;
    margin: 0 10px 10px 0;
    border-radius: 9999px;
    /* white-space: nowrap; */
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    max-width: 560px;
    cursor: pointer;
    border: 1px solid black;
    font-size: 11px;
    line-height: 13px;
}

.filters label img {
    max-width: 25px;
    max-height: 25px;
    margin-right: 10px;
}

.filters .filters-categories label {
    border-color: #005494;
}

.filters .filters-project-types label {
    border-color: #19A463;
}

.filters input:checked + label {
    border-width: 2px;
}

.filters .filters-categories input:checked + label {
    background-color: #D0EBFF;
}

.filters .filters-project-types input:checked + label {
    background-color: #D2F6E5;
}

.colored-section {
    background-color: rgba(0, 85, 148, 0.05);
}

.colored-section h2 {
    margin-bottom: 0;
    font-size: 21px;
}

@media (max-width: 768px) {
  .colored-section h2 {
    font-size: 18px;
  }
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #D0EBFF;
    flex-shrink: 0;
    margin-right: 10px;
}

.projects-list .card {
    text-decoration: none;
    height: 400px;
    filter: drop-shadow(0 0 20px rgba(0, 40, 69, 0.2));
    border: none;
}

.projects-list .card,
.projects-list .card-img,
.projects-list .card-img-top {
    border-radius: 0;
}

.projects-list .card-img-top {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.projects-list .card-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 22px;
    color: black;
}

.projects-list .card-text {
    font-size: 14px;
    line-height: 18px;
    color: black;
}

.projects-list .card .icon {
    position: absolute;
    background-color: #D0EBFF;
    border-radius: 50%;
    border: 5px solid white;
    padding: 5px;
    height: 50px;
    width: 50px;
    top: 155px;
    left: 1rem;
}

.projects-list .card .icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.carousel-control-next, .carousel-control-prev {
    opacity: 1;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 3rem;
    height: 3rem;
    background-size: 60% 60%;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
}

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

/* PROJECT PAGE */

.back-button {
    color: black;
    font-size: 14px;
}

.project-info p strong,
.project-numbers p strong {
    font-size: 20px;
    line-height: 24px;
}

.project-info p strong a {
    font-size: 16px;
    color: black;
    text-decoration: underline;
}

.project-numbers {
    background-color: rgba(32, 209, 127, 0.05);
}

.project-numbers .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #D2F6E5;
    flex-shrink: 0;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-badge {
    background-color: #D0EBFF;
    color: black;
    font-weight: 500;
    font-size: 11px;
    line-height: 13px;
    margin-right: 10px;
    max-width: 100%;
    text-wrap: wrap;
    text-align: start;
}

.project-type-badge {
    background-color: #D2F6E5;
    color: black;
    font-weight: 500;
    font-size: 11px;
    line-height: 13px;
    max-width: 100%;
    text-wrap: wrap;
    text-align: start;
}

.category-badge img,
.project-type-badge img {
    max-width: 22px;
    max-height: 22px;
    margin-right: 5px;
}

/* .rich-text {
    font-family: "Lora", serif;
} */

.rich-text p, li {
    font-size: 20px;
    line-height: 30px;
}

@media (max-width: 768px) {
    .rich-text p, li {
        font-size: 18px;
        line-height: 24px;
    }
}