/* css styles */

@font-face {
  font-family: 'Baar Philos Regular';
  font-style: normal;
  font-weight: lighter;
  src: local('Baar Philos Regular'), url('includes/baarprg_.woff') format('woff');
}



/* nav-item is the container for nav-link */
.nav-item {
  padding-right: 15px;
}

.nav-link {
  font-family: "Baar Philos Regular";
  font-weight: 400;
  font-size: 120%;
  padding-right: 220px;
}

.toc {
  word-wrap: normal;
  word-break: normal;
  max-width: 250px; /* Or a suitable width */
}


#quarto-sidebar {
  background-color: #edecec;
}

#quarto-sidebar .nav-link {
  font-family: 'Baar Philos Regular';
  font-size: 80%;
  word-break: keep-all;
}

body {
  background-image: url("includes/vertical_wallpaper4.jpg");
  background-repeat: no-repeat;
  /*background-position: center;
  background-attachment: fixed; */
  background-size: cover; 
}

/* Give the main content a semi-transparent background */
main {
  background-color: rgba(250, 249, 247, 0.92);
  padding: 20px;
}

.callout-body {
  background-color: ghostwhite;
}

/* We want the title to be in the meta data, but not displayed */
.navbar-brand {
  display: none;
}

.navbar-logo {
    height: 4em !important;
    max-width: unset !important;
    max-height: unset !important;
    padding-right: 40px;
}
@media screen and (max-width: 1200px) {
  .navbar-logo {
    max-height: 44px !important;
  }
}

.nav-link {
  margin-right: 20px;
}

.column-margin {
  margin-left: 15px;
  font-size: 85%;
  line-height: 140%;
  color: #888;
} 

.hero-header {
  display: flex;
  height: 400px;
  margin-bottom: 20px;
  border-radius: 20px;
  align-items: flex-start;
  justify-content: center; /* Horizontal centering */
  background-image: url("includes/Utopia_2048_Berlin.jpg");
  background-repeat: no-repeat;
  background-size: cover; 
}

.hero-references {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 12px; /* adjust as necessary */
  color: white;
}

.center-container {
  /* height: 100vh; Full viewport height */
  display: flex;
  align-items: center; /* Vertical centering */
  justify-content: right; /* Horizontal centering */
}

.responsive-video {
  width: 100%;
  height: auto;
}

/* MUSEUM SHOWCASE EXHIBIT */

.museum-showcase {
  width: 350px; /* Restricted width */
  float: right; /* Float to the right to allow text on the left */
  margin: 30px auto;
  margin-left: 20px;
  padding: 20px;
  background: url('includes/old_paper.jpg'); /* Replace with actual parchment background image URL */
  background-size: cover;
  border: 10px solid #654321; /* Simulated dark wood or old leather frame */
  box-shadow: 0 0 20px rgba(0,0,0,0.7); /* Deep shadow for an aged effect */
  /* font-family: 'Georgia', serif; */
  color: #000000; /* Dark brown text color */
  text-align: center;
  position: relative;
}

/* Responsive adjustments: On small screens, the text should not be on the side of the exhibit */
@media (max-width: 750px) {
  .museum-showcase {
    width: 100%; /* Full width on small screens */
    float: none; /* Disable floating */
    margin: 10px 0; /* Adjust margin */
  }
}

.showcase-label {
  position: absolute;
  top: -2em;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  background-color: #b38b5e; /* Faded gold or aged brass */
  padding: 5px 20px;
  border: 3px solid #654321; /* Dark frame border */
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
  font-weight: bold;
  font-size: 1em;
}

.showcase-content {
  margin-top: 30px;
  font-size: 1em;
  line-height: 1.1;
  font-style: italic;
}

/* END OF MUSEUM SHOWCASE */



.quote_container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start; /* Aligns items at the top */
  padding: 20px;
  background-color: #fdfdfd; /* Off-white background color */
  border: 1px solid #ccc; /* Subtle border for a worn look */
  box-shadow: 5px 5px 15px rgba(0,0,0,0.3); /* Soft shadow for a lifted paper effect */
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); /* Simulates a jagged top and bottom edge */
}

.quote_container:before,
.quote_container:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to right, rgba(248, 248, 248, 0), rgba(248, 248, 248, 1), rgba(248, 248, 248, 0));
    z-index: 1;
}

.quote_container:before {
    top: -5px;
    transform: rotate(-2deg);
}

.quote_container:after {
    bottom: -5px;
    transform: rotate(2deg);
}

