* {
    box-sizing: border-box;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

/* Navbar styling */
.navbar {
    -webkit-box-shadow: 0px 6px 5px -3px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 6px 5px -3px rgba(0,0,0,0.35);
    box-shadow: 0px 6px 5px -3px rgba(0,0,0,0.35);
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

#navContainer {
    width: 100%;
}

.navTop {
    background-color: black;
    clear:both;
    height: 33px;
}

.navBottom {
    height: 47px;
}

.navTop ul li {
    display: inline;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 32px;
}

#first-link {
    opacity: 1;
}

.navTop ul {
    margin-left: 20px;
}

.navTop ul li {
padding-right: 10px;
}

.navTop ul li a {
    color: #ffffff;
    opacity: 0.6;
    text-decoration: none;
}

.navTop ul li a:hover {
    opacity: 1;
}

.navBottom {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-left: 8px;
}

.navBottom ul li {
    display: inline-block;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 14px;
    padding: 0 12px;
}

.navBottom ul li a {
    color: #aaaaaa;
    text-decoration: none;
}

.navBottom ul li a:hover {
    color: #000000;
}

.fa-search {
    display: flex;
    justify-content: flex-end;
}

.fa-search {
    color: #aaaaaa;
    cursor: pointer;
    border-left: 1px solid #aaaaaa;
    padding: 15px 20px;
}

.fa-align-justify:before {
    display: none;
}


#tnw1, #tnw2 {
    display: none;
}

/* Top Content Styling */

.top-content {
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 243px 243px;
    margin: 90px 10px 10px 10px;
}

.top-content p, h1, h2, i {
    color: white;
    font-family: sans-serif;
}

.top-content h1 {
    font-size: 143.6px;
    letter-spacing: 14.36px;
    line-height: 143.6px;
}

#firstInsight {
    background: linear-gradient(to bottom right, red,rgba(255, 0, 0, 0.25), black, black ), url("/images/img-1.png");
    grid-row: 1 / span 2;
    padding-left: 15px;
}

.FIP {
    clear: both;
    font-size: 14.4px;
    line-height: 14.4px;
    text-align: start;
}

.FIH2 {
    clear: both;
    font-size: 46px;
    line-height: 46px;
    position: relative;
    top: 38%;
}

.FIDate {
    float: right;
    font-size: 14.4px;
    line-height: 14.4px;
    margin: 15px;
}

.FITitle {
    float: left;
}

.FIAuthor {
    display: flex;
    flex-direction: row;
    position: relative;
    top: 39.5%;
}

.FIAPadding {
    color: lightgray !important;
    padding: 0 3px;
}

#secondInsight {
    align-content: flex-end;
    background: linear-gradient(to bottom right, red,rgba(255, 0, 0, 0.25), black, black ), url("/images/img-2.jpg");
    display: grid;
    padding: 20px;
}

#thirdInsight {
    align-content: flex-end;
    background: linear-gradient(to bottom right, red,rgba(255, 0, 0, 0.25), black, black ), url("/images/img-3.jpg");
    display: grid;
    padding: 20px;
}

.titleInsight {
    font-size: 28px;
    line-height: 28px;
    margin-bottom: 10px;
}

.authorLeft {
    display: flex;
    flex-direction: row;
}

/* Main */

main {
    margin: 0 auto;
    max-width: 1200px;
}

.latestNews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(229px,1fr));
    grid-gap: 20px;
    margin-top: 66px;
    padding: 20px
}


.latestNews h2 {
    color :#ff3300;
    font-size: 25.6px;
    grid-column: 1/ -1;
    line-height: 25.6px;
    text-align: start;
}

.LatestNewsTitle {
    font-family: "ARS Maquette", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
}

.latestNewsAuthor {
    color: #aaaaaa;
    font-size: 13px;
    line-height: 20px;
    padding-top: 3px;
}

.latestNewsFig img {
    width: 100%;
}

.subwellArticle {
    background-color: #fffaf8;
    /* max-width: 270px; */
}

.latestFunding {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(231px,1fr));
    column-gap: 20px;
    margin-top: 66px;
    padding: 20px;
}

.fundingLinks {
    grid-column: 1 / -1;
}

.fundingLinks h2 {
    float: left;
    padding-bottom: 25px;
}

.fundingLinks h2 a {
    color :#ff3300;
    font-size: 25.6px;
    grid-column: 1/ -1;
    line-height: 25.6px;
    text-align: start;
    text-decoration: none;
}

.fundingLinks ul {
    float: right;
    margin-top: 10px
}

.fundingLinks ul li {
    display: inline;
}

.fundingLinks ul li a {
    color: rgb(255,68,34);
    text-decoration: none;
}

#fundingListMiddle {
    border-left: 1px solid rgb(255,68,34);
    border-right: 1px solid rgb(255,68,34);
    padding: 0 5px;
}

