@media only screen and (max-width: 1008px) {
    .nav-row2-left {
        background: #f42;
        width: 10%;
    }

    .nav-row2-left img {
        margin: 10%;
    }

    .figure-date {
        display: none;
    }

    .twd-img {
        opacity: 0;
    }
}

@media only screen and (max-width: 768px) {
    .nav-row1-left,
    .nav-row1-right,
    .nav-row2-left2 {
        height: 0;
        margin: 0;
        opacity: 0;
        width: 0;
    }

    .figure-date {
        display: none;
    }

    .fa-bars {
        color: #f42;
    }

    .header-first-row {
        flex-direction: column;
        font-size: 100%;
        overflow: hidden;
    }

    .tech-news section {
        flex: 100%;
        flex-direction: column;
    }

    .header-column1 {
        margin: 1.5%;
        margin-left: 0;
    }

    .header-column2 {
        margin: 0;
        margin-left: 1.5%;
    }

    .footer-nav-items li {
        font-size: 70%;
    }
}

body {
    border: none;
    color: gray;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    margin: 0 auto;
    max-width: 1192px;
}

h2 {
    color: #fff;
}

h4 {
    color: black;
}

h5 {
    color: #f42;
}

p {
    font-size: small;
}

a {
    color: #fff;
    text-decoration: none;
}

a:visited,
.nav-row1-left a:link,
.nav-row1-right a:link {
    color: gray;
    text-decoration: none;
}

h3 {
    color: #f42;
    margin: 1%;
    padding-top: 30px;
}

hr {
    border: 1px solid rgb(255, 68, 34);
    border: 1px solid rgba(255, 68, 34, 0.25);
}

.author a:hover {
    color: white;
}

.author-row2 a:hover {
    color: rgb(177, 174, 174);
}

.top-menu {
    display: flex;
}

.menu-bars {
    width: 100%;
}

.footer-nav-menu {
    display: flex;
}

