html,body{
    background-color: #f2f2f2;
}

.playstation-page {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}


/*
|--------------------------------------------------------------------------
| Intro
|--------------------------------------------------------------------------
*/

.playstation-intro {
    text-align: center;
    margin-bottom: 50px;
}

.playstation-intro h1 {
    font-size: 48pt;
    margin-bottom: 0;
}

.playstation-tagline {
    font-size: 18pt;
    margin-top: 5px;
    color: #444;
}

.playstation-console {
    display: block;
    max-width: 600px;
    width: 80%;
    margin: 30px auto;
}

.intro-text {
    max-width: 850px;
    margin: 15px auto;
    text-align: left;
    font-size: 14pt;
    line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| Sections
|--------------------------------------------------------------------------
*/

.history-section {
    margin: 55px 0;
}

.history-section h2 {
    font-size: 26pt;
    border-bottom: 3px solid #7cb2e8;
    padding-bottom: 7px;
}

.history-section h3 {
    margin-bottom: 8px;
}

.history-text {
    max-width: 900px;
    font-size: 13pt;
    line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| Two Columns
|--------------------------------------------------------------------------
*/

.history-columns {
    display: flex;
    gap: 40px;
}

.history-columns > div {
    flex: 1;
}

.price-quote {
    font-size: 42pt;
    font-weight: bold;
    margin-top: 20px;
}


/*
|--------------------------------------------------------------------------
| Timeline
|--------------------------------------------------------------------------
*/

.timeline {
    border-left: 4px solid #a96ce0;
    margin-left: 40px;
}

.timeline-item {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    padding-left: 25px;
}

.timeline-year {
    width: 70px;
    font-size: 18pt;
    font-weight: bold;
}

.timeline-content {
    flex: 1;
    font-size: 12pt;
    line-height: 1.5;
}


/*
|--------------------------------------------------------------------------
| Models
|--------------------------------------------------------------------------
*/

.model-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.model {
    background-color: lightgrey;
    border: 1px solid dimgrey;
    padding: 18px;
}

.model h3 {
    font-size: 18pt;
    margin-top: 0;
}

.model-name {
    font-weight: bold;
    color: #555;
}


/*
|--------------------------------------------------------------------------
| Specs
|--------------------------------------------------------------------------
*/

.specs {
    max-width: 800px;
    border: 1px solid #555;
}

.spec-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid #777;
}

.spec-row:last-child {
    border-bottom: 0;
}

.spec-row div {
    padding: 10px;
}

.spec-name {
    font-weight: bold;
    background-color: lightgrey;
}


/*
|--------------------------------------------------------------------------
| Controllers
|--------------------------------------------------------------------------
*/

.accessory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.accessory {
    background-color: lightgrey;
    border: 1px solid dimgrey;
    padding: 15px;
}

.accessory img {
    display: block;
    width: 200px;
    height: 175px;
    object-fit: fill;
    margin: 0 auto 15px auto;
}


/*
|--------------------------------------------------------------------------
| Accessories
|--------------------------------------------------------------------------
*/

.accessory-list {
    background-color: lightgrey;
    border: 1px solid dimgrey;
}

.accessory-list > div {
    display: grid;
    grid-template-columns: 220px 1fr;
    padding: 12px;
    border-bottom: 1px solid #aaa;
}

.accessory-list > div:last-child {
    border-bottom: 0;
}


/*
|--------------------------------------------------------------------------
| Nerd Notes
|--------------------------------------------------------------------------
*/

.nerd-notes {
    max-width: 900px;
}

.nerd-notes h3 {
    margin-top: 30px;
}

.nerd-notes p {
    line-height: 1.6;
}


.startup-section {
    max-width: 800px;
    margin: 40px auto 60px auto;
    text-align: center;
}

.startup-section h2 {
    margin-bottom: 5px;
}

.startup-section p {
    margin-top: 0;
    color: #444;
}

.startup-video {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 20px auto 0 auto;
    background-color: black;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 750px) {

    .playstation-intro h1 {
        font-size: 36pt;
    }

    .history-columns {
        display: block;
    }

    .model-list {
        grid-template-columns: 1fr;
    }

    .accessory-grid {
        grid-template-columns: 1fr;
    }

    .spec-row {
        grid-template-columns: 130px 1fr;
    }

    .accessory-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .timeline {
        margin-left: 10px;
    }

    .timeline-item {
        display: block;
    }

    .timeline-year {
        margin-bottom: 5px;
    }

}