#medika {
    padding: 0;
    overflow: hidden;
    box-shadow: 0px 4px 5px 1px #00000026;
}

.medika {
    background-image: url(../assets/white-paper.jpg);
    width: 100%;
    box-shadow: 0px 2px 6px 2px #00000026;
    position: relative;
    background-size: cover;
}

.dark .medika {
    background-image: url(../assets/paper_black.jpg);
}

.dark .medika:before,
.dark .medika:after,
.dark .medika_content:before,
.dark .medika_content:after {
    background: linear-gradient(180deg, #877751 0%, #69582A 63.5%, #8B7336 79%, #65562F 98.5%);
}

.medika:before {
    content: "";
    position: absolute;
    bottom: 20px;
    width: 100%;
    left: 0;
    height: 2px;
    background: linear-gradient(270deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
}

.medika:after {
    content: "";
    position: absolute;
    top: 19px;
    width: 100%;
    left: 0;
    height: 2px;
    background: linear-gradient(270deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
}

.medika_content {
    position: relative;
    width: 100%;
    height: 100%;
}

.medika_content:before {
    content: "";
    position: absolute;
    bottom: 9px;
    width: 100%;
    left: 0;
    height: 6px;
    background: linear-gradient(270deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
}

.medika_content:after {
    content: "";
    position: absolute;
    top: 9px;
    width: 100%;
    left: 0;
    height: 6px;
    background: linear-gradient(270deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
}

.medika_incontent {
    position: relative;
    width: 100%;
    max-width: 1648px;
    height: 100%;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    padding: 112px 0 100px;
    gap: 62px;
}

.medika_text {
    max-width: 738px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    gap: 16px;
}

.medika_text h2,
.medika_text p {
    text-align: center;
}

.medika_cards {
    display: flex;
    flex-direction: row;
    gap: 64px;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
}

.medika_card {
    width: 100%;
    max-width: 453px;
    height: 178px;
    display: flex;
    padding: 24px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.02) 100%);
    box-shadow: 0px -1.25px 0.833px 0px #FFF inset, 0px -2.508px 0.502px 0px rgba(255, 255, 255, 0.30) inset, 0px 1.254px 2.508px 0px rgba(0, 0, 0, 0.40) inset, 0px 0.833px 0px 0px #FFF, 0px -0.833px 0px 0px rgba(0, 0, 0, 0.25);
}

.dark .medika_card {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: -2px -2px 4px 0px rgba(255, 255, 255, 0.25) inset, 2px 2px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.medika_name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #AA0909;
    font-family: "Evolventa Bold";
    font-size: 18px;
    line-height: 24px;
}

.dark .medika_name {
    color: #BD9C49;
}

.medika_card_text {
    font-family: "Evolventa Bold";
    font-size: 18px;
    line-height: 24px;
}

.atention {
    text-align: center;
    font-family: "Evolventa Bold";
    font-size: 18px;
    line-height: 24px;
    max-width: 546px;
    margin: 0 auto;
    padding: 36px 0;
}

.medika_wrapper a {
    width: fit-content;
    display: block;
    margin: 0 auto;
}

.atention span {
    color: #AA0909;
}

.dark .atention span {
    color: #BD9C49;
}

.insta_but {
    background-image: url(../assets/whitemini.png);
    width: 280px;
    height: 56px;
    color: #080808;
    font-family: Colus;
    font-size: 16px;
    line-height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transform-style: flat;
    transition: all 250ms ease-out;
    background-size: cover;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: #ffffff00;
    padding: 0 20px;
    filter: drop-shadow(1px 1px 2px #08080885);
}

.dark .insta_but {
    color: #E7E7E7;
    filter: drop-shadow(0px 0px 2px #fffcfc50);
}

.dark .insta_but {
    background-image: url(../assets/buttonblack.png);
}

.insta_but svg path {
    transition: all 250ms ease-out;
}

.insta_but:hover {
    color: #ee3377;
}

.insta_but:hover svg:nth-child(2) path {
    stroke: #d82989;
}

@media (max-width: 1520px) {
    .medika_cards {
        gap: 16px;
    }
}

@media (max-width: 1110px) {
    .medika_cards {
        flex-direction: column;
    }
}

@media (max-width: 800px) {
    .medika_cards {
        padding: 0px 16px;
    }

    .medika_text {
        padding: 0px 16px;
    }
}