* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #eaeaec;
}

section {
  margin: 5rem;
}

a {
  color: black;
}

h2 {
  font-weight: 400;
  margin: 5rem;
  display: grid;
  text-align: center;
  grid-column: 2/3;
  font-size: 2.5rem;
  cursor: pointer;
}

.line-break {
  margin: 0;
  border-bottom: 10px double rgb(210, 223, 228);
}

.nav-btn {
  position: fixed;
  right: 2rem;
  top: 40%;
}

.nav-btn a:hover {
  opacity: 0.5;
}

/*--------------nav bar------------- */

.nav-bar {
  display: flex;
  justify-content: space-between;
  background: none;
  margin-right: 5rem;
}

.logo {
  margin: 80px;
  cursor: pointer;
  opacity: 0.9;
}

.logo-phone {
  display: none;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  margin: 5rem;
  letter-spacing: 2px;
  padding-top: 1.5rem;
}

.nav-link,
.navpage-menu a {
  padding: 0.5rem;
  font-size: 1rem;
  color: black;
  opacity: 0.8;
  transition: 0.3s;
}

.nav-link:hover,
.navpage-menu a:hover {
  opacity: 0.5;
}

.social-links-hamburger {
  display: none;
}

/*--------------------Hamburger menu---------------*/

.hamburger {
  display: none;
  cursor: pointer;
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.bar {
  display: block;
  width: 27px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: white;
  border-radius: 3px;
}

#top {
  display: none;
}

@media (max-width: 800px) {
  .front-page {
    margin: 0;
    max-height: 50%;
  }

  h2 {
    margin: 1rem 0 2rem 0;
    font-size: 1.75rem;
  }

  section {
    margin: 1rem;
  }

  #top {
    display: block;
  }

  .nav-bar {
    margin: 0 1.5rem;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: rgb(95, 17, 17);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: rgb(95, 17, 17);
  }

  .nav-menu {
    z-index: 50;
    position: fixed;
    right: -150%;
    top: 0rem;
    gap: 0;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.897);
    width: 80%;
    text-align: center;
    transition: 0.7s;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }

  .nav-item {
    margin: 15px;
    padding: 0;
  }

  .nav-link {
    color: rgb(122, 172, 196);
    padding: 0 3px;
  }

  .nav-menu.active {
    right: -5rem;
  }

  .social-links-hamburger {
    display: flex;
    justify-content: center;
  }

  .social-links-hamburger a {
    display: flex;
    padding: 0.5rem;
    opacity: 0.6;
  }
}

/*----------------------------------------------------------------------------------------------------*/

.front-page {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 55%, #eaeaec 100%),
    url(/img/snowforestbackground.jpg);
  min-height: 100vh;
  min-width: 100vw;
  background-position: center;
  background-size: cover;
  position: relative;
  top: -3rem;
}

/*-----------front page bio------------*/

.bio {
  margin: 5rem;
  display: grid;
  grid-template-columns: 1fr 4fr;
  grid-gap: 3rem;
  opacity: 0.9;
}

.headshot {
  width: 100%;
  min-width: 250px;
  border-radius: 20px;
  align-self: center;
  cursor: pointer;
}

.edruben-bio {
  margin-left: 3rem;
  padding: 0 5rem 0 0;
  text-align: left;
  justify-self: left;
  align-self: center;
  max-width: 900px;
  text-shadow: 1px 1px white;
}

@media (max-width: 800px) {
  section {
    margin: 0;
    padding: 2rem 0.5rem;
  }

  .front-page {
    margin: 0.1rem;
    padding: 3rem 0;
  }

  .nav-bar {
    display: block;
    text-align: center;
    justify-content: center;
  }

  .nav-btn,
  .logo {
    display: none;
  }

  .logo-phone {
    padding-top: 2rem;
    display: inline;
  }

  p {
    font-weight: 500;
    font-size: 0.8rem;
    text-align: center;
  }

  .bio {
    display: block;
    padding-bottom: 1rem;
    margin: 1rem;
  }

  .headshot {
    margin: 2rem auto;
    display: block;
    text-align: center;
    max-width: 20vw;
    border-radius: 50%;
    opacity: 0.8;
  }

  .edruben-bio {
    margin: 5rem auto;
    padding: 1rem 0;
    text-align: center;
  }
}

