/* Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Archivo', sans-serif;
    background-color: rgb(23,23,25);
    cursor: url(../img/march_cursor_normal.gif), auto !important;
}

a, button, iframe, .bx-menu {
    cursor: url(../img/march_cursor_link.gif), auto !important;
}

.swiper-button-next,
.swiper-button-prev {
    cursor: url(../img/march_cursor_link.gif), auto !important;
}

.characters-gallery {
    cursor: url(../img/march_cursor_link.gif), auto !important;
}

.music {
    cursor: url(../img/march_cursor_link.gif), auto !important;
}

/*Navbar*/

.music {
    cursor: pointer;
}

.music span:hover {
    color: rgba(158, 123, 46, 1);
    font-weight: 600;
    font-style: normal;
}

.bx-menu {
    cursor: pointer;
    display: none;
}

.material-symbols-outlined {
    color:#fff;
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24,;
}

li, a, button {
    font-family: 'Archivo', sans-serif;
    font-weight: 200;
    font-style: italic;
    font-size: 0.8rem;
    text-decoration: none;
}

.navbar {
    position: fixed;
    height: 4rem;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background-color: rgba(158, 123, 46, 0.2);
    backdrop-filter: blur(5px);
    padding: 0 4%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5rem;
    margin: 0 auto;
    border: 1px solid rgba(158, 123, 46, 0.4);
    width: 90%;
}

.music {
    width: 5rem;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    display: inline-block;
    padding: 0 1.5rem;
}

.nav-links li a {
    color: rgb(255,255,255);
    transition: all 0.3s ease 0s;
}

.nav-links li a:hover {
    color: rgba(209, 174, 97, 1);
    font-weight: 600;
    font-style: normal;

}

.nav-links li a .active {
    color: rgba(158, 123, 46, 1);
    font-style: normal;
    font-weight: 600;
}

/*Hero*/

.hero {
    box-shadow: inset 0 0 0 1000px rgba(23,23,25,0.5);
    background-image: url(../img/hero_hsr.png);
    height: 100vh;
    width: 100%;
    margin: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 50%;
    text-align: left;
    margin-left: 5%;
}

.hero-content h1 {
    color: rgba(209, 174, 97, 1);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content .highlight {
    color: rgba(209, 174, 97, 1);
    font-weight: 900;
    font-size: 3.2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 6rem;
}

.hero-button {
    background-color: rgba(23,23,25,0.5);
    backdrop-filter: blur(0.1rem);
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(158, 123, 46, 1);
    border-radius: 2rem;
    cursor: pointer;
}

.hero-button a {
    color: rgba(158, 123, 46, 1);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 200;  
}

.hero-button:hover {
    background-color: rgba(158, 123, 46, 1);
    color: rgb(23,23,25);
    transition: background-color 0.3s ease;
}

.hero-button:hover a {
    color: rgb(23,23,25);
    transition: color 0.3s;
    font-weight: 400;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 20vw;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(23,23,25,0) 0%,
        rgb(23,23,25) 100%
    );
    z-index: 2;
}

/*Cosmos*/

section {
    padding: 5rem 0;
    text-align: center;
    max-width: 70%;
    margin: auto;
    width: 100%;
}

h2 {
    color: rgba(209, 174, 97, 1);
    padding: 3rem;
    font-size: 2.5rem;
    font-weight: 900;
}

/* Planet card */

.planet {
    padding: 2rem;
    max-width: 90%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    border: rgba(158, 123, 46, 1) 1px solid;
    border-radius: 0.4rem;
    color: rgba(209, 174, 97, 1);
    overflow: hidden;
}

.swiper-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.swiper-button-next,
.swiper-button-prev {
    color: rgba(158, 123, 46, 1);
}

/* Img */

.planet-img {
    grid-area: 1 / 1 / 2 / 2;
}

.planet-img img {
    height: auto;
    width: 100%;
}

/* Information */

