main {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
}

.main-img {
    display: flex;
    width: 100%;
    padding: 20px;
    margin-bottom: 40px;
}

main img {
    width: 100%;
    margin-top: 35px;
    padding: 10px;
}

aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    padding-left: 40px;
}

.item-info {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 24px;
    margin: 30px 0px 20px 0px;
    padding: 10px;
}

.product-title {
    margin-bottom: 15px;
}

.item-description {
    padding-top: 15px;
    padding-right: 10px;
}

.bullet-details {
    padding: 25px;
}

.sizes,
.colors {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 15px 0;
}

.size-option {
    width: 85px;
    padding: 10px;
    margin: 10px;
    font-size: 14px;
    border: 2px solid #000;
    background-color: transparent;
    cursor: pointer;
}

.color-option {
    border-radius: 50px;
    height: 30px;
    width: 30px;
    padding: 10px;
    margin: 10px;
    cursor: pointer;
}

.black {
    color: black;
    background-color: #000000;
    border: 2px solid #000000;
}

.tan {
    color: tan;
    background-color: tan;
    border: 2px solid tan;
}

.heather-grey {
    color: lightgray;
    background-color: lightgray;
    border: 2px solid lightgray;
}

.white {
    color: #fff;
    background-color: #fff;
    border: 1px solid #aaa;
    height: 31px;
    width: 31px;
}

.olive {
    color: olive;
    background-color: olive;
    border: 2px solid olive;
}

.forest-green {
    color: forestgreen;
    background-color: forestgreen;
    border: 2px solid forestgreen;
}

.bluegreen {
    color: rgb(2, 70, 66);
    background-color: rgb(2, 70, 66);
    border: 2px solid rgb(2, 70, 66);
}

.cart-purchase-btn {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 10px 20px 5px;
}

.add-cart,
.buy-now,
.buy-now a {
    width: 45%;
    max-width: 300px;
    min-width: 150px;
    padding: 15px;
    font-size: 14px;
    cursor: pointer;
    margin: 20px 0px 20px 0px;
}

button[disabled] {
    cursor: not-allowed;
    border: 2px solid #ccc;
}

.add-cart {
    margin-right: 2.5%;
    background-color: transparent;
    border: 2px solid #000;
}

.buy-now {
    margin-left: 2.5%;
    background-color: #000;
    border: 2px solid #000;
    color: #fff;
}

.buy-now a {
    color: #fff;
    background-color: transparent;
}

.buy-now:hover {
    background-color: transparent;
    border: 2px solid #000;
    color: #000;
}

.buy-now a:hover {
    color: #000;
}


/* The grid: Four equal columns that floats next to each other */
.row {
    display: flex;
    flex-direction: column;
    width: 50%;
    border-right: 2px solid #000;
}

.column {
    display: flex;
    flex-direction: row;
    flex-wrap: no-wrap;
    justify-content: center;
    align-items: center;
    margin-left: 24.5%;
    right: 5px;
    width: 50%;
}

  /* Style the images inside the grid */
.column img {
    opacity: 0.8; 
    cursor: pointer;
    width: 100%;
    padding: 30px;
    border-top: 2px solid #000;
}

.column img:hover {
    opacity: 1;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    main {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 10px;
    }
    
    .main-img {
        display: none;
        width: 100%;
        padding: 20px;
        margin-bottom: 40px;
    }
    
    main img {
        width: 100%;
        margin-top: 35px;
        padding: 10px;
    }
    
    aside {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 20px;
    }
    
    .item-info {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        font-size: 24px;
        margin: 30px 0px 20px 0px;
        padding: 10px;
    }
    
    .product-title {
        margin-bottom: 15px;
    }
    
    .item-description {
        padding: 15px;
    }

    .sizes {
        padding: 15px;
    }
    
    /* The grid: Four equal columns that floats next to each other */
    .row {
        display: flex;
        flex-direction: column;
        width: 100%;
        border-right: none;
    }
    
    .column {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin-left: 0px;
        width: 100%;
    }
    
      /* Style the images inside the grid */
    .column img {
        opacity: 1; 
        cursor: pointer;
        width: 100%;
        padding: 30px;
        /* border-bottom: 2px solid #000; */
        border-top: none;
    }

    .cart-purchase-btn {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 15px;
    }

    .product-title {
        margin-bottom: 0px;
        padding: 15px;
    }
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {...}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {...}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {...}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {...}