@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --color1: #2ab2af;
    --color2: #c0df34;
    --color3: #e5eff5;
    --color4: #98a6bd;

    --font: "Karla", sans-serif;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    color: #ffffff;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0px;

    min-height: 100vh;
    background-color: var(--color3);
    font-family: var(--font);
}

main {
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.201);
}

.container {
    padding: 25px;
}

header h1 {
    font-size: 25px;
    font-weight: 700;
    color: var(--color1);
}

header p#money-back {
    font-size: 20px;
    font-weight: 700;
    color: var(--color2);
    margin: 15px 0px;
}

p {
    line-height: 25px;
}

header p {
    color: var(--color4);
}

h2 {
    font-size: 20px;
}

section#subscription {
    background-color: #2ab2af;
}

section#subscription div#price {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 15px 0px 10px 0px;
}

section#subscription > div#price p#value {
    font-size: 30px;
    font-weight: 700;
}

section#subscription > div#price p#p-price, section#why-us p {
    color: #ffffff94;
}

section#subscription button {
    background-color: var(--color2);
    width: 100%;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    padding: 15px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.308);
    transition: 0.5s;
}

section#subscription button:hover {
    background-color: #8ca327;
}

section#why-us {
    background-color: #2ab2b0c5;
}

section#why-us p {
    text-align: left;
    margin: 15px 80px 0px 0px;
}

footer p {
    text-align: center;
    color: #565e6a;
}

footer a {
    text-decoration: none;
    color: var(--color1);
    transition: 0.5s;
}

footer a:hover {
    color: #165a59;
    text-decoration: underline;
}

@media screen and (min-width: 1024px) {
    main {
        display: grid;
        grid-template-columns: 1fr 1fr;

        max-width: 650px;
    }

    header {
        grid-column: 1 / 3;
    }

    section#subscription div#price {
        margin: 25px 0px 10px 0px;
    }

    section#subscription button {
        margin-top: 30px;
    }

    section#why-us p {
        margin-right: 60px;
    }
}


