@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

html {
    font-size: 62.5%;
}

.container {
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    background: #262626;
}

.card-wrapper {
    width: 50rem;
    height: 70rem;
    display: grid;
    padding: 0 10rem;
    overflow: hidden;
    place-items: center;
}

.card {
    width: 30rem;
    height: 55rem;
    position: relative;
    border-radius: 2.5rem;
    background-color: #ccc;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.7);
}

.card-top {
    width: 100%;
    height: 50%;
    padding: 3rem;
    background: #f1ae04;
    transition: background 0.5s;
    border-radius: 2.5rem 2.5rem 0 0;
}

.container.change .card-top {
    background: #d35246;
}

.logo {
    width: 8rem;
    margin-bottom: 2rem;
}

.card-top-text {
    color: #fff;
}

.card-top-text h1 {
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.shoe-1 {
    top: -2.5rem;
    width: 30rem;
    right: -10rem;
    position: absolute;
    transition: transform 1s;
}

.container.change .shoe-1 {
    transform: translateX(-50rem) rotateZ(45deg);
}

.shoe-2 {
    top: -10rem;
    width: 33rem;
    right: -45rem;
    position: absolute;
    transition: transform 1s;
}

.container.change .shoe-2 {
    transform: translateX(-40rem) rotateZ(-45deg);
}

.card-bottom {
    width: 100%;
    height: 50%;
    padding: 2rem 3rem;
}

.card-bottom h1 {
    color: #333;
    font-weight: 500;
    margin-bottom: 0.6rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.badge {
    top: 30rem;
    color: #000;
    right: 5rem;
    width: 3.5rem;
    display: grid;
    height: 1.6rem;
    background: cyan;
    font-weight: bold;
    font-size: 0.9rem;
    position: absolute;
    place-items: center;
    border-radius: 0.3rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.card-bottom h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.stars {
    margin-bottom: 3rem;
}

.stars i:last-child {
    opacity: 0.4;
}

.size {
    margin-bottom: 3rem;
}

.size h4 {
    font-size: 1.2rem;
    margin-bottom: 1.3rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.sizes {
    display: flex;
}

.sizes span {
    font-size: 1.3rem;
    margin-right: 2.5rem;
}

.sizes span:nth-child(3) {
    color: #000;
    width: 2rem;
    height: 2rem;
    display: grid;
    background: cyan;
    border-radius: 50%;
    place-items: center;
}

.color h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.colors {
    display: flex;
}

.color-1,
.color-2 {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    border-radius: 50%;
}

.color-1 {
    background: #1c477a;
    margin-right: 1.5rem;
    box-shadow: 0 1rem 2rem rgba(28, 71, 122, 0.2);
}

.color-2 {
    background: #c02244;
    box-shadow: 0 1rem 2rem rgba(192, 34, 68, 0.3);
}

.price {
    color: #fff;
    width: 16rem;
    height: 4rem;
    right: -1rem;
    bottom: 3rem;
    display: flex;
    position: absolute;
    align-items: center;
    background: #1c477a;
    border-radius: 0.5rem;
    justify-content: center;
    transition: background 0.5s;
    box-shadow: 0 1rem 2rem rgba(28, 71, 122, 0.5);
}

.container.change .price {
    background: #c02244;
    box-shadow: 0 1rem 2rem rgba(192, 34, 68, 0.3);
}

.price span {
    font-size: 2rem;
}

.price span:first-child {
    font-weight: 300;
    margin-right: 1rem;
    text-transform: uppercase;
}

.price span:last-child {
    font-weight: bold;
}
