html {
  font-size: 16px;
  font-family: "Crimson Pro", serif;
  background-color: #fdfaf6;
  color: #2b2d42;
  touch-action: manipulation;
}

body {
  margin: 0;
  padding: 1rem;
  touch-action: manipulation;
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.5em 0;
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 0.5em 0;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.25em 0;
}

#game-board {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 auto;
  max-width: 1200px;
}
@media (min-width: 1024px) {
  #game-board {
    flex-direction: row;
    align-items: flex-start;
  }
}

#university-sections {
  flex: 3;
}

#game-info {
  flex: 1;
}

@media (min-width: 1024px) {
  #game-info-header {
    height: 4rem;
  }
}

.university-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  .university-header {
    height: 5rem;
  }
}
.university-header .title-block {
  flex: 1;
  min-width: 200px;
}
.university-header .title-block h1 {
  margin: 0;
}
.university-header .title-block h3 {
  font-style: italic;
  font-weight: normal;
}
.university-header .game-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.university-header .game-meta #year-display {
  font-size: 1.5rem;
  /*color: $color-primary;*/
  color: rgb(104.8348623853, 109.3853211009, 157.1651376147);
  margin-right: 0.5rem;
}
.university-header .game-meta #timer-display {
  font-size: 1.5rem;
  /*color: $color-primary;*/
  color: rgb(104.8348623853, 109.3853211009, 157.1651376147);
  width: 4rem;
  display: inline-block;
  margin: 0;
}
.university-header .game-meta #timer-display:empty {
  width: 0;
}
.university-header .game-meta #year-display.pregame {
  font-style: italic;
}
.university-header .game-meta #share-button {
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
}
.university-header .game-meta .small-button-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  margin: 0 0.1rem;
}
@media (min-width: 600px) {
  .university-header {
    flex-wrap: nowrap;
  }
  .university-header .game-meta {
    margin-top: 0;
  }
}

/********************** BOARD SECTIONS ***************************/
#university-sections, #game-sections {
  margin: 0;
  padding: 0;
}

.section {
  background: #e8e8e8;
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid #999;
  position: relative;
}
.section h2 {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.section h2 .toggle-caret {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
  stroke: #ef476f;
  margin-left: 0.25rem;
}
.section.collapsed .toggle-caret {
  transform: rotate(-90deg);
}
.section.collapsed .section-content {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: all 0.3s ease;
}
.section.collapsed .section-summary {
  display: block;
}
.section.collapsed .section-summary::after {
  content: " (expand for more)";
  font-style: normal;
  color: #2b2d42;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}
.section .section-summary {
  font-style: italic;
  color: #2b2d42;
  margin-bottom: 0.5rem;
  display: none;
}
.section p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
}
.section p.indent {
  margin-left: 1.5rem;
}
@media (min-width: 600px) {
  .section .section-content {
    max-height: 1200px;
    transition: all 0.3s ease;
    opacity: 1;
  }
}

/*these are for logical grouping and controlling right/left float*/
#students, #endowment, #goals, #performance {
  margin: 0;
}

.short-section-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  gap: 1rem;
}
@media (min-width: 600px) {
  .short-section-container {
    flex-direction: row;
    gap: 1rem;
  }
}
.short-section-container #students, .short-section-container #endowment, .short-section-container #goals, .short-section-container #performance {
  flex: 1;
}

.section-footer {
  text-align: center;
  margin-top: 1rem;
}

.subsection {
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: rgb(239.65, 239.65, 239.65);
  border-radius: 4px;
}
.subsection h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: rgb(22.880733945, 23.9449541284, 35.119266055);
}

.surplus {
  background: rgba(100, 200, 100, 0.1);
  border-left: 4px solid #5cb85c;
}

#updates-text {
  height: 200px;
  width: 80%;
  margin: 0.5em auto;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  color: #2b2d42;
  background-color: #fdfaf6;
  border: 2px solid #2b2d42;
  border-radius: 6px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow-y: auto;
}

.chat-input {
  display: flex;
  align-items: center;
  width: 90%;
  margin: 0.1em auto;
  gap: 0.5rem;
}
.chat-input input[type=text] {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-family: "Crimson Pro", serif;
  color: #2b2d42;
  background-color: #fdfaf6;
  max-width: 300px;
  border: 2px solid #2b2d42;
  border-radius: 6px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.chat-input input[type=text]:focus {
  outline: none;
  border-color: #ef476f;
  box-shadow: 0 0 0 3px rgba(239, 71, 111, 0.2);
}
.chat-input button {
  flex-shrink: 0;
}

#master-page .chat-input {
  width: 90%;
  margin: 0.1em auto;
  gap: 0.5rem;
  text-align: center;
  display: block;
}

