

.content-block {
    padding-top: 20px;
    padding-bottom: 10px;
    margin-left: 30px;
    margin-right: 30px;
  }
  
  
  @media(min-width: 900px) {
  .content-block {
    margin-left: 50px;
    margin-right: 50px;
  }
  }
  
  @media (min-width: 1200px) {
  .content-block {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  }
  
  .hero-banner {
    position: relative;
    background-color: rgb(240,245,249);
    display: flex;
    justify-content: center;
  }
  
  .hero-banner h1 {
    color: #39729E;
    font-size: 2.5rem;
  }
  
  
  .hero-banner .hero-image {
    position: absolute;
    display: none;
    height: auto;
  }
  
  .hero-banner .content-block {
    display: flex;
    flex-direction: row;
  }
  
  .hero-banner .content-block .hero-text {
    width: 65%;
  }
  
  .hero-banner .content-block .hero-animation {
    margin-left: 40px;
    margin-top: 45px;
    width: 350px;
    height: 455px;
  }
  
  .hero-banner .content-block .hero-animation video {
    width: 350px;
    height: 455px;
  }
  
  @media (min-width: 1000px) {
  .hero-banner .hero-image {
    display: initial;
    width: 270px;
  }
  }
  
  @media (min-width: 1200px) {
  .hero-banner .hero-image {
    width: 340px;
  }
  }
  
  @media (min-width: 1400px) {
  .hero-banner .hero-image {
    width: 440px;
  }
  }
  
  .hero-banner .hero-image p {
    margin-bottom: 0;
  }
  
  .hero-banner .hero-image-left {
    left: 0;
    bottom: 0;
  }
  
  .hero-banner .hero-image-right {
    right: 0;
    bottom: 0;
  }
  
  
  .hero-banner .content-block {
    z-index: 2;
  }
  
  @media (prefers-reduced-motion: reduce) {
    .hero-banner .content-block {
      max-width: 660px;
    }
    .hero-banner .content-block .hero-text {
      width: 100%;
    }
    
    .hero-banner .content-block .hero-animation {
      display: none;
    }
  }
  
  @media (max-width: 1200px)  {
    .hero-banner .content-block {
      max-width: 660px;
    }
    .hero-banner .content-block .hero-text {
      width: 100%;
    }
    
    .hero-banner .content-block .hero-animation {
      display: none;
    }
  }
  
  
  .hero-banner a {
    text-decoration: none;
  }
  
  .hero-banner h3 {
    margin-top: 1.3rem;
    margin-bottom: 1.3rem;
  }
  
  .hero-banner h4 {
    margin-top: 0;
  }
  
  .hero-banner a[role="button"] {
    margin-right: 17px;
    margin-top: 0.6rem;
    margin-bottom: 1.6rem;
  }
  
  
  .hero-banner #btn-guide {
    background-color: #959595 !important;
    border: none;
  }
  
  
  
  
  .hero-banner ul {
    padding-inline-start: 21px;
    font-size: 1.1rem;
  }
  
  .hero-banner ul li {
    padding-bottom: 0.4rem;
  }
  
  
  .alt-background {
    background-color: rgb(247,249,251);
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
  }
  
  .hello-quarto {
    padding-bottom: 1rem;
  }
  
  @media (min-width: 600px) {
  .hello-quarto-banner {
    display: inline-flex;
    align-content: center;
    justify-content: center;
  }
  
  .hello-quarto-banner h1 {
    margin-right: 40px;
  }
  }
  
  .hello-quarto-banner .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    border: none;
    border-bottom: 2px solid #39729E !important;
    color: #39729E;
    background-color: transparent;
    
  }
  
  .hello-quarto-banner .nav-pills button {
    width: 125px;
  }
  
  .hello-quarto .tab-content {
    border: none;
    padding: 0;
    color: rgb(84, 85, 85);
  }
  
  .hello-quarto .tab-content p {
    font-size: 1.1em;
    margin-bottom: 1.5em;
  }
  
  .hello-quarto div.sourceCode {
    background-color: white;
    border: 1px solid #dee2e6;
  }
  
  .hello-output {
    background-color: white;
    border: 1px solid #dee2e6;
    max-height: 660px;
  }
  
  .features {
    padding-bottom: 2em;
  }
  
  .feature {
    margin-top: 20px;
  }
  
  @media (min-width: 800px) { 
  .features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 0 0 -30px;
    width: calc(100% + 30px);
  }
  .feature {
    width: calc(33% - 30px);
    margin: 20px 0 0 30px;
  }
  }
  
  .feature h3 {
    margin-top: 0;
  }
  
  .feature p:first-of-type {
    margin-bottom: 0.2rem;
    color: rgb(84, 85, 85);
  }
  
  .get-started {
     text-align: center;
     padding-bottom: 2rem;
  }
  
  .get-started h3 {
     margin-top: 1rem;
     margin-bottom: 2rem;
  }
  
  nav.page-navigation {
    display: none;
  }
  
  .nav-footer {
    border-top: none !important; 
  }
  
  .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #ff7518;
  }

