* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --margin-grid: 2rem;
}

@media (max-width: 992px) {
    :root {
        --margin-grid: 1.5rem;
    }
}

@media (max-width: 576px) {
    :root {
        --margin-grid: 1rem;
    }
}


/* ---------- CURSOR ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('../img/cursor.jpg') 10 10, auto;
}


/* ---------- TEXT SELECTION ---------- */

*::selection {
  color: white;
  background: black
}

i::selection {
  color: white;
  background: black;
}

.container-fluid {
  padding-left: var(--margin-grid);
  padding-right: var(--margin-grid);
}

.row {
    --bs-gutter-x: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ---------- HEADER ---------- */

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
  padding: 0 var(--margin-grid);
  background-color: #f6f6f6;;
  z-index: 100;
}

header nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

header nav ul li a {
  font-family: "pp mori";
}

header nav ul li a:hover {
  text-decoration: underline;
}


/* ---------- MAIN ---------- */
main {
  margin-top: 4rem;
  min-height: calc(100dvh - 7rem);
}

@font-face {
  font-family: "PP Mori";
  src: url("fonts/PPMori-Regular.woff2");
}

body {
  font-family: "PP Mori", sans-serif;
  min-height: calc(100dvh - 9rem);
  background-color: #f6f6f6;
}

/* ---------- HOME ---------- */

main.home {
  display: flex;
  align-items: flex-end;
  padding-top: var(--margin-grid);
  padding-bottom: var(--margin-grid);
  padding-left: 0;
  padding-right: 0;
}

main.home .home-image {
  width: 100%;
}

main.home .home-image img {
  width: 100%;
  height: auto;
  display: block;
  position: fixed;
  bottom: 0;
}

/* ---------- ABOUT ---------- */

main.about p {
  font-size: 2.5rem;
  font-weight: normal;
  font-style: normal;
  line-height: 1.3;
  text-align: left;
  color: #000000;
  position: static;
}

@media (max-width: 576px) {
  main.about p {
    font-size: 1.4rem;
    padding-top: 3rem;
  }
}

.animated-image-below {
  width: 11rem;
  height: auto;
  display: block;
  margin-top: 0.6rem;
  margin-left: 1rem;
padding-bottom: 0.7rem;
}

.animated-image-below ul li {
  font-size: 0.85rem;
  line-height: 0.5rem;
  height: auto;
  display: block;
  padding-top: 1rem;
  margin-left: 1rem;
  }


.socials ul li {
  font-size: 0.85rem;
  margin-left: var(--margin-grid);
  list-style: none;
}

.socials ul li a:hover {
text-decoration: underline;
}

@media (max-width: 576px) {
.socials ul li {
  margin-left: 1.5rem;
}
}

@media (max-width: 576px) {
  .animated-image-below {
    width: 70%;
    margin-left: 0.5rem;
  }
}

.logo-image {
  width: 90px;
  height: auto;
}

main.about{
min-height: calc(100dvh - 9rem);
}


/* ---------- WORK ---------- */

main.work .card{
  margin-bottom: 1rem;
  
}

main.work .card-image{
  aspect-ratio: 4/2.5;
  background-color: rgb(159, 159, 159);
  margin-top: 1rem;
  margin-bottom: 1rem;
  position: relative;
  filter: grayscale(100%);
  transition: filter 0.2s ease-in-out;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

main.work .card-image:hover{
  aspect-ratio: 4/2.5;
  background-color: rgb(159, 159, 159);
  margin-top: 1rem;
  margin-bottom: 1rem;
  position: relative;
  filter: grayscale(0%);
  overflow: hidden;
  height: 100%;
  width: 100%;
}

main.work .card-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  height: 100%;
  width: 100%;

}

main.work .card-title{
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* ---------- SINGLE ---------- */

   main.single .single-sticky {
  position: sticky;
  top: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.5rem;
  }

  main.single .single-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  }

main.single .single-images img{
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
  }

  main.single .single-date p{
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.2rem;
  }