/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

main {
  /* make sure to cover the screen */
  min-height: 100vh;

  /* need a solid bg to hide the footer */
  background: white;

  /* put on top */
  position: relative;
  z-index: 1;
}

.navigation {
  z-index: 500;
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.parallax-wrap {
  grid-column-gap: 15em;
  grid-row-gap: 15em;
  flex-flow: column;
  width: 100%;
  padding-bottom: 50vh;
  font-size: min(.85vw, 1rem);
  display: flex;
}

.parallax-hero {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding-left: 2em;
  padding-right: 2em;
  display: flex;
  position: relative;
  overflow: clip;
}

.parallax-bg {
  z-index: 0;
  width: 100%;
  height: 120%;
  position: absolute;
}

.parallax-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.parallax-h {
  z-index: 1;
  max-width: 25ch;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1;
  position: relative;
}

.parallax-row {
  grid-column-gap: 1.25em;
  grid-row-gap: 1.25em;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-left: 2em;
  padding-right: 2em;
  display: flex;
  position: relative;
}

.parallax-row__third {
  aspect-ratio: 1;
  width: calc(33.3333% - .833333em);
}

.parallax-card {
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  background-color: #ffffff0d;
  border: 1px solid #fff3;
  border-radius: .75em;
  flex-flow: row;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 2em;
  display: flex;
}

.parallax-p {
  margin-bottom: 0;
  font-family: RM Mono, Arial, sans-serif;
  font-size: 1.25em;
}

.parallax-row__half {
  aspect-ratio: 1;
  border-radius: .75em;
  position: relative;
  overflow: hidden;
}

.parallax-card__wrap {
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  background-color: #ffffff0d;
  border: 1px solid #fff3;
  border-radius: .75em;
  flex-flow: row;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  height: 35em;
  padding: 2em;
  display: flex;
  overflow: hidden;
}

.parallax-details {
  z-index: 1;
  position: absolute;
  bottom: 2rem;
  left: 2rem;
}

.data-parallax-span {
  display: inline-block;
}

.section-scroll {
    padding: 100vh 0;
    position: relative;
    overflow: hidden;
}
.section-scroll .scroll {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.section-scroll .section-slide {
    height: 100vh;
   
}
.section-scroll .content-wrapper {
    width: 100%;
    height: 100%;
    
    perspective: 250vw;
}
.section-scroll .slide-content {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d; /* inherits the perspective from the parent */
    transform-origin: 50% 10%;
    padding: 25px 50px 50px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.section-scroll .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-scroll .bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.section-scroll .text {
    width: 32vw;
    display: flex;
    align-items: flex-end;
    font: 500 normal 1.6vw / 1.1 'Inter', sans-serif;
    letter-spacing: -0.03em;
}
.section-scroll .bottom > div:last-child {
    display: flex;
    font: 500 normal 10.5vw / 0.9 'Inter', sans-serif;
    letter-spacing: -0.06em;
    gap: 25px;
}
.section-scroll .bottom img {
    width: 25vw;
    border-radius: 0.02em;
}
.section-scroll .top p {
    font: 500 normal 10.5vw / 0.9 'Inter', sans-serif;
    letter-spacing: -0.06em;
}
.section-scroll .top svg {
    width: 5.7vw;
    height: auto;
    display: block;
}

.section-scroll .section-slide:nth-child(1) .slide-content, 
.section-scroll .section-slide:nth-child(4) .slide-content {
    background: #F1F1F1;
    color: #121212;
}
.section-scroll .section-slide:nth-child(2) .slide-content,
.section-scroll .section-slide:nth-child(5) .slide-content {
    background: #C4EF7A;
    color: #527200;
}
.section-scroll .section-slide:nth-child(3) .slide-content {
    background: #FC4C3B;
    color: #FFF;
}

@media (max-aspect-ratio: 1/1) {
    .section-scroll .slide-content {
        padding: 15px;
        justify-content: initial;
    }
    .num {
        display: none;
    }
    .section-scroll .bottom {
        margin: 15px 0 0;
        flex-direction: column;
        gap: 15px;
    }
    .section-scroll .text {
        order: 2;
        font-size: 22px;
        width: 100%;
    }
    .section-scroll .bottom img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }
}


#brx-footer {
  /* place on the bottom */
  position: sticky;
  bottom: 0;
  left: 0;
}