.about-planet {
    grid-area: 1 / 2 / 2 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-planet h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    color: rgba(209, 174, 97, 1);
}

.information {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.information p {
    font-size: 0.9rem;
    font-weight: 300;
    text-align: justify;
}

.btn {
    display: flex;
    background-color: transparent;
    border: none;
    color: rgba(209, 174, 97, 1);
    text-decoration: underline dotted;
    text-underline-offset: 0.2rem;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 1rem;
}

.btn:hover {
    color: rgba(158, 123, 46, 1);
}

.more-information {
    display: none;
}

/* Factions */

.factions ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.factions ul li {
    margin: 0; 
    text-align: left;
    list-style: none;
    margin-top: 1rem;
}

.factions button {
    background-color: transparent;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 300;
    font-style: normal;
    gap: 1.5rem;
    color: rgba(158, 123, 46, 1);
    border: rgba(158, 123, 46, 1) 1px solid;
    border-radius: 1rem;
    cursor: pointer;
}

.factions button h4 {
    font-size: 0.9rem;
    font-weight: 300;
}

.factions button:hover {
    background-color: rgba(158, 123, 46, 1);
    color: rgb(23,23,25);
    transition: background-color 0.3s ease;
    font-weight: 300;
}

::backdrop {
    background: linear-gradient(rgba(23,23,25,0.7));
    backdrop-filter: blur(0.1rem);
}

dialog {
    width: calc(100%-1em);
    align-self: center;
    transform: translateX(50%);
    max-width: 50%;
}

dialog, .popup-content {
    background: rgba(23,23,25,0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(158, 123, 46, 1);
    border-radius: 0.5rem;
    padding: 2rem;
}

dialog img {
    width: 100%;
    padding: 1rem 0;
    border-radius: 1rem;
}

.popup-content h4 {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(209, 174, 97, 1);
    font-style: italic;
    text-align: center;
}

.popup-content p {
    font-size: 0.9rem;
    font-weight: 200;
    text-align: justify;
    font-style: normal;
    color: rgba(209, 174, 97, 1)
}

dialog, .popup-content button {
    position: fixed;
    font-size: 1.2rem;
    top: 20px;
    right: 20px;
    padding: 0;
    border: none;
    color: rgba(158, 123, 46, 1);
}

dialog .popup-content button:hover {
    background-color: transparent;
    color: rgba(209, 174, 97, 1);
    font-weight: 600;
}

/* Gallery */

.gallery::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(158, 123, 46, 1);
    margin-bottom: 2rem;
}

.gallery {
    grid-area: 2 / 1 / 3 / 3;
}

.gallery img {
    width: 100%;
}

.gallery h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 1rem;
}

/*Flickity carousel cells*/

.carousel-cell {
    position: relative;
}

.carousel-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, rgba(23,23,25,0.7), transparent);
    z-index: 1;
}

.carousel-caption {
    text-align: left;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 2rem;
    z-index: 2;
    padding: 1rem;
}

.carousel-caption h4 {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(209, 174, 97, 1);
    padding-bottom: 0.5rem;
    font-style: italic;
}

.carousel-caption p {
    font-size: 0.8rem;
    font-weight: 200;
    color: #fff;
}

/* Flickity botones */

.flickity-button {
    background: rgba(23,23,23,0.5);
    color: rgba(209, 174, 97, 0.8);
    border: 0.05rem solid rgba(209, 174, 97, 0.8);
}

.flickity-button:hover {
    background: rgba(23,23,23,1);
    color: rgba(209, 174, 97, 0.8);
    cursor: pointer;
}

.flickity-button:focus {
    outline: none;
    box-shadow: 0 0 0 5px rgba(209, 174, 97, 0.5);
}

/* Page dots */

.flickity-page-dots .dot {
    background: rgba(209, 174, 97, 0.8);
    opacity: 0.25;
}

.flickity-page-dots .dot.is-selected {
    opacity: 1;
}

