* {
  margin: 0;
  padding: 0;
  border: 0;
  /* box-sizing: border-box; */ /*<--consider using this one too*/
}

/* comentário rápido Cmd + Shift + 7 */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ---------------------BEGIN--------------------------- */
/* ----------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

:root {
  --fs-tit: 1.3rem; /* h1 */
  --fs-600: 1.5rem; /* h2 */
  --fs-400: 0.9rem; /* h3 */
  --fs-350: 1.2rem; /* h4 */
  --fs-300: 1rem; /*(p)*/
  --fs-200: 0.9rem; /*(a)*/
  --rk: 0;
}

@font-face {
  font-family: SaBold;
  src: url(fonts/Klarheit\ Kurrent\ Bold.otf);
}

@font-face {
  font-family: SfRegular;
  src: url(fonts/ESFace-Regular.otf);
}

@font-face {
  font-family: SfItalic;
  src: url(fonts/ESFace-RegularItalic.otf);
}

/*  ------------------------------------------------------------------- */
/*  ------------------------------------------------------------------- */
/* AREA 51 -----------------------------------------------------TESTING */
/*  ------------------------------------------------------------------- */
/*  ------------------------------------------------------------------- */
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1; /* Ensure it stays behind the content */
}

.links-container {
  z-index: 1;
  padding: 35vh 20px 45vh 20px;
  text-align: center;
}

.project-link {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 1em;
  font-family: SaBold, sans-serif;
  text-transform: uppercase;
  background-color: #000000;
  border-radius: 1.5em;
  padding: 0.5em 1em;
  margin-bottom: 0.25em;
  transition: 0.3s ease;
  border: #fff 1px solid;
}

/* Define different column spans */
.span-1 {
  grid-column: span 1;
}

.span-2 {
  grid-column: span 2;
}

.span-3 {
  grid-column: span 3;
}

.empty {
  background: none; /* Ensure empty grid items don't have background */
  cursor: default; /* Ensure empty grid items don't have pointer cursor */
}

/*  ------------------------------------------------------------------- */
/*  ------------------------------------------------------------------- */
/* AREA 51 -----------------------------------------------------TESTING */
/*  ------------------------------------------------------------------- */
/*  ------------------------------------------------------------------- */

body {
  width: 100%;
  max-width: 2300px;
  margin: 0 auto;
  transition: 0.3s ease;
}

button {
  font-family: SaBold, sans-serif;
  font-size: var(--fs-300);
  margin-bottom: 1.5em;
  background-color: inherit;
}

.light-mode {
  background-color: #ffffff;
  color: #000000;
}

.dark-mode {
  background-color: #000000;
  color: #ffffff;
}

.dark-mode button {
  color: #ffffff;
}

h1 {
  font-size: var(--fs-tit);
  font-family: SfItalic, serif;
}

h2 {
  font-family: SaBold, sans-serif;
  line-height: 1.2em;
  font-size: var(--fs-600);
  margin-bottom: 0.5em;
  text-decoration: underline;
  text-indent: 6.3em;
}

h3 {
  margin-bottom: 0.7em;
  font-size: var(--fs-400);
  font-family: SfRegular, serif;
}

h4 {
  margin-bottom: 0.7em;
  font-size: var(--fs-350);
  font-family: SfRegular, serif;
  margin-top: 3em;
}

h5 {
  font-family: SaBold, sans-serif;
  line-height: 1.2em;
  font-size: var(--fs-600);
}

#project-details p,
#info p,
#titles-container p {
  font-family: SaBold, sans-serif;
  line-height: 1.2em;
  font-size: var(--fs-300);
  margin-bottom: 1.5em;
}

.grid-item p {
  font-family: SaBold, sans-serif;
  line-height: 1.3em;
  font-size: var(--fs-200);
}

a {
  color: inherit;
  transition: 0.3s ease;
  text-decoration: none;
}

a:hover {
  filter: blur(1px);
}

.sections {
  padding: 0 13px;
  padding-top: 16px;
}

/* NAVBAR */
nav {
  position: sticky;
  top: 17px;
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  font-family: SaBold, sans-serif;
  line-height: 1.3em;
  font-size: 1em;
  z-index: 1000;
  padding: 0 13px;
}
/* NAVBAR */

/* --------- HEADER --------- */
/* ---------------------------*/
header {
  text-indent: 6.3em;
  font-family: SaBold, sans-serif;
  line-height: 1.2em;
  font-size: var(--fs-600);
  margin-top: 10px;
  margin-right: 40px;
}
/* --------- END HEADER --------- */
/* ------------------------------ */

#titles-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* --------- SLIDER --------- */
/* ---------------------------*/
.slider {
  cursor: cell;
  width: 100%;
  overflow: hidden;
  position: relative;
  filter: blur(7px);
  transition: 0.5s ease;
  text-align: center; /* Center the images horizontally */
  user-select: none; /* Make the slider section not selectable */
}

.slider img {
  cursor: cell;
  height: 100%;
  max-height: 650px;
  display: none;
}

.slider:hover {
  filter: blur(0px);
}

.slider img.active {
  cursor: cell;
  display: block;
  margin: 0 auto;
}

