:root {
    --bg-light: #e5f4ff;
    --bg-mid: #c1e5ff;
    --bg-dark: #020283;
    --text-blue: #020283;
    --highlight-yellow: #fff500;
    --highlight-pink: #ff00e2;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text-blue);
    overflow-x: hidden;
}

.carousel {
    overflow: hidden;
}

.carousel-inner {
    overflow: hidden;
}

.navbar {
    background-color: var(--bg-mid);
}

h1, h2, h3, h4, h5 {
    font-family: "Barlow", sans-serif;
    line-height: 1em;
}

h1 {
    font-weight: 800;
    font-size: 3.5em;
    text-transform: uppercase;
}

h2 {
    font-weight: 800;
    font-size: 3em;
    text-transform: uppercase;
}

.carousel h2 {
    text-transform: none;
    font-size: 2.8em;
}

.mission {
    font-weight: 500;
    font-size: 1.8em;
    line-height: 1.2em;
}

a {
    font-weight: bold;
    color: var(--text-blue);
}

.card a {
  text-decoration: none; 
  padding-bottom: 5px; 
  border-bottom: 3px solid var(--highlight-pink);
}

.container {
    max-width: 800px;
}

.container-wide {
    max-width: 1000px;
}

.row {
}

.row-light {
    background-color: var(--bg-light);
    color: var(--text-blue);
}

.row-mid {
    background-color: var(--bg-mid);
    color: var(--text-blue);
}

.row-dark {
    background-color: var(--bg-dark);
    color: white;
}

.row-dark a {
    color: white;
}

.row-highlight {
    background-color: var(--highlight-yellow);
    color: var(--text-blue);
}

.card, .card-body {
    background-color: transparent;
    border: 0px;
    color: var(--text-blue);
}

.card-body {
    padding-left: 0px;
    padding-right: 0px;
}

.newsletter {
    text-transform: uppercase;
    font-size: 1.3em;
    font-weight: bold;
}

.btn-newsletter, .btn-newsletter:hover {
    background-color: var(--highlight-yellow);
    color: var(--text-blue) !important;
    border-radius: 0px;
}

.form-group.required {
    display: flex;
    gap: 0;
}

.form-group.required input[type="email"] {
    flex: 1;
    border-radius: 0;
    border-right: none;
    border: 0px;
    width: 240px;
    background-color: var(--bg-light);
}

.form-group.required button {
    flex: 0 0 auto;
    border-radius: 0;
    border: 0px;
    border-left: none;
    background-color: var(--highlight-yellow);
    color: var(--text-blue);
    font-weight: bold;
    padding: 0.5rem 1rem;
    cursor: pointer;
    width: 150px;
}

.form-group.required button:hover {
    background-color: var(--highlight-yellow);
}

.logos .card-img-top {
    display: block;
    margin-left: 0;
    margin-right: auto;
}

#join h2 {
    font-size: 2em;
}

.pt-6, .py-6 {
  padding-top: 5rem !important;
}

.pr-6, .px-6 {
  padding-right: 5rem !important;
}

.pb-6, .py-6 {
  padding-bottom: 5rem !important;
}

.pl-6, .px-6 {
  padding-left: 5rem !important;
}

.timeline-section {
  position: relative;
  background-image: url('../05_timeline.svg');
  background-repeat: no-repeat;
  background-position: 0px center;
  background-size: auto 100%;
  min-height: 200px;
}

.timeline-item {
    padding-bottom: 30px;
}    

@media (min-width: 768px) {
    .timeline-item {
        padding-left: 200px;
        padding-right: 80px;
    }    
}

.flip-cards-container {
    margin-top: 2rem;
}

.fish-card {
    perspective: 1000px;
    margin-bottom: 0.7rem;
    height: 140px;
}

.fish-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.fish-card.flipped .fish-card-inner {
    transform: rotateY(180deg);
}

.fish-card-front, .fish-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.fish-card-back {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.fish-card-front {
    background: var(--bg-light);
}

.fish-card-back {
    background: var(--bg-dark);
    color: white;
    transform: rotateY(180deg);
}

.fish-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin-bottom: 0.2rem;
}

.fish-card-back p {
    margin: 0.4rem 0;
    font-size: 0.75em;
    line-height: 1.3;
    color: white;
}

.fish-card-back strong {
    font-weight: bold;
    color: white;
}

.fish-card-back a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.fish-card-back a:hover {
    color: white;
    opacity: 0.8;
}

.flip-cards-container .row {
    margin: 0 -0.35rem;
}

.flip-cards-container .row > [class*="col-"] {
    padding: 0 0.35rem;
}

button {
    background-color: var(--highlight-yellow);
    color: var(--text-blue);
}

.resource-page h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.nav-link {
    color: var(--text-blue);
}

.navbar-toggler {
    border-color: var(--text-blue);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(2, 2, 131, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23020283' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}