.flickity-viewport {
  border-radius: 1rem;
}

/* Character Accordion Dropdown */

.button-group { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1rem; 
    justify-content: center; 
    margin-bottom: 2rem;
} 

.button-group button {
    background-color: transparent;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 300;
    font-style: normal;
    gap: 1.5rem;
    color: rgba(158, 123, 46, 1);
    border: rgba(158, 123, 46, 1) 1px solid;
    border-radius: 1rem;
    cursor: pointer;
}

.button-group button:hover {
    background-color: rgba(158, 123, 46, 1);
    color: rgb(23,23,25);
    transition: background-color 0.3s ease;
    font-weight: 300;
}

.button-group .button.mixitup-control-active {
  background: rgba(158, 123, 46, 1);
  color: rgba(23,23,23,1);
  border-color: rgba(158, 123, 46, 1);
}

::backdrop {
    background: linear-gradient(rgba(23,23,25,0.7));
    backdrop-filter: blur(0.1rem);
}

.characters-gallery { 
    display: grid; 
    grid-template-columns: repeat(2, calc(50% - 1rem));
    align-items: start;
    gap: 1rem; 
    width: 100%; 
} 

.mix { 
    background: rgba(23,23,25); 
    margin: 0; 
    padding: 1rem; 
    border-radius: 1rem; 
    border: 0.1rem rgba(158, 123, 46, 1) solid; 
    cursor: pointer; 
} 

.mix img { 
    width: 100%; 
    height: auto; 
    border-radius: 6px; 
} 

.mix .data { 
    display: flex;
    justify-content: center;
    align-items: center;
} 

.data h3 { 
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: rgba(209, 174, 97, 1);
    padding-bottom: 1rem;
    padding-top: 1rem;
} 

.description { 
    height: 0; 
    overflow: hidden; 
    transition: height 0.3s ease;
} 

.description h4::after { 
    content: ""; 
    display: block; 
    width: 100%; 
    height: 1px; 
    background-color: rgba(209, 174, 97, 0.6); 
    margin: 0.2rem 0; 
} 

.description .path-element-rarity { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
    text-align: center; 
} 

.description .path-element-rarity > div { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 0.5rem; 
} 

.star-svg { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 0.25rem; 
    height: 3rem; 
    width: auto; 
    padding: 0.5rem;
} 

.star-svg img { 
    height: 1.5rem; 
    width: auto; 
} 

.description .path-element-rarity > .path img, 
.description .path-element-rarity > .element img { 
    height: 3rem; 
    width: auto; 
} 

.description h4 { 
    font-size: 1rem; 
    font-weight: 600; 
    color: rgba(209, 174, 97, 1); 
} 

.description p { 
    font-size: 0.9rem; 
    font-weight: 400; 
    color: rgba(209, 174, 97, 1); 
    font-style: normal; 
    padding: 1rem; 
    text-align: justify; 
} 

.description .quote { 
    font-style: italic; 
    font-size: 1.1rem; 
    text-align: center; 
    font-weight: 200; 
    color: #fff;
    padding-top: 2rem; 
} 

.description iframe { 
    width: 90%;
    margin: 1rem; 
    border-radius: 0.5rem; 
}

/* Updates Section */

/* Slider animation and styles */

#updates h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    color: rgba(209, 174, 97, 1);
    margin: 2rem;
    padding-left: 2rem;
}

#updates p {
    font-size: 1rem;
    text-align: center;
    color: #fff;
}

.separator-updates {
    height: 3rem;
}

.slider {
    margin: 1rem auto;
    width: 90%;
    display: flex;
    position: relative;
    overflow-x: auto;
    gap: 1rem;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slide-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: spin 20s infinite linear;
    padding-right: 1rem;
}

.slide {
    flex: 0 0 1rem;
    height: auto;
    padding: 1rem;
    perspective: 3rem;
}

