/*COLOR PALET
--fire-engine-red: #d6001aff;
--dark red: #8A0010;
--amber: #ffbf00ff;
--ucla-blue: #2274a5ff;
--sea-green: #32936fff;
--white: #ffffffff;
--midnight black: #090b1a
 */

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif, sans-serif;
    margin: 0;
    background-color: #fff;
    line-height: 140%;
}
header {
    background-color: #fff;
    color: #090b1a;
    text-align: center;
    padding-top: 10px;
}

h1{
  color: #090b1a;
  font-size: 30px;
}

h2{
  color: #090b1a;
  font-size: 24px;
}

h3{
  color: #090b1a;
  font-size: 20px;
}

h4{
  color: #090b1a;
  font-size: 18px;
}

h5{
  color: #090b1a;
  font-size: 16px;
}

p {
  color: #090b1a;
  font-size: 18px;
}

.white {
  color: white
}

.blue {
  color: #2274a5;
}

nav {
    display: flex;
    justify-content: center; /* Distribute space between items */
    background-color: #2274a5; /* Background color for the navigation bar */
}
nav a {
    flex: 1;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    padding: 5px;
    display: inline-block;
    text-align: center;
    line-height: 125%;
    transition: background-color 0.3s ease;
    max-width: 150px; 
}


nav a:hover {
    background-color: #5da2cb; /* Change background color on hover */
}

section {
    padding: 20px;
    text-align: center;
}
footer {
    background-color: #2274a5;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.header-bg {
  width: 100%;
  max-height: 400px;
  background-image: url('assets/Over-Water-2.jpg');
  background-position: top;
  background-size: cover;
}

.header-image {
    position: center;
    top: 0;
    left: 0;
    margin: 10px; /* Add some margin for spacing */
    max-width: 200px; /* Set the maximum width of the image */
    height: auto; /* Maintain aspect ratio */
    background-color: #fff;
    border-radius: 15px;
}


.logoAndTitle {
  align-items: center;
  background-color: #fff;
  border-radius: 20px;
  padding: 10px;
}

.logo {
  max-width: 100%;
  display: flex; /* Use flexbox for centering */
  align-items: center;
  background-color: #fff;
  border-radius: 25%;
}

.logo img {
    max-width: 100%; /* Make the image responsive */
    height: auto; /* Maintain the aspect ratio */
}
@media screen and (max-width: 767px) {
    .logo {
        max-width: 80px; /* Small size for mobile */
    }
    body {
        padding: 0px; /* Reduce padding for mobile */
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .logo {
        max-width: 100px; /* Medium size for tablets */
    }
    body {
        padding: 0px; /* Adjust padding for tablets */
    }
    nav a {
        line-height: 125%;
    }
}

@media screen and (min-width: 1024px) {
    .logo {
        max-width: 200px; /* Larger size for desktop */
    }
    body {
        padding: 0px; /* Increase padding for desktop */
    }
    nav a {
        line-height: 125%;
    }
}

.bpAlignL {
  align-content: Left;
}

.AlignC {
  align-content: Center;
}

.textAlignL {
  text-align: left;
}

.Center {
    text-align: center;
}

.chronology-section {
    text-align: left;
}

.contactSVGs {
  max-height: 16px;
}

.pdfSVGs{
  max-height: 26px;
  vertical-align: middle;
  margin-right: 0.5em;
}

.midsize-SVG {
  max-height: 50px;
  border-radius: 50%;
  transition: background-color 0.3s;
  padding: 15px;
  border-style: solid;
  border-color: #2274a5;
}

.midsize-SVG:hover {
    background-color: #5da2cb; /* Change background color on hover */
    
}

.magazine-container {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
}

.magazine-grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px; /* Adjust the gap between grid items */
}

.magazine-cover {
    text-align: center;
}

.magazine-cover:hover{
  cursor: pointer;
}

.magazine-cover img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.magazine-cover img:hover {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
}

.magazine-cover p {
    margin-top: 10px;
    font-weight: bold;
}

.pill-container {
  display: inline-block;
  padding: 10px 20px; /* Adjust padding as needed */
  border-radius: 25px; /* Adjust border-radius to make it pill-shaped */
  background-color: #2274a5; /* Set your desired background color */
  transition: background-color 0.4s;
}

.pill-container:hover {
  display: inline-block;
  padding: 10px 20px; /* Adjust padding as needed */
  border-radius: 25px; /* Adjust border-radius to make it pill-shaped */
  background-color: #5da2cb; /* Set your desired background color */

}

