@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600;700&display=swap');

/* varibles */

:root {
    --ff-roboto-mono: 'Roboto Mono', monospace;
    --color-white: #fff;
    --color-black: #020202;
    --color-grey: #4A4A4A;
    --bg-blue: #237992;
    --color-btn: #79BCCF;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: var(--ff-roboto-mono);
    font-weight: 400;
    min-width: 320px;
    background-color: var(--color-white);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.btn {
    border: none;
    background: transparent;
    cursor: pointer;

}

.container {
    max-width: 1040px;
    margin: 0 auto;
}

.header {
    padding: 16px 10px;
}

.header__wrapper {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    text-transform: uppercase;
    font-weight: 700;
    font-style: 24px;
    color: var(--color-grey);
}

.header-block {
    display: flex;
    gap: 30px;
}

.hero {
    background: url(../img/arrou.png) no-repeat right center, linear-gradient(287.15deg, #EFAFBC 0%, #C3E3FA 100%);
}

.hero__wrapper {
    padding: 20px 0;
}

.hero-img {
    display: flex;
    justify-content: center;
}

.hero-img img {
    border-radius: 26px;
}


article a {
    color: var(--bg-blue);
    text-decoration: underline;
}

h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 85px;
    margin: 50px 0;
}

h2 {
    font-weight: 600;
    font-size: 36px;
    line-height: 62px;
    margin: 50px 0;
}

h3 {
    font-weight: 600;
    font-size: 28px;
    line-height: 44px;
    margin: 30px 0;
}

h1,
h2,
h3 {
    text-align: center;
    color: var(--bg-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    text-indent: 20px;
    color: var(--color-grey);
    margin-bottom: 30px;
}


.header-btn {
    background: var(--color-btn);
    box-shadow: 0px 7px 20px rgba(121, 188, 207, 0.4);
    border-radius: 100px;
    padding: 14px 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: var(--color-white);
}

.header-btn:first-child {
    width: 150px;
}

.header-btn:last-child {
    width: 220px;
}

.content ul {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-grey);
    list-style-type: circle;
    margin: 30px 0 30px 50px;

}

.content ol {
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: var(--color-grey);
    margin: 30px 0 30px 50px;

}

.content img {
    display: block;
    object-fit: contain;
    margin: 50px auto;
    border-radius: 20px;
}


/* table */

table {
    width: 100%;
}

table tbody {
    display: flex;
    flex-direction: column;
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto 50px;
}

.rou {
    display: grid;
    gap: 30px;
    align-items: center;
}

.four-colums {
    grid-template: auto/repeat(4, 1fr);
    color: var(--color-grey);
    padding: 20px 34px 23px 34px;
    border-top: 1px solid var(--color-grey);
}

.four-colums:last-child {
    border-bottom: 1px solid var(--color-grey);
}

.three-colums {
    grid-template: auto/repeat(3, 1fr);
    color: var(--color-grey);
    padding: 20px 34px 23px 34px;
    border-top: 1px solid var(--color-grey);

}


.two-colums {
    grid-template: auto/repeat(2, 1fr);
    color: var(--color-grey);
    padding: 20px 34px 23px 34px;
    border-top: 1px solid var(--color-grey);
}

.three-colums:last-child {
    border-bottom: 1px solid var(--color-grey);
}

.two-colums:last-child {
    border-bottom: 1px solid var(--color-grey);
}

.number {
    justify-self: center;
}

.textEnd {
    justify-self: flex-end;
    text-align: right;
}

.textFirst {
    color: var(--bg-blue);
}


/* footer */

footer {
    background-color: var(--bg-blue);
    padding: 25px 10px;
    display: flex;
    justify-content: center;
}

.footer_copyright {
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: var(--color-white);
    margin-bottom: 0;
    text-indent: 0;
    text-align: center;

}

.content {
    padding: 30px 10px;
}

/* ****** media quwery ***** */

@media(max-width:1200px) {
    .content {
        padding: 30px 10px;
    }

  

    .hero__wrapper {
        padding: 50px 10px;
    }
}

@media(max-width:850px) {

    .header {
        padding: 35px 35px;
    }
}

@media(max-width:768px) {
    .header__wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .header-block {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .header-btn:first-child {
        width: 250px;
    }

    .hero {
        background: transparent;

    }

    .hero__wrapper {
        padding: 0 10px 0;
    }

    .hero-list li a {
        color: var(--color-grey);
    }


    h1 {
        margin: 30px 0;
        font-size: 36px;
        line-height: 50px;
    }

    h2 {
        margin: 30px 0;
        font-size: 28px;
        line-height: 44px;
        letter-spacing: 0.05em;
    }

    h3 {
        font-size: 24px;
        line-height: 40px;
        margin: 30px 0;
    }

    .four-colums {
        grid-template: min-content 1px min-content/repeat(2, 1fr);
        padding: 20px 10px;
    }

    .tx-right {
        justify-self: flex-end;
    }

    .tx-left {
        justify-self: flex-start;
    }

    .three-colums,
    .two-colums {
        padding: 20px 10px;
    }

    .rou {
        gap: 20px;
    }
}