/* The "Solarpunk 2050" quote text */
.text-content {
    flex: 1 1 60%; /* takes up 60% of the quote_container width */
    padding: 20px;    
}

/* The "Solarpunk 2050" quote image */
.image-content {
    flex: 1 1 40%; /* takes up 40% of the quote_container width */
    display: flex;
    justify-content: center;
    padding: 20px;
}

.image-content img {
    width: 100%;
    height: auto;
    max-width: 600px; /* limits image width */
}



/* Responsive adjustments */
@media (max-width: 800px) {
  .quote_container {
    flex-direction: column; /* Stacks the flex children vertically */
}

  .image-content {
      flex: 1 1 100%; /* Each takes full width of the quote_container */
      order: -1; /* Moves the image above the text */
  }

  .text-content {
      flex: 1 1 100%; /* Each takes full width of the quote_container */
  }
}

.call_to_action {
  color: #3B6E36;
  font-weight: bold;
  font-size: 150%;
}


/* Profile card */

.card_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Creates as many columns as can fit without shrinking the cards below 250px */
  gap: 20px; /* Space between grid items */
  justify-content: center; /* Centers the grid items in the grid container if there's extra space */
  padding: 20px; /* Padding around the entire grid */
  font-family: Montserrat;
}

.card {
  padding: 15px;
  width: 100%; /* Makes the card expand to fill the grid column */
  background: #222;
  color: #b3afbf;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.7);
  user-select: none;
}

.cover-photo {
    position: relative;
    background: url('includes/Irland1.jpg');
    background-size: cover;
    height: 180px;
    border-radius: 5px 5px 0 0;
}

.profile {
    position: absolute;
    width: 120px;
    bottom: -60px;
    left: 15px;
    border-radius: 50%;
    border: 2px solid #222;
    background: #222;
    padding: 5px;
}

.profile-name {
    font-size: 18px;
    margin: 20px 0 0 120px;
    color: #fff;
}

.about {
    margin-top: 30px;
    line-height: 1.6;
}

.btn {
    margin: 30px 15px;
    background: #7ce3ff;
    padding: 10px 25px;
    border-radius: 3px;
    border: 1px solid #7ce3ff;
    font-weight: bold;
    font-family: "Baar Philos Regular";
    cursor: pointer;
    color: #222;
    transition: 0.2s;
}

.btn:last-of-type {
    background: transparent;
    border-color: #7ce3ff;
    color: #7ce3ff;
}

.btn:hover {
    background: #7ce3ff;
    color: #222;
}

.icons {
    width: 180px;
    margin: 0 auto 10px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.icons i {
    cursor: pointer;
    padding: 5px;
    font-size: 5px;
    transition: 0.2s;
}

.icons i:hover {
    color: hsl(29, 67%, 62%);
}


/* Icon Table */

.container {
  display: flex;
  justify-content: center;
  background-color: #fefbfb;
  padding: 40px 0;
  color: #000000;
}

.column {
  flex: 1;
  text-align: center;
  max-width: 300px;
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

.table_text {
  text-align: center;
  margin-top: 20px;
}


.icon {
  font-size: 50px;
  margin-bottom: 0px;
  text-align: center;
}



/* MOVIE POSTER */

.movie_container {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* Center items vertically */
  width: 100%;
  max-width: 1200px;
  background-color: ghostwhite;
  padding: 20px;
  margin: 10px 0;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.movie_description_left,
.movie_description_right {
  flex: 1;
  max-width: 60%;
}

.movie_poster_left,
.movie_poster_right {
  flex: 1;
  max-width: 40%;
}

.movie_description_left {
  margin-right: 20px;
  order: 1;
}

.movie_description_right {
  margin-left: 20px;
  order: 2;
}

.movie_poster_left {
  order: 1;
}

.movie_poster_right {
  order: 2;
}

.movie_poster_left img,
.movie_poster_right img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 600px) {
  .movie_description_left,
  .movie_description_right,
  .movie_poster_left,
  .movie_poster_right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .movie_description_left,
  .movie_description_right {
    margin-top: 20px;
  }

  .movie_poster_left,
  .movie_poster_right {
    order: 1;
  }

  .movie_description_left,
  .movie_description_right {
    order: 2;
  }
}




details {
  margin-bottom: 1em;
  border: 1px solid #ddd;
  border-radius: 4px;
}

summary {
  background-color: #f9f9f9;
  padding: 1em;
  cursor: pointer;
}

details[open] summary {
  background-color: #e9e9e9;
}

details > p {
  padding: 1em;
}