.pill-container-no-hover {
  display: inline-block;
  padding: 10px 20px; /* Adjust padding as needed */
  border-radius: 25px; /* Adjust border-radius to make it pill-shaped */
  background-color: #2274a5; /* Set your desired background color */
}

.pill-link {
  color: #fff; /* Set text color */
  text-decoration: none;
}

.pill-link:hover {
  color: #fff; /* Set text color */
  text-decoration: none;
}

.yellowH1BG {
  display: inline;
  background-color: #ffbf00;
}

.yellowbackground{
  background-color: #ffbf00;
  max-width: 800px;
  margin: 0 auto;
}

.image-wrap {
  float: left; /* or float: right; to position the image to the right */
  shape-outside: url('your-image-path.png');
  shape-margin: 10px; /* Adjust this value to control the margin between text and the image */
}

.twoColumn {
  display: flex;
  max-width: 800px;
  border: 4px solid #2274a5;
  padding: 20px;
  margin: 20px auto;
}

.center-content {
  display: flex;
  flex-direction: column; /* Stacks the child elements vertically */
}

.twoColumnX {
  display: flex;
  max-width: 800px;
  border: none;
  padding: 20px;
  margin: 20px auto;
}

/* Add space between columns */
.twoColumnX .column {
  margin-right: 20px; /* You can adjust the margin value to control the space */
}

/* Remove margin from the last column to prevent extra space */
.twoColumnX .column:last-child {
  margin-right: 0;
}

.column {
  margin-right: 20px; /* You can adjust the margin value to control the space */
}

/* Remove margin from the last column to prevent extra space */
.column:last-child {
  margin-right: 0;
}

.Columnizer {
  flex-basis:48%;
  margin-right: 20px;
}

.borderizer {
  border: 4px solid #2274a5;
}

.payment-options {
  flex-basis: 48%; /* Adjust the width of the left column */
  margin-right: 20px; /* Add margin to create space between columns */
}

.payment-methods {
  flex-basis: 48%; /* Adjust the width of the right column */
}

.payment_buttons {
  max-width: 200px;
}

.article-container {
    max-width: 800px; /* Adjust this value as needed */
    margin: 0 auto; /* Center the container horizontally */
    padding: 20px; /* Add some padding for spacing */
    text-align: justify;
}

/* Styles for hyperlinks with the "plain-link" class */
a.plain-link {
    text-decoration: none;
    color: #fff;
}

/* Hover styles for "plain-link" class */
a.plain-link:hover {
    color: #fff;
}

.maxWidthTable {
  max-width: 800px;
  
}

/* INSTRUCTOR TABLE */

/* Apply styles to the table */
table {
    width: 100%; /* Make the table fill its container */
    border-collapse: collapse; /* Remove spacing between table cells */
}

/* Style table headers */
th {
    background-color: #f2f2f2; /* Add a background color */
    padding: 10px; /* Add padding to headers for spacing */
    text-align: left; /* Align text to the left within headers */
    border: 1px solid #2274a5; /* Add a border to headers */
}

/* Style table data cells */
td {
    padding: 10px; /* Add padding to cells for spacing */
    text-align: left; /* Align text to the left within cells */
    border: 1px solid #2274a5; /* Add a border to cells */
}

/* Alternate row background color for better readability */
tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}


/* history carousel styling */

.history-carousel {
  max-width: 800px;
  margin: 0 auto; /* Center the carousel horizontally */
  overflow: hidden; /* Hide overflow to keep it clean */
}

.history-card {
  display: none; /* Hide all cards by default */
  background-color: #fff; /* Card background color */
  border: 1px solid #ccc; /* Card border */
  border-radius: 8px; /* Rounded corners */
  padding: 20px;
  text-align: left;
}

.prev-button,
.next-button {
  margin-top: 10px;
}

/*///////////////////////BOOK VIEWER///////////////////////////*/
.book {
    transition: transform 0.5s ease; /* Add a smooth transition effect */
}

.pdf-container {
  justify-content: center;
  margin: 0 10%
  
}

iframe {
  width:100%;
  max-width: 1200px;
  height: 100vh;
}

/*//////////////////////////////Community photos carousel////////////////////////*/

#carousel {
  width: 800px; /* Set your desired width */
  height: 400px; /* Set your desired height */
  overflow: hidden;
}

.carouselimg {
  width: 100%;
  height: auto;
  display: none;
}
