*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
.container{
    width: 100%;
    min-height: 100vh;
    background: #030303;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product{
    width: 90%;
    max-width: 750px;
    display: flex;
}
.gallery{
    flex-basis: 47%;
    background: #000000;
    transform: scale(1.08);
    box-shadow: -10px 5px 10px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}
.gallery img{
    width: 100%;
    display: block;
    padding-top: 100px;
}
.details{
    flex-basis: 53%;
    background: #fff;
    padding: 40px;
    padding-left: 60px;
    box-shadow: -10px 5px 10px 10px rgba(0, 0, 0, 0.1);
    font-size: 13px;
    font-weight: 500;
    color: #777;
}
.details h1{
    color: #0b0b0b;
    font-size: 35px;
}
.details h2{
    color: #555;
    font-size: 30px;
    font-weight: 600;
}
.details h3{
    color: #00d874;
    margin-bottom: 20px;
}
.details form{
    font-size: 15px;
    font-weight: 400;
}
.size-select{
    display: flex;
    align-items: center;
    margin-top: 50px;
}
.size-select p{
    width: 70px;
}
.size-select input:checked + span{
    color: rgb(255, 0, 0);
    font-weight: 600;
}
.size-select input{
    display: none;
}
.size-select span{
    padding: 5px;
    margin-right: 10px;
    cursor: pointer;
}

.color-select{
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.color-select p{
    width: 75px;
}
.color-select span{
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 15px;
    cursor: pointer;
}
.color-1{
    background: rgb(21, 21, 21);
}
.color-2{
    background: #ff0000;
}
.color-3{
    background: blue;
}
.color-4{
    background: rgb(225, 255, 0);
}
.color-select input{
    display: none;
}
.color-select input:checked + span{
    transform: scale(0.7);
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px #000;
}
.quantity-select{
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.quantity-select p{
    width: 75px;
}
.quantity-select input{
    background: #0c0c0c4f;
    border: 0;
    outline: 0;
    padding: 2px 2px 2px 15px;
    width: 50px;
    border-radius: 12px;
}
form button{
    background: #555;
    color: #ffffff;
    font-size: 17px;
    width: 100%;
    padding: 10px;
    border-radius: 30px;
    border: 0;
    outline: 0;
    margin-top: 50px;
    box-shadow: 0 10px 10px rgba(45, 43, 53, 0.164);
    cursor: pointer;
}

button:hover{
     background-color: #ffffff;
     color: #000;
} 
.controls{
    position: absolute;
    bottom: 40px;
    right: 20px;
}
.btn{
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 10px;
    cursor: pointer;
}
.btn.active{
    background: #ffffff;
}

@media (max-width: 768px) {
    .product {
        flex-direction: column;
        width: 95%;
        box-shadow: none;
    }

    .gallery {
        transform: scale(1);
        box-shadow: none;
    }

    .details {
        padding: 20px;
        padding-left: 20px;
        box-shadow: none;
    }

    .details h1 {
        font-size: 28px;
    }

    .details h2 {
        font-size: 24px;
    }

    .details h3 {
        font-size: 18px;
    }

    .size-select,
    .color-select,
    .quantity-select {
        flex-wrap: wrap;
    }

    .size-select label,
    .color-select label {
        margin-bottom: 10px;
    }

    form button {
        font-size: 15px;
    }

    .gallery img {
        padding-top: 50px;
    }
}

@media (max-width: 480px) {
    .details h1 {
        font-size: 22px;
    }

    .details h2 {
        font-size: 18px;
    }

    .details h3 {
        font-size: 16px;
    }

    .details {
        font-size: 12px;
        padding: 15px;
    }

    .size-select span {
        font-size: 13px;
    }

    .color-select span {
        width: 14px;
        height: 14px;
    }

    .quantity-select input {
        width: 40px;
    }

    form button {
        font-size: 14px;
        padding: 8px;
    }
}
