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

:root {
    --primary-color: #7CB2C5;
    --grey-color: #C4C5C7;
    --light-color: #f4f4f6;
    --dark-color: #111;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
    overflow-x: hidden;
}

h1 {
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    object-fit: contain;
}


/* Navbar  */
.navbar {
    background: #fff;
    padding: 20px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    width: 50px;
}

.navbar .main-menu ul {
    display: flex;
}

.navbar ul li a {
    padding: 10px 20px;
    display: block;
    font-weight: normal;
    transition: 0.5s;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.navbar ul li a i {
    margin-right: 10px; 
}

/* .navbar ul li:last-child a {
    margin-left: 10px;
} */


/* Hero */
.hero {
    margin-bottom: 50px;
    text-align: center;
}

.hero .container {
    /*background: url('../images/grid-pattern.jpg') repeat;*/
    background-size: contain;
    background-position: center bottom;
    height: 550px;
}

.hero .hero-content {
    margin: auto;
    width: 100%;
}

.hero .hero-text {
    margin: auto;
    font-size: 1.2rem;
    /*max-width: 1000px;*/
    margin: 20px;
}

.featured-project-card-big {
    display: flex;
    justify-content: center;
    margin: auto;
    flex-direction: column;
    max-width: 400px;
}

.featured-project-card-small {
    display: flex;
    justify-content: center;
 
    flex-direction: column;
    max-width: 300px;
}

.other-featured-projects {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

.rotate-link {
  display: inline-block; /* Allows the transform property to work correctly */
  transition: transform 0.3s ease; /* Adds a smooth animation effect */
}

.rotate-link:hover {
  transform: rotate(3deg); /* Rotates the link slightly counter-clockwise */
}

/* make the smaller bandcamp link invisible on album pages by default, this switches with a media query */
.bandcamp-small {
    display: none;
}

/* for the mouse hover thing, google how to display text where your mouse pointer is css and do this later */
.description-text {
    display: none !important;
}
/*
.description-show:hover + h {
    display:block !important;
} */


/* Music page */
.album-art-container {
    max-width: 100%;
    display: flex;
    justify-content: left;
    flex-direction: row;
    flex-wrap: wrap;
}

.album-art {
    max-width: 250px;
    font-size: 0;
}


/* Utility Classes */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-album {
    max-width: 500px;
    margin: 0 auto;
}

.container-extras {
    display: flex;
    flex-wrap: wrap; 
    gap: 40px;
    justify-content: center;
}

.divider {
    border: none;
    border-top: 1px solid var(--primary-color);
    width: 50%; 
    margin: 40px auto;
}

.divider-sm {
    border: none;
    border-top: 1px solid var(--primary-color);
    width: 50%; 
    margin: 20px auto;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* About Me Page */
.about-me-container {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.about-me-img {
    width: 300px;
}

/* Portfolio Page */
.portfolio-container {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.portfolio-text {
    max-width: 75%;
}

.large-break{
    padding: 40px 0;
}

.highlight-link {
    color: var(--dark-color);
    transition: color 0.5s; 
}

.highlight-link:hover {
    color: var(--primary-color);
}

/* Card */
.card {
    background: #fff;
    color: #000;
    border-radius: 10px; 
    padding: 20px;
}

/* Footer */
.footer {
    padding: 40px 0;
}

.footer h4 {
    margin-bottom: 10px;
}

.footer ul li {
    line-height: 2.5;
}

.footer a {
    color: #ccc;
}

.footer i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.footer .card {
    margin: 20px 30px 30px 0;
}

.footer input[type='email'] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 20px 0;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: 0.5s;
    width: 170px;
}

.btn-center-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
}

.btn:hover {
    opacity: 0.8;
    background-color: #C4C5C7;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-dark {
    background: var(--dark-color);
    color: #fff;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


/* Text Classes */
.text-xxl {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: normal;
}

.text-xl {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 40px 0 20px;
}

.text-lg {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 30px 0 20px;
}

.text-md {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 20px 0 10px;
}

.text-sd {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 5px;
}

.text-center {
    text-align: center;
}

.primary-color {
    color: var(--primary-color);
}

.text-italic {
    font-style: italic;
}

.text-bold {
    font-weight: 600;
}

/* Background */
.bg-primary {
    background: var(--primary-color);
    color: #fff;
}

.bg-light {
    background: var(--light-color);
    color: #333;
}

.bg-primary {
    background: var(--light-color);
    color: #333;
}

.bg-dark {
    background: var(--dark-color);
    color: #fff;
}

.bg-black {
    background: #000;
    color: #fff;
}


/* Hamburger Button */
.hamburger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px; 
    z-index: 1000;
}

.hamburger-button .hamburger-line {
    width: 30px;
    height: 3px;
    background: #333;
    margin: 6px 0;
}


/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    z-index: 100;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    margin-top: 100px;
    padding-right: 10px;
}

.mobile-menu ul li {
    margin: 10px 0;
}

.mobile-menu ul li a {
    font-size: 20px;
    transition: 0.3s;
}


/* Media Queries */
@media (max-width: 1024px) {
    .text-xxl {
        font-size: 2.5rem;
    }

    /* music page (i think double check that I need these) */
    .album-art-container {
        justify-content: center;
    }

    .album-art {
        max-width: 24vw;
    }

    .container-album p{
        width: 100%;
    }

    /* about me page */
    .about-me-container {
        flex-direction: column;
        align-items: center;
    }

}

@media (max-width: 670px) {
    .navbar .main-menu {
        display: none;
    }

    .navbar .hamburger-button {
        display: block;
    }

    .hero .container {
        background: url('../images/hero-bg.png') repeat;
        background-size: 350px;
        background-position: bottom;
        height: 770px;
    }

    .hero .hero-content, .hero .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero .hero-buttons .btn {
        margin-bottom: 10px;
        display: block;
        width: 100%;
    }

    /* homepage projects */
    .other-featured-projects {
        flex-direction: column;
        align-items: center;
    }

    /* Music page */
    .album-art {
        max-width: 45vw;
    }

    /* portfolio page */
    .portfolio-container {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-container-reverse {
        flex-direction: column-reverse;
    }

    .divider-sm {
        display: block;
    }

    /* Text */
    .text-xl {
        font-size: 1.9rem;
    }

    .text-lg {
        font-size: 1.5rem;
    }

    .text-md {
        font-size: 1.1rem;
    }

    /* for extras page */
    .container-extras {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap; 
        align-items: center;
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 500px) {
    .text-xxl {
        font-size: 2rem;
    }

    /* Individual album pages */
    .container-album {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        padding: 0 20px;
    }

    /* switch bandcamp embeds to not show tracklist so it looks cleaner on mobile */
    .bandcamp-big {
        display: none;
    }
    .bandcamp-small {
        display: block;
    }

    /* center alphabetv1 link on song a week page lol */
    .center-link {
        width: 100%;
        text-align: center;
    }
}