/*--------------Trio Box--------------*/

.trio-box {
  display: grid;
  grid-gap: 3rem;
  grid-template-columns: 1fr 4fr;
  padding: 2rem;
  justify-items: center;
  align-items: center;
  background-color: rgb(210, 223, 228);
  border-radius: 20px;
}

.trio-image {
  border-radius: 20px;
  align-self: center;
  cursor: pointer;
}

.trio-bio {
  margin-left: 3rem;
  max-width: 550px;
}

.trio-media {
  margin: 6rem 0rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1rem;
}

@media (max-width: 950px) {
  .trio-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .trio-media {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .trio-box {
    margin: 1rem 0;
    padding: 1rem 0.5rem;
    display: flex;
    justify-content: center;
    text-align: center;
    background: none;
  }

  .trio-bio {
    margin: 0;
    padding: 1rem;
  }
}

/*------------Bands-----------*/

.bands h3 {
  text-align: center;
  align-self: center;
  font-weight: 400;
  letter-spacing: 3px;
  margin: 1.5rem 0 1rem 0;
}

.bands-media {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1rem;
  padding-bottom: 3rem;
}

.edrubenepkitan-media {
  display: none;
}

@media (max-width: 800px) {
  .bands {
    background-color: rgb(210, 223, 228);
  }

  h3 {
    margin: 0;
  }

  .bands-media {
    display: flex;
    flex-direction: column;
    padding-bottom: 0.5rem;
  }

  .brainstrust-soundcloud {
    margin-top: 1em;
  }

  .edrubenepkitan-media {
    display: block;
  }

  .edrubenepkitan {
    display: none;
  }
}

/*-----------sessions--------------*/

.session-box {
  justify-content: center;
}

.sessions-bio {
  margin: 5rem 0;
  text-align: center;
}

.sessions a:hover,
.filmmedia a:hover {
  color: rgb(122, 172, 196);
  text-decoration: underline;
}

.sessions-media {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 0.5rem;
  padding-bottom: 10rem;
}

.sessions-media-media {
  display: none;
}

.sessions a,
.filmmedia a {
  color: rgb(2, 17, 83);
}

.spotify-player {
  align-items: center;
  height: 90px;
}

@media (max-width: 1200px) {
  .sessions-media {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .sessions-media {
    display: none;
  }

  .sessions-media-media {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .sessions-bio {
    margin: 2rem 0;
  }
}

/*----------Film Media-----------*/

.filmmedia-bio {
  margin: 3rem;
  text-align: center;
}

.filmmedia-media {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-gap: 1rem;
}

#iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

#iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 800px) {
  #filmmedia {
    background-color: rgb(210, 223, 228);
    margin-bottom: 5px;
  }

  .filmmedia-media {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
  }
}

/*------------------Footer----------------------*/

footer {
  margin-top: 1rem;
  padding: 0 2rem;
  display: flex;
  position: fixed;
  width: 100%;
  font-size: 0.75rem;
  bottom: 0;
  justify-content: space-between;
  background-color: rgba(223, 236, 241, 0.897);
  align-items: center;
  text-align: center;
}

.social-links {
  display: flex;
  padding-top: 5px;
}

.social-links a {
  padding: 0 0.5rem;
}

footer a:hover {
  opacity: 0.6;
}

.contact {
  padding-right: 4rem;
}

@media (max-width: 800px) {
  footer {
    margin: 0;
    padding: 0;
    position: relative;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    background-color: rgb(210, 223, 228);
  }

  .social-links {
    justify-self: center;
  }

  .social-links a {
    padding: 0.3rem;
  }

  .contact {
    padding: 0;
  }

  .copyright {
    grid-row: 3/4;
  }
}