@font-face {
  font-family: "Creato";
  src: url("/fonts/CreatoDisplay-Bold.otf") format("opentype");
  font-weight: bold;
}

@font-face {
  font-family: "Creato";
  src: url("/fonts/CreatoDisplay-ExtraBold.otf") format("opentype");
  font-weight: bolder;
}

@font-face {
  font-family: "Creato";
  src: url("/fonts/CreatoDisplay-Medium.otf") format("opentype");
  font-weight: medium;
}

@font-face {
  font-family: "Creato";
  src: url("/fonts/CreatoDisplay-Regular.otf") format("opentype");
  font-weight: normal;
}

@font-face {
  font-family: "Julia Mono";
  src: url("/fonts/JuliaMono-Bold.woff2") format("woff2");
  font-weight: bold;
}

@font-face {
  font-family: "Julia Mono";
  src: url("/fonts/JuliaMono-Light.woff2") format("woff2");
  font-weight: lighter;
}

@font-face {
  font-family: "Julia Mono";
  src: url("/fonts/JuliaMono-Regular.woff2") format("woff2");
  font-weight: normal;
}

@font-face {
  font-family: "Julia Mono";
  src: url("/fonts/JuliaMono-RegularItalic.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
}

:root {
  --secondary: #f8f8f8;
  --primary: #0F0F10;
  --tertiary: #545455;
  --test: #a3e96a;
  --success: #13843D;
  --error: #B22637;
  --link: rgb(100, 108, 255);
  --selection: rgba(100, 108, 255, 0.8);
  --transparent: rgba(0,0,0,0);

  font-family: "Creato", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  width: 99vw;
  height: 100vh;
  padding: 0;
  margin: auto;
  overflow-x: hidden;

  color: var(--primary);
  background-color: var(--secondary);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, html, body {
  margin: 0;
  background-color: var(--secondary);
  color: var(--primary);
  scroll-behavior: smooth !important;
}

::selection {
  background: var(--selection);
}

.sr-only {
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

p {
  font-size: 1.3rem;
  margin: 0;
}

li {
  font-size: 1.3rem;
}

a {
  text-decoration: none;
  padding: 0;
}

h1 {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.1;
  margin: auto 0;
}

h2 {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.1;
  margin: auto 0;
}

h3 {
  font-size: 1.4em;
  font-weight: 500;
  line-height: 1.1;
  margin: auto 0;
}

h4 {
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1.1;
  margin: auto 0;
}

h5 {
  font-size: 1em;
  color: #797979;
  font-weight: 600;
  line-height: 1.1;
  margin: auto 0;
}

button {
  font-family: "Creato", Helvetica, Arial, sans-serif;
}

pre {
  padding: 1rem;
  border: 1px solid rgb(200, 200, 200);
  margin: 2rem 1rem;
}

pre, code {
  background-color: rgb(234, 234, 234);
  font-size: 1rem;
}

section {
  padding: 0 1rem;
  scroll-margin: 7rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

input, textarea {
  font-family: "Julia Mono", monospace, sans-serif;
  font-size: 1rem;
  padding: 0.5rem 0.7rem;
  border: 5px solid var(--primary);
  background-color: var(--secondary);
  color: var(--primary);
  -webkit-border-radius: 0;
  border-radius: 0;
}

img {
  image-rendering: crisp-edgesf;
}

#error-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: min-content;
}




/* FOR DEBUGGING */
/* * {
  outline: 1px solid #f00 !important;
} */




/* MARKDOWN */

.md-body-content {
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
  gap: 1.5rem;
  box-sizing: border-box;
}

.md-image-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
}

.md-image-container img {
  padding: auto;
  max-height: 40rem;
}

.md-image-caption {
  font-family: "Julia Mono", monospace;
  font-weight: 900;
  color: var(--tertiary);
  text-align: center;
  margin-top: 1rem;
}

.md-body-content img {
  box-sizing: border-box;
  max-width: 100%;
}

.md-body-content h1 {
  margin-bottom: 1.5rem;
}

.md-body-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.md-body-content h3 {
  font-weight: 900;
  margin-bottom: 1rem;
  margin-top: 3rem;
}

.md-body-content a:hover *, .md-body-content a:hover {
  color: var(--link);
}



/* SHARED COMPONENTS */

.link:hover {
  color: var(--link) !important;
  fill: var(--link);
}

.link:hover::selection {
  color: var(--secondary);
}

.section-heading {
  font-family: "Julia Mono", monospace;
  font-size: 4rem;
}

.button {
  background-color: rgba(0, 0, 0, 0);
  justify-content: space-between;
  font-family: "Julia Mono", monospace;
  display: flex;
  align-items: center;
  font-weight: 900;
  padding: 0.5rem 1rem;
  color: var(--primary);
  font-size: large;
  border-radius: 0;
  border: 5px solid var(--primary);
  transition: border-radius 0.2s, border-color 0.2s, background-color 0.2s, color 0.2s;
}

.button:hover, .button.active  {
  background-color: var(--primary);
  color: var(--secondary);
  cursor: pointer;
  border-radius: 30px;
  border: 5px solid var(--primary);
}

.button.loading {
  background-color: var(--secondary) !important;
}


.button:hover span, .button.active span {
  color: var(--secondary);
  fill: var(--secondary);
}

.button span {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--transparent);
}

.button svg {
  background-color: var(--transparent);
  fill: var(--secondary);
}

.button:disabled {
  background-color: rgba(0, 0, 0, 0);
  color: var(--primary);
  border-radius: 0;
  border: 5px solid #797979;
  cursor: not-allowed;
}

.button:disabled span {
  color: #797979;
}

#content-area {
  display: flex;
  flex-direction: column;
  max-width: 1400px;
  margin: auto;
  box-sizing: border-box;
}

