/* 

Orden 

1. Position
2. Box model
3. Typographic
4. Visual
5. Misc

*/

* {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #070c24;
    transition: all .4s;
}

.container  {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 900px;
    height: 600px;
    margin: 20px;
    background-color: #fff;
}

.container .imgBox {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    background-color: #5466b1;
    transition: all .4s;
}

.container .imgBox:before {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 8em;
    font-weight: 800;
    color: #000;
    content: 'Nike';
    opacity: 0.1;
}

.container .imgBox img {
    position: relative;
    left: -50px;
    width: 700px;
    transform: rotate(-30deg);
}

.container .details {
    display: block;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    box-sizing: border-box;
    padding: 40px;
}

.container .details h2 {
    margin-top: 45px;
    margin-bottom: 25px;
    font-size: 2.5em;
    line-height: 0.8em;
    color: #444;
}

.container .details h2 span {
    font-size: 0.4em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
}

.container .details p {
    max-width: 85%;
    margin-left: 15%;
    margin-bottom: 35px;
    color: #333;
    font-size: 15px;
}

.container .details h3 {
    float: left;
    font-size: 2.5em;
    color: #a2a2a2;
}

.container .details .button-buy {
    margin-top: 5px;
    padding: 15px 20px;
    font-size: 16px;
    color: white;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 40px;
    background-color: #5466b1;
    border: none;
    cursor: pointer;
    width: 150px;
    transition: all .4s;
}
.price{
    width: 100%;
    display: flex;
    justify-content: space-around;
}

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

.color-buttons{
    margin-top: 34px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    border-top: 1px solid #dadada;
    padding-top: 30px;
}

.color-buttons span{
    color: #a2a2a2;
    font-weight: 600;
    font-size: 1.3em;
}
.color-buttons .button-color{
    width: 25px;
    height: 25px;
    border:transparent;
    border-radius: 50%;
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.52);
    transition: all .4s;
    outline-color: transparent;
}
.color-buttons .button-color:focus{
    outline-color: transparent;
    outline: none;
    border: 4px solid #f0f0f0;
    box-sizing: border-box;
}
.color-buttons .button-color:hover{
 opacity: .8;
}

.black{
    background-color: #313131;
}
.green{
    background-color: #008a2e;
}
.blue{
    background-color: #5466b1;
}
.orange{
    background-color: #e46600
}
.red{
    background-color: #a50000;
}

@media (max-width: 1080px) {
    .container {
        height: auto;
    }

    .container .imgBox {
        height: auto;
        padding: 40px;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .container .imgBox img {
        left: initial;
        max-width: 100%;
        transform: rotate(0deg);
    }

    .container .details {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .container .details p {
        max-width: 100%;
        margin-left: 0;
    }
}