@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,600;1,400&display=swap");

*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    font-size: 22px;
    line-height: 1.28;
}

body {
    background: rgb(129, 0, 36);
    background: linear-gradient(
        90deg,
        rgba(129, 0, 36, 1) 0%,
        rgba(200, 11, 14, 1) 80%,
        rgba(129, 0, 36, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#810024",endColorstr="#810024",GradientType=1);
    color: #fff;
    font-family: "Source Sans Pro", sans-serif;
}

h1,
h2,
li,
p {
    font-weight: 300;
}

b {
    text-transform: uppercase;
    font-weight: 600;
}

i {
    font-weight: 400;
    font-style: italic;
}

.container {
    max-width: 870px;
    margin: 0 auto;
    text-align: justify;
}

main {
    max-width: 870px;
    margin: 100px auto;
    padding: 0 15px;
}

main > div:last-child {
    width: 460px;
    text-align: center;
    max-width: 100%;
}

h1 {
    text-transform: uppercase;
    font-size: 42px;
    line-height: 45px;
    max-width: 250px;
    margin-bottom: 30px;
}

h2 {
    font-size: 34px;
    line-height: 40px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.points ul {
    margin-bottom: 55px;
}

.points ul li {
    list-style: none;
    margin-top: 10px;
    padding-left: 17px;
    background-image: url(../img/dot.png);
    background-repeat: no-repeat;
    background-position: 0 10px;
}

small {
    font-size: 17px;
    line-height: 20px;
    margin-top: 20px;
    display: block;
}

main > div:first-child img:not(:first-child) {
    margin-top: 7.5px;
    margin-right: 10px;
    box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.3);
}

main > div:first-child img:first-child {
    margin-bottom: 15px;
}

main > div:last-child section {
    background-image: url(../img/smartphone-base.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 187vw;
    position: relative;
}

main > div:last-child section > div,
main > div:last-child section > div > div {
    position: absolute;
    z-index: 2;
    width: 82.5vw;
    height: 146vw;
}

main > div:last-child section > div {
    left: 4vw;
    top: 21vw;
}

main > div:last-child section div iframe {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

main > div:last-child section > div > div {
    background-color: rgba(0, 0, 0, 0.9);
    top: 0;
    left: 0;
}

main > div:last-child section img {
    position: absolute;
    top: calc(50% - 195px);
    left: calc(50% - 172px);
    z-index: 2;
    width: 60vw;
    left: 15vw;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav > li {
    position: relative;
    display: block;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

.nav-link {
    color: #fff;
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out;
}

.nav ul {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    color: #242424 !important;
}

@media (min-width: 500px) {
    main > div:last-child section {
        height: 944px;
    }

    main > div:last-child section img {
        left: calc(50% - 172px);
    }

    main > div:last-child section > div,
    main > div:last-child section > div > div {
        width: 420px;
        height: 740px;
        cursor: pointer;
    }

    main > div:last-child section > div {
        top: 103px;
        left: 19px;
        right: 21px;
        bottom: 100px;
        z-index: 1;
    }

    main > div:last-child section img {
        top: calc(50% - 195px);
        left: calc(50% - 172px);
        z-index: 2;
        width: auto;
    }
}

@media (min-width: 900px) {
    main {
        display: flex;
        justify-content: space-between;
    }

    main > div:first-child {
        width: 350px;
    }

    h1 {
        padding-top: 25px;
    }

    main > div:last-child img:first-child {
        margin-top: 0px;
    }

    main > div:first-child img:first-child {
        margin-top: 50px;
    }
}

#cc-main {
    /** Change button primary color to black **/
    --cc-btn-primary-bg: rgb(159, 2, 2);
    --cc-btn-primary-color: #fff;
    --cc-btn-primary-border-color: rgb(159, 2, 2);
    --cc-btn-primary-hover-bg: #4d4d4d;
    --cc-btn-primary-hover-color: #fff;
    --cc-btn-primary-hover-border-color: #4d4d4d;

    /** Also make toggles the same color as the button **/
    --cc-toggle-on-bg: var(--cc-btn-primary-bg);
}
