* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Source Sans 3", sans-serif;
    font-size: 15px;
    color: black;
    background-color: white;
}

.container {
    max-width: 800px;
    width: 90%;
    padding: 50px;
}

.header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.header-logo {
    width: 300px;
    margin-left: -50px;
}

.header-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.header-text {
    max-width: 600px;
}

.header-text h1 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}
.header-text h1 span {
    opacity: 0.5;
}

.header-text p {
    line-height: 1.6;
    margin-bottom: 10px;
}

#content {
    display: block;
}

.section {
    display: flex;
    flex-direction: column;
}

.section.full-width {
    grid-column: 1 / -1;
}

.section-header {
    display: block;
    background-color: black;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 30px 0 20px 0;
}

.section:first-child .section-header {
    margin-top: 0;
}

.tools-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

.tools-grid.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.tools-grid.one-column {
    grid-template-columns: 1fr;
}

.tool {
    display: flex;
    flex-direction: column;
}

.tool-thumbnail {
    width: 100%;
    margin-bottom: 10px;
}

.tool-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.tools-grid.one-column .tool-thumbnail {
    width: calc(100% + 50px);
    margin-left: -25px;
}

.tool-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.tool-tagline {
    background-color: #fff08c;
    padding: 3px 5px;
    margin-bottom: 8px;
    display: inline-block;
    font-style: italic;
}

.tool-summary {
    line-height: 1.6;
    margin-bottom: 10px;
}

.tool-links {
    margin-top: 5px;
}

.tool-links a {
    color: blue;
    text-decoration: underline;
    margin-right: 10px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1600px;
    }

    #content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        align-items: start;
    }

    .section:not(.full-width) .section-header {
        margin-top: 0;
    }

    .section.full-width .tools-grid.one-column {
        grid-template-columns: repeat(2, 1fr);
    }

    .section.full-width .tools-grid.one-column .tool-thumbnail {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 800px) {
    .tools-grid.two-columns {
        grid-template-columns: 1fr;
    }

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