@import url(font.css);

:root {
    --background: #333;
    --background-dark: #222;
    --main: #eee;
    --baby-blue: #89cff0;
    --baby-pink: #fcc3c3;
    --highlight: 0px 0px 4px 2px rgba(255, 255, 255, 0.2);
}

body {
  background-color: var(--background);
  background-image: url('../images/background.svg');
  background-blend-mode: multiply;
  font-family: 'Mukta', sans-serif ;
  color: var(--main);
  box-sizing: border-box;
  margin: 0;
}

*, *::before, *::after {
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

nav.menu {
}

nav.menu > ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.menu__item {
  flex: 1 1 0;
  font-size: 1.2em;
  text-align: center;
  transition: all 0.2s;
}

.menu__item > a {
  display: block;
  border-radius: 3px;
}

.menu__item:not(.menu__item--selected):hover {
  color: var(--baby-blue);
}

.menu__item--selected {
  font-weight: bolder;
  font-style: italic;
}

.listen {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 50px;
  height: var(--footer-height);
  background-color: var(--background-dark);
}

.platform-logo--soundcloud > a {
  background-color: #eee;
  display: block;
  padding: 10px;
  border-radius: 5px;
  line-height: 1;
}

.header {
  margin: 0 auto;
  max-width: 1000px;
  position: fixed;
  top: 0;
  left: 10px;
  right: 10px;
  height: var(--header-height);
  background-color: var(--background-dark);
  border-radius: 0px 0px 20px 20px;
  box-shadow: var(--highlight);
}

.header__title {
  font-size: 2.5em;
  font-weight: bold;
}

.header__container {
  display: grid;
  grid-template-columns: 1fr 250px 1fr;
  grid-template-areas: "menu title icons";
  margin: 5px 20px;
  align-items: center;
}

.header__group {
}

.header__group--left {
  text-align: left;
  grid-area: menu;
}

.header__group--middle {
  text-align: center;
  grid-area: title;
}

.header__group--right {
  text-align: right;
  grid-area: icons;
}

.card__container {
  display: grid;
  place-content: center;
}

.card__container--fullscreen {
  min-height: 95vh;
}

.header__icons {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  align-items: center;
  align-content: space-around;
}

.platform-icon {
  width: 40px;
  height: 40px;
}

.platform-icon--inline {
  display: inline-block;
}

.platform-icon img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.content__container {
  margin-top: calc(var(--header-height) + var(--content-spacing));
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
}

.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 50px;
}

.platform-logo {
  background: var(--background-dark);
  border-radius: 20px;
  padding: 20px;
  height: 140px;
  box-shadow:  var(--highlight);
}

.platform-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content__main > h1 { 
  text-align: center;
}

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

.call-to-action {
  font-weight: bold;
}

.call-to-action > a {
  font-size: 1.1em;
}

.call-to-action > a:hover {
  text-decoration: underline;
}

.events { 
  max-width: 600px;
  margin: auto;
  display: grid;
  gap: 30px;
}

.event {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-template-areas: 
    "title title"
    "date time"
    "subtitle subtitle"
    "location location"
    "location-sub location-sub"
    "description description"
    "link tickets";

  background: var(--background-dark);
  border-radius: 8px;
  box-shadow: var(--highlight);
  padding: 20px;
}

.event__date, .event__time {
  font-style: italic;
  font-size: 1.4em;
}

.event__date { 
  grid-area: date;
}

.event__time {
  grid-area: time;
  justify-self: end;;
}

.event__title {
  grid-area: title;
  justify-self: center;
  padding: 10px;
  font-size: 2em;
  font-weight: bold;
}

.event__subtitle {
  grid-area: subtitle;
  justify-self: center;
  padding: 10px;
  font-style: italic;
  font-weight: 1.2em;
}

.event__description {
  grid-area: description;
  padding: 20px;
}

.event__link {
  grid-area: link;
}

.event__tickets {
  grid-area: tickets;
  justify-self: right;
}

.event__location {
  grid-area: location;
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
}

.event__location__sub {
  grid-area: location-sub;
  font-style: italic;
  text-align: center;
}

.hero-section {
  display: grid;
  grid-template-areas: 
    "title"
    "logo"
    "subtitle"
    "description";
  column-gap: 40px;
  max-width: 800px;
  margin: auto;
}

.hero-section__image {
  grid-area: logo;
  text-align: center;
  padding: 20px;
  width: 250px;
  height: auto;
  justify-self: center;
}

.hero-section__image > img {
  width: 100%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: var(--highlight);
}

.hero-section__title {
  grid-area: title;
  font-weight: bold;
  font-size: 4em;
  text-align: center;
}

.hero-section__subtitle {
  font-style: italic;
  font-size: 1.5em;
  grid-area: subtitle;
  text-align: center;
}

.hero-section__description {
  grid-area: description;
}

.list--no-bullet {
  list-style: none;
}

.gallery img {
  max-width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: cover;
}

.gallery__preview > ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  place-content: center;
  padding-inline: 0;
}

.gallery__preview a {
  display: block;
  transition: transform 0.5s;
}

.gallery__preview img {
  border: solid 2px #eee;
}

.gallery__preview a:hover {
  transform: scale(1.1);
}

.gallery__main {
  width: 100%;
  aspect-ratio: 4/3;
  display: grid;
  overflow: hidden;
  border: solid 5px #eee;
}

.gallery__item {
  position: relative;
  font-size: 2rem;
}

.gallery__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-content: center;
  width: 50px;
  aspect-ratio: 1;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border: solid 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.5s;
}

.gallery__item__title {
  position: absolute;
  inset: 0;
  height: fit-content;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s;
  background-color: rgba(0, 0, 0, 0.5);
}

.gallery__item:hover .gallery__item__title {
  opacity: 1;
}

.gallery__nav:hover {
  transform: scale(1.3);
}

.gallery__nav--next {
  right: 10px;
}

.gallery__nav--prev {
  left: 10px;
}


@media screen {
  :root {
    --header-height: 80px;
    --footer-height: 100px;
    --content-spacing: 40px;
  }

}

@media screen and (max-width: 999px) {

  .platform-icon {
    width: 24px;
    height: 24px;
  }

}

@media screen and (max-width: 767px) {

  :root {
    --header-height: 125px;
    --footer-height: 100px;
    --content-spacing: 40px;
  }

  body {
    font-size: 10pt;
  }

  .header__container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 5px;
    grid-template-areas: 
      "icons"
      "title"
      "menu";
  }

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

  .platforms {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .header__icons {
    justify-content: center;

  }

  .header__group--left, .header__group--middle, .header__group--right {
    text-align: center;
  }

  .hero-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "title" "logo" "subtitle" "description";
  }


}

@media screen and (max-width: 479px) {

  :root {
    --header-height: 105px;
    --footer-height: 100px;
    --content-spacing: 20px;
  }

  body {
    font-size: 8pt;
  }

  .header {
    max-width: 400px;
  }

}