#rankings ol {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.section .footnote {
  text-align: center;
  font-style: italic;
  margin: 1rem 0;
}

#goals .goal {
  padding-left: 1rem;
  text-indent: -1.2rem;
}

/********************** GAME TILES ************************/
.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 600px) {
  .tiles {
    max-height: 800px;
    overflow-y: auto;
  }
  .tiles::-webkit-scrollbar {
    width: 8px;
  }
  .tiles::-webkit-scrollbar-thumb {
    background: #2b2d42;
    border-radius: 2px;
  }
}

.tile {
  width: 120px;
  height: 120px;
  padding: 0 0.25rem;
  border: 1px solid #999;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
@media (min-width: 1024px) {
  .tile {
    width: 180px;
    height: 180px;
    padding: 0 0.25rem;
  }
}

/* Distinct background colors for tile types */
#faculty .tile {
  background: #f3e5f5;
}

#estates .tile {
  background: #e0f7fa;
}

.tile .name {
  width: 100%;
  font-size: 0.8rem;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0.25em 0;
}
@media (min-width: 1024px) {
  .tile .name {
    padding: 0.5em 0;
    font-size: 1rem;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
  }
}

.tile img {
  width: 82px;
  height: auto;
  display: block;
  margin: 0.1rem auto;
  mask-image: radial-gradient(ellipse at center, rgb(0, 0, 0) 20%, rgba(0, 0, 0, 0) 100%);
  mask-mode: alpha;
  -webkit-mask-image: radial-gradient(ellipse at center, rgb(0, 0, 0) 20%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-mode: alpha;
}
@media (min-width: 1024px) {
  .tile img {
    width: 130px;
    margin: 0.25em auto;
  }
}

.tile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8em;
  color: #333;
  width: 100px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .tile-footer {
    width: 125px;
    font-size: 1rem;
  }
}

.tile-stat {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.tile-icon, .goal-icon {
  width: 10px;
  height: 10x;
  stroke-width: 1;
  margin: 0 0.1rem;
}
@media (min-width: 1024px) {
  .tile-icon, .goal-icon {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
    margin: 0 0.2rem;
  }
}

/************************ BUTTONS & INPUT ************************/
button {
  font-family: "Crimson Pro", serif;
  touch-action: manipulation;
}

.large-button,
.small-button {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  border: 2px solid #2b2d42;
  background-color: #ef476f;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  touch-action: manipulation;
}
.large-button:hover,
.small-button:hover {
  background-color: rgb(234.92, 24.08, 74.28);
  transform: translateY(-1px);
}
.large-button:active,
.small-button:active {
  transform: translateY(1px);
}

.large-button {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
}

.small-button {
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
}

.small-button.hidden {
  display: none;
}

.small-button-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  margin: 0 0.1rem;
}

.large-button.outline,
.small-button.outline {
  background-color: transparent;
  color: #2b2d42;
  border: 2px solid #2b2d42;
}
.large-button.outline:hover,
.small-button.outline:hover {
  background-color: #e8e8e8;
  transform: translateY(-1px);
}
.large-button.outline:active,
.small-button.outline:active {
  transform: translateY(1px);
}

.large-button:disabled,
.small-button:disabled,
.large-button.disabled,
.small-button.disabled {
  background-color: rgb(251.24, 211.76, 221.16);
  color: rgb(135.7155963303, 139.3302752294, 177.2844036697);
  border-color: rgb(104.8348623853, 109.3853211009, 157.1651376147);
  cursor: not-allowed;
  transform: none;
}
.large-button:disabled:hover,
.small-button:disabled:hover,
.large-button.disabled:hover,
.small-button.disabled:hover {
  background-color: rgb(251.24, 211.76, 221.16);
  transform: none;
}