#content {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  gap: 12rem;
  padding: 0rem 3rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.tag-pill {
  font-family: "Julia Mono", monospace;
  font-weight: 900;
  background-color: var(--primary);
  color: var(--secondary);
  padding: 0.2rem 0.8rem;
  border-radius: 30px;
  width: min-content;
  white-space: nowrap;
  font-size: 0.8rem;
  height: 1.75rem;
  display: flex;
}

.tag-pill p {
  background-color: var(--transparent);
  color: var(--secondary);
  font-size: 1rem;
  margin: auto;
}







/* HEADER */

#header {
  display: flex;
  background-color: var(--secondary);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  z-index: 50;
  justify-content: space-between;
  box-sizing: border-box;
  font-family: "Julia Mono", monospace;
  font-weight: 900;
  font-size: large;
}

#header-left {
  display: flex;
  align-items: center;
}

#header-right {
  display: flex;
  gap: 2rem;
  align-items: center;
}

#jullitt-logo-text {
  color: var(--primary);
  white-space: nowrap;
}

.logo-button div {
  display: flex;
  height: min-content;
}

.logo-button svg {
  width: 2rem;
  height: 2rem;
}

#header-contact-logos {
  display: flex;
  gap: 1rem;
}





/* CONTACT FORM */

#contact-header-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* bit messy but works at least */
.contact-button span svg {
  fill: var(--primary);
}

.contact-button:hover span svg {
  fill: var(--secondary);
}

.contact-button span div {
  width: 2rem;
  height: 2rem;
  background-color: var(--transparent);
}





/* BREADCRUMBS */

#breadcrumbs {
  font-family: "Julia Mono", monospace;
  font-weight: 900;
  display: flex;
  margin-top: 1.5rem;
  gap: 1rem;
}

.breadcrumb-item {
  display: flex;
  gap: 1rem;
}

.breadcrumb-item p {
  font-size: 1rem;
}

.breadcrumb-item.active p {
  color: var(--tertiary);
}


/* HERO SECTION */

#hero-section {
  display: flex;
  width: 100%;
  height: 100vh;
}

#hero-text {
  font-size: 8rem;
  overflow-wrap: break-word;
  hyphens: auto;
}




/* ABOUT SECTION */

.about-text p {
  line-height: normal;
  font-size: 2rem;
}




/* PROJECTS SECTION */

#projects-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-card {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 6rem;
}

.project-card-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1.75rem;
}

.project-external {
  background-color: var(--transparent);
}

.project-card-thumbnail-container {
  height: 24rem;
  width: 36rem;
  overflow: hidden;
  position: relative;
  display: flex;
}

.project-card-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
  transform-origin: center center;
}

.project-card:hover .project-card-thumbnail {
  transform: scale(1.05);
}

.project-card:hover .project-title, .project-card:hover svg  {
  color: var(--link);
  fill: var(--link);
  display: flex;
  align-items: center;
}

