/* MOBILE */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* POSITIONING */

.container {
    margin: 0 4.5%;
}

.header-purple,
.header-pink,
.header-green,
.header-peach {
    display: inline-block;
    width: 25%;
    height: 10px;
}

.nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    align-items: baseline;
}

.header-links {
    display: flex;
    align-items: baseline;
}

.login {
    padding-right: 0.5rem;
}

.arrow {
    position: absolute;
    display: block;
    margin-top: 2rem;
    width: 4rem;
    right: 90px;
}

.teaser {
    margin-top: 15rem;
}

.icons {
    display: flex;
    width: 30%;
    justify-content: space-between;
}

.icon {
    width: 1rem;
}

.teaser h1 {
    margin-top: 1.3rem;
    width: 90%;
}

.teaser p {
   margin-top: 1rem;
}

.community-link {
    padding: 0.5rem 1rem;
}
.community-link img {
    height: 1rem;
}


.teaser-links {
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
    align-items: stretch;
}

.free-trial {
    padding: 0.5rem 0.9rem;
    /* height: 32px; */
    background: #686EFF;
    border-radius: 6.98px;
    color: #FFFFFF;
    text-align: center;
}

.teaser-links .free-trial {
    margin-right: 0.5rem;
}


.community-link {
    display: flex;
    /* height: 32px; */
    align-items: center;
    background: black;
    border-radius: 6.98px;
    color: #FFFFFF;
    padding: 0.4rem 0.5rem;
}

.community-link a {
    margin-right: 0.5rem;
}

.frame-2 {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: 2rem;
    background: #FFFFFF;
    border-radius: 4.95px;
}
/* flex direction = row when wide and column when mobile */
/* width of frame-2-text wider when wide and narrow when mobil */

.frame-2-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 300px;
    padding: 7% 0 7% 10%;
    border-top-left-radius: 4.95px;
    border-top-right-radius: 4.95px;
}

.frame-2 img {
    width: 100%;
    border-bottom-left-radius: 4.95px;
    border-bottom-right-radius: 4.95px;
}

.preview {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF;
    margin-top: 2rem;
    border-radius: 4.95px;
}

.preview h2 {
    background: #FFFFFF;
    padding-top: 7%;
    padding-left: 10%;
    border-top-left-radius: 4.95px;
    border-top-right-radius: 4.95px;
}

.preview img {
    width: 100%;
    padding-top: 3rem;
    background: #FFFFFF;
    border-bottom-left-radius: 4.95px;
    border-bottom-right-radius: 4.95px;
}

.frame-7 {
    display: flex;
    flex-direction: column;
    border-radius: 4.95px;
    background: #000000;
}

.frame-7-doodles {
    background: #000000;
    width: 100%;
    padding: 15%;
    padding-bottom: 0;
    border-top-left-radius: 4.95px;
    border-top-right-radius: 4.95px;
}

.frame-7-text {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 183px;
    background: #000000;
    padding: 7% 7% 7% 12%;
    padding-bottom: 10%;
    border-bottom-left-radius: 4.95px;
    border-bottom-right-radius: 4.95px;
}

.launch {
    padding: 0.5rem 1rem;
    background: #686EFF;
    border-radius: 6.98px;
    color: #FFFFFF;
    text-align: center;
    margin-right: 0.5rem;
    width: 11rem;
}

