@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@700&display=swap');

:root {
    --ff-monserat: 'Montserrat', sans-serif;
    --ff-popins: 'Poppins', sans-serif;

    /* color */
    --color-limon: #D6FC52;
    --color-violet: #A00DFA;
    --color-secondary: #FFFFFF;
    --color-primary: #000000;

    /* bg-color */
    --bg-limon: #D6FC52;
    --bg-secondary: #FFFFFF;
    --bg-primary: #000000;
}

/* default style */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100vh;
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

ol {
    margin-top: 30px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    margin: auto;
    border-radius: 30px;
}

button {
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
}

.hidden {
    overflow-y: hidden;
}

h1 {
    font-weight: 700;
    font-size: 44px;
    line-height: 64px;
    margin: 50px 0;
    text-align: center;
	color: #288ff2
}

h2 {
    font-weight: 700;
    font-size: 44px;
    line-height: 34px;
    text-align: center;
    margin: 40px 0;
    color: #288ff2;
}

h3 {
    font-weight: 700;
    font-size: 32px;
    line-height: 34px;
    margin: 40px 0;
    text-align: center;
    color: #288ff2;
}

p {
    margin-bottom: 30px;
    text-indent: 20px;
    font-size: 18px;
    line-height: 34px;
}

h2+p {
    margin-bottom: 0;
}

picture+p {
    margin-top: 30px;
}

p>a {
    color: #288ff2;
    text-decoration: underline;
}


/* main style */

body {
    font-family: var(--ff-monserat);
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
    color: var(--color-primary);
    background-color: #e0e6f7;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
}

header {
    padding: 15px 0;
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.burger {
    display: none;
}

.logo {
    display: block;
    width: 74px;
    cursor: pointer;
}

.menu {
    display: flex;
    gap: 29px;
    margin: 0;
}

.menu__link {
    font-size: 18px;
    line-height: 24px;
}

.header__block {
    width: 253px;
    display: flex;
    justify-content: space-between;
}

.btn__sm {
    border: 1px solid #288ff2;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    border-radius: 10px;
    width: 82px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    padding: 10px 0;
}

.btn__big {
background-image: -webkit-linear-gradient(195deg,#00b7ff,#8d53e9);
    background-image: linear-gradient(255deg,#00b7ff,#8d53e9);
    border-radius: 10px;
    width: 151px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    padding: 10px 0;
}

.hero {
    padding: 30px 0 50px;
}

.hero__wrapper {
    position: relative;
    background-image: url(../img/Squigly-Globeel.png), url(../img/points.png);
    background-repeat: no-repeat;
    background-position: right 0 bottom 0, right 15% bottom 39px;
}

.hero__wrapper::before {
    content: "";
    width: 180px;
    height: 153px;
    position: absolute;
    left: 0;
    top: 24px;
    background: url(../img/planet.png) no-repeat center;
}

.hero li {
    font-size: 18px;
    line-height: 40px;
}

article {
    padding-bottom: 100px;
}

article ul {
    list-style-type: disc;
}

article li {
    font-size: 18px;
    line-height: 34px;
}

table {
    max-width: 1040px;
    width: 100%;
    margin: 50px auto 0;
    border-collapse: collapse;
    border-spacing: 0px;
}

table:not(:last-child) {
    margin-bottom: 50px;
}

tbody tr {
    border-top: 1px solid #288ff2;
    display: grid;
    grid-template: auto/repeat(4, 1fr);
    align-items: center;
}

.midle tbody tr {
    grid-template: auto/repeat(3, 1fr);
}

.last tbody tr {
    grid-template: auto/repeat(2, 1fr);
}

tbody tr:last-child {
    border-bottom: 1px solid #288ff2;
}

tbody td {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    padding: 20px;
    text-align: center;
}

tbody td:first-child {
    text-align: left;
}

tbody td:last-child {
    text-align: right;
}

footer {
    padding: 36px 0;
}

footer>p {
    margin-bottom: 0;
    text-align: center;
    font-size: 18px;
    line-height: 28px;
}

@media(max-width:1250px) {
    .container {
        padding: 0 14px;
    }

    article ul,
    article ol {
        margin-left: 20px;
    }
}

@media(max-width:1150px) {
    .hero__wrapper::before {
        content: "";
        display: none;
    }
}

@media(max-width:768px) {
    header {
        display: flex;
        align-items: center;
    }

    .header__wrapper {
        flex: 1;
    }

    .burger {
        display: block;
        position: relative;
        z-index: 5;
        width: 30px;
        height: 30px;
        background: url(../img/burger.svg) no-repeat center;
        margin: 0 30px;
        transition: 0.3s linear;
        transform: rotate(0deg);
    }

    .burger.active {
        background: url(../img/close.svg) no-repeat center;
        transform: rotate(180deg);
    }

    nav {
        position: absolute;
        z-index: 3;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        background: var(--bg-primary);
        padding: 180px 0 0 30px;
        overflow-x: hidden;
        transform: translateX(-100%);
        transition: 0.3s linear;
    }

    nav.active {
        transform: translateX(0);
        right: 30%;
    }

    .menu {
        flex-direction: column;
    }

    .menu__link {
        color: white;
    }

    .hero__wrapper {
        background: transparent;
    }

    h1 {
        font-size: 35px;
        line-height: 55px;
    }

    .first tbody tr {
        grid-template: auto/repeat(2, 1fr);
    }

    .first tbody tr td:first-child,
    .first tbody tr td:nth-child(3){
        text-align: left;
    }

    .first tbody tr td:nth-child(2),
    .first tbody tr td:last-child {
        text-align: right;
    }
    .first tbody tr td:nth-child(3),
    .first tbody tr td:last-child{
        padding: 10px 20px 20px 20px;
    }
    .first tbody tr td:first-child,
    .first tbody tr td:nth-child(2){
        padding: 20px 20px 10px;
    }
}

@media(max-width:590px) {
    h1 {
        font-size: 32px;
        line-height: 50px;
    }

    tbody td {
        font-size: 14px;
        line-height: 16px;
        padding: 20px 0;
    }
}

@media(max-width:495px) {
    header {
        padding: 30px 0;
    }

    .header__wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .header__block {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .burger {
        position: absolute;
        z-index: 5;
        top: 30px;
        left: 30px;
        margin: 0;
    }

    .btn__big {
        width: 250px;
    }

    .btn__sm {
        width: 250px;
    }

}

@media(max-width:450px) {
    .hero {
        padding: 0px 0 30px;
    }

    h1 {
        margin: 30px 0;
        word-wrap: break-word;
        word-break: break-all;
    }

    h2 {
        font-size: 30px;
        line-height: 40px;
        margin: 30px 0;
    }

    h3 {
        font-size: 28px;
        line-height: 34px;
        margin: 30px 0;
    }

    p {
        text-indent: 0px;
    }
}

@media(max-width:390px) {
    h1 {
        font-size: 23px;
        line-height: 30px;
    }

    tbody td {
        font-size: 12px;
    }

    footer p span {
        display: block;
    }
}