@import 'nav.css';
@import 'footer.css';

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.heroSection {
    width: 100%;
    height: calc(100vh - 120px);
    background-image: url(../images/knit.gif);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heroSection .logo {
    height: 150px;
    display: block;
    margin: auto;
}

@font-face {
    font-family: 'Aboreto-Regular';
    src: url('../Fonts/Aboreto-Regular.ttf');
}

.heroSection .subHeading {

    margin-top: 10px;
    text-align: center;
    color: #fff;
    text-transform: capitalize;
    font-family: 'Aboreto-Regular';
    font-size: 50px;
    font-weight: 500;
}

.product {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.productCategory {
    padding: 10 20vw;
    font-family: 'Aboreto-Regular';
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 40px;
    text-transform: capitalize;
    position: static;
    text-align: center;

}

.productContainer {
    padding: 0 10vw;
    display: flex;
    overflow-x: scroll;
    overflow-y: unset;
    scroll-behavior: smooth;
    
}

.productContainer::-webkit-scrollbar {
    display: flex;
}

.productWindow {
    flex: 0 0 auto;
    width: 250px;
    height: 450px;
    margin-right: 40px;
}

.productImage {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.productThumb {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.discountTag {
    position: absolute;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
    color: #ff7d7d;
    right: 10px;
    top: 10px;
    text-transform: capitalize;
}

.cardBtn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    width: 90%;
    text-transform: capitalize;
    border: none;
    outline: none;
    background: #fff;
    border-radius: 5px;
    transition: 0.5s;
    cursor: pointer;
    opacity: 0;
}

.productWindow:hover .cardBtn {
    opacity: 1;
}

.cardBtn:hover {
    background: #efefef;
}

.productInfo {
    width: 100%;
    height: 100px;
    padding-top: 10px;
}

.productBrand {
    text-transform: uppercase;
}

.productShortDes {
    width: 100%;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    opacity: 0.5;
    text-transform: capitalize;
    margin: 5px 0;
}

.price {
    font-weight: 900;
    font-size: 20px;
}

.actualPrice {
    margin-left: 20px;
    opacity: 0.5;
    text-decoration: line-through;
}

.pre-btn,
.nxt-btn {
    border: none;
    width: 10vw;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
    cursor: pointer;
    z-index: 8;
}

.pre-btn {
    left: 0;
    transform: rotate(180deg);
}

.nxt-btn {
    right: 0;
}

.pre-btn img,
.nxt-btn img {
    opacity: 0.2;
}

.pre-btn:hover img,
.nxt-btn:hover img {
    opacity: 1;
}

input[type=text],
select,
textarea {
    width: 100%;
    /* Full width */
    padding: 12px;
    /* Some padding */
    border: 1px solid #ccc;
    /* Gray border */
    border-radius: 4px;
    /* Rounded borders */
    box-sizing: border-box;
    /* Make sure that padding and width stays in place */
    /*margin-top: 6px; /* Add a top margin */
    /*margin-bottom: 16px; /* Bottom margin */
    resize: vertical
        /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
    background-color: #45a049;
}

/* Add a background color and some padding around the form */
.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}