/* Html tags styling */

.hair-condition h1, h2, h3, h6 {
    font-weight: lighter;
}

.hair-condition h1, h2 {
    margin-bottom: 20px !important;
}

.hair-condition h6 {
    font-size: 18px !important;
}

.hair-condition hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Special classes */

.hero-hair-condition {
    padding: 160px 0 20px;
    position: relative;
    z-index: 32;
    margin-bottom: 50px;
}

.hair-condition .scroll-box {
    overflow-x: auto;
}

.hair-condition .comparison-table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border: 1px solid;
    border-collapse: collapse;
}

.hair-condition .comparison-table td,
.hair-condition .comparison-table th  {
    border: 1px solid;
    padding: 1.2rem;
}

.hair-condition .comparison-table td:last-child,
.hair-condition .comparison-table th:last-child  {
    background-color: #FFC3005E !important;
}

.hair-condition .comparison-table td .comparison-icon {
    witdh: 30px;
    height: 30px;
}

.hair-condition .before-after {
    display: flex;
    gap: 30px;
    max-height: 600px;
    margin-bottom: 3rem;
}

.hair-condition .before-after p {
    margin-bottom: 0;
}

.hair-condition .before-after .case-description,
.hair-condition .before-after .case-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hair-condition .before-after .case-description div {
    padding: 50px;
}

.hair-condition .prescription-only hr {
    margin: 40px 0
}

.hair-condition .prescription-only p {
    min-height: 130px;
}

.hair-condition .prescription-only .box-image, 
.hair-condition .prescription-only .box-image img {
    width: 280px;
}

.beer-reveal {
    border-right:  1px solid white;
}

/* Media queries */

@media (max-width: 800px) {
    .hair-condition h3 {
        font-size: 1.5rem;
    }
    .hero-hair-condition {
        padding: 90px 0 20px;
        margin-bottom: 30px;
    }
    .hair-condition .flex-row {
        flex-direction: column;
    }
    .hair-condition .one-of-three {
        width: 100% !important;
    }
    .hair-condition .prescription-only .text-right {
        text-align: left;
    }
    .hair-condition .prescription-only p {
        min-height: auto;
    }
    .hair-condition .prescription-only .box-image, 
    .hair-condition .prescription-only .box-image img {
        width: 180px;
    }
    .hair-condition .before-after {
        flex-direction: column;
        gap: 0;
        max-height: 100%;
        margin-bottom: 2rem;
    }
    .hair-condition .before-after .one-of-two {
        width: 100%;
    }
}

/* General use classes */

.gap-40 {
    gap: 40px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-50 {
    margin-bottom: 50px !important;
}

.mb-60 {
    margin-bottom: 60px !important;
}

.mb-80 {
    margin-bottom: 80px !important;
}

.one-of-two {
    width: 50%;
}

.one-of-three {
    width: 33.3333333333%;
}

.bg_yellow {
    background-color: #ffc000;
    color: #121729;
}

.bg-bg_yellow h2 {
    color: #121729;
}

.bg_dark {
    background-color: #121729;
    color: white;
}

.bg_dark h2 {
    color: white;
}

.square {
    aspect-ratio: 1/1;
}