.project-card:hover .project-title::selection {
  color: var(--secondary);
}

.project-title {
  font-size: 2.5rem;
  font-weight: 900;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
  hyphens: auto;
}

.project-description {
  font-family: "Julia Mono", monospace;
  font-weight: 900;
  color: var(--tertiary);
}






/* POSTS SECTION */

#posts-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-card:hover .post-title {
  color: var(--link);
}

.post-card:hover .post-title::selection {
  color: var(--secondary);
}

.post-card-thumbnail-container {
  height: 16rem;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
}

.post-card-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
  transform-origin: center center;
}

.post-card:hover .post-card-thumbnail {
  transform: scale(1.05); /* 10% zoom */
}

.post-title {
  display: flex;
  margin: 0;
  padding-top: 0.5rem;
  font-weight: 900;
  font-size: 2rem;
  overflow-wrap: break-word;
  hyphens: auto;
}

.post-publish-date {
  font-family: "Julia Mono", monospace;
  font-weight: 900;
  color: var(--tertiary);
}

#posts-view-more-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Julia Mono", monospace;
  font-weight: 900;
  font-size: 1.5rem;
  width: min-content;
  box-sizing: border-box;
  white-space: nowrap;
}

#posts-view-more-button:hover svg {
  fill: var(--link);
}

#post-tags-container {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-tag {
  font-size: 1.1rem;
}

.post-tag:hover {
  background-color: var(--link);
  cursor: pointer;
}








/* CONTACT SECTION */

#contact-area {
  display: flex;
  gap: 5rem;
}

#contact-header {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-button {
  width: 66%;
  gap: 1rem;
  white-space: nowrap;
}

#contact-header-text {
  display: flex;
  flex-direction: column;
  font-size: 1.5rem;
  line-height: 1.75rem;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

#contact-success, #contact-error {
  border-radius: 30px;
  background-color: var(--success);
  justify-content: space-between;
  box-sizing: border-box;
  display: flex;
  margin: auto;
  width: 100%;
  font-family: "Julia Mono", monospace;
  font-weight: 900;
  padding: 0.5rem 1rem;
  color: var(--primary);
  font-size: large;
  border: 5px solid var(--success);
}

#contact-error {
  background-color: var(--error);
  border: 5px solid var(--error);
}

#contact-success p, #contact-error p {
  background-color: var(--transparent);
}

#contact-success div, #contact-error div {
  display: flex;
  background-color: rgba(0, 0, 0, 0);
  margin: auto 0;
}

#contact-success svg, #contact-error svg {
  background-color: rgba(0, 0, 0, 0);
  width: 1.6rem;
  margin: auto;
}

#message {
  resize: none;
  height: 10rem;
}


/* FOOTER */

.logo-icon svg {
  width: 1.2rem;
}

footer {
  font-family: "Julia Mono", monospace;
  display: flex;
  font-weight: 600;
  padding: 4rem 1rem;
  justify-content: space-between;
  font-size: 1.3rem;
}

#footer-content-left {
  display: flex;
  flex-direction: column;
  align-items: start;
}

#footer-content-right {
  display: flex;
  flex-direction: column;
  justify-content: end;
  width: 50%;
}

#footer-created-with {
  display: flex;
  white-space: nowrap;
}

#footer-created-with span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.footer-nav-button {
  width: min-content
}

#react-icon.hover {
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}



/* POSTS PAGE (WHAT'S NEW) */

#posts-header {
  display: flex;
  flex-direction: column;
  margin: 4rem 0;
  margin-top: 6rem;
  gap: 2rem;
}

#posts-heading {
  font-size: 5rem;
}

#posts-search-input {
  width: 100%;
}

#posts-search-form {
  display: flex;
  width: 100%
}

#posts-search-button {
  border-left: none;
}

#posts-search-button:hover {
  border-radius: 0 30px 30px 0;
}

#posts-results-length-text {
  font-family: "Julia Mono", monospace;
  font-weight: 900;
  font-size: 1.75rem;
  margin: 2rem 0;
}

#pagination-container {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 6rem;
  gap: 0.5rem;
}


.pagination-button, .pagination-arrow, .pagination-ellipsis {
  background-color: rgba(0, 0, 0, 0);
  justify-content: center;
  font-family: "Julia Mono", monospace;
  display: flex;
  align-items: center;
  width: 3.5rem;
  height: 3.5rem;
  font-weight: 900;
  padding: 0.5rem 1rem;
  color: var(--primary);
  font-size: large;
  border: 5px solid var(--primary);
  transition: border-radius 0.2s, border-color 0.2s, background-color 0.2s, color 0.2s;
}