.giant-button {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
  border: 3px solid #2b2d42;
  background-color: #ef476f;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  font-size: 2rem;
  padding: 1rem 3rem;
  margin-top: 1rem;
}
.giant-button:hover {
  background-color: rgb(234.92, 24.08, 74.28);
  transform: translateY(-2px);
}
.giant-button:active {
  transform: translateY(1px);
}
.giant-button:disabled {
  background-color: rgb(247.16, 164.84, 184.44);
  border-color: rgb(83.2385321101, 87.1100917431, 127.7614678899);
  color: #ddd;
  cursor: not-allowed;
  transform: none;
}

input[type=text] {
  width: 100%;
  max-width: 130px;
  padding: 0.6rem 1rem;
  margin: 0 0.25rem;
  font-size: 1rem;
  font-family: "Crimson Pro", serif;
  color: #2b2d42;
  background-color: #fdfaf6;
  border: 2px solid #2b2d42;
  border-radius: 6px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[type=text]:focus {
  outline: none;
  border-color: #ef476f;
  box-shadow: 0 0 0 3px rgba(239, 71, 111, 0.2);
}
input[type=text]::placeholder {
  color: rgb(83.2385321101, 87.1100917431, 127.7614678899);
  font-style: italic;
}

/******************************** Modal Class *******************/
.modal-wrapper, .modal-wrapper-blocking {
  position: fixed;
  top: 0;
  left: 0;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal-wrapper.hidden, .modal-wrapper-blocking.hidden {
  display: none;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.modal {
  background: #fdfaf6;
  border: 2px solid #2b2d42;
  border-radius: 8px;
  width: 90%;
  padding: 1rem 0.5rem;
  max-width: 800px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}
@media (min-width: 1024px) {
  .modal {
    padding: 2rem;
  }
}
.modal h3 {
  margin: 0 0 1rem 0;
  font-size: 2rem;
}
.modal p {
  font-size: 1.2rem;
  margin: 1rem 0;
}
.modal .modal-buttons {
  display: flex;
  justify-content: center; /*space-between; - changed for single button*/
  gap: 1rem;
  margin-top: 1.5rem;
}
.modal .modal-buttons button {
  flex: 1;
  max-width: 200px;
}

#build-modal .tiles, #hire-modal .tiles {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  height: 350px;
}
@media (min-width: 1024px) {
  #build-modal .tiles, #hire-modal .tiles {
    padding: 1rem;
  }
}
#build-modal .tiles::-webkit-scrollbar, #hire-modal .tiles::-webkit-scrollbar {
  width: 8px;
}
#build-modal .tiles::-webkit-scrollbar-thumb, #hire-modal .tiles::-webkit-scrollbar-thumb {
  background: #2b2d42;
  border-radius: 2px;
}

#build-modal .tile {
  height: 140px;
}
@media (min-width: 1024px) {
  #build-modal .tile {
    height: 210px;
  }
}

#build-modal .tile.selected, #hire-modal .tile.selected {
  box-shadow: 0 0 10px 3px rgba(239, 71, 111, 0.6);
  border-color: #ef476f;
  transform: scale(1.03);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

#build-modal .tile .cost {
  font-weight: bold;
  margin: 0.1rem 0;
  font-size: 0.8rem;
}
@media (min-width: 1024px) {
  #build-modal .tile .cost {
    margin: 0.5rem 0;
    font-size: 1.1rem;
  }
}

#build-modal .message, #message-modal .message {
  margin: 1.5rem 0;
  font-size: 1.25rem;
  text-align: center;
}

#build-modal .error {
  margin: 1.5rem 0;
  font-size: 1.25rem;
  text-align: center;
  color: #ef476f;
}
#build-modal .error:empty {
  display: none;
}

#year-modal .emphasis {
  font-weight: bold;
}

#end-results {
  text-align: left;
  max-width: 80%;
  margin: 1rem auto;
}

/********* Student Enrollment Management Modal *************/
#student-limit {
  text-align: center;
  font-size: 2.5rem;
  margin: 1rem 0;
}

#student-limit-plus, #student-limit-minus {
  margin: 0 0.5rem;
}

/************************* HIRE MODAL ***********************/
#hire-modal .hire-sources {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
#hire-modal .hire-sources .source {
  padding: 0.5rem 1rem;
  background: #e8e8e8;
  border: 2px solid #2b2d42;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
#hire-modal .hire-sources .source.selected {
  background: #ef476f;
  color: white;
  border-color: #ef476f;
}
#hire-modal .hire-sources .source:hover {
  background: rgb(247.16, 164.84, 184.44);
}

