body {
    height: 100vh;

    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

hr.content-separator {
    border-bottom: 1px solid #cacaca;
    border-top: none;
}

.card {
    text-decoration: none;
}

/** Large screen */
@media (min-width: 1300px) {
    main {
        display: flex;
        flex-direction: column;
    }

    input {
        width: 40vw;
        margin: 40px 0;

        padding: 10px 20px;
        border-width: 1px;
        border-color: rgb(85, 85, 85);
        border-radius: 20px;
        background-color: rgb(255, 255, 255);

        font-size: 20px;
    }

    section {
        display: flex;
        flex-direction: row;
        margin: 24px 0;
        transition: transform 0.2s;
    }

    section:hover {
        cursor: pointer;
        transform: scale(1.03);
    }

    content {
        flex: 8;
        display: flex;
        flex-direction: column;
    }

    span {
        display: flex;
        flex-direction: row;

        font-size: 18;
        font-weight: lighter;
    }

    span > img {
        margin-right: 10px;
        height: 20px;
        width: 20px;
    }

    h1 {
        font-size: 20px;
        font-weight: bolder;
    }

    h2 {
        font-size: 18px;
        font-weight: normal;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    h3 {
        margin-top: 10px;
        font-size: 16px;
        font-weight: lighter;
        font-style: italic;
    }

    section > img {
        height: 120px;
        object-fit: cover;
        flex: 2;
    }
}

/** Medium screen */
@media (min-width: 700px) and (max-width: 1300px) {
    main {
        display: flex;
        flex-direction: column;
        margin: 40px 10px;
    }

    input {
        width: 60vw;
        margin: 40px 0;

        padding: 10px 20px;
        border-width: 1px;
        border-color: rgb(85, 85, 85);
        border-radius: 20px;
        background-color: rgb(255, 255, 255);

        font-size: 19px;
    }

    section {
        display: flex;
        flex-direction: row;
        margin: 24px 0;
        transition: transform 0.2s;
    }

    section:hover {
        cursor: pointer;
        transform: scale(1.03);
    }

    content {
        flex: 8;
        display: flex;
        flex-direction: column;
    }

    span {
        display: flex;
        flex-direction: row;

        font-size: 18;
        font-weight: lighter;
    }

    span > img {
        margin-right: 10px;
        height: 19px;
        width: 19px;
    }

    h1 {
        font-size: 19px;
        font-weight: bolder;
    }

    h2 {
        font-size: 17px;
        font-weight: normal;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    h3 {
        margin-top: 10px;
        font-size: 15px;
        font-weight: lighter;
        font-style: italic;
    }

    section > img {
        height: 100px;
        object-fit: cover;
        flex: 2;
    }
}

/** Mobile screen */
@media (max-width: 700px) {
    main {
        display: flex;
        flex-direction: column;
        margin: 12px 10px;
    }

    input {
        width: 60vw;
        margin: 12px 0;

        padding: 10px 20px;
        border-width: 1px;
        border-color: rgb(85, 85, 85);
        border-radius: 20px;
        background-color: rgb(255, 255, 255);

        font-size: 16px;
    }

    section {
        display: flex;
        flex-direction: row;
        margin: 12px 0;

        transition: transform 0.2s;
    }

    section:hover {
        cursor: pointer;
        transform: scale(1.03);
    }

    content {
        flex: 8;
        display: flex;
        flex-direction: column;
    }

    span {
        display: flex;
        flex-direction: row;

        font-size: 14;
        font-weight: lighter;
    }

    span > img {
        margin-right: 10px;
        height: 14px;
        width: 14px;
    }

    h1 {
        font-size: 16px;
        font-weight: bolder;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    h2 {
        display: none;
    }

    h3 {
        margin-top: 10px;
        font-size: 14px;
        font-weight: lighter;
        font-style: italic;
    }

    section > img {
        display: none;
    }
}
