@import url(font-awesome.min.css);


.gallery-img {
    display: flex;
    flex-wrap: wrap;
    padding: 1em;
    justify-content: center;
}

.gallery-img img {
    height: auto;
    width: 100%;
    max-width: 100%; /* or whatever size fits nicely */
    flex-grow: 1;
}



body, input, select, textarea {
    color: #414f57;
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 14pt;
    font-weight: 300;
    letter-spacing: 0.2em;
}

body {
    height: 100%;
    background-color: #ffffff;
    background-image: url("images/overlay.png"), -moz-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("../../images/bg.jpg");
    background-image: url("images/overlay.png"), -webkit-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("../../images/bg.jpg");
    background-image: url("images/overlay.png"), -ms-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("../../images/bg.jpg");
    background-image: url("images/overlay.png"), linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("../../images/bg.jpg");
    background-repeat: repeat,			no-repeat,			no-repeat;
    background-size: 100px 100px, cover,				cover;
    background-position: top left,		center center,		bottom center;
    background-attachment: fixed,			fixed,				fixed;
}
h3 {
    text-decoration: solid;
}
h1, h2, h4, h5, h6 {
    color: #313f47;
    line-height: 1.5;
    margin: 0 0 0.75em 0;
}

    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
        color: inherit;
        text-decoration: none;
    }

h1 {
    font-size: 1.85em;
    letter-spacing: 0.22em;
    margin: 0 0 0.525em 0;
}

h2 {
    font-size: 1.25em;
}

h3 {
    font-size: 1em;
}

h4 {
    font-size: 1em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: 1em;
}


/* .product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
} */

.gallery-img {
    /* width: 100%;
    height: auto; */
    display: block;
}

.product-controls {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    margin-top: 15px;
}

.product-type {
    display: flex;
    width:35%;
    padding: 8px;

    
}

.quantity-control {
    display: flex;
    margin-bottom: 1px;
}

.quantity-control button {
    padding: 8px 10px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
}

.quantity {
    width: 40px;
    text-align: center;
    margin: 5px;
}

.add-to-cart {
    width: 20%;
    padding: 10px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.add-to-cart:hover {
    background: #45a049;
}

/* Screens that are 480 or less, do these things */
@media screen and (max-width: 720px) {
    .gallery-img img{
        width: 90%;
        display: block;
        margin: 0 auto;
    }
    body {
        font-size: 40%;
    }

    .product-controls {
        display: grid;
    }
    .product-type, .add-to-cart, .quantity{
        width: 100%;
    }
}


@media (min-width: 800px) {
    .gallery-img img{
        width: 75%;
        display: block;
        margin: 0 auto;
    }
        .gallery {
        display: block;
        flex-wrap: wrap;
    }
    }
    
    @media (min-width: 1024px) {
    .gallery-img {
        max-width: 1200px;
    }
    }

	a {
		transition: color 0.2s ease, border-color 0.2s ease;
		color: inherit;
		text-decoration: none;
	}

		a:before {
			transition: color 0.2s ease, text-shadow 0.2s ease;
		}

		a:hover {
			color: #ff7496;
		}

        hr {
            border: 0;
            border-bottom: solid 1px #c8cccf;
            margin: 3em 0;
        }


#main {
    position: relative;
    max-width: 50%;
    min-width: 27em;
    padding: 4.5em 3em 3em 3em ;
    background: #ffffff;
    border-radius: 4px;
    cursor: default;
    opacity: 0.95;
    text-align: center;
    transform-origin: 50% 50%;
    transform: rotateX(0deg);
    transition: opacity 1s ease, transform 1s ease;
}

#wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    perspective: 1000px;
    position: relative;
    min-height: 100%;
    padding: 1.5em;
    z-index: 2;
}

    #wrapper > * {
        z-index: 1;
    }

    #wrapper:before {
        content: '';
        display: block;
    }

    @media screen and (max-width: 360px) {

        #wrapper {
            padding: 0.75em;
        }

    }