.slide img {
    border-radius: 0.5rem;
    width: 50rem;
    height: auto;
    transition: transform 0.5s ease;
}

.slide img:hover {
    transform: scale(1.05);
}

.slider:hover .slide-track {
    animation-play-state: paused;
}

@keyframes spin {
    from {
        translate: 0;
    }
    to {
        translate: -100%
    }
}

/* Gradient shadow */

.slider::before,
.slider::after {
    background: linear-gradient(to right, rgba(23,23,25,1) 0%, rgba(23,23,25,0) 100%);
    content: '';
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;
}

.slider::before {
    left: 0;
    top: 0;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

/* Line separator */

#updates .line-separator {
    width: 90%;
    height: 1px;
    background-color: rgba(158, 123, 46, 1);
    margin: 3rem auto;
}

/* Soundtrack */

.soundtrack-columns {
    display: grid; 
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; 
    width: 100%; 
    border-radius: 1rem;
    border: 1px rgba(158, 123, 46, 1) solid;
    padding: 1.5rem;
}

.soundtrack-gallery h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: rgba(209, 174, 97, 1);
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.soundtrack {
    margin: 2rem;
}

.soundtrack p {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    color: rgba(209, 174, 97, 1);
}

.soundtrack a {
    font-size: 1rem;
    font-weight: 400;
    text-decoration: underline;
    font-style: normal;
    text-align: center;
    color: rgba(209, 174, 97, 1);
}

.soundtrack a:hover {
    font-weight: 600;
    color: rgba(158, 123, 46, 1);
}

.soundtrack-gallery h3 {
    margin: 1rem;
}

