/* LAYOUT */
.container {
    max-width: 1530px;
    margin: 0 auto;
    padding: 0 40px;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* COMPONENTS */
.card {
    background-color: #ecf1d2;
    border-radius: 0px 40px 40px 40px;
    color: #353535;
    padding: 35px;
    margin: 0 20px;
}

.card--darker {
    background-color: #d4e98f;
}

.card--darkest {
    background-color: #bad859;
}

.card-number {
    font-size: 3rem;
    font-weight: 700;
    color: #4d504b;
}

.card h3 {
    color: #4d504b;
}

.btn {
    background-color: var(--dark-color);
    color: #FFF;
    border: 2px solid transparent;
    padding: 12px 25px;
    min-width: 250px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1.2;
    border-radius: 32px;
    margin: 5px 0;
    transition: background-color 0.2s ease-in-out, border 0.2s ease-in-out, color 0.2s ease-in-out;
    white-space: nowrap;
}

.btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.btn span {
    display: block;
    line-height: 1.2;
}

.btn--white {
    background-color: #FFF;
    color: var(--primary-color);
}

.btn--social {
    min-width: unset;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    margin: 5px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.btn--social i {
    display: block;
    line-height: 1;
}

.btn--social:hover {
    transform: translateY(-2px);
}

.btn--facebook {
    background-color: #0866ff;
    color: #fff;
    border: 2px solid transparent;
}

.btn.btn--facebook:hover {
    background-color: #fff;
    color: #0866ff;
    border-color: #0866ff;
}

.btn--instagram {
    background: #ee2a7b;
    color: #fff;
    border: 2px solid transparent;
}

.btn.btn--instagram:hover {
    background: #fff;
    color: #ee2a7b;
    border-color: #ee2a7b;
}

.btn--threads {
    background-color: #000;
    color: #fff;
    border: 2px solid transparent;
}

.btn.btn--threads:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
}

.btn--tiktok {
    background-color: #000;
    color: #fff;
    border: 2px solid transparent;
}

.btn.btn--tiktok:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
}

.btn--small {
    padding: 10px 15px;
    min-width: 180px;
}

.btn:hover {
    color: var(--primary-color);
    background-color: #FFF;
    border-color: var(--primary-color);
}

.btn--white:hover {
    background-color: var(--primary-color);
    color: #FFF;
}

.image-left {
    border-radius: 0 40px 40px 40px;
}

.image-right {
    border-radius: 40px 0 40px 40px;
}

/* TEXT */
.text-center {
    text-align: center;
}

.text-sm {
    font-size: 1rem;
}
.text-md {
    font-size: 2rem;
}
.text-lg {
    font-size: 2.5rem;
}
.text-xl {
    font-size: 3rem;
}

/* SPACING */
.m-1 {
    margin: 1rem;
}
.m-2 {
    margin: 1.5rem;
}
.my-1 {
    margin: 1rem 0;
}
.my-2 {
    margin: 1.5rem 0;
}
.mx-1 {
    margin: 0 1rem;
}
.mx-2 {
    margin: 0 1rem;
}

.p-1 {
    padding: 1rem;
}
.p-2 {
    padding: 1.5rem;
}
.py-1 {
    padding: 1rem 0;
}
.py-2 {
    padding: 1.5rem 0;
}
.px-1 {
    padding: 0 1rem;
}
.px-2 {
    padding: 0 1rem;
}

@keyframes slideFromLeft {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* MEDIA QUERIES */

@media(max-width: 992px) {
    .btn {
        font-size: 1rem;
    }
    .text-sm {
        font-size: 14px;
    }
    .text-md {
        font-size: 1rem;
    }
    .text-lg {
        font-size: 1.5rem;
    }
    .text-xl {
        font-size: 1.75rem;
    }
}

@media(max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}