* {
  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;
  }
}

.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: #fff;
}

header .logo img {
  width: auto;
  height: 1rem;
  display: block;
}

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

body {
  font-family: Arial, sans-serif;
  color:#FF865B
}

header nav ul li a:hover {
  color: #C797FF;
}

.logo:hover img {
  content: url("img/logo2.svg");
}

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


/* ========== HOME ========== */

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

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

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

/* ========== WORK ========== */

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

main.work .card .card-image {
  position: relative;
  aspect-ratio: 4/3;
  background-color: salmon;
  margin-bottom: 0.5rem;
  border-radius: 1rem;
  overflow: hidden;
}

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



main.work .card .card-image .gif {
position: absolute;
top: 0;
left: 0;
opacity: 0;
}

main.work .card:hover  .card-image .gif{
  opacity: 1;

}

main.work .card:hover  .card-image .static {
  opacity: 0;
}

main.fun .fun-image img{
  width: 100%;
  height: auto;
  }

.azul {
  color: #483D8B;
}


/* ========== ABOUT ========== */

main.about {
  display: flex;
  align-items: flex-start;
}

main.about section {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

main.about section:last-of-type {
  border: none;
  margin-bottom: 0;
}

main.about section .about-text {
  font-size: 2.7rem;
  padding-bottom: 3rem;
}

@media (max-width: 576px) {
  main.about section .about-text {
    font-size: 3rem;
  }
}

main.about section .about-contact{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

main.about section .about-images img{
  width: 100%;
  height: 10%;
  border-radius:0.5rem;
}

.about-contact a:hover {
  color: #C797FF;
}

.about-contact a {
  cursor: pointer;
}

/* ========== SINGLE ========== */

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

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

main.single .single-info {
  margin-bottom: 1rem;
}


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


/* ========== Fun ========== */

.fun-image {
  margin-bottom: 1rem;
}

.fun-fullscreen-img {
  max-width: 80vw;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
}

.back-arrow {
  font-family: monospace;
  position: fixed;
  bottom: 2rem;
  left: 3rem;
  color: #FF865B;
  font-size: 1.1rem;
  text-decoration: none;
}


.back-arrow:hover {
  color: #C797FF;
}