.pagination-arrow {
  padding: 0;
}

.pagination-arrow:disabled, .pagination-arrow:hover:disabled {
  border: 5px solid var(--tertiary);
  border-radius: 0;
  cursor: default;
  background-color: var(--transparent);
}

.pagination-arrow:disabled svg {
  fill: var(--tertiary) !important;
}

.pagination-arrow:hover svg {
  color: var(--secondary);
  fill: var(--secondary);
}

.pagination-ellipsis {
  border: none;
  padding: 0;
}

.pagination-arrow:hover, .pagination-button:hover, .pagination-current {
  background-color: var(--primary);
  color: var(--secondary);
  cursor: pointer;
  border-radius: 30px;
  border: 5px solid var(--primary);
}

.pagination-current {
  cursor: default !important;
}

#pagination-view-more-button {
  gap: 1rem;
}



/* POST PAGE */

#post-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.5rem;
}

#post-cover-photo, #project-cover-photo {
  margin-top: 5rem;
  height: 36rem;
  object-fit: cover;
}

#post-title {
  margin-top: 1rem;
  font-size: 4rem;
  font-family: "Julia Mono", monospace;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: auto;
}




/* TESTIMONIALS */

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4rem;
  height: var(--slide-height);
  width: 100%;
  gap: 4rem;
  /* border: 1px solid var(--tertiary); */
}

.testimonial-content {
  font-size: 1.75rem;
  font-style: italic;
  display: flex;
  justify-content: start;
  font-weight: 500;
}

.testimonial-client-details {
  display: flex;
  justify-content: end;
}

.testimonial-client-details .testimonial-client-name::selection {
  color: var(--secondary);
}

.testimonial-client-link {
  display: flex;
  gap: 1.5rem;
}

.testimonial-client-link:hover .testimonial-client-name {
  color: var(--link);
}

.testimonial-client-link:hover .testimonial-client-image {
  border-radius: 100%;
}

.testimonial-client-details-left {
  display: flex;
  flex-direction: column;
  font-family: "Julia Mono";
  font-weight: 900;
  text-align: end;
  line-height: 2rem;
}

.testimonial-client-name {
  font-size: 2rem;
}

.testimonial-client-company {
  color: var(--tertiary)
}

.testimonial-client-image {
  transition: border-radius 0.2s, border-color 0.2s, background-color 0.2s, color 0.2s;
  width: 4rem;
  height: 4rem;
  object-fit: cover;
}





/* PROJECT PAGE */

#project-title {
  font-family: "Julia Mono", monospace;
  font-weight: 900;
  font-size: 6rem;
  margin-top: 1rem;
  overflow-wrap: break-word;
  hyphens: auto;
}

#project-tags-container, #post-tags-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 6rem;
}

#project-tags-container {
  margin-top: 3rem;
}

#project-tags-heading, #post-tags-heading {
  font-family: "Julia Mono", monospace;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--tertiary);
}

#project-tags, #post-tags {
  margin-top: 0;
}


@media (max-width: 1100px) {
  body {
    margin: 0;
  }
  section {
    padding: 0;
  }
  #content-area {
      padding: 0 0rem;
      gap: 2rem;
  }
  #content {
    padding: 0 2rem;
  }
  #hero-text {
    font-size: 6rem;
  }
  .post-publish-date {
    font-size: 1rem;
  }

  #projects-items {
    gap: 4rem;
  }
  #posts-container {
    gap: 4rem;
  }
  .project-card {
    padding: 1rem 0 1rem 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
  }
  .project-card-right, .project-card-right {
    width: 100%;
  }
  .project-card-thumbnail-container {
    width: 100%;
  }
  .project-card-thumbnail {
    width: 100%;
  }
  .project-external {
    opacity: 1 !important;
  }
  #posts-container {
    display: flex;
    flex-direction: column;
  }
  #modal-arrow-left, #modal-arrow-right {
    display: none;
  }
  #contact-area {
    flex-direction: column;
    gap: 2rem;
  }
  #contact-header {
    margin-bottom: 0;
    width: 100%;
  }
  #contact-form {
    width: 100%;
  }
  #contact-links {
    margin-top: 2rem;
  }
  #content-area {
    padding: 0;
    position: relative;
    padding-top: 0;
    gap: 0rem;
  }
  .project-text-content {
    padding: 0;
  }
  #project-header {
    padding: 0;
    padding-bottom: 1.5rem;
    margin-right: 2rem;
    padding-top: 7.5rem;
    z-index: 4  0;
    top: 0rem;
    position: fixed;
  }
  .project-image-modal-container {
    z-index: 50;
  }
  .md-image-container {
    padding: 4rem 2rem;
  }
  #back-button {
    position: fixed;
    top: 2rem;
    padding: 0 0;
    z-index: 50;
  }
  footer {
    padding: 0;
    padding-bottom: 2rem;
  }
  #contact-header-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    box-sizing: border-box;
  }
  .contact-button {
    width: auto;
    box-sizing: border-box;
  }
  footer {
    display: flex;
    gap: 4rem
  }
  .testimonial-card {
    padding: 1rem;
  }
}

