:root {
    --sky-blue: #10E9F6;
    --pale-blue: #d6f3ff;
    --dark-blue: #1a2035;
    --white: #ffffff;
    --silver-gray: #E9EAEB;
    --orenge-red: #ff4500;

    --screen-sm: 640px;
    --screen-md: 768px;
    --screen-lg: 1024px;
    --screen-xl: 1280px;
    --screen-xxl: 1536px;
}

html {
    /* sizing */
    width: 100%;
    height: 100%;

}

body {
    /* sizing */
    margin: 0px;
    height: 100%;
    min-width: 100%;

    /* font */
    font-family: 'Open Sans', sans-serif;
    background-color: var(--silver-gray);
    font-size: 1.25rem;
    font-weight: bold;

}


.landing-poster {
    /* background */
    background-image: url('images/pcb3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50%;
    min-height: 300px;

    /* positioning */
    position: relative;
    /* box-shadow: 0px -15px 15px 5px #315eaa; */
}

.landing-poster-middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0px 0px 40px;
}

@media (max-width: 1100px) {
    .landing-poster-middle {
        font-size: 2.25rem;
        text-shadow: 0px 0px 35px;
    }
}

.hr {
    width: 80%;
}

.highlight-time {
    font-size: larger;
}


/* LANDING POSTER */

.landing-poster-top-text {
    color: var(--sky-blue);
    position: relative;
}

.landing-poster-bottom-text {
    color: var(--white);
    position: relative;
}

.feature-image {
    max-width: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 1rem;
    margin: 1rem;
    float: left;
}

.glow-container {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #315eaa;
    opacity: 0.7;
    box-shadow: 0px 0px 50px 35px #315eaa;
}

.landing-image {
    width: 400px;
}

/* LAYOUT */

.page {
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(var(--silver-gray), var(--pale-blue));
    width: 100%;
    overflow: auto;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.container-section {
    padding: 1rem;
    margin: 1rem;
}

@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 800px) {
    .container {
        padding: 5px;
    }
}


.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.col {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    min-width: 400px;
    margin: 10px;
}

.gap-1 {
    gap: 1rem;
}

.justify-center {
    justify-content: center;
}

@media (max-width: 640px) {
    .col {
        min-width: 300px;
    }
}


/* MODAL */

.modal-title {
    font-size: 4rem;
    margin: 0;
}


.modal {
    display: block;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 15px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.521);
}

.modal-close {
    color: #aaaaaa;
    float: right;
    font-size: 48px;
    font-weight: bold;
    color: orangered;
}

.modal-team {
    display: flex;
    overflow: auto;
}


.modal-team img {
    border-radius: 8px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.521);
}

.modal-close:hover,
.modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}






/* TEAMS GRID */



.card-grid {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    /* Adjust as needed for your layout */
    margin: 0 auto;
    justify-content: center;
}

/* Style the individual card */
.card {
    width: 300px;
    margin: 10px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.521);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: 0.5s;
}

.card-content {
    display: none;
}

.card-content p {
    font-size: 1rem;
}

.card:hover {
    transform: scale(1.1);
}

@media (max-width: 800px) {
    .card {
        width: 80%;
        margin: 10px;
    }

    .card-content {
        display: block;
    }

    .card:hover {
        transform: none;
    }
}

/* Style the card image */
.card img {
    max-width: 100%;
    height: auto;
}

.card-title {
    flex-grow: 1;
    display: flex;
    justify-content: end;
    flex-direction: column;
    font-weight: bold;
}



.flex-grid-item {
    display: flex;
    padding: 5px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

@media (max-width: 800px) {
    .flex-grid-item {
        flex-direction: column;
        align-items: center;
    }

    .flex-grid-item .col-33 {
        width: inherit;
    }

    .flex-grid-item .col-66 {
        width: inherit;
    }
}

.col-33 {
    display: flex;
    flex: 0 0 auto;
    width: 33.3%;
    justify-content: center;
    align-items: center;
}

.col-66 {
    display: flex;
    flex: 0 0 auto;
    width: 66.6%;
    justify-content: center;
    align-items: center;
}

.flex-grid-item-img {
    max-width: 90%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
}

.flex-grid-item-text {
    padding: 1rem;
}


/* GENERAL ANIMATIONS */

.grow-hover {
    transition: 0.5s;
}

.grow-hover:hover {
    transform: scale(1.1);
}

/* NAVBAR */

.navbar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-weight: bold;
    font-size: 1.25rem;
    background-color: rgb(26, 32, 53);
    color: white;
    width: 100%;
}

@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
    }
}

.navbar-link-container {
    display: flex;
    flex-grow: 1;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

@media (max-width: 800px) {
    .navbar-link-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

.navlink {
    color: inherit;
    border: 3px solid var(--dark-blue);
    border-radius: 15px;
    text-decoration: none;
    transition: 0.5s;
    padding: 10px;
    box-sizing: border-box;
    text-shadow: 0px 0px 30px;
}

.navlink:hover {
    color: var(--sky-blue);
    border: 3px solid var(--sky-blue);
    border-radius: 15px;
    transform: scale(1.2);
    box-sizing: border-box;
}

/* ARTICLE */

.article-link {
    text-decoration: none;
    color: var(--orenge-red);
    transition: 0.5s;
}

.article-link:hover {
    text-decoration: underline;
}

.article-highlight {
    text-decoration: none;
    color: var(--orenge-red);
    transition: 0.5s;
}

/* FOOTER */

.footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-weight: bold;
    background-color: rgb(26, 32, 53);
    color: white;
    padding: 20px;
}

.footer a {
    color: inherit;
    text-decoration: none;
}


/* utility */

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.p-1 {
    padding: 1rem;
}


/* Style for the carousel container */
.carousel-container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    position: relative;
  }

  /* Style for the carousel images */
  .carousel-image {
    width: 100%;
    display: none;
  }

  /* Style for the navigation buttons */
  .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
  }

  .prev { left: 10px; }
  .next { right: 10px; }