.row1 {
    background-color: black;
    display: flex;
    font-size: small;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-row1-left {
    display: flex;
    padding-right: 5px;
}

.nav-row1-right {
    display: flex;
    flex-grow: 10;
    justify-content: flex-end;
}

li {
    list-style: none;
    padding-right: 10px;
}

.nav-row1-left a:hover {
    color: white;
    text-decoration: none;
}

.nav-row1-right a:hover {
    color: white;
    text-decoration: none;
}

.row2 {
    background-color: #fff;
    display: flex;
    text-decoration: none;
}

.nav-row2-left2 {
    color: gray;
    display: flex;
    font-size: small;
}

.nav-row2-left2 a:link {
    text-decoration: none;
}

.nav-row2-left2 a:hover {
    color: black;
    text-decoration: none;
}

.nav-row2-right {
    color: gray;
    display: flex;
    flex-grow: 10;
    justify-content: flex-end;
}

.nav-row2-right i {
    font-size: large;
    margin: auto 20px;
    transform: rotateY(180deg);
}

.header-first-row {
    background: linear-gradient(to bottom, #eee, #fff 25%);
    background-repeat: no-repeat;
    display: flex;
    flex: 100%;
    margin: 0;
    overflow: hidden;
    padding-top: 1%;
}

.header-column1 {
    flex: 2;
}

.header-column2 {
    flex: 1;
}

.footer-nav-items {
    display: flex;
    font-size: small;
    margin: 30px auto;
}

.footer-nav-items a:link {
    color: rgb(245, 243, 243);
    text-decoration: none;
}

.footer-nav-items a:hover {
    color: white;
    text-decoration: none;
}

.funding-rounds {
    display: flex;
    flex: 100%;
    flex-wrap: wrap;
}

.funding-round-items {
    background: #fffaf8;
    flex: 4;
    margin: 0 1%;
    min-width: 250px;
}

.funding-round-items p {
    padding: 0 5%;
}

.funding-round-items img {
    float: left;
    height: 60px;
    margin: 15px;
    width: 60px;
    z-index: 10;
}

.item-header {
    background: #f42;
    color: #fff;
    line-height: 3;
    margin: 0;
    padding: 0 5%;
}

.item-amount,
.item-category {
    background: rgb(255, 68, 34);
    background: rgba(255, 68, 34, 0.08);
    line-height: 2;
    margin: 0;
    padding: 0 5%;
}


.tech-latest img {
    float: right;
    height: 96px;
    width: 96px;
}


.latest-deals-items img {
    margin: 0;
    padding: 0;
    width: 100%;
}


.latest-news-item {
    cursor: pointer;
    flex: 4;
    margin: 0 1% 1%;
    min-width: 250px;
}

.latest-news-items,
.latest-deals-items {
    display: flex;
    flex: 100%;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.latest-news-item figure {
    margin: 0 0;
}

.latest-news-item figure img {
    flex: 100%;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.latest-deals-items div {
    flex: 4;
    height: fit-content;
    margin: 1.5%;
    min-width: 250px;
}

.latest-deals-items figure {
    margin: 0;
}

.latest-deals-items span {
    color: gray;
    font-size: smaller;
    text-decoration: line-through;
}

.tech-most-popular {
    height: 276px;
}

.tech-most-popular,
.caption-title {
    font-weight: 700;
    padding: 3%;
}

.caption-title-header,
.tech-most-popular-header {
    color: #fff;
    margin-bottom: 1.5%;
    margin-top: 1.5%;
    padding-top: 0;
    position: relative;
    top: 70%;
}

.caption-title p,
.tech-most-popular p {
    color: #fff;
    margin: 0;
    position: relative;
    top: 70%;
}

.tech-most-popular-header:hover,
.caption-title-header:hover {
    color: white;
    text-decoration: underline solid #999;
}

.tech-most-popular p a:hover {
    color: white;
}

.tech-news {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.tech-news section {
    color: #555;
    flex: 3;
    margin: 0 1%;
    min-width: 300px;
}

.tech-news-block {
    background: rgb(255, 68, 34);
    background: rgba(255, 68, 34, 0.06);
    margin: 2% 0;
}

.tech-news-block li::before {
    color: #f42;
    content: "•";
    margin-left: -1em;
    margin-right: 0.6em;
}

.tech-news-block li {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 13px;
    list-style: none;
    margin-left: 0.3em;
    padding: 1% 0 1% 2%;
}

.tech-news-block ul {
    background-color: #fff;
    padding: 0;
    padding-left: 1%;
}

.tech-news-block ul li a:hover {
    color: rgb(43, 42, 42);
}

h5:hover {
    text-decoration: underline;
}

.tech-latest {
    color: #f42;
    padding-left: 4%;
}

.figure-tesla {
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(195, 55, 100, 0.7)), url(./resources/tesla-img.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 100%;
    margin: 0 1.5%;
}

.figure-tesla:hover {
    opacity: 0.9;
}

.twd-img {
    margin: 3%;
    width: 40%;
}

.figure-date {
    color: #fff;
    float: right;
    font-size: 80%;
    padding-right: 1.5%;
}

.header-column2 figure {
    margin-left: 0;
    margin-right: 3%;
    margin-top: 0;
    overflow: hidden;
}

.figure-aside,
.figure-aside2,
.tech-most-popular {
    background-image: linear-gradient(to top, #333, #555 30%, transparent), url(https://cdn0.tnwcdn.com/wp-content/blogs.dir/1/files/2020/01/trump-tesla-grant-money-inject-research-hydrogen-science-796x448.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #000;
}

.figure-aside,
.figure-aside2 {
    margin-bottom: 0;
    padding-top: 25%;
}

.figure-aside {
    margin-bottom: 3%;
}

.figure-aside:hover,
.figure-aside2:hover {
    opacity: 0.9;
}

footer {
    background-color: #131313;
    color: #555;
    padding-top: 20px;
    text-align: center;
}

.copyright {
    background: #000;
    color: #aaa;
    font-size: 75%;
    padding: 3%;
    text-align: center;
}


button {
    background: #333;
    border-color: #333;
    border-radius: 50%;
    color: #fff;
    font-size: large;
    height: 40px;
    width: 40px;
}

button:hover {
    background: #000;
    border-color: #333;
}

.footer-legal-logoTNW {
    width: 3%;
}

.stackpath {
    width: 5%;
}

.figure-title {
    color: #fff;
    font-size: 130%;
    font-weight: 800;
    padding: 3%;
    position: relative;
    top: 22%;
}

.figure-title-top,
.figure-title-header {
    margin-bottom: 1%;
    margin-top: 1%;
}

h4:hover {
    color: #f42;
    text-decoration: underline solid #f42;
}

h3:hover {
    color: #000;
}