.footer {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

small {
    display: block;
    margin-top: 5%;
}
/* STYLING */

body {
    background: rgb(246,247,249);
}

.header {
    display: flex;
}
.header-purple {
    background: #C4BBFF;
}
.header-pink {
    background: #FFBBEC;
}
.header-green {
    background: #BBFFCA;
}
.header-peach {
    background: #FFDCBB;
}

/* TYPOGRAPHY */

html,
body {
  font-family: 'Sul Sans', sans-serif;
  font-style: normal;
}

@font-face {
  font-family: 'Sul Sans';
  src: url('fonts/sul-sans-black.otf');
  src: url('fonts/sul-sans-bold.otf');
  src: url('fonts/sul-sans-light.otf');
  src: url('fonts/sul-sans-medium.otf');
  src: url('fonts/sul-sans-regular.otf');
}

.nav{
    font-size: 0.8rem;
}

.teaser h1 {
    font-weight: bold;
    font-size: 2rem;
    line-height: 2.5rem;
}

.teaser p {
    font-size: 0.8rem;
    color: #5A5A5A;
    line-height: 1rem;
}

.teaser-links {
    font-size: 0.8rem;
}

h2 {
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.2rem;
}

h3 {
    font-size: 0.7rem;
    font-weight: bold;
    line-height: 1rem;
}

.descrip-alt {
    color: #CECECE;
}

.frame-7 {
    background: #000000;
    margin-top: 2rem;
}

.frame-7-text {
    color: #FFFFFF;
}

.frame-7 h1 {
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 2.5rem;
}

.frame-7 p,
.launch {
    font-size: 0.8rem;
    line-height: 1rem;
}

.frame-7-descrip-alt {
    color: rgb(73,73,73);
}

footer {
    font-size: 0.8rem;
    color: #5A5A5A;
}

@media all and (min-width: 375px) {
    .icons {
        width: 25%;
    }
    .teaser p {
        width: 85%;
    }
    .arrow {
        width: 5rem;
    }
    .frame-2,
    .preview,
    .frame-7 {
        border-radius: 6px;
    }
    .frame-2-text,
    .preview h2,
    .frame-7-doodles {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }
    .frame-2 img,
    .preview img,
    .frame-7-text {
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    h2 {
        font-size: 1rem;
        line-height: 1.4rem;
    }
    h3 {
        font-size: 0.8rem;
        line-height: 1.1rem;
    }
    .frame-7-text {
        height: 200px;
        padding: 7% 9% 7% 14%;
    }
  
}

@media all and (min-width: 425px) {
    .teaser p {
        width: 91%
    }
    .login {
        padding-right: 1.5rem;
    }
    .free-trial {
        padding: 0.6rem 1rem;
    }
    .teaser h1 {
        width: 95%;
    }
    .teaser p {
        width:77%;
    }
    .frame-2,
    .preview,
    .frame-7 {
        border-radius: 7px;
    }
    .frame-2-text,
    .preview h2,
    .frame-7-doodles {
        border-top-left-radius: 7px;
        border-top-right-radius: 7px;
    }
    .frame-2 img,
    .preview img,
    .frame-7-text {
        border-bottom-left-radius: 7px;
        border-bottom-right-radius: 7px;
    }
    h2 {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }
    h3 {
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
    .frame-7 p {
        width: 89%;
    }
    .frame-7-text {
        height: 210px;
        padding-left: 19%;
    }
}

/* TABLET */


@media all and (min-width: 768px) {
    .arrow {
        width: 6rem;
        right: 125px;
    }
    .teaser h1 {
        width: 89%;
        font-size: 2.5rem;
        line-height: 3rem;
    }
    .nav {
        font-size: 0.9rem;
    }
    .teaser h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }
    .teaser p {
        font-size: 0.9rem;
        line-height: 1.3rem;
        width: 71%
    }

    .preview img {
        padding-top: 4rem;
    }
    .icon {
        width: 1.3rem;
    }
    .icons {
        width: 16%;
    }
    .teaser-links {
        font-size: 0.9rem;
    }
    h2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    h3 {
        font-size: 1.1rem;
        line-height: 1.4rem;
    }
    .frame-2-text {
        height: 350px;
        padding: 5% 0 5% 10%;
    }
    .frame-2,
    .preview,
    .frame-7 {
        border-radius: 8px;
    }
    .frame-2-text,
    .preview h2,
    .frame-7-doodles {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    .frame-2 img,
    .preview img,
    .frame-7-text {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
    .frame-7-doodles {
        align-self: center;
        width: 85%;
        padding-top: 10%;
    }
    .frame-7-text {
        height: 260px;
        padding-left: 28%;
        padding-top: 5%;
    }
    .frame-7 h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }
    .frame-7 p {
        width: 69%;
        font-size: 0.9rem;
        line-height: 1.3rem;
    }
    .launch {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        width: 12rem;
    }
    footer p {
        font-size: 0.9rem;
    }
    .footer {
        margin-top: 2%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-links {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 28%;
    }
    small {
        margin-top: 0;
    }
}

/* LAPTOP */

@media all and (min-width: 1024px) {
    .container {
        margin-left: 5%;
        margin-right: 5%;
    }
    .nav {
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    .free-trial {
        padding: 0.65rem 1.2rem;
    }
    .arrow {
        right: 145px;
    }
    .teaser h1 {
        font-size: 3rem;
        line-height: 3.8rem;
        width: 80%;
    }
    .teaser p {
        font-size: 1rem;
        line-height: 1.3rem;
        width: 65%;
    }
    .teaser-links {
        font-size: 1rem;
    }
    .community-link {
        padding: 0.4rem 1rem;
    }
    .community-link img {
        height: 1.2rem;
    }
    .icon {
        width: 1.4rem;
    }
    .icons {
        width: 13%;
    }
    .frame-2,
    .preview,
    .frame-7 {
        border-radius: 9px;
    }
    .frame-2-text,
    .preview h2,
    .frame-7-doodles {
        border-top-left-radius: 9px;
        border-top-right-radius: 9px;
    }
    .frame-2 img,
    .preview img,
    .frame-7-text {
        border-bottom-left-radius: 9px;
        border-bottom-right-radius: 9px;
    }
    .frame-2 {
        flex-direction: row;
    }
    .frame-2-text {
        padding: 3% 0 3% 3%;
        width: 35%;
        height: 404px;
    }
    h2 {
        font-size: 1.3rem;
        line-height: 1.8rem;
    }
    h3 {
        font-size: 0.9rem;
        line-height: 1.3rem;
    }
    .frame-2 img {
        width: 65%;
        padding-top: 4rem;
    }
    .previews {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: stretch;
    }
    .left-col {
        width: 48%;
    }
    .right-col {
        width: 48%;
    }
    .preview h2 {
        padding-top: 7%;
        padding-left: 7%;
    }
    .frame-7 {
        flex-direction: row;
        justify-content: space-evenly;
        padding: 5%;
    }
    .frame-7-doodles {
        width: 37%;
        padding: 0;
    }
    .frame-7-text {
        justify-content: center;
        width: 50%;
        padding: 0;
    }
    .frame-7 p,
    .launch { 
        margin-top: 1rem; 
    }
    .footer {
        font-size: 0.9rem;
        width: 90%;
    }
    .footer-links {
        width: 26%;
    }
}

@media all and (min-width: 1440px) {
    .nav {
        margin-top: 2rem;
        font-size: 1.05rem;
    }
    .arrow {
        right: 180px;
    }
    .login {
        padding-right: 1.6rem;
    }
    .icons {
        width: 11%;
    }
    .icon {
        width: 1.6rem;
    }
    .teaser {
        margin-top: 18rem;
    }
    .teaser h1 {
        font-size: 4rem;
        line-height: 5rem;
        width: 59%;
        margin-top: 2rem;
    }
    .teaser p {
        font-size: 1.05rem;
        width: 48%;
        line-height: 1.5rem;
        margin-top: 2rem;
    }
    .free-trial {
        padding: 0.8rem 1.4rem;
    }
    .community-link a {
        margin-right: 0.8rem;
    }
    .frame-2 {
        margin-top: 4rem;
    }
    .frame-2-text {
        height: 505px;
        width: 37%;
        padding-left: 4%;
    }
    .frame-2,
    .preview,
    .frame-7 {
        border-radius: 10px;
    }
    .frame-2-text,
    .preview h2,
    .frame-7-doodles {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
    .frame-2 img,
    .preview img,
    .frame-7-text {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
    h2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    h3 {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
    .frame-2 img {
        width: 63%;
    }
    .preview h2 {
        padding-left: 9%;
    }
    .preview {
        margin-top: 3.5rem;
    }
    .frame-7 {
        align-items: center;
        justify-content: space-evenly;
        padding: 6%;
    }
    .frame-7-doodles {
        width: 37%;
        padding: 0;
    }
    .frame-7-text {
        justify-content: center;
        width: 50%;
        padding: 0;
    }
    .frame-7 h1 {
        font-size: 3.8rem;
        line-height: 3rem;
        margin-top: 2rem;
    }
    .frame-7 p {
        width: 100%;
        font-size: 1.05rem;
        line-height: 1.3rem;
        margin-top: 2rem;
    }
    .launch {
        margin-top: 1rem;
        padding: 0.8rem 1rem;
        font-size: 1.05rem;
        width: 14rem;
    }
    .footer-links {
        width: 20%;
    }
}

a { text-decoration: none; color: inherit; }