@media (min-width: 1020px) {
    .navbar-brand-container {
      margin-right: 1em;
    }
    }
    
    
    
    @media (max-width: 1060px) and (min-width: 991.98px) {
    
    #navbarCollapse ul:last-of-type a.nav-link {
      padding-left: .25em;
      padding-right: .25em;
    }
    
    .navbar #quarto-search {
      margin-left: .1em;
    }
    
    .navbar .bi-twitter,
    .navbar .bi-github,
    .navbar .bi-rss
     {
      font-size: .8em;
    }
    }
    
    
    @media (min-width: 991.98px) {
    #quarto-header {
      border-bottom: 1px solid #dee2e6;
    }
    }
    
    .navbar-brand > img {
      max-height: 36px;
    }
    
    
    .platform-table td {
      vertical-align: middle;
    }
    
    .platform-table td > div.sourceCode {
      margin-top: 0.3rem;
      margin-bottom: 0.3rem;
    }
    
    
    .document-example {
      opacity: 0.9;
      padding: 6px; 
      font-weight: 500;
      margin-bottom: 1rem;
    }
    
    .document-example div {
      padding: 5px;
    }
    
    
    .document-example .citation {
      color: blue;
    }
    
    .trademark {
      font-size: 0.6rem;
      display: inline-block;
      margin-left: -3px;
    }
    
    .search-attribution {
      margin-top: 20px;
      padding-bottom: 20px;
      height: 40px;
    }
    
    .download-button {
      margin-top: 1em;
    }
    
    .download-table {
      margin-bottom: 2em;  
    }
    
    .download-table p {
      margin-bottom: 0;
    }
    
    .download-table .checksum {
      color: var(--bs-primary);
      font-size: .775em;
      cursor: pointer;
      padding-top: 4px;
    }
    
    .download-button {
      display:flex;
      padding-bottom: 10px;
      padding-top: 10px;
    }
    
    .download-button .secondary {
      font-size: .775em;
      margin-bottom: 0;
    }
    
    .download-button .container {
      display: flex;
      padding-left: 10px;
      padding-right: 40px;
    }
    
    .download-button .icon-container {
      fill: white;
      width: 30px;
      margin-right: 15px;
    }
    
    iframe.reveal-demo {
      width: 100%;
      height: 350px;
      outline: none;
    }
    
    
    .slide-deck {
      border: 3px solid #dee2e6;
      width: 100%;
      height: 475px;
    }
    
    @media only screen and (max-width: 600px) {
     .slide-deck {
        height: 400px;
      }
    }
    
    
    @media (max-width: 575px) {
    
    .link-cards .card {
      margin-bottom: 20px;
      margin-right: 35px;
    }
    
    }
    
    @media (min-width: 576px) { 
    .link-cards {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }
    
    .link-cards .card {
      width: 190px;
      margin: 0 20px 12px 0;
    }
    
    
    }
    
    
    .link-cards .card {
      border: none;
      padding: 0;
    }
    
    .link-cards .card-title h4 {
      margin-top: 0;
    }
    
    .link-cards .card-title p {
      margin-bottom: 0;
    }
    
    .link-cards .card-subtitle {
      margin-bottom: 0.7rem;
    }
    
    .link-cards .card-body {
      padding: 0.5rem;
      padding-left: 0.1rem;
    }
    
    .link-cards .card-body ul {
      margin-bottom: 0;
      padding-left: 0;
      list-style-type: none;
    }
    
    .link-cards .card-body ul a {
      text-decoration: none;
    }
    
    .link-cards .card-body ul li {
      padding-bottom: 0.2rem;
    }
    
    
    .card .source-code {
      margin-top: 3px;
    }
    
    .carousel.card {
      font-size: 16px;
      padding-top: 2em;
    }
    
    .carousel.card a {
      text-decoration: none;
    }
    
    .carousel img {
      width: 70%;
      margin-bottom: 110px;
    }
    
    .carousel .carousel-control-prev-icon, 
    .carousel .carousel-control-next-icon {
      margin-bottom: 110px;
    }
    
    
    .gallery-category {
      column-gap: 10px;
    }
    
    .btn-action-primary {
      color: white;
      background-color: #447099 !important;
    }
    
    .btn-action-primary:hover {
      color: white;
    }
    
    .btn-action {
      min-width: 165px;
      border-radius: 30px;
      border: none;
    }
    
    .panel-tabset[data-group="tools-tabset"] .choose-your-tool {
      max-width: 90px;
      margin-right: 25px;
      margin-top: 30px;
      font-weight: 300;
      font-size: 1.3rem;
      text-align: left;
      vertical-align: center;
    }
    
    .panel-tabset[data-group="tools-tabset"] .tab-content {
      border: none;
      padding-left: 5px;
    }
    
    .panel-tabset[data-group="tools-tabset"] .nav-tabs {
      border-bottom: none;
    }
    
    .panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link {
      text-align: center;
      margin-right: 10px;
      margin-top: 10px;
      color: inherit;
      width: 102px;
      font-size: 0.8em;
    }
    
    .panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link, 
    .panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link.active, 
    .panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-item.show .nav-link {
      border: 1px solid  rgb(222, 226, 230);
      border-radius: 10px;
    }
    .panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link:hover {
       border-color: rgb(80,146,221);
       border-width: 1px;
    } 
    
    .panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link.active, 
    .panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-item.show .nav-link {
      border-color: rgb(80,146,221);
      border-width: 2px;
    }
    
    .panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link img {
      width: 65px;
      height: 65px;
      display: block;
      margin-bottom: 2px;
    }
    
    /*
    .panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link {
      text-align: center;
      margin-right: 10px;
      margin-top: 10px;
      color: inherit;
      width: 102px;
      font-size: 0.8em;
    }
     
    .panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link img {
      width: 45px;
      height: 45px;
      margin-left: 10px;
      display: block;
      margin-bottom: 2px;
    }
    */
    
    
    .download-text {
      font-size: 1.1em;
      font-weight: 500;  
    }
    
    .preview-image-grid {
      gap: .75em;
    }
    
    .preview-image-grid p {
      margin-bottom: 0;
    }
    
    .preview-image-label {
      text-align: center;
      font-size: .75em;
      font-weight: 600;
    }
    
    .illustration {
      border: 1px solid #dee2e6;
    }