/**************************** SHARE MODAL ***********************/
#share-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
}
#share-options label {
  font-size: 1.1rem;
  margin: 0 2rem;
  cursor: pointer;
}
#share-options label input[type=radio] {
  margin-right: 0.5rem;
}

.share-content {
  text-align: center;
  margin-bottom: 1rem;
  height: 300px;
}
.share-content.hidden {
  display: none;
}

#game-code {
  font-size: 3rem;
  font-weight: bold;
}

#copy-invite-link, #copy-share-link {
  margin: 0 0.5rem;
}

#invite-link, #share-link {
  font-weight: bold;
}

.qr-code-container {
  text-align: center;
}

#invite-qr-code, #share-qr-code {
  display: inline-block;
}

#share-options.hidden {
  display: none;
}

#share-modal-players {
  font-size: 1.4rem;
  margin: 1.5rem 0;
  font-weight: bold;
}

/*********************** RANKING DETAILS MODAL ***********************/
#ranking-details-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

#ranking-details-table th,
#ranking-details-table td {
  border: 1px solid #ccc;
  padding: 0.5rem 1rem;
  text-align: center;
}

#ranking-details-table th {
  background: rgb(244.75, 244.75, 244.75);
}

#goals-details-table, #ranking-details-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  height: 350px;
  overflow-y: auto;
}
@media (min-width: 1024px) {
  #goals-details-table, #ranking-details-table {
    height: auto;
    overflow: auto;
  }
}

#goals-details-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

#goals-details-table th,
#goals-details-table td {
  border: 1px solid #ccc;
  padding: 0.5rem 1rem;
  text-align: left;
}

#goals-details-table th {
  background: rgb(244.75, 244.75, 244.75);
}

/***************************** HOME PAGE **************************/
#home-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}
#home-page #home-title {
  text-align: center;
  margin-bottom: 1rem;
}
#home-page #home-title h1 {
  font-size: 2.5rem;
}
#home-page #home-title img.home-image {
  max-width: 200px;
  margin-top: 1rem;
  border: 1px solid #999;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
#home-page #home-title #slogan {
  font-style: italic;
  margin-top: 0.5rem;
  font-size: 1.2rem;
}
#home-page .main-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
@media (min-width: 1024px) {
  #home-page .main-options {
    flex-direction: row;
    justify-content: space-around;
  }
}
#home-page .main-options .play-section, #home-page .main-options .join-section {
  background: #e8e8e8;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  width: 100%;
  height: 220px;
}
#home-page .main-options .play-section p, #home-page .main-options .join-section p {
  margin: 0rem;
}
#home-page .main-options .play-section h2, #home-page .main-options .join-section h2 {
  margin-bottom: 1rem;
}
#home-page .main-options .play-section select, #home-page .main-options .play-section input[type=text], #home-page .main-options .join-section select, #home-page .main-options .join-section input[type=text] {
  display: inline block;
  margin: 1rem;
  padding: 0.5rem;
  font-size: 1rem;
}
#home-page .main-options .play-section #mode-description, #home-page .main-options .join-section #mode-description {
  font-size: 0.9rem;
  color: rgb(83.2385321101, 87.1100917431, 127.7614678899);
}
#home-page .home-links {
  margin-top: 2rem;
  text-align: center;
}
#home-page .home-links div {
  width: 200px;
  margin: 0.5rem 0;
  text-align: center;
}
@media (min-width: 1024px) {
  #home-page .home-links div {
    display: inline-block;
  }
}
@media (min-width: 1024px) {
  #home-page .home-links div:first-child {
    text-align: right;
  }
  #home-page .home-links div:second-child {
    text-align: left;
  }
}
#home-page .home-links a {
  margin: 0 0.5rem;
  text-decoration: underline;
  color: #2b2d42;
}

