@font-face {
    font-family: notosans;
    src: url('fonts/notosans.ttf') format('opentype'),
    url('fonts/notosans.ttf') format('truetype');
}

@font-face {
    font-family: oregano;
    src: url('fonts/oregano.ttf') format('opentype'),
    url('fonts/oregano.ttf') format('truetype');
}


body {
  font-family: 'Georgia', serif;
  font-family: 'oregano';
  margin: 0;
  background-color: #111;
  color: #f5f5f5;
  background: url('images/louise_dancing1.jpg') top/cover no-repeat;    
}

header {
  position: fixed;
  width: 100%;
  background-color: transparent;
  padding: 0;
  display: flex;
  align-items: top;
  justify-content: space-between;
  background-color: rgba(0,0,0, 0.4);
  z-index:100;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
}

#topbanner { 
  width: 100%;
  background: linear-gradient(to right, black, black, rgba(0,0, 0, 0.8), transparent);
}

.wrapper_topimage {
    margin-bottom: -50px;
}

.wrapper_topimage h1 {
    position: absolute;
    margin-left: 20px;
    margin-top: 180px;
    z-index: 10;
}

.topimage {
    width: 100%;
      -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%) ;
    mask-repeat: no-repeat;
    mask-size: cover;
}


.logo {
  height: 10rem;
  margin-bottom: -5px;
}

h1, h2 {
  margin: 0px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

a {
  color: white;
}

a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.hero {
  text-align: center;
  padding: 2rem;
 
  color: #fff;
}

.about, .tour-dates, .media {
  padding: 40px;
}

.about_fullwidth {
    padding: 1rem 0;
}

footer {
  position: relative;
  bottom: 0px;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
  padding: 10px 20px;
  font-size: 1rem;
  width: calc(100% - 40px);
}

.footer_right {
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.footer_right a {
  display: inline-block;
  padding: 5px 5px 0px 5px;
}

.footer_right a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.footer_right img {
  width: 40px;
  margin-right: 10px;
}

.menu_img_wrapper {
  display: flex;
}

.menu_icon {
  width: 30px;
  margin-right: 10px;
}

main {
  position: relative;
  height: 100%;  
  background-color: rgba(0,0,0, 0.5);
  font-size: 2em;
  padding: 0px;
  text-shadow:
    -1px -1px 0 black,
    1px -1px 0 black,
    -1px  1px 0 black,
    1px  1px 0 black;
}

.top_spacer {
    height: 150px;
}

section {
  margin: 0 0;
  padding: 20px;
}


form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto;
}

input, textarea {
  padding: 0.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
}

button {
  background-color: #c00;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}



nav {
  position: absolute; 
  top: 0px;
  right: 0px;
}


.menu-toggle {
  display: none;
  font-size: 3rem;
  cursor: pointer;
  color: #f5f5f5;
  margin-right: 20px;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  color: black !important;
  padding-right: 10px;
  font-size: 1.5em;
}

.nav-links li {
  border: white solid 2px;
  border-color: transparent;
  padding: 5px 10px;
}

.nav-links li:hover {
  border: white solid 2px;
}

#div_header_phone {
    position: absolute;
    top: 100px;
    right: 25px;
    width: 300px;
    font-size: 1.5rem;
    text-align: right;
}


.gigbox:not(.gigbox_year)::before, .div_tourend {
    /* This is the line above the each tourdate */
    content: "";
    display: block;
    width: calc(100% - 0px);
    height: 2px;
    background: rgb(255, 255, 255, 0.3);
    margin: 0 auto 20px; /* top=0, left/right auto, bottom=10px */
}

.div_tourend {
    width: calc(100% - 80px);
    margin-top: 20px;
}

.gigbox:not(.gigbox_year) {    
    position: relative;  
    display: inline-block;
    width: calc(100% - 80px);
    padding: 20px 40px 0 40px;
    margin-bottom: 0px;
    background-color: transparent;
    color: white;
    text-shadow: none;
    border-radius: 5px;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gigbox_year {
    font-size: 2em;
    margin-bottom: 0px;
    letter-spacing: 0.2em;
}

.gigbox_town, .gigbox_year {
    display: inline-block;
    margin-right: 20px;
}

.gigbox.previous {
  text-decoration: line-through;
}

.btn_ticket, .btn_soldout, .btn_free {
  font-family: 'notosans';
  position: absolute;
  right: 40px;
  border: 1px solid blue;
  padding: 20px 20px;  
  margin-top: 10px;
  color: blue;
  font-weight: bold;
  text-decoration: none !important;
  text-align: center;    
  margin-left: 20px;
  background-color: white;
}

.btn_free {
    background-color: transparent;
}

.btn_soldout {
  color: #AA0000;
  border-color: #AA0000;
}

.btn_free {
  color: #80ff25;
  border: none;
}

.btn_ticket:hover {
  color: white;
  background-color: blue;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
}

#mediasection {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 25%; 
}

#mediasection iframe {
    width: 100%;
    max-width: 800px;
    height: auto; /* Required for the ratio to take control */
    max-height: 500px;
    border: white 2px solid;
    border-radius: 5px;
    margin-top: 20px; 
    margin-left: 20px;
}

.landscape {
    aspect-ratio: 16 / 9; /* Enforces landscape format */
}

