* {
  margin: 0;
  padding: 0;
  font-family: "Quicksand", sans-serif;
  box-sizing: border-box;
}
:root {
  --content-gap: 2rem;
  --row-gap: 5rem;
  --primary: #c19781;
}
html {
  font-size: 62.5%;
}
.home {
  height: 100vh;
  display: grid;
  grid-template-columns: 1.5fr 2fr 1.5fr;
  gap: 5rem;
  overflow: hidden;
}
.home .col {
  position: relative;
}
.home .col a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
}
.home .col button {
  position: absolute;
  min-width: 50%;
  height: 9rem;
  background-color: var(--primary);
  color: #fff;
  border: 0 none;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 2rem;
}
.home__left button {
  left: 0;
  top: 10%;
  border-radius: 0 2.5rem 2.5rem 0;
}
.home__right button {
  right: 0;
  top: 50%;
  border-radius: 2.5rem 0 0 2.5rem;
}
.home .col img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.home__center {
  justify-self: center;
  align-self: center;
}
.home__center img {
  max-width: 68rem;
  width: 100%;
}
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
  z-index: 999;
}
.popup {
  margin: 4rem auto;
  background: #fff;
  border-radius: 5px;
  width: 98%;
  max-width: 1340px;
  position: relative;
  transition: all 1s ease-in-out;
}

.popup h1 {
  margin-top: 0;
  font-size: 3.1rem;
  text-transform: uppercase;
}
.popup .popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
}
.popup .close {
  transition: all 200ms;
  font-size: 4rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}
.popup .close:hover {
  color: #000;
}
.popup .content {
  padding: 2rem;
  overflow-y: scroll;
  height: 85vh;
  display: flex;
  flex-direction: column;
  gap: var(--row-gap);
}

.content section {
  font-size: 1.85rem;
  line-height: 1.9;
  text-align: justify;
  align-items: center;
}
.content section img {
  width: 100%;
  aspect-ratio: 10/7;
  object-fit: cover;
}
.bio {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--content-gap);
}
.bio h2 {
  font-size: 3.3rem;
  color: var(--primary);
}
.opole {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: var(--content-gap);
}
.opole > img {
  order: 2;
}
.content .album {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: var(--content-gap);
  font-size: 2.5rem;
}
.content .nagrody {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--content-gap);
  font-size: 2.5rem;
}
.content .nagrody > img {
  order: 2;
  height: 60rem;
  width: auto;
}
.studio {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--content-gap);
}
#o-studio h1 {
  font-size: 3.3rem;
  font-weight: normal;
  text-transform: none;
  text-align: center;
}
#o-studio h1 a {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
#o-studio h2 {
  font-size: 2.7rem;
  font-weight: normal;
}
#o-studio h2 strong {
  color: var(--primary);
}
#o-studio h3 {
  text-align: center;
  font-size: 2.3rem;
  line-height: 2;
}
#o-studio h4 {
  font-weight: normal;
  color: #d40707;
}
#o-studio ul {
  padding-left: 2rem;
}
#o-studio span {
  font-size: 1.5rem;
}
#o-studio section {
  align-items: flex-start;
}
.zajecia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--content-gap);
}
.zajecia .block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.youtube {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--content-gap);
}
.youtube iframe {
  width: 100%;
  height: 25rem;
}
#o-studio h2.promo {
  font-size: 2.7rem;
  font-weight: normal;
  max-width: 52ch;
  text-align: center;
  margin: 0 auto;
  color: #3c6f77;
}
#o-studio h2.promo span {
  font-size: 2.7rem;
  font-weight: bold;
}

@media screen and (max-width: 990px) {
  .home {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .content section {
    grid-template-columns: 1fr !important;
    text-align: left;
  }
  .opole > img,
  .nagrody > img {
    order: -1;
  }
  .home .col {
    min-height: 20rem;
  }
  .home__center img {
    max-width: 40rem;
  }
  .home .col button {
    font-size: 2rem;
    height: 7rem;
  }
  .home__right img {
    object-position: top;
  }
  .youtube {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 850px) {
  .home__center img {
    max-width: 20rem;
  }
  .content .album {
    font-size: 1.75rem;
  }
  #o-studio h1 {
    font-size: 2.7rem;
  }
  #o-studio h2 {
    font-size: 2.3rem;
  }
  #o-studio h3 {
    font-size: 2.1rem;
  }
  .content section {
    font-size: 1.75rem;
  }
  .popup .content {
    padding-bottom: 5rem;
    height: 85dvh;
  }
}
