* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

:root {
    --color-bg: #1f2738;
    --color-primary: #89c4ff;
    --color-white: #fff;
    --color-light: rgba(255, 255, 255, 0.572);
    --container-width-lg: 80%;
    --container-width-md: 86%;
    --container-width-sm: 90%;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--color-bg);
    background-image: url('background.webp');
    background-repeat: repeat;
    background-size: 80%;
    color: var(--color-white);
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    width: var(--container-width-lg);
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: var(--color-primary);
}

a:hover {
    color: var(--color-white);
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.cardr__container_top {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.cardr__container {
    display: grid;
    grid-template-columns: 65% 30%;
    gap: 5%;
    width: 100%;
    align-items: center;
}

.cardr__left {
    display: flex;
    flex-direction: column;
}

.cardr__title {
    font-family: 'Koulen', cursive;
    font-weight: 400;
    font-size: 3rem;
    margin: 0;
}

.cardr__content p {
    margin: 0 0 0.8rem 0;
    color: var(--color-light);
    line-height: 1.4;
    text-align: justify;
}

.cardr__features {
    padding: 0;
    margin: 0.4rem 0 0.8rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-light);
}

.cardr__features li {
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.4;
    text-align: left;
}

.cardr__features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.appstore {
    margin-top: 0.5rem;
    height: 40px;
    width: 120px;
    object-fit: contain;
}

.cardr__screenshot {
    width: 300px;
    height: 650px;
    justify-self: end;
}

.cardr__screenshot img {
    height: 90%;
    width: auto;
}

.cardr__screenshot .swiper-pagination {
    bottom: 0;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-primary) !important;
}

.cardr__footer {
    padding-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--color-light);
}

@media screen and (max-width: 1024px) {
    body {
        background-size: 150%;
    }

    .container {
        width: var(--container-width-md);
    }

    .cardr__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding-bottom: 2rem;
    }

    .cardr__left {
        display: contents;
    }

    .cardr__title {
        order: 1;
        text-align: center;
        width: 100%;
    }

    .cardr__screenshot {
        order: 2;
        justify-self: auto;
    }

    .cardr__content {
        order: 3;
        width: 100%;
    }

    .cardr__content p {
        margin: 1rem 0 0.5rem;
    }
}

@media screen and (max-width: 600px) {
    body {
        background-size: 200%;
    }

    .container {
        width: var(--container-width-sm);
    }

    .cardr__screenshot {
        width: 200px;
        height: 450px;
    }

    .cardr__screenshot img {
        height: 90%;
        width: auto;
    }

    .cardr__title {
        text-align: center;
    }

    .cardr__content {
        text-align: center;
    }

    .cardr__features,
    .cardr__features li {
        text-align: left;
    }

    .cardr__content p {
        margin: 1.5rem 0;
    }
}