@media (max-width: 700px) {
  #header-contact-logos {
    display: none;
  }
}

@media (max-width: 568px) {
  #contact-header {
    width: 100%; /* Ensure it fills its parent (e.g., #contact-section) */
    max-width: 100%; /* Prevent overflow beyond parent */
    box-sizing: border-box; /* Include padding/borders in width */
    overflow: hidden; /* Clip any overflowing content */
    display: flex; /* Optional: Use flex to manage child alignment */
    flex-wrap: wrap; /* Allow wrapping if needed */
  }
  #post-cover-photo, #project-cover-photo {
    height: 20rem;
  }
  
  .contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
  }
  #hero-text {
    font-size: 4rem;
  }
  #posts-nav-button {
    display: none;
  }
  .about-text p {
    font-size: 1.5rem;
  }
  #jullitt-logo-text {
    font-size: 1.5rem;
  }
  #content {
    padding: 0 1.5rem;
  }
  .md-image-container {
    padding: 2rem 0rem;
  }
  pre {
    margin: 2rem 0rem !important;
  }
  #footer-content-right {
    display: none;
  }
  #project-title {
    font-size: 4rem;
  }
  .testimonial-client-name {
    font-size: 1.5rem;
  }
  .testimonial-client-company {
    font-size: 1rem;
  }
  .testimonial-client-company {
    color: var(--tertiary)
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --secondary: #0F0F10;
    --primary: #E1E0DC;
    --tertiary: #9C9CA1;
  }
  input, textarea {
    background-color: var(--primary);
    color: var(--secondary);
  }
  pre {
    padding: 1rem;
    border: 1px solid rgb(54, 54, 54);
    margin: 2rem 1rem;
  }
  pre, code {
    background-color: rgb(28, 28, 28);
    color: var(--primary);
    font-size: 1rem;
  }
}




/* EMBLA */

.embla {
  gap: 0;
  --slide-height: auto;
  --slide-size: 100%;
}
.embla__viewport {
  overflow: hidden;
}
.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  gap: 2rem;
}
.embla__container:hover {
  cursor: grab;
}
.embla__slide {
  transform: translate3d(0, 0, 0);
  flex: 0 0 var(--slide-size);
  min-width: 0;
}
.embla__slide__number {
  box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
  font-size: 4rem;
  padding: 0;
  font-weight: 600;
  display: flex;
  align-items: start;
  justify-content: space-between;
  user-select: none;
  width: 100%;
}
.embla__controls {
  display: grid;
  grid-template-columns: auto 1fr;
  justify-content: space-between;
  gap: 1.2rem;
  margin: 0 auto;
  margin-top: 1.8rem;
}
.embla__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  /* margin-right: calc((2.6rem - 1.4rem) / 2 * -1); */
  gap: 0.5rem;
  padding: 0 2rem;
}
.embla__dot {
  -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  width: 1.7rem;
  height: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--primary);
  transition: border-radius 0.2s, border-color 0.2s, background-color 0.2s, color 0.2s;
}
.embla__dot:hover {
  border-radius: 50%;
  background-color: var(--primary);
}
.embla__dot:after {
  box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  content: '';
}
.embla__dot--selected {
  box-shadow: inset 0 0 0 0.2rem var(--text-body);
  border-radius: 50%;
  background-color: var(--primary);
  cursor: default;
}