.grid-link {
    background: linear-gradient(rgb(255,68,34) 40px, rgb(255,235,231) 0);
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr 1fr 1fr;
    height: 96px;
    /* max-width: 270px; */
    text-decoration: none;
}

.grid-link img {
    height: 60px;
    margin-left: 10px;
    margin-top: 10px;
    width: 60px;
}

.firstP {
    color: white;
    font-size: 18px;
    font-weight: bold;
    grid-column: 2 / span 2;
    grid-row: 1;
    line-height: 18px;
    margin-left: -5px;
    margin-top: 10px;
}

.secondP {
    color: black;
    font-size: 18px;
    font-weight: bold;
    line-height: 18px;
    margin-left: -5px;
    margin-top: -20px;
    grid-column: 2 / span 2;
    grid-row: 2; 
}

.thirdP {
    color: black;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.48px;
    margin-left: -5px;
    margin-top: -15px;
    opacity: 0.6;
    grid-column: 2 / span 2;
    grid-row: 3; 
}

.fa-tag {
    color: black;
}

.fa-suitcase {
    color: black;
}

.pharmaLink1 {
    color: #555555;
    display: block;
    font-size: 13px;
    line-height: 22px;
    padding-left: 20px;
    padding-top: 20px;
    text-decoration: none;
}

.pharmaLink2 {
    border-bottom: 1px solid rgb(255,68,34, 0.3); 
    color: #555555;
    display: block;
    font-size: 13px;
    line-height: 22px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-top: 5px;
    text-decoration: none;
}

.seriesALink {
    color: #555555;
    display: block;
    font-size: 12px;
    line-height: 20px;
    padding: 20px;
    text-decoration: none;
}

.seriesALink span {
    color: #aaaaaa;
}

/* Apps, Gear, Tech section */
.subjects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(370px,1fr));
    column-gap: 20px;
    margin-top: 66px;
    padding: 20px;
}

.categories {
    margin-bottom: 30px;
}
.subjects h2 {
    grid-column: 1 / -1;
    margin-bottom: 15px;
}

.subjects h2 a {
    color: #ff4422;
    text-decoration: none;
}

.subjects h2 a:hover {
    color:black;
}

.back-img {
    background-image: url("/images/back-img.png");
    height: 275px;
}

.backGradient {
    align-content: flex-end;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.3) 0%, rgba(0,0,0,0.57) 39%, rgba(0,0,0,0.78) 69%, rgba(0,0,0,1) 100%);
    display: grid;
    height: 275px;
    padding-bottom: 10px;
    padding-left: 10px;
}

.back-img-p {
    color: white;
    font-size: 14px;
    line-height: 21px;

}

.back-img-a1 {
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 22px;
    margin-bottom: 5px;
    text-align: left;
    text-decoration: none;
}

.back-img-a2 {
    color:grey;
    font-size: 12px;
    line-height: 16px;
    text-decoration: none;
}

.img-2 {
    background-color:rgb(255,68,34, 0.06);
    height: 100px;
    padding-left: 10px;
}

.img-2 p {
    color: #ff4422;
    font-size: 13px;
    padding: 10px 0;
}

.img-2 a {
    color: #ff4422;
    font-size: 14px;
    font-weight: bold;
    float: left;
    height: 34px;
    width: 244px;
    text-decoration: none;
}

#womanDancing {
    height: 100px;
    float: right;
    object-fit: cover;
    width: 100px;
}

.img-2List {
    color: #ff4422;
    font-size: 13px;
    margin-left: 15px;
    margin-top: 5px;
}

.img-2List li {
    border-bottom: 0.5px solid lightgray;
    padding: 6px 0 6px 14px;
}

.img-2List li a {
    color: #555555;
    font-size: 13px;
    line-height: 19px;
    text-decoration: none;
}

.img-2List li a:hover {
    color: black;
}

.latestDeals {
    align-items: center;
    display: flex;
    justify-content: space-between;
    grid-column: 1 / -1;
}

.h2Link {
    color: #ff4422; 
    font-size: 28px;
    line-height: 32px;
    text-decoration: none;
}

.dealsLink {
    color: #ff4422; 
    font-size: 14px;
    line-height: 18px;
    text-decoration: none;
}

.dealsLink:hover, .h2Link:hover {
    color: black;
}


.dealPrice {
    color: #555555;
    font-size: 16px;
    line-height: 20px;
    padding-top: 5px;
}

.dealPrice span {
    color: #aaaaaa;
    font-size: 13px;
    line-height: 20px;
    text-decoration: line-through;
}

/* Footer */

.footerTop {
    align-items: center; 
    background-color: #131313;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 161px;
}

.footerBottom {
    align-items: center;
    background-color: black;
    display: flex;
    justify-content: center;
    height: 97px;
}

.footerBottom span {
    color: red;
}

.footerBottom p {
    color: #aaaaaa;
    font-size: 13px;
    line-height: 19px;
}

.footer-logo {
    height: 9px;
    margin-right: 3px;
    width: 37px;
}