.card {
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.card img {
    width: 100%;
    border-radius: 0.1rem;
    display: block;
    transform: transform 0.5s;
}

.overlay {
    height: 0;
    width: 100%;
    background: linear-gradient(
        transparent,
        rgba(23,23,25,1)
        75%
    );
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: height 0.5s;
}

.card:hover .overlay {
    opacity: 1;
    visibility: visible;
}

.card .overlay {
    padding: 0.5rem 2rem;
}

.card h4 {
    color: #fff;
    font-weight: 400;
    font-size: 1rem;
}

.card p {
    font-weight: 200;
    font-size: 0.75rem;
    color: rgba(209, 174, 97, 1);
    padding: 0.5rem;
}

.card:hover .overlay {
    height: 100%;
}

.soundtrack-button {
    width: 80%;
    padding: 0.1rem;
    margin: 0.25rem;
    background-color: transparent;
    border: 1px solid rgba(158, 123, 46, 1);
    border-radius: 2rem;
    cursor: pointer;
}

.soundtrack-button a {
    color: rgba(158, 123, 46, 1);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 200;  
}

.soundtrack-button:hover {
    background-color: rgba(158, 123, 46, 1);
    color: rgb(23,23,25);
    transition: background-color 0.3s ease;
}

.soundtrack-button:hover a {
    color: rgb(23,23,25);
    transition: color 0.3s;
    font-weight: 400;
}

/* Footer */

footer {
    box-shadow: inset 0 0 0 1000px rgba(23, 23, 25, 0.8);
    background: linear-gradient(to bottom, rgb(23,23,25) 0%, rgba(23,23,25,0) 100%), url(../img/footer_hsr.png);
    height: 100vh;
    width: 100%;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    text-align: center;
}

footer > div:not(:last-child) {
  margin-bottom: 2rem;
}

footer h2 {
    color: rgba(209, 174, 97, 1);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem;
}

footer .separator {
  width: 100%;
  height: 1px;
  background-color: rgba(158, 123, 46, 1);
  margin: 1rem auto;
}

footer .icons {
    display: flex;
    flex-direction: row;
    max-width: 80%;
    justify-content: center;
    margin: 0 auto;
}

footer .icons img {
    width: 8rem;
    height: auto;
    margin: 0.5rem;
}

footer .icons svg {
    width: 4rem;
    height: 4rem;
    margin: 0 0.2rem;
}

footer .icons a svg path {
    fill: rgba(209, 174, 97, 1)
}

footer .icons a:hover svg path {
    fill: rgba(158, 123, 46, 1);
    transition: fill 0.3s ease;
}

footer .bye-bye {
  max-width: 40%;
}

footer p {
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
    color: rgba(255, 255, 255, 1);
}

/* Responsive */

@media screen and (max-width: 1250px) {

    /* Soundtrack */

    .soundtrack-columns {
      grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1100px) {

    /* Cosmos section - Planet */

    .planet {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 2rem;
        text-align: center;
        max-width: 85%;
    }

    .planet-img, .about-planet, .gallery {
        grid-area: auto;
    }

    .planet-img img {
        width: 80%;
        height: auto;
    }

    .about-planet {
        justify-content: flex-start;
    }

    .carousel-caption h4 {
        font-size: 1.25rem;
        font-weight: 400;
    }

    .carousel-caption p {
        font-size: 0.7rem;
    }

    .flickity-button {
        scale: 0.8;
    }

    .carousel-cell::after {
        background-image: linear-gradient(to top, rgba(23,23,25,0.9), transparent);
    }

    /* Characters Section */

    .description .path-element-rarity { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 1rem; 
    } 

    .description .path-element-rarity > div { 
        gap: 0.25rem; 
    } 

    .star-svg { 
        gap: 0.25rem; 
        height: 1.8rem; 
        width: auto; 
        padding: 0.5rem;
    } 

    .star-svg img { 
        height: 1rem; 
        width: auto; 
    } 

    .description .path-element-rarity > .path img, 
    .description .path-element-rarity > .element img { 
        height: 1.8rem; 
        width: auto; 
    } 

    .description h4 { 
        font-size: 0.9rem; 
    } 

    .description p { 
        font-size: 0.8rem; 
        padding: 1rem; 
    } 

    .description .quote { 
        font-size: 0.9rem; 
    }

    /* Footer */
    
    footer {
        height: 70vh;
        margin: 0.1rem 0;
    }
    footer .separator {
      width: 100%;
      height: 1px;
      background-color: rgba(158, 123, 46, 1);
      margin: 0;
    }

    footer .icons img {
        width: 7rem;
    }

    footer .icons svg {
        width: 3rem;
        height: 3rem;
        margin: 0 0.2rem;
    }

    footer .bye-bye {
      max-width: 45%;
    }

}

@media screen and (max-width: 992px) {

    /* Hero */
    
    .hero {
        box-shadow: inset 0 0 0 1000px rgba(23,23,25,0.7);
        background-image: url(../img/hero_hsr_vertical.png);
    }
    
    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-content .highlight {
        font-size: 2.7rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .flickity-page-dots .dot {
    scale: 0.7;
    }

    /* Gallery */

    .characters-gallery { 
        display: grid; 
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }

    .description .path-element-rarity { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
    text-align: center; 
} 

    .description .path-element-rarity > div { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        gap: 0.5rem; 
    } 

    .star-svg { 
        display: flex; 
        justify-content: center; 
        align-items: center; 
        gap: 0.25rem; 
        height: 3rem; 
        width: auto; 
        padding: 0.5rem;
    } 

    .star-svg img { 
        height: 1.5rem; 
        width: auto; 
    } 

    .description .path-element-rarity > .path img, 
    .description .path-element-rarity > .element img { 
        height: 3rem; 
        width: auto; 
    } 

    .description h4 { 
        font-size: 1.2rem; 
        font-weight: 600; 
        color: rgba(209, 174, 97, 1);
    } 

    .description h4::after { 
    content: ""; 
    display: block; 
    width: 90%; 
    height: 1px; 
    background-color: rgba(209, 174, 97, 0.6); 
    margin: auto; 
    }
    
    .description p { 
        font-size: 0.9rem; 
        padding: 0 3rem 1.5rem; 
    } 
    
    .description .quote { 
        font-size: 1.1rem; 
        padding: 1.5rem 3rem; 
    } 

    /* Updates */

    #updates p {
        font-size: 0.9rem;
    }

    .slide img {
    width: 30rem;
    }

    /* Soundtrack */

    .soundtrack-columns {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media screen and (max-width: 870px) {

    
    /* Navbar */

    .bx-menu {
        display: block;
    }

    .navbar.expanded {
        border-radius: 1rem 1rem 0 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(23,23,25,0.95);
        margin-top: 0rem;
        text-align: center;
        flex-direction: column;
        padding: 1rem 0;
        border-radius: 0 0 1rem 1rem;
        border: 1px solid rgba(158, 123, 46, 0.4);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        display: block;
        padding: 1rem 0;
    }

    .navbar {
        padding: 0 3rem;
        justify-content: space-between;
    }

    .flickity-page-dots .dot {
    background: transparent;
    opacity: 0.25;
    }

}

@media screen and (max-width: 750px) {

    /* Cosmos section - Planet */

    .planet {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 2rem;
        text-align: center;
        max-width: 80%;
    }

    .planet-img, .about-planet, .gallery {
        grid-area: auto;
    }

    .planet-img img {
        width: 80%;
        height: auto;
    }

    .about-planet {
        justify-content: flex-start;
    }

    .carousel-caption {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 0 1rem 0;
    padding: 0;
    z-index: 2;
    }

    .carousel-caption h4 {
        font-size: 1rem;
    }

    .carousel-caption p {
        display: none;
    }

    .flickity-button {
        scale: 0.5;
    }

    /* Characters Section */

    .description .path-element-rarity { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 1rem; 
    } 

    .description .path-element-rarity > div { 
        gap: 0.25rem; 
    } 

    .star-svg { 
        gap: 0.25rem; 
        height: 1.8rem; 
        width: auto; 
        padding: 0.5rem;
    } 

    .star-svg img { 
        height: 1rem; 
        width: auto; 
    } 

    .description .path-element-rarity > .path img, 
    .description .path-element-rarity > .element img { 
        height: 1.8rem; 
        width: auto; 
    } 

    .description h4 { 
        font-size: 0.9rem; 
    } 

    .description p { 
        font-size: 0.8rem; 
        padding: 1rem; 
    } 

    .description .quote { 
        font-size: 0.9rem; 
    }

    /* Updates */

    #updates p {
        padding: 0.75rem 0;
        text-align: left;
    }

    .slide img {
    width: 30rem;
    }

    /* Soundtrack */

    .soundtrack-columns {
      grid-template-columns: repeat(1, 1fr);
      gap: 2rem;
    }

    .card h4 {
        color: #fff;
        font-weight: 400;
        font-size: 1rem;
    }
    
    .card p {
        font-weight: 200;
        font-size: 1rem;
        color: rgba(209, 174, 97, 1);
        padding: 0.5rem;
    }
    
    .soundtrack-button {
        width: 50%;
        padding: 0.1rem;
        margin: 0.25rem;
        background-color: transparent;
        border: 1px solid rgba(158, 123, 46, 1);
        border-radius: 2rem;
        cursor: pointer;
    }
    
    .soundtrack-button a {
        color: rgba(158, 123, 46, 1);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 200;  
    }

    /* Footer */
    
    footer {
        height: 70vh;
        margin: 0.1rem 0;
    }

    footer .separator {
        width: 100%;
        height: 1px;
        background-color: rgba(158, 123, 46, 1);
        margin: 0;
    }

    footer .icons img {
        width: 6rem;
    }

    footer .icons svg {
        width: 2.5rem;
        height: 2.5rem;
        margin: 0 0.2rem;
    }

    footer .bye-bye {
        max-width: 55%;
    }

    footer .bye-bye p {
        font-size: 0.8rem;
    }

}