/* ---------------------------------------- */
/* medium screens */
/* ---------------------------------------- */
@media screen and (max-width: 90rem) {

/* text */
h1 {
    font-size: 3.5rem;
    line-height: 4rem;
}

h2 {
    font-size: 2rem;
    line-height: 2.5rem;
}

/* tools */
.margin {
    padding: 0 2.5rem;
}

.padding {
    padding: 0 2.5rem;
}

/* navigation */
.navigation .brand a {
    font-size: 1rem;
}

/* cards */
.cards .title {
    width: 100%;
}

.cards .content .text {
    width: 100%;
    min-height: unset;
}

/* cards_alt */
.cards_alt .title {
    width: 100%;
}

.cards_alt .content .text {
    width: 100%;
    min-height: unset;
}

/* testimonials */
.testimonials .content .item {
    width: 100%;
    min-height: unset;
}

/*  */
.container .sidebar .brand {
    flex-direction: column;
    text-align: center;
    padding: 0 5rem;

}

}

/* ---------------------------------------- */
/* small screens */
/* ---------------------------------------- */
@media screen and (max-width: 52rem) {

/* master */
body.menu-open {
    overflow: hidden;
}

/* tools */
.padding {
    padding: 0 1rem;
}

/* navigation */
.navigation .links {
    display: none;
}

.navigation .links.active {
    position: absolute;
    top: 100%;
    left: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--primary);
    border-radius: 0.5rem;
    padding: 2.5rem;
    width: 95%;
    height: 80vh;
    transform: translateX(-50%);
    z-index: 1000;
}

.navigation.active::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 150vw;
    height: 100vh;
    transform: translateX(-5%);
    z-index: 999;
}

.navigation .links a {
    font-size: 1.5rem;
}

.navigation .links a:hover {
    color: var(--white);
}

.navigation .toggle {
    display: block;
}

/* hero */
.hero .title {
    width: 100%;
}

/* form */
.form {
    flex-direction: column;
}

/* footer */
.footer {
    margin-bottom: 5rem;
}

}