html,
body {
  width: 100%;
  height: 100%
}

body {
  font-family: Muli, Helvetica, Arial, sans-serif
}

a {
  color: #ffffff;
  -webkit-transition: all .35s;
  -moz-transition: all .35s;
  transition: all .35s
}

a:focus,
a:hover {
  color: #ffffff
}

hr {
  max-width: 100px;
  margin: 25px auto 0;
  border-width: 1px;
  border-color: rgba(34, 34, 34, .1)
}

hr.light {
  border-color: #fff
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Catamaran, Helvetica, Arial, sans-serif;
  font-weight: 200;
  letter-spacing: 1px;
  color: white;
  /*padding: 1%;*/
}

p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}

section {
  padding: 15vmin
}

section h2 {
  font-size: 50px
}

#mainNav {
  background-color: #27211b;
  transition: none;
  padding: 0 15vmin!important;
  margin-top: 0 !important;
}

#mainNav.navbar-shrink {
  background-color: #27211b;
  transition: none;
}

@media (max-width: 991.98px) {
  #mainNav {
    background-color: #27211b !important;
    padding-left: 4.5rem !important;
    padding-right: 4.5rem !important;
  }
  #mainNav.navbar-shrink {
    background-color: #27211b !important;
    box-shadow: none;
  }
}

/* Remove forced override for transition and color on desktop */
@media (min-width: 992px) {
  nav#mainNav.navbar.navbar-expand-lg.navbar-light.fixed-top {
    background-color: transparent !important;
    /* transition: none !important; */
  }
  nav#mainNav.navbar.navbar-expand-lg.navbar-light.fixed-top.navbar-shrink {
    background-color: #27211b !important;
    /* transition: none !important; */
  }
}

header.masthead {
  height: fit-content;
  position: relative;
  width: 100%;
  color: #ffffff;
  background: url(../img/background.jpg);
  background-size: cover;
  /* Adjusts the scaling of the background image */
  background-repeat: no-repeat;
  /* Ensures the background image is not repeated */
  background-position: center;
  /* Centers the background image */
  padding-top: 10vmin; /* Ensures header content is not hidden behind the fixed navbar */
}


header.masthead .header-content {
  text-align: center
}

header.masthead .header-content h1 {
  font-size: 30px;
  margin-left: 3%;
  margin-right: 3%;
}

header.masthead .device-container {
  max-width: 325px;
  margin-right: auto;
  margin-left: auto
}

header.masthead .device-container .screen img {
  border-radius: 3px
}

@media (min-width:992px) {
  header.masthead {
    height: fit-content;
    min-height: 775px;
    padding-bottom: 0
  }

  header.masthead .header-content {
    margin-bottom: 0;
    text-align: left
  }

  header.masthead .header-content h1 {
    font-size: 50px;
    margin-left: 0;
    margin-right: 0;
  }

  header.masthead .device-container {
    max-width: 325px
  }
}

section.download {
  position: relative;
  padding: 150px 0
}

section.download h2 {
  font-size: 50px;
  margin-top: 0
}

section.download .badges .badge-link {
  display: block;
  margin-bottom: 25px
}

section.download .badges .badge-link:last-child {
  margin-bottom: 0
}

section.download .badges .badge-link img {
  height: 60px
}

@media (min-width:768px) {
  section.download .badges .badge-link {
    display: inline-block;
    margin-bottom: 0
  }
}

@media (min-width:768px) {
  section.download h2 {
    font-size: 70px
  }
}

section.features .section-heading {
  margin-bottom: 10vmin
}

section.features .section-heading h2 {
  margin-top: 0
}

section.features .section-heading p {
  margin-bottom: 0
}

section.features .device-container,
section.features .feature-item {
  max-width: auto;
  margin: 0 auto
}

section.features .device-container {
  margin-bottom: 100px
}

.feature-item .responsive-iframe {
  width: 100%;
}



@media (min-width:992px) {
  section.features .device-container {
    margin-bottom: 0
  }
}

section.features .feature-item {
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center
}

section.features .feature-item h3 {
  font-size: 30px
}

