@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:opsz,wght@8..144,400;8..144,500;8..144,600;8..144,700&display=swap');
/* Reset and base styles  */
* {
    padding: 0;
    margin: 0;
    border: none;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
/* Links */
a:hover  {
    text-decoration: none;

}
/* Common */
aside, nav, footer, header, section, main {
    display: block;
}
h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}
img {
    vertical-align: top;
}
img, svg {
    max-width: 100%;
    display: block;
    height: auto;
    margin: 0 auto;
}
address {
    font-style: normal;
}
button {
    color: inherit;
    background-color: transparent;
}
/*------------------------------*/
:root {
    --background-color: #32815c;
    --text-color: #1B1B1B;
    --button-color: #101010;
    --button-extra-color: #43f28c;
    --table-extra-bg-color: #F8F8F8;
    --text-font-weight: 400;
    --button-font-weight: 500;
    --title-font-weight: 600;
    --logo-font-weight: 700;
    --big-font-size: 16px;
    --normal-font-size: 14px;
    --small-font-size: 12px;
}

body {
    font-family: 'Roboto Serif', serif;
    font-weight: var(--text-font-weight);
    color: var(--text-color);
    background: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.change-y {
    display: none;
}
/*------------------------------HEADER*/
header {
    background: var(--background-color);
    min-width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.25);
}
.head-wrap-b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}
.nav-box-ty {
    display: flex;
    align-items: center;
}
header span {
    font-size: 21px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    padding: 10px 20px;
    margin: 10px;
}
.menu-y {
    width: 36px;
    height: 30px;
    margin: 10px;
    cursor: pointer;
}
.open-y {
    background: url("../svg/burger.svg") no-repeat center;
}
.close-y {
    background: url("../svg/close.svg") no-repeat center;
}
.navig-list-ty {
    min-width: 100%;
    position: fixed;
    top: 60px;
    left: 0;
    background: var(--background-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.navig-list-ty::after {
    content: "";
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
    background: url("../svg/bg.png") no-repeat right;
    height: 85%;
    z-index: -1;
}
.navig-list-ty ul {
    list-style: none;
    margin: 15px;
    text-transform: uppercase;
}
.navig-list-ty li {
    font-weight: var(--button-font-weight);
    font-size: var(--big-font-size);
    text-align: start;
    line-height: 32px;
    padding: 15px 10px;
    margin-top: 16px;
    cursor: pointer;
}
.navig-list-ty li:hover {
    color: var(--button-color);
}
.client-y {
    display: flex;
    align-items: center;
}
.client-y button {
    color: var(--background-color);
    padding: 10px 15px;
    font-size: var(--small-font-size);
    font-weight: var(--logo-font-weight);
    background: var(--button-color);
    margin: 5px;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
}
.client-y button:last-child {
    background: var(--button-extra-color);
}

/*------------------------------MAIN*/
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    position: relative;
}
.main-wrap-ty {
    margin: 10px 15px 0 15px;
}
main > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 15px;
}
main figure:first-child {
    padding-bottom: 10px;
}
img {
    border-radius: 16px;
    margin: 15px auto;
}
article {
    position: relative;
}
h1 {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 32px;
}
h2 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-top: 29px;
    margin-bottom: 29px;
}
h3 {
    font-weight: 600;
    font-size: 22px;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 24px;
}
main ul, ol {
    text-align: start;
    margin-bottom: 15px;
}
article > ul, ol {
    margin-left: 40px;
}
li {
    padding: 3px;
}
a {
    color: var(--button-color);
}
p {
    font-size: var(--normal-font-size);
    margin-bottom: 15px;
    line-height: 24px;
    text-align: start;
}

/*------------------------------TABLES*/
table {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    border-collapse: collapse;
    overflow: hidden;
}
tr {
    border-bottom: 1px solid #D2D2D2;
}
tr:nth-child(2n+1) {
    background: var(--table-extra-bg-color);
}
td {
    font-size: var(--normal-font-size);
    word-wrap: break-word;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
}
th {
    word-wrap: break-word;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
    font-size: 18px;
    font-weight: var(--title-font-weight);
}
.big-t-ty td {
    width: 25%;
}
.normal-t-ty td {
    width: 33%;
}
.small-t-ty td {
    width: 50%;
}

.up-btn-ty {
    display: none;
    justify-content: center;
    align-items: center;
    font-weight: bolder;
    font-size: 23px;
    height: 81px;
    width: 82px;
    position: fixed;
    bottom: 70px;
    right: 30px;
    border-radius: 50%;
    background: rgb(39 95 76 / 55%);
    cursor: pointer;
}
.up-btn-ty:hover {
    background: rgba(255, 200, 73, 0.6);
}

/*------------------------------FOOTER*/
footer {
    margin-top: 30px;
}
footer p {
    font-size: var(--small-font-size);
    line-height: 15px;
    margin: 30px 15px;
    text-align: center;
}

@media (min-width: 850px) {
    .change-y {
        display: flex;
    }

    /*------------------------------HEADER*/
    header span {
        margin-right: 1px;
    }
    .head-wrap-b {
        justify-content: space-around;
    }
    .nav-box-ty {
        width: 55%;
        justify-content: space-between;
    }
    .icon-ty {
        display: none;
    }
    .navig-list-ty {
        min-width: auto;
        background: none;
        position: relative;
        top: 0;
        flex-direction: row;
        align-items: center;
    }
    .navig-list-ty::after {
        content: none;
    }
    .navig-list-ty ul {
        display: flex;
        flex-direction: row;
        margin: 0;
    }
    .navig-list-ty li {
        color: var(--text-color);
        font-size: 13px;
        padding: 0;
        margin: 24px 40px;
        font-weight: 700;
    }
    .client-y {
        margin-left: 20px;
    }

    /*------------------------------MAIN*/
    main {
        padding-top: 92px;
    }
    .main-wrap-ty {
        margin: 20px 40px 0 40px;
    }
    main > div {
        max-width: 1200px;
    }
    main::after {
        content: "";
        width: 100%;
        height: 850px;
        position: absolute;
        top: -96px;
        right: 0px;
        background: url(../svg/bg.png) no-repeat right;
        /* background-size: cover; */
        z-index: -1;
    }
    main figure:first-child {
        padding-bottom: 1px;
    }
    h1 {
        font-weight: var(--logo-font-weight);
        font-size: 45px;
    }
    h2 {
        font-size: 38px;
        font-weight: 600;
    }
    h3 {
        font-size: 28px;
        font-weight: 600;
    }
    p {
        font-size: var(--big-font-size);
    }

    /*------------------------------TABLES*/
    td {
        font-size: var(--big-font-size);
        padding: 15px;
    }
    th {
        padding: 20px;
    }
}