.portrait {
    aspect-ratio: 9 / 16; /* Enforces portrait format */
    width: 300px !important;
}

.gigvid {
    display: inline-block;
    border: white 2px solid;
    border-radius: 5px;
    margin-top: 20px; 
    margin-left: 20px;
    height: 500px !important;
}

ul {  
  list-style-type: none;
  padding-left: 20px; /* Optional: removes indentation */
}

.subhead {
  background-color: rgba(0,0, 0, 0.7);
  padding: 10px 20px;
  display: inline-block;
  margin-right: 20px;
}

.div_bandmember {
  position: relative;
  margin-bottom: 50px;
}

.img_wrapper {
  width: calc(50% - 20px);
  position: relative;
  margin-left: 20px
}

.div_bandmember img {
    width: 100%;
    border: white 2px solid;
    border-radius: 10px;
}

.div_bandmember h3 {
    position: absolute;
    top: 0px;
    left: 5px;
    margin-top: 0px;
    font-size: 1.2em;
    background-color: transparent;
    text-shadow:
        -2px -2px 0 black,
        2px -2px 0 black,
        -2px  2px 0 black,
        2px  2px 0 black;
}

.img_wrapper .member {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 3em;  
  
  text-shadow:
      -2px -2px 0 black,
      2px -2px 0 black,
      -2px  2px 0 black,
      2px  2px 0 black;

}

.div_bandmember p {
  position: absolute;
  top: 0px;
  right: 20px;
  width: calc(45% - 20px);
  padding: 20px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.8);
  font-size: 1.5rem;
}

/****** GALLERY PAGE STYLING ***********/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 3fr));
    gap: 15px;
    margin-top: 20px;
}
.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s;
}
.gallery img:hover {
    transform: scale(1.05);
}
/* Lightbox overlay */
#lightbox {
    display: none;
    position: fixed;
    top: 100px; left: 0;
    width: calc(100%); height: calc(100%);
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}
#lightbox img {
    max-width: calc(100% - 80px);
    max-height: calc(95% - 200px);
    border: 4px solid white;
    border-radius: 10px;
}


/****** MEDIA WIDTH 1500 or less **********/

@media (max-width: 1500px) {
  .div_bandmember .member {
    font-size: 1.5em;
    margin-right: -5px;
  }

    .div_bandmember p {    
        margin-top: 0px;
        font-size: 1.3rem;
    }
}


/****** MEDIA WIDTH 1200 or less **********/


@media (max-width: 1200px) {   
  .div_bandmember {
    width: 100%;
    margin-bottom: -30px;
  }
   
  .img_wrapper {
    width: 100%;
    margin-left: 0px;
    margin-bottom: -30px    
  }

  .div_bandmember img {
    width: 100%; 
    border: none;
    border-top: white 5px solid;
    border-radius: 0px;

  }

  .div_bandmember h3 {
    margin-top: 10px;
    font-size: 1.3em;
    margin-left: 0px;
  }

  .div_bandmember .member {
    font-size: 1.8em;
    margin-right: 10px;
  }

  .div_bandmember p {    
    position: relative;
    font-size: 1.8rem;
    width: calc(100% - 40px);
    margin-top: 10px;
    padding: 20px;
    padding-bottom: 30px;
    border-radius: 0px;    
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    right: 0px;
  }
}

/****** MEDIA WIDTH 1050 or less (mobile devices mainly) **********/

@media (max-width: 1050px) {
    main {
        font-size: 1.5em;
        padding: 0px;
    }

    h1 {
        font-size: 1.3em;
    }

    h2 {
        font-size: 1.1em;
    }

    .logo {
        height: 5rem;
        margin-bottom: -5px;
    }

    .top_spacer {
        height: 80px;
    }
    .wrapper_topimage h1 {
        position: absolute;
        margin-left: 10px;
        margin-top: 90px;
    }

    #div_header_phone {
        top: 20px;
        right: 100px;
    }

    .div_bandmember {
        width: 100%;
    }

    .div_bandmember p {    
        font-size: 1.3rem;
    }

    .div_bandmember h3 {
        margin-top: 0px;
        font-size: 100%;
        margin-left: 0px;
    }

    .div_bandmember .member {
        font-size: 1.5em;
        margin-right: 10px;
    }

    #topbanner {
        background-color: black;
        z-index: 1;
    }

    .about, .tour-dates, .media {
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        z-index: 10;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 40px;
        right: 0;
        background-color: #222;
        padding: 1rem;
        width: 200px;
    }

    .nav-links.active {
        display: flex;
    }

    ul {  
        padding-left: 0px; /* Optional: removes indentation */
    }   

    .gigvid {
        height: auto !important; 
        width: calc(45% - 20px);
    }

    .gigbox:not(.gigbox_year) {
        justify-content: center;
        width: calc(100% - 20px);
        padding: 20px 10px 0 10px;
    }   

    .div_tourend {
        width: calc(100% - 20px);
        margin-top: 20px;
    }

    .btn_ticket, .btn_soldout, .btn_free {
        position:relative;
        width: calc(100% - 65px);        
        margin: 20px 30px 0px 30px;
        padding: 20px 20px;
        height: auto;
        right: 20px;
    }

    .gallery img:hover {
        transform: none;
    }
  /* Lightbox overlay */


    footer  {
        text-align: left;
    }

}