section.features .feature-item i {
  font-size: 80px;
  display: block;
  margin-bottom: 15px;
  background: -webkit-linear-gradient(to left, #7b4397, #dc2430);
  background: linear-gradient(to left, #7b4397, #dc2430);
/*    -webkit-background-clip: text;    */
  -webkit-text-fill-color: transparent
}

section.cta .cta-content {
  position: relative;
  z-index: 1
}

section.cta .cta-content h2 {
  font-size: 50px;
  max-width: 450px;
  margin-top: 0;
  margin-bottom: 25px;
  color: #fff
}

@media (min-width:768px) {
  section.cta .cta-content h2 {
    font-size: 80px
  }
}

section.cta .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5)
}

section.contact {
  text-align: center
}

section.contact h2 {
  margin-top: 0;
  margin-bottom: 25px
}

section.contact h2 i {
  color: #dd4b39
}

section.contact ul.list-social {
  margin-bottom: 0
}

section.contact ul.list-social li a {
  font-size: 40px;
  line-height: 80px;
  display: block;
  width: 80px;
  height: 80px;
  color: #fff;
  border-radius: 100%
}

section.contact ul.list-social li.social-twitter a {
  background-color: #1da1f2d0
}

section.contact ul.list-social li.social-twitter a:hover {
  background-color: #0d95e8
}

section.contact ul.list-social li.social-facebook a {
  background-color: #3b5998d0
}

section.contact ul.list-social li.social-facebook a:hover {
  background-color: #344e86
}

section.contact ul.list-social li.social-linkedin a {
  background-color: #0e76a8d0
}

section.contact ul.list-social li.social-linkedin a:hover {
  background-color: #0e76a8
}

section.contact ul.list-social li.social-youtube a {
  background-color: #C4302Bd0
}

section.contact ul.list-social li.social-youtube a:hover {
  background-color: #C4302B
}

section.contact ul.list-social li.social-instagram a {
  background-color: #833ab4d0
}

section.contact ul.list-social li.social-instagram a:hover {
  background-color: #833AB4
}

section.contact ul.list-social li.social-bandcamp a {
  background-color: #629aa9d0
}

section.contact ul.list-social li.social-bandcamp a:hover {
  background-color: #629aa9
}

section.contact ul.list-social li.social-spotify a {
  background-color: #05ec5ed0
}

section.contact ul.list-social li.social-spotify a:hover {
  background-color: #05ec5d
}

footer {
  padding: 25px 0;
  text-align: center;
  color: white;
  background: url(../img/background.jpg);
  background-size: cover;
  /* Adjusts the scaling of the background image */
  background-repeat: no-repeat;
  /* Ensures the background image is not repeated */
  background-position: center;
  /* Centers the background image */
}

footer p {
  font-size: 12px;
  margin: 0
}

footer ul {
  margin-bottom: 0
}

footer ul li a {
  font-size: 12px;
}

footer ul li a.active,
footer ul li a:active,
footer ul li a:focus,
footer ul li a:hover {
  text-decoration: none
}

.bg-primary {
  background: #27211b;
}

.text-primary {
  color: white
}

.no-gutter>[class*=col-] {
  padding-right: 0;
  padding-left: 0
}

.btn-outline {
  color: #fff;
  border: 1px solid;
  border-color: #fff
}

.btn-outline.active,
.btn-outline:active,
.btn-outline:focus,
.btn-outline:hover {
  color: #fff;
  border-color: #fdcc52;
  background-color: #fdcc52
}

.btn {
  border-radius: 300px;
  font-family: Lato, Helvetica, Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase
}

.btn-xl {
  font-size: 11px;
  padding: 15px 45px
}

.resized-image {
  width: auto;
  /* Adjust the width as desired */
  max-height: 25vmin;
  /* Maintain aspect ratio */
  margin: 8px;
  /* Add margin between images */
}

.image-row {
  display: inline-flex;
  /* Display images in a row */
  justify-content: center;
  /* Center align the images horizontally */
  flex-wrap: wrap;
  /* Allow images to wrap to the next line */
  max-width: 100%;
}

.image-row img {
  transition: border-color 0.3s ease;
}

.image-row img:hover {
  border: 2px solid #fdcc52;
}

/* Media query for smaller screens */
@media (max-width: 992px) {
    .resized-image {
        max-height: 50vmin;
        margin-top: 10vmin;
        /* Reduce the maximum width for smaller screens */
    }

    .image-row {
        flex-wrap: wrap;
        display: contents;
    }
}