/* ==========================================================================
   Landing page (docs/index.qmd)

   Everything below is namespaced with `sop-` and is self contained, so it does
   not interact with the quarto.org starter CSS above it. The palette is taken
   from op_logo.svg, which is drawn in the four official Julia colours.
   ========================================================================== */

:root {
  --sop-red: #cb3c33;
  --sop-green: #389826;
  --sop-purple: #9558b2;
  --sop-blue: #4063d8;

  --sop-ink: #1d2330;
  --sop-muted: #566171;
  --sop-body: #4a5568;
  --sop-line: #e2e8f0;
  --sop-surface: #ffffff;
}

.sop-container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.75rem;
}

/* --- Navbar brand -------------------------------------------------------- */

/* The package name is the site title now that the hero no longer carries a
   heading, so it needs more weight than the nav links beside it. */
.navbar-brand,
.navbar .navbar-brand .navbar-title {
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

/* --- Hero ---------------------------------------------------------------- */

.sop-hero {
  background:
    radial-gradient(60rem 26rem at 12% -10%, rgba(64, 99, 216, 0.10), transparent 60%),
    radial-gradient(48rem 24rem at 92% 8%, rgba(149, 88, 178, 0.12), transparent 62%),
    linear-gradient(178deg, #fbfcfe 0%, #f4f7fc 100%);
  border-bottom: 1px solid var(--sop-line);
  padding: 4.25rem 0 3.25rem;
}

.sop-hero-inner {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.sop-hero-text {
  flex: 1 1 auto;
  min-width: 0;
}

.sop-hero-logo {
  flex: 0 0 250px;
}

.sop-hero-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 32px rgba(29, 35, 48, 0.16));
}

.sop-title {
  /* The package name is one long unbreakable word, so the lower bound of the
     clamp has to stay small enough for it to fit a phone viewport. */
  font-size: clamp(1.5rem, 6.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--sop-ink);
  margin: 0 0 0.85rem;
  overflow-wrap: break-word;
}

.sop-tagline {
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  line-height: 1.45;
  color: var(--sop-body);
  font-weight: 400;
  margin: 0 0 1rem;
  max-width: 34em;
}

.sop-lede {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sop-body);
  max-width: 36em;
  margin: 0;
}

