@import 'babyfox__default.css';

.features {
    display: flex;
    gap: var(--s3);
}

.features figure {
    position: relative;
    overflow: hidden;
    display: grid;
    background: rgba(29, 30, 29, 0.5);
    align-items: center;
    transform: scale(1);
}

.features figure figcaption {
    position: absolute;
    color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features figure figcaption .text-block {
    padding: var(--s3) var(--s3) var(--s1);
    text-align: center;
    width: 100%;
}

.features figure figcaption h3 {
    font-family: 'SegoeUI Light';
    font-size: var(--s26);
}

.features .note {
    font-family: 'SegoeUI Semilight';
}

.features .opacity-box {
    width: 100%;
    opacity: 0.3;
    background-color: #3f3f3f;
    position: absolute;
    bottom: 0;
    overflow: hidden;
    height: 100%;
    transition: opacity 0.3s ease-in;
}

.features figure:hover .opacity-box {
    opacity: 0.5;
}

.features figure:hover img {
    transform: scale(1.5);
    transition: all 10s ease-in-out;
}

.features figure img {
    max-width: 100%;
}

.signup__dialog,
.show_now_dialog {
    max-width: 425px;
    padding: var(--s3);
    position: absolute;
    background: #ffffff;
    z-index: 3;
    font-size: var(--s18);
    display: none;
    flex-direction: column;
    top: 230px;
    left: -50px;
}

.signup__dialog {
    box-shadow: 1px 2px 13px 4px rgba(0, 0, 0, 0.75);
}

.show_now_dialog {
    max-width: 230px;
    display: flex;
    right: 10px;
    left: inherit;
    top: 160px;
    background-color: transparent;
    padding: 0;
    z-index: 1;
}

.show_now_dialog h2 {
    font-size: var(--s48);
    line-height: 1.2;
    font-family: 'SegoeUI Semilight';
}

.signup__dialog button,
.show_now_dialog button {
    font-size: var(--s16);
}

.signup__dialog .close {
    position: absolute;
    background-color: transparent;
    border: none;
    top: 10px;
    right: 10px;
}

.signup__dialog input[type='text'] {
    background-color: transparent;
    padding-left: var(--s2);
}

/** testimonial */

.testimonial-carousel .owl-item img {
    width: inherit;
    display: inline;
}

.testimonial .testimonial-star {
    font-size: var(--s2);
    text-align: center;
}

.testimonial-grid {
    margin: 0 auto;
    padding: 0 0 var(--s2);
    overflow: hidden;
    direction: ltr;
}

.testimonial-carousel .owl-item {
    text-align: center;
    padding: 2.2rem;
    translate: scale(1.3);
    margin-top: var(--s3);
    transform: scale(0.9);
    min-height: 220px;
}

.writer a {
    text-decoration: underline !important;
    color: var(--baseFontColor);
}
.testimonial-carousel .owl-item.center {
    box-shadow: 0px 0px 10px 5px rgba(181, 181, 181, 0.5);
    padding: 1.8rem;
    transform: scale(1.1);
}

.testimonial-carousel .owl-item p.content {
    margin-bottom: var(--s1);
}

.testimonial-carousel .owl-dots {
    margin-top: var(--s1);
}

.testimonial-carousel .owl-dots .owl-dot span {
    width: 0.4rem;
    height: 0.4rem;
    margin: var(--s);
}

.testimonial-carousel .owl-dots .owl-dot.active span {
    background-color: black;
    width: 0.5rem;
    height: 0.5rem;
}

@media (max-width: 767px) {
    .show_now_dialog {
        max-width: 100%;
        bottom: 0;
        text-align: center;
        left: 0;
    }

    .signup__dialog {
        top: 100px;
    }

    .signup__dialog p {
        font-size: var(--s13);
    }

    .signup__dialog button {
        margin: inherit !important;
    }
}