.arrow {
  position: absolute;
  top: 50%;
  padding: 10px;
  border: solid rgb(255, 255, 255);
  border-width: 0 3px 3px 0;
  display: none;
  user-select: none; /* Make the slider section not selectable */
  transition: 0.5s ease;
}

.left-arrow {
  left: 10px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.right-arrow {
  right: 10px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.slider:hover .arrow {
  display: block;
  transition: 0.5s ease;
}

/* -------END SLIDER -------- */
/* ---------------------------*/

#work-details {
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
  margin-bottom: 50px;
}

#project-details,
.details {
  width: 50%;
}

.first-line {
  text-indent: 7em;
}

.first-line::before {
  content: "•"; /* or any other typographic character you prefer */
  text-indent: 0;
  float: left;
}

#datasheet-container {
  width: 49%;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(130px, 1fr)
  ); /* Adjust the minmax values as needed */
  gap: 10px;
}

/* ABOUT ----------------------------——————————————---------------——-----——————————————————————————————————————————————————————————————————————————————————————————————————————------------- */
#about {
  display: flex;
  justify-content: space-between;
  margin-top: 4em;
}

figure img {
  max-width: 70%;
  height: auto;
}

figcaption {
  font-family: SfItalic, Times, serif;
  font-size: 0.8rem;
  margin: 0.7em 0 4em 0;
  letter-spacing: 0.02em;
}

#colophon {
  width: 70%;
  font-family: SaBold, sans-serif;
  line-height: 1.3em;
  font-size: var(--fs-200);
  margin-bottom: 2em;
}

#colophon-container {
  width: 55%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
  order: 2;
}

#info {
  margin-bottom: 5em;
}

#info p {
  width: 80%;
}

.link {
  text-decoration: underline;
  cursor: pointer;
}
/* END ABOUT------------------------------------------------------------------------ */

/* ABOUT 02 */

/* INDEX */
#index {
  padding: 10px;
  text-align: center;
  margin: 7em auto;
}

.editions {
  display: inline-block;
  text-align: center;
  font-size: 1em;
  font-family: SaBold, sans-serif;
  text-transform: uppercase;
  background-color: #000000;
  border-radius: 1.5em;
  padding: 0.5em 1em;
  margin-bottom: 0.25em;
  transition: 0.3s ease;
}

a.editions {
  color: #ffffff;
  text-decoration: none;
}

.dark-mode .project-link {
  background-color: #ffffff00;
  color: #fff;
}

.editions:hover {
  filter: blur(2px);
}
/* END EDITIONS */

/* FOOTER */
footer {
  font-family: SaBold, sans-serif;
  line-height: 1.2em;
  font-size: var(--fs-300);
  display: flex;
  justify-content: space-between;
  margin: 0 0 2em 0;
}

footer p > a {
  font-size: var(--fs-300);
  letter-spacing: 0.03em;
  text-decoration: underline;
  font-family: SfItalic, serif;
}

/* footer p {
  width: 30%;
} */

.contacts a {
  display: inline;
  margin: 0 0.3em;
}
/* END FOOTER */

/* GRAVE */
.container-grave {
  width: 100%;
  margin: 2em auto 0 auto;
  text-align: center;
}

button {
  margin-bottom: 20px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: underline;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 2fr));
  gap: 10px;
}

.grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* END GRAVE */

/* END */
.square {
  border: 0.5px solid #bbbbbb;
  display: block;
  background-color: #000000;
  width: 30px;
  min-height: 30px;
  margin: 20em auto 10px auto;
  transition: 0.5s ease;
}
.square:hover {
  border: 0.5px solid #000000;
}

#end p {
  font-family: SaBold, sans-serif;
  line-height: 1.2em;
  font-size: var(--fs-300);
  text-align: center;
  margin-bottom: 20em;
}

#end em {
  font-size: var(--fs-300);
  letter-spacing: 0.03em;
  font-family: SfItalic, serif;
}

/* END END */

@media (max-width: 700px) {
  :root {
    --fs-tit: 1.1rem; /* h1 */
    --fs-600: 1.1rem; /* h2 */
    --fs-400: 0.8rem; /* h3 */
    --fs-350: 1.1rem; /* h4 */
    --fs-300: 0.9rem; /*(p)*/
    --fs-200: 0.7rem; /*(a)*/
    --rk: 0;
  }

  nav {
    top: 10px;
    margin-top: 30px;
  }

  header {
    margin-bottom: 10em;
    margin-right: 0;
    margin-top: 5em;
    text-indent: 7em;
  }

  .slider img.active {
    max-width: 100%;
    height: auto;
    display: inline-block;
  }

  .slider:hover .arrow {
    display: none;
    transition: 0.5s ease;
  }

  #work-details {
    flex-direction: column;
  }

  #project-details,
  .details {
    width: 100%;
  }

  #datasheet-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    order: 2;
  }

  #colophon-container {
    width: 100%;
    display: flex;
  }

  .slider img {
    max-height: 250px;
  }

  h2 {
    text-indent: 0em;
  }

  .links-container,
  .background-image {
    display: none;
  }

  footer {
    display: flex;
    flex-wrap: wrap;
  }

  #about {
    flex-direction: column;
  }

  #colophon {
    width: 100%;
  }

  #info {
    margin: 3em 0 5em 0;
  }

  #info p {
    width: 100%;
  }

  .contacts {
    margin-top: 1em;
  }
}