/* --- Buttons ------------------------------------------------------------- */

.sop-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.9rem 0 0;
}

.sop-btn {
  display: inline-block;
  padding: 0.62rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.sop-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.sop-btn-primary {
  background-color: var(--sop-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(64, 99, 216, 0.28);
}

.sop-btn-primary:hover {
  background-color: #3453c4;
  color: #fff;
  box-shadow: 0 10px 22px rgba(64, 99, 216, 0.34);
}

.sop-btn-secondary {
  background-color: var(--sop-surface);
  border-color: var(--sop-line);
  color: var(--sop-ink);
}

.sop-btn-secondary:hover {
  border-color: #c3cddc;
  color: var(--sop-ink);
}

/* --- Sections ------------------------------------------------------------ */

.sop-section {
  padding: 3.5rem 0;
}

.sop-section-alt {
  background-color: #fafbfd;
  border-top: 1px solid var(--sop-line);
  border-bottom: 1px solid var(--sop-line);
}

.sop-section-title {
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--sop-ink);
  margin: 0 0 0.5rem;
}

.sop-section-sub {
  color: var(--sop-body);
  margin: 0 0 2rem;
  max-width: 46em;
}

/* --- Feature cards ------------------------------------------------------- */

.sop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 1.4rem;
}

.sop-card {
  background-color: var(--sop-surface);
  border: 1px solid var(--sop-line);
  border-top: 3px solid var(--sop-blue);
  border-radius: 10px;
  padding: 1.4rem 1.35rem 1.5rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.sop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(29, 35, 48, 0.09);
}

.sop-card p {
  color: var(--sop-body);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.sop-card-title {
  display: block;
  font-size: 1.06rem;
  font-weight: 650;
  color: var(--sop-ink);
  margin-bottom: 0.55rem;
  text-decoration: none;
}

.sop-card-title:hover {
  text-decoration: underline;
}

.sop-card-op { border-top-color: var(--sop-red); }
.sop-card-gop { border-top-color: var(--sop-green); }
.sop-card-sop { border-top-color: var(--sop-purple); }
.sop-card-rep { border-top-color: var(--sop-blue); }

/* --- Example ------------------------------------------------------------- */

.sop-example .sourceCode,
.sop-example pre {
  border-radius: 8px;
}

.sop-example div.cell-output pre {
  background-color: #f6f8fb;
  border: 1px solid var(--sop-line);
}

/* --- Closing call to action ---------------------------------------------- */

.sop-cta {
  text-align: center;
  padding: 3.25rem 0 3.75rem;
}

.sop-cta .sop-buttons {
  justify-content: center;
}

/* --- Narrow screens ------------------------------------------------------ */

@media (max-width: 860px) {
  .sop-hero {
    padding: 3rem 0 2.5rem;
  }

  .sop-hero-logo {
    display: none;
  }
}

@media (max-width: 480px) {
  .sop-container {
    padding-inline: 1.15rem;
  }

  .sop-section {
    padding: 2.5rem 0;
  }
}

