* {
    margin: 0;
    padding: 0;
    font-family: "altivo", sans-serif;
    box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    background: #f0f0f0;
}

header {
    background: linear-gradient(to right, #8F269D, #0f53bf);
}

img {
    width: 100%;
}

/* NAVBAR */
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    /*background: linear-gradient(to right, #8F269D, #0f53bf);*/
}

.navbarLinks {
    display: flex;
    flex-direction: row;
    /*gap: 40px;*/
    font-size: 1.125em;
    list-style: none;
    text-decoration: none;
    color: #fff;
    /*height: 100%;*/
}

.navbarLinks li a {
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    font-style: normal;
    position: relative;
    padding: 0px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: background 0.3s ease;
}

.navbarLinks li a:hover {
    background: rgba(0, 0, 0, 0.2); /* dark overlay on hover */
    font-weight: 500; /* makes it bold like your screenshot */
}

.navbarLinks li a.active {
    /*background: rgba(0, 0, 0, 0.2); /* dark overlay on hover */
    font-weight: 500; /* makes it bold like your screenshot */
}

/*.navbarLinks li {
    min-height: 100px;
}*/

.logo {
    padding: 0px 0px 0px 30px;
    font-weight: 300;
}

.logo a {
    color: #fff;
    text-decoration: none;
}

.logo a span {
    font-weight: 500;
    letter-spacing: 1px;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding-right: 30px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}
/* MAIN */
.back {
    display: inline-flex;          /* lets margins & padding work, centers content */
    align-items: center;
    gap: 8px;                      /* space if you swap to an icon later */
    margin: 30px 0 0 30px;         /* now the top/left margins apply */
    padding: 8px 12px;             /* bigger click target */
    font-weight: 500;
    text-decoration: none;
    color: #1a1a1a;                /* your purple */
    border-radius: 8px;            /* optional */
    font-size: 20px;
  }
  
  .back:hover, .back:focus-visible {
    color: #8F269D;    /* simple hover/focus affordance */
    outline: none;
  }
  
/* DESCRIPTION SECTION*/
.main-section {
    display: block;
    max-width: 75%;
    margin: 0 auto;
    padding: 5em 0;
}

.description-tag {
    font-size: 35px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 3rem;
}

/*.description-summary {
    margin-bottom: 20px;
}*/

#bottom-paragraph {
    margin: 0 0 35px 0;
}

#backToTop {
  position: fixed;       /* stays in place when scrolling */
  bottom: 20px;          /* 20px from bottom */
  right: 20px;           /* 20px from right */
  display: none;         /* hidden by default */
  background-color: #1a1a1a;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
  z-index: 999;
}

#backToTop:hover {
  background: linear-gradient(to right, #8F269D, #0f53bf); /* hover effect */
  transition: 0.3s ease;
}

.visuals {
  column-width: 340px;       /* target column width */
  column-gap: 24px;           /* space between columns */
  margin: 30px 0 70px;
}

.examples {
  width: 100%;
  height: auto;                /* keep natural aspect ratio */
  display: block;
  margin: 0 0 24px;             /* space between items vertically */
  break-inside: avoid;          /* prevents images from breaking across columns */
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  border-radius: 10px;
}

@media (max-width: 768px){
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navbarLinks {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background: linear-gradient(to right, #8F269D, #0f53bf);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        z-index: 1000;
    }

    .navbarLinks li a {
        padding: 20px;
    }

    .navbarLinks.active {
        left: 0;
    }

    .description-tag {
        line-height: 2rem;
    }
}
  