.img-footer {
    height: 9px;
    margin-left: 3px;
    width: 65px;
}

.footerIconsList li {
    display: inline;
    font-size: 20px;
    margin: 5px;
}

.footer-icon {
    background-color: #333333;
    border: 2px solid #333333;
    border-radius: 50%;
    color:white;
    padding: 10px;
}

.fa-feed {
    padding: 10px 10px 10px 15px
}

.fa-pinterest {
    padding: 10px 11px;
}

.fa-instagram {
    padding: 10px 11px;
}

.fa-youtube {
    padding: 10px 11px;
}

.fa-facebook-square {
    padding: 10px 11px;
}

.footer-icon:hover {
    background-color: #131313;
}

.footerTopLinks  {
    margin-top: 20px;
}

.footerTopLinks li {
    display: inline;
    margin: 0 5px;
}

.footerTopLinks li a {
    color: #555555;
    font-size: 12px;
    line-height: 24px;
    text-decoration: none;
}

.footerTopLinks li a:hover {
    color: white;
}

@media (max-width: 1024px) and (min-width: 768px) {

    /* Nav bar styling */
    .navbar {
        height: 80px;
    }

    .navTop {
        background-color: black;
        height: 33px;
    }

    #tnw1 {
        display: block;
        float: left;
        height: 80px;
        width: 100px;
    }

    /* Top Content Styling */

    .top-content {
        grid-template-rows: 183px 183px;
    }

    .FITitle {
        display: none;
    }

    .FIDate {
        display: none;
    }

    .FIH2 {
        font-size: 34px;
        top: 56%;
    }

    .FIAuthor {
        top: 58%;
    }

    .titleInsight {
        font-size: 19px;
        line-height: 19px;
    }

    /* Main Latest news */

    .latestNewsTitle {
        font-size: 14px;
        line-height: 18px;
    }

    .latestNewsAuthor {
        font-size: 12px;
        line-height: 18px;
    }

    .dealPrice {
        font-size: 14px;
        line-height: 18px;
    }

    .dealPrice span {
        font-size: 12px;
        line-height: 18px;
    }

    /* Main Latest funding*/

    #subwellLastArticle {
        display: none;
    }

    .fundingLinks ul {
        float: left;
        margin-bottom: 20px;
        margin-top: -17px;
    }

    .fundingLinks h2 {
        float: none;
    }

/* Apps, Gear, Tech section */


   
}

@media (max-width: 768px) {

    /* Navbar styling */
    .navbar {
        height: 50px;
    }

    .navTop {
        display: none;
        height: 33px;
    }

    .navBottom {
        padding-left: 0;
    }

    .navBottom ul {
        display: none;
    }

    #tnw2 {
        display: block;
        float: left;
        height: 50px;
        width: 100px;
    }

    .fa-align-justify:before {
        border-left: 1px solid #aaaaaa;
        color: #aaaaaa;
        cursor: pointer;
        display: block;
        padding: 15px 20px;
    }

    /* Top Content Styling */

    .top-content {
        grid-template-columns: 1fr;
        grid-template-rows: 183px 183px 183px;
    }

    #firstInsight {
        align-content: flex-end;
        display: grid;
        grid-row: 1 / span 1;
    }

    .FITitle {
        display: none;
    }

    .FIDate {
        display: none;
    }

    .FIH2 {
        font-size: 19px;
        line-height: 19px;
        margin-left: 7px;
    }

    .FIAuthor {
        margin-bottom: 40px;
        margin-left: 7px;
    }

    .titleInsight {
        font-size: 19px;
        line-height: 19px;
    }
    /* Main Styling */

    .latestNews {
        display: block;
    }

    .latestNews h2 {
        margin-bottom: 20px;
    }

    .latestNewsFig {
        display: flex;
        flex-direction: row;
        margin: 7px 0;
    }

    .latestNewsFig img {
        object-fit: cover;
        object-position: right bottom;
        height: 75px;
        margin-right: 20px;
        width: 75px;
    }

    .latestNewsFig figcaption {
        width: 500px;
    }
    
    .latestNewsTitle {
        font-size: 14px;
        line-height: 18px;
    }

    
    .latestNewsAuthor {
        font-size: 12px;
        line-height: 18px;
    }

    .dealPrice {
        font-size: 14px;
        line-height: 18px;
    }

    .dealPrice span {
        font-size: 12px;
        line-height: 18px;
    }

    /* Main Latest funding*/

    #subwellLastArticle {
        display: none;
    }

    .fundingLinks ul {
        float: left;
        margin-bottom: 10px;
        margin-right: 100px;
    }

    .fundingLinks ul li {
        display: block;
        font-size: 14px;
    }

    #fundingListMiddle {
        border: none;
        padding:  10px 0;
    }

    .latestFunding {
        grid-template-columns: 1fr;
    }

    .footerIconsList li {
        margin: 2px;
    }
    
}
