:root{
    --primary: #2175f5;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background-color: #fafafa;
}

.container{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    overflow: hidden;
}

.card{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 860px;
}

.vans_background{
    position: relative;
    width: 50%;
    height: 475px;
    box-shadow: -15px 0 35px rgba(0,0,0,0.1),
    0 -15px 35px rgba(0, 0, 0, 0.1),
    0 15px 35px rgba(0, 0, 0, 0.1);
    transition: .5s;
}

.color_background{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.color{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -2;
}

.first{
    z-index: 0;
    animation: 1s width ease;
}

@keyframes width{
    from{
        width: 0%;
    }
    to{
        width: 100%;
    }
}

.second{
    z-index: -1;
}

.color[color="#080000"]{
    background-color: #4e4e50;
}

.color[color="#bc4a38"]{
    background-color: #d8928b;
}

.color[color="#274322"]{
    background-color: #344f2d;
}

.color[color="#d9a241"]{
    background-color: #c6923c;
}

.color[color="#4facdd"]{
    background-color: #2c7db1;
}

.color[color="#737374"]{
    background-color: #9d9d9e;
}

.color[color="#282d3f"]{
    background-color: #222b4a;
}

.logo{
    position: absolute;
    width: 50px;
    left: 20px;
    top: 20px;
    height: 20px;
}

.share{
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 1.3rem;
    text-decoration: none;
    color: var(--primary);
    transition: .5s;
}

.share:hover{
    transform: scale(1.1);
}

.share i{
    line-height: 50px;
}

.vans_title{
    position: absolute;
    top: 85px;
    left: 15px;
    font-size: 9rem;
    text-transform: uppercase;
    line-height: .9;
    color: #fff;
    opacity: .1;
}

.vans{
    position: absolute;
    width: 120%;
    opacity: 0;
    bottom: 0;
    right: 0;
    left: -102px;
    top: 106px;
    transform: scaleX(-1) rotate(20deg);
    transition: .5s;
    filter: drop-shadow(3px 10px 8px #3333339c);
}

.vans.show{
    opacity: 1;
}

.info{
    width: 50%;
    background-color: #fff;
    z-index: 1;
    padding: 35px 40px;
    box-shadow: 15px 0 35px rgba(0, 0, 0, 0.1),
    0 -15px 35px rgba(0, 0, 0, 0.1),
    0 15px 35px rgba(0, 0, 0, 0.1);
}

.vans_name{
    padding: 0 0 10px 0;
}

.vans_name div{
    display: flex;
    align-items: center;
}

.vans_name div .big_title{
    margin-right: 10px;
    font-size: 2rem;
    color: #333;
    line-height: 1;
}

.vans_name div .traditional{
    background-color: var(--primary);
    text-transform: uppercase;
    color: #fff;
    padding: 3px 10px;
    border-radius: 5px;
    transition: .5s;
}

.vans_name .small{
    font-weight: 500;
    color: #444;
    margin-top: 3px;
    text-transform: capitalize;
}

.vans_name, 
.description,
.color_container,
.size_container{
    border-bottom: 1px solid #dadada;
}

.description{
    padding: 10px 0;
}

.small_title{
    color: #3a3a3a;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.description_text{
    color: #555;
    font-size: 14px;
}

.color_container{
    padding: 10px 0;
}

.color_circle{
    display: inline-flex;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin: 0 10px;
    border: 4px solid;
    cursor: pointer;
    transition: .5s;
}

.color_circle[color="#080000"]{
    background-color: #080000;
    border-color: #4e4e50;
}

.color_circle[color="#bc4a38"]{
    background-color: #bc4a38;
    border-color: #d8928b;
}

.color_circle[color="#274322"]{
    background-color: #274322;
    border-color: #344f2d;
}

.color_circle[color="#d9a241"]{
    background-color: #d9a241;
    border-color: #c6923c;
}

.color_circle[color="#4facdd"]{
    background-color: #4facdd;
    border-color: #2c7db1;
}

.color_circle[color="#737374"]{
    background-color: #737374;
    border-color: #9d9d9e;
}

.color_circle[color="#282d3f"]{
    background-color: #282d3f;
    border-color: #0d1225;
}

.color.active{
    border-color: #fff;
    box-shadow: 0 0 10px .5px rgba(0,0,0,0.2);
    transform: scale(1.1);
}

.size_container{
    padding: 10px 0;
    margin-bottom: 10px;
}

.sizes{
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.size{
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: #eee;
    margin: 0 10px;
    text-align: center;
    line-height: 40px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: .3s;
}

.size.active{
    background-color: var(--primary);
    color: #fff;
    transition: .5s;
}

.buy_price{
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price{
    color: #333;
    display: flex;
    align-items: flex-start;
}

.price h1{
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 1;
}

.price i{
    font-size: 2rem;
    margin-right: 1px;
}

.buy{
    padding: .7rem 1rem;
    background-color: var(--primary);
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: .5s;
}

.buy:hover{
    transform: scale(1.1);
}

.buy i{
    margin-right: 2px;
}

@media (max-width: 1070px){
    .vans{
        width: 135%;
    }
}

@media (max-width: 1000px){
    .card{
        flex-direction: column;
        width: 100%;
        box-shadow: 0 0 35px 1px rgba(0,0,0,0.2);
    }

    .card > div{
        width: 100%;
        box-shadow: none;
    }

    .vans{
        width: 90%;
        transform: rotate(355deg) translateY(-50%) scaleX(-1);
        left: 29px;
        top: 45%;
        right: 2%;
    }

    .vans_title{
        top: 20%;
        left: 5%;
    }
}


@media (max-width: 600px){
    .share{
        width: 40px;
        height: 40px;
    }

    .share i{
        font-size: 1rem;
        line-height: 40px;
    }

    .logo{
        width: 70px;
    }

}

@media (max-width: 490px){
    .vans_title{
        font-size: 7rem;
    }

    .vans div .big_title{
        font-size: 1.3rem;
    }

    .small{
        font-size: 1rem;
    }

    .traditional{
        padding: 2px 6px;
        font-size: .9rem;
    }

    .small_title{
        font-size: .8rem;
    }

    .buy{
        padding: .5rem .8rem;
        font-size: .8rem;
    }

    .price h1{
        font-size: .9rem;
    }

    .price i{
        font-size: .9rem;
    }

    .size{
        width: 30px;
        height: 30px;
        margin: 0 8px;
        font-size: .9rem;
        line-height: 30px;
    }

    .color_circle{
        margin: 0 6px;
        width: 20px;
        height: 20px;
        border-width: 4px;
    }

    .share{
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }

    .share i{
        font-size: .8rem;
        line-height: 35px;
    }

    .logo{
        width: 60px;
        top: 10px;
        left: 10px;
    }

    .info{
        padding: 20px;
    }
}

@media (max-width: 400px){
    .buy i{
        display: none;
    }

    .container{
        padding: 20px;
    }
}









