*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

textarea,
input,
input[type="text"],
input[type="button"],
input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 0;
}

img {
    max-height: 100%;
    max-width: 100%;
    display: block;
}

:root {
    --main-color: #158DE1;
    --secondary-color: #EAA92A;
    --secondary-color-hover: #D0931B;
}

.main-color {
    color: var(--main-color);
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

.bold {
    font-weight: 700;
}

.highlight {
    display: inline-block;
    background: #8EBF18;
    color: #fff;
    font-weight: 600;
    padding: 2px 5px;
    margin: 0 3px;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}


.main {
    padding-bottom: 60px;
    padding-top: 60px;
}

.main__title {
    margin-bottom: 40px;
}

.main__title h1 {
    color: #333333;
    font-size: 28px;
    line-height: 100%;
    margin-bottom: 10px;
}

.main__title p {
    color: #666666;
    font-size: 16px;
    line-height: 100%;
}

.item_center_legal {
    display: flex;
    flex-direction: column;
    width: auto;
    gap: 5px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #3f3f3f;
    font-size: 14px;
    line-height: 1.45;
}
.item_center_legal a {
    color: #0000EE;
    text-decoration: underline;
}
.item_center_legal a:hover {
    color: #0000EE;
}
.item__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


.item {
    padding: 30px 20px;
    box-shadow: 0 4px 2px rgba(137, 137, 137, 0.5);
    font-size: 14px;
    color: #666666;
    background: #F9F9F9;
    display: flex;
    flex-direction: column;
}

.item:hover {
    box-shadow: 0 5px 3px #898989;
}

.item__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    height: 50px;
    max-width: 100%;
}

.item__title {
    color: #fff;
    background: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.item__info {
    margin-bottom: 15px;
    padding: 0 10px;
}


.sub__info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}


.payment__methods--wrap p {
    margin-bottom: 5px;
}


.get__money {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    margin-top: auto;
    font-size: 14px;
}

.get__money:hover {
    background: var(--secondary-color-hover);
    color: #fff;
}


@media (max-width: 1025px) {
    .main__title h1 {
        font-size: 24px;
    }

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

@media (max-width: 767px) {

    .container {
        padding: 0 10px;
    }


    .main {
        margin-bottom: 0;
    }

    .main__title {
        margin-bottom: 20px;
    }

    .main__title h1 {
        font-size: 20px;
    }

    .main__title p {
        font-size: 14px;
    }

    .item {
        font-size: 10px;
        padding: 10px 8px;
    }

    .item__row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .item__info {
        padding: 0;
    }

    .item__logo {
        height: 40px;
    }
}

@media (max-width: 675px) {
    .main {
        padding-top: 40px;
    }
}
@media (max-width: 560px) {
    .item__row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
@media (max-width: 367px) {
    .item__row {
        grid-template-columns: repeat(1, 1fr);
    }
}