/*********************** MASTER PAGE *********************************/
#master-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}
#master-page h1 {
  font-size: 2.2rem;
  margin: 1rem;
  text-align: center;
  color: #2b2d42;
}
#master-page #status {
  font-size: 1.5rem;
  color: rgb(104.8348623853, 109.3853211009, 157.1651376147);
  margin: 1rem 0 3rem 0;
  text-align: center;
}
#master-page #rankings.section {
  background: #e8e8e8;
  border: 1px solid #999;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
  max-height: 6000px;
}
#master-page #rankings.section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
#master-page #rankings.section .university-summary {
  margin-bottom: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #cccccc;
}
#master-page #rankings.section .university-summary h3 {
  display: grid;
  grid-template-columns: 5fr 1fr auto;
  align-items: center;
  gap: 0.75rem;
}
#master-page #rankings.section .university-summary h3 .university-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#master-page #rankings.section .university-summary h3 .ranking-points {
  font-size: 0.9rem;
  font-weight: normal;
  color: rgb(83.2385321101, 87.1100917431, 127.7614678899);
}
#master-page #rankings.section .university-summary h3 .summary-metrics {
  display: contents;
}
#master-page #rankings.section .university-summary h3 .toggle-caret {
  cursor: pointer;
  justify-self: end;
}
#master-page #rankings.section .university-summary .motto {
  font-style: italic;
  color: rgb(83.2385321101, 87.1100917431, 127.7614678899);
  margin-bottom: 0.5rem;
}
#master-page #rankings.section .university-summary .details {
  text-align: left;
  margin-top: 0.5rem;
}
#master-page #rankings.section .university-summary .details.hidden {
  display: none;
}
#master-page #rankings.section .university-summary .details h4 {
  margin: 2rem 0 0.5rem 0;
}
#master-page #rankings.section .university-summary .details ul.kpis, #master-page #rankings.section .university-summary .details ul.goals {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}
#master-page #rankings.section .university-summary .details ul.kpis li, #master-page #rankings.section .university-summary .details ul.goals li {
  margin-bottom: 0.3rem;
}
#master-page #rankings.section .university-summary .details .goal-status.completed {
  color: green;
  font-weight: bold;
  margin-left: 0.5rem;
}
#master-page #rankings.section .university-summary .details .goal-status.incomplete {
  color: red;
  margin-left: 0.5rem;
}

#master-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  flex-wrap: wrap;
}
#master-controls .left-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
#master-controls .left-controls button.large-button {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}
#master-controls .right-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#master-controls .right-controls label {
  font-size: 1rem;
  color: #2b2d42;
}
#master-controls .right-controls select {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 2px solid #2b2d42;
  border-radius: 6px;
  background: #fdfaf6;
  color: #2b2d42;
  font-family: "Crimson Pro", serif;
}
@media (max-width: 700px) {
  #master-controls {
    flex-direction: column;
    align-items: stretch;
  }
  #master-controls .left-controls, #master-controls .right-controls {
    justify-content: center;
  }
}

.master-ranking-icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
  margin: 0 0.2rem;
}

#rules-page, #about-page {
  max-width: 1000px;
  margin: 1rem auto;
}
#rules-page h1, #about-page h1 {
  text-align: center;
}
#rules-page .icon, #about-page .icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
  margin: 0 0.1rem;
}

/*********************** RESULTS PAGE *********************************/
#results-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}
#results-page h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #2b2d42;
}
#results-page .university-card {
  background: #e8e8e8;
  border: 1px solid #999;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
}
#results-page .university-card h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}
#results-page .university-card h2 .motto {
  font-size: 1.2rem;
  font-style: italic;
  color: rgb(83.2385321101, 87.1100917431, 127.7614678899);
}
#results-page .university-card .uni-summary p {
  margin: 0.3rem 0;
}
#results-page .university-card .uni-summary p strong {
  color: #2b2d42;
}
#results-page .university-card .uni-section {
  margin-top: 1rem;
}
#results-page .university-card .uni-section h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #ef476f;
}
#results-page .university-card .uni-section ul {
  list-style: inside;
}
#results-page .university-card .uni-section ul li {
  margin: 0.25rem 0;
}
#results-page .university-card .uni-section .goal-status {
  margin-left: 0.5rem;
  font-size: 1.2rem;
}
#results-page .footer-link {
  text-align: center;
  margin-top: 3rem;
}
#results-page .footer-link a {
  font-size: 1.1rem;
  color: #2b2d42;
  text-decoration: underline;
}
#results-page .footer-link a:hover {
  color: #ef476f;
}

/***************** UNIVERSITY IMAGE *************************/
.university-image {
  width: 200px;
  border: 1px solid #999;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
@media (min-width: 1024px) {
  .university-image {
    width: 300px;
  }
}

/*************** Acknowledgment of country *********************/
#acknowledgment {
  margin: 2rem auto;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0.5rem;
}
#acknowledgment img {
  height: 1.75rem;
  margin: 0rem 0.5rem;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
}

/*# sourceMappingURL=styles.css.map */
