/* Imported DM Sans from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* I Loaded in PP Fragment Glare Light from SIR site */
@font-face {
  font-family: 'PP Fragment Glare Light';
  src: url('https://www.sirweb.org/assets/SirWeb/fonts/PPFragment-Glare/PPFragment-GlareLight.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* PP Fragment font family has to be used and spelled as listed below- copy and paste for future use to ensure accurate font loading */
h1, h2, h3, h4, h5 {
  font-family: 'PP Fragment Glare Light', montserrat, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 230%;
  line-height: 145%;
  color: #041E42;
}

/* Overall UI Text Font- DM sans */
body, button, label, input, select, textarea, .group-credits .course-credit-title, #block-course-navigation #course-nav li a, .group-right .group-course-summary legend span, .field-name-add-to-calendar .field-label, .group-event-location .group-event-date .field-label, label.option, .course-sidebar .webform-client-form label, #ctc-followup-form label, #ctc-submission-form label, div.quiz-report .quiz-report-question-header h3, div.quiz-report .quiz-report-response-header, #pre-req-courses .item-content .req-status, #content-area thead th:first-child, #content-area .view-ethosce-catalog .catalog-list-row, #ethosce-courses-push-enable, #content-area .field-name-field-faculty-list .view-faculty-bios{
  font-family: 'DM Sans', Arial, sans-serif !important;
  text-transform: none; 
  font-weight: normal;
  font-size: 14px;
  line-height: 175%;
}

/* Body Styling */
body {
  position: relative;
  background: linear-gradient(135deg, #F4F4F4 50%, #FFFBF4 100%);
  background-repeat: no-repeat;
  background-size: 100% auto;
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  overflow-x: hidden;
}

/* Background ellipse shape */
body::after {
  content: "";
  position: absolute;
  top: 25vh;
  left: 0;
  width: 70vw;
  max-width: 1100px;
  height: auto;
  aspect-ratio: 1 / 1;
  background-image: url("https://raw.githubusercontent.com/SIRcweber/blobImg/main/Bg%20Shape%201.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top left;
  z-index: -1;
  pointer-events: none;
}

/* Heading Overrides */
body h1 {
  font-family: 'PP Fragment Glare Light';
  font-size: 40px;
  letter-spacing: 0.03em;
}
body h2 {
  font-family: 'PP Fragment Glare Light';
  font-size: 30px;
  letter-spacing: 0.03em;
}
body h3 {
  font-family: 'PP Fragment Glare Light';
  line-height: 1.5;
}
body h4 {
  font-family: 'PP Fragment Glare Light';
  font-size: 18px;
  letter-spacing: 0.02em;
}
body h5 {
  font-family: 'PP Fragment Glare Light';
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #000;
}

/* Additional paragraph and list styling */
body p {
  color: #000000;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
}
body li {
  color: #000000 !important;
  font-size: 16px;
}
body p.b {
  color: #000000;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

/* Card Hover Styling (hover green) */
.col-1.col-first,
.col-2,
.col-3 {
  background-color: white;
  transition: background-color 0.3s ease-in-out;
  position: relative;
  cursor: pointer;
}

.col-1.col-first .views-field-field-course-image-cards,
.col-2 .views-field-field-course-image-cards,
.col-3 .views-field-field-course-image-cards {
  background-color: transparent !important;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.col-1.col-first:hover,
.col-2:hover,
.col-3:hover {
  background-color: #E3EBD8;
  transition: background-color 0.3s ease-in-out;
}

/* Footer Styling */
footer {
  position: relative;
  padding-top: 10px;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: green;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}