/* Base styling (for laptops) */

body {
    height: 100%;
    margin: 0px;
    width: 100%;
    background-color: #F5F3F5;
    overflow-x: hidden;
}

.banner {
    background-color: #012169;
    color: white;
    display: flex;
    align-items: center;
    height: 16vh;
    padding: 5px;
    padding-right: 40px;
    padding-left: 40px;
}

.banner-logo {
    /* transform: scale(0.9); */
    margin: 0px;
    margin-right: -40px;
}

.banner-header {
    margin: 75px;
    flex-grow: 1;
}

.basic-button {
    padding: 10px 20px;
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 16px; 
    text-align: center; 
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.basic-button:hover {
    filter: brightness(0.85); /* 85% brightness makes it darker */
}

.donate-btn {
    background-color: #4CAF50; 
    color: white; 
}

.mission {
    width: 100%;
    height: 50vh;
    margin-top: 5vh;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.mission-card {
    width: 92%;
    height: 50vh;
    background-color: #797A9E;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    opacity: 100%;
}

.card-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    text-align: center;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mission-card .card-content {
    top: 40%;
}

.card-content h1 {
    font-size: 3.25 rem;
    color: white;
}

.card-content h6 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.card-content p {
    font-size: 1.125rem;
    color: white;
}

.info-and-links {
    width: 100%;
    height: 46.5vh;
    display: flex;
    justify-content: center;
}

.vertical-wrapper {
    width: 92%;
    height: 36vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #797A9E;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.info-cards {
    width: 100%;
    margin-top: -12.5vh;
    display: flex;
    justify-content: space-around;
}

.small-card {
    width: 30%;
    height: 35.5vh;
    background-color: #f9f6f6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
    opacity: 100%;
    margin: 1em;
}

.kpi-number {
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f9f6f6;
    background-color: #012169;
    font-size: 2rem;
    font-weight: 600;
    border-radius: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.line {
    width: 100%;
    height: 1px; 
    background-color: black; 
    margin-top: 1rem; 
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.small-card-text {
    font-size: large;
    font-weight: 200;
    margin-bottom: 1rem;
}

.small-card-links {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 125%;
    height: auto;
}

.one-link {
    width: 70%;
}

.two-link {
    width: 35%
}

.three-link {
    width: 25%;
}

.link {
    color: white;
    text-decoration: none;
    padding: 5px;
    background-color: #797A9E;
    border-radius: 5px;
    border: 2px solid black;
}

.to-events-btn {
    margin-top: 5vh;
    background-color: #012169;
    color: #f9f6f6;
}

.centering-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 90vh;
}
/* Our Why Section */
.why {
    width: 100%;
    height: 50vh;
    margin-top: 5vh;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.why-card {
    width: 92%;
    height: 100vh;
    background-color: #40798C;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: relative;
    opacity: 100%;
    margin-bottom: 7.5vh;
}

.why-card-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    text-align: center;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.why-card-content h1 {
    font-size: 2.5rem; /* Heading font size */
    color: white; /* Heading color */
   
}

.why-card-content p {
    font-size: 1.125rem; /* Paragraph text size */
    color: white; /* Paragraph text color */
    margin-bottom: 20px; /* Space below the paragraph */
}

.why-card-content img {
    max-width: 100%; /* Make image responsive */
    height: auto; /* Maintain aspect ratio */
    margin-top: 10px; /* Space above the image */
}


.event-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 92%;
    height: 100%;
    background-color: #012169;
    border-radius: 10px;
    margin-top: 35vh;
    margin-bottom: 7.5vh;
}

.calender {
    width: 62%;
    height: 80vh;
    border: 5px solid #fff;
    border-radius: 5px;
}

.news-box {
    width: 30%;
    height: 80vh;
    border-radius: 5px;
    border: 5px solid #fff;
    background-color: #fff;
}

.news-stuff {
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;

    overflow-y: auto;
    overflow-x: hidden;
}

.news-box h1 {
    margin-bottom: 1vh;
}

.news-entry {
    width: 96%;
    background-color: #b3b4cc;
    height: auto;
    border-radius: 10px;
    border: 3px solid black;
    flex-shrink: 0;
    margin-bottom: 1vh;
}

.news-entry * {
    margin: 1vh;
    color: black;
}

.news-date {
    font-size: small;
}


/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .banner {
        padding: 20px;
    }

    .info-and-links {
        height: 56vh;
    }

    .vertical-wrapper {
        height: 80%;
    }
  
    .small-card {
        width: 45%;
        height: 50vh;
    }

    .card-content {
        font-size: x-large;
    }

    .small-card-links {
        flex-direction: column;
        width: 125%;
        font-size: smaller;
    }

    .link {
        width: 80%;
        margin-top: 0.25em;
    }
  
    .event-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
  
    .calender {
        height: 50%;
        width: 96%;
        margin-bottom: 1em;
    }

    .news-box {
        width: 96%;
        height: 40%;
        text-align: left !important; 
    }

    .news-box h1 {
        margin-left: 0.6em;
    }
}


/* Mobile Styling */
@media (max-width: 767px) {

    .banner {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 20px;
      height: auto;
    }
  
    .banner-logo {
      margin: 0;
      transform: scale(2);
      margin-top: 5vh;
    }

    .banner-header {
      font-weight: 500;
      margin-bottom: 0;
      margin-right: 0.5em;
      margin-left: 0.5em;
      width: 100vw;
    }

    .mission {
        height: 60vh;
    }
  
    .mission-card {
      height: 100%;
      margin: 20px 0;
    }
  
    .info-and-links {
      flex-direction: column;
      align-items: center;
      height: 125vh;
      margin-top: -5vh;
    }

    .vertical-wrapper {
        height: 90%;
    }

    .info-cards {
        flex-direction: column;
        align-items: center;
    }

    .kpi-number {
        width: 4rem;
        height: 4rem;
        font-size: 1.5rem;
    }
  
    .small-card {
      width: 90%;
      margin-bottom: 20px;
    }
  
    .event-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        margin-top: 5vh;
        margin-bottom: 5vh;
    }
  
    .calender {
        height: 50%;
        width: 90%;
        margin-bottom: 1em;
    }
   
    .news-box {
        width: 90%;
        height: 40%;
        text-align: left !important; /* Not sure why this doesn't work here, but I want Announcements to be to the left */
        font-size: smaller;
    }

    .news-box h1 {
        font-size: x-large;
        margin-bottom: 2px;
        margin-left: 0.4em;
    }

    .news-entry {
        margin-right: 0.8em;
        width: 92%;
    }

    .news-stuff {
        height: 70%;
    }

    .centering-wrapper {
        height: 100vh;
        margin-bottom: 5vh;
    }
}