@media (min-width: 320px) {
    body {
        background-color: #ddd;
    }
    .container {
        width: 320px;
        overflow: hidden;
    }
    header {
        width: 300px;
    }
    footer {
        width: 300px;
    }
}
@media (min-width: 360px) {
    body {
        background-color: #ddd;
    }
    .container {
        width: 360px;
        overflow: hidden;
    }
    header {
        width: 340px;
    }
    footer {
        width: 340px;
    }
}
@media (min-width: 480px) {
    body {
        background-color: #ddd;
    }
    .container {
        width: 480px;
        overflow: hidden;
    }
    header {
        width: 340px;
    }
    footer {
        width: 460px;
    }
}
@media (min-width: 640px) {
    body {
        background-color: #ddd;
    }
    .container {
        width: 620px;
    }
    footer {
        width: 100%;
    }
}
@media (min-width: 768px) {
    body {
        background-color: #fff;
    }
    .container {
        width: 1000px;
    }
    header {
        width: 100%;
    }
    footer {
        width: 100%;
    }
}
@media (min-width: 992px) {
    body {
        background-color: #fff;
    }
    .container {
        width: 1000px;
    }
    header {
        width: 100%;
    }
    footer {
        width: 100%;
    }
}
@media (min-width: 1200px) {
    body {
        background-color: #fff;
    }
    .container {
        width: 1000px;
    }
    header {
        width: 100%;
    }
    footer {
        width: 100%;
    }
}