/* Media query for smaller screens */
@media (max-width: 992px) {
    .iframe-container {
        position: relative;
        width: 100%;
        padding-bottom: 5vmax;
        /* Set the desired aspect ratio (16:9 is 56.25%) */
    }

    .iframe-container iframe {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.logo-image {
    width: auto;
    /* Adjust the width as desired */
    max-height: 6vmin;
    /* Maintain aspect ratio */
    margin: 2px;
    /* Add margin between images */
}

@media (max-width: 992px) {
    .logo-image {
        width: auto;
        /* Adjust the width as desired */
        max-height: 10vmin;
        /* Maintain aspect ratio */
        margin: 2px;
        /* Add margin between images */
    }
}

/* --- Remove all max-width from Bootstrap's @media queries for .container and .container-fluid --- */
@media (min-width: 576px) {
  .container, .container-fluid { max-width: none !important; }
}
@media (min-width: 768px) {
  .container, .container-fluid { max-width: none !important; }
}
@media (min-width: 992px) {
  .container, .container-fluid { max-width: none !important; }
}
@media (min-width: 1200px) {
  .container, .container-fluid { max-width: none !important; }
}
@media (min-width: 1400px) {
  .container, .container-fluid { max-width: none !important; }
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body, html {
  width: 100vw;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

.header-content {
  width: 100%;
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
}

iframe, img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* Responsive iframe container for 16:9 aspect ratio (YouTube only) */
.responsive-iframe {
  position: relative;
  width: 100%;
  max-width: 1620px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}
.responsive-iframe iframe[src*="youtube.com"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Remove all aspect-ratio and positioning hacks for Spotify iframes */
iframe[src*="open.spotify.com"] {
  position: static !important;
  width: 100% !important;
  height: 352px !important;
  min-height: 0 !important;
  border: 0 !important;
  display: block;
}

@media (max-width: 992px) {
  iframe[src*="open.spotify.com"] {
    height: 352px !important;
    min-height: 0 !important;
  }
}

/* --- Projects Infinite Carousel (Mobile) --- */
.projects-infinite-carousel {
  overflow: hidden;
  padding: 0 8vw;
  position: relative;
}
.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  overflow-y: hidden;
  gap: 5px;
  padding: 1vw 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track a {
  flex: 0 0 80vw;
  max-width: 80vw;
  display: contents;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
}
.project-slide-img {
  max-height: 120px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #fff;
  margin-right: 2px;
}
.carousel-track a:last-child .project-slide-img { margin-right: 0; }
@media (min-width: 768px) {
  .projects-infinite-carousel { display: none !important; }
}
/* --- End Projects Infinite Carousel --- */

#mainNav .navbar-nav > li > a,
#mainNav .navbar-nav > li > a:focus {
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: Lato, Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
}
#mainNav .navbar-nav > li > a:focus:hover,
#mainNav .navbar-nav > li > a:hover {
  color: #fdcc52;
}

#mainNav .navbar-toggler {
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: Lato, Helvetica, Arial, sans-serif;
  color: #fff;
  background: none;
  border: none;
  outline: none;
}
#mainNav .navbar-toggler:focus,
#mainNav .navbar-toggler:hover {
  color: #fdcc52;
  outline: none;
}

.projects .section-heading h2,
#videogames > .mb-4 > h2,
#soundtrack > .mb-4 > h2,
#various > .mb-4 > h2 {
  font-family: Lato, Helvetica, Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fdcc52;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h21 {
  font-family: Lato, Helvetica, Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fdcc52;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 992px) {
  .bio-row {
    flex-wrap: nowrap !important;
  }
  .bio-img-col {
    min-width: 320px;
    max-width: 500px;
    flex: 0 0 auto;
    margin-left: 32px; /* Add margin between text and photo */
  }
  .bio-text-col {
    width: calc(100% - 352px); /* 320px min-width + 32px margin */
    max-width: none;
  }
  .bio-img-col img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .bio-row {
    flex-wrap: nowrap !important;
  }
  .bio-img-col {
    min-width: 200px;
    max-width: 280px;
    flex: 0 0 auto;
    margin-left: 24px;
  }
  .bio-text-col {
    width: calc(100% - 224px); /* 200px min-width + 24px margin */
    max-width: none;
  }
  .bio-img-col img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }
}

@media (min-width: 1200px) {
  .responsive-iframe {
    aspect-ratio: 16 / 9;
    height: auto;
    padding-bottom: 0 !important;
  }
  .responsive-iframe iframe[src*="youtube.com"] {
    position: static;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    display: block;
  }
}