@import url(common.css);

main {
    position: relative;
    padding: 5.5em 5% 0 5%;
}

.title-sec {
    margin: 4em 0 4em 0;
    max-width: 50%;
    
    h1 {
        font-size: 2em;
        margin-bottom: 0.5em;
        line-height: 150%;
    }
    
    .subtitle {
        font-size: 1.2em;
        line-height: 150%;
        color: rgba(0, 0, 0, 0.6);
    }
}

.blog-content {
    display: flex;
    flex-direction: column;
}

.blog-para {
    font-size: 1.25em;
    line-height: 175%;
    margin: 0;
}

.blog-quote {
    background-color: hsl(0, 0%, 92%);
    padding: 1em 1.5em;
    line-height: 175%;
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
    border-top-left-radius: 0.25em;
    border-bottom-left-radius: 0.25em;
    border-left: 6px solid rgb(165, 165, 221);
    margin-top: 1em;
    font-size: 1em;
}

.blog-h2 {
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 150%;
}

.blog-img {
    width: 80%;
    align-self: center;
    margin: 2.5em 0;
    border-radius: 1em;
}

.blog-img-small {
    width: 50%;
    align-self: center;
    margin: 1.5em 0;
}

.blog-list-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 4em;
}

.blog-list-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 30%;
    height: 28em;
    border: solid 1px rgba(0, 0, 0, 0.3);
    border-radius: 1em;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: black;
    margin-right: 2em;
    margin-bottom: 2em;

    img {
        width: 100%;
    }

    .title {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        font-size: 1.25em;
        line-height: 150%;
        min-height: 6.5em;
        padding: 1em;
        background-color: white;
        box-sizing: border-box;
    }
}

.blog-release-notes {
    display: flex;
    flex-direction: column;
    margin-top: 2em;
    margin-bottom: 8em;

    h3 {
        font-size: 1.25em;
        margin-bottom: 1.5em;
    }
}

.blog-release-item {
    text-decoration: none;
    color: black;
    margin: 0.5em 0;
    
    .title {
        font-size: 1.2em;
        line-height: 150%;

        .date {
            color: rgba(0, 0, 0, 0.6);
            margin-right: 0.5em;
        }
    }
}

.blog-release-item:hover {
    text-decoration: underline;
}

.compare-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.appstore {
    align-self: center;
    margin-top: 6em;
    margin-bottom: 4em;

    img {
        height: 4em;
        width: auto;
    }
}

@media (max-width: 1024px) {

    .title-sec {
        margin: 4em 0 4em 0;
        max-width: 100%;
        
        h1 {
            font-size: 2em;
            margin-bottom: 0.5em;
            line-height: 150%;
        }
        
        .subtitle {
            font-size: 1.2em;
            line-height: 150%;
            color: rgba(0, 0, 0, 0.6);
        }
    }

    .blog-img {
        width: 90%;
        align-self: center;
        margin: 1.5em 0;
    }
    
    .blog-img-small {
        width: 70%;
        align-self: center;
        margin: 1.5em 0;
    }


    .blog-list-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 8em;
    }

    .compare-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .blog-list-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        height: 28em;
        border: solid 1px rgba(0, 0, 0, 0.3);
        border-radius: 1em;
        overflow: hidden;
        cursor: pointer;
        text-decoration: none;
        color: black;
        margin-bottom: 2em;

        img {
            width: 100%;
        }

        .title {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            font-size: 1.25em;
            line-height: 150%;
            min-height: 6.5em;
            padding: 1em;
            background-color: white;
            box-sizing: border-box;
        }
    }
}