*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(img/Print-Shop-4.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;

}
nav img{
    width: 100px;

}
.nav-links{
    flex: 1;
    text-align: right;    
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 6px 12px;
    position: relative;

}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}
.nav-links ul li::after{
    content: '';
    width: 0;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    animation: slide-1 2s;
}

@keyframes slide-1{
    from{
        opacity: 0.1;
        margin-top: 50%;
    }
    to{
        opacity: 1;
        margin-bottom: 0;
    }
}

.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 24px;
    color: white;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

nav .fa{
    display: none;
}

@media(max-width:700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: black;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}

/*-------featured products------*/

.container{
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}
.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}
.col-4{
    flex-basis: 25%;
    padding: 20px;
    min-width: 200px;
    cursor: pointer;
    align-items: center;
}
.col-4 img{
    width: 200px;
    cursor: pointer;
    transform: translateY(0px);
    transition: 1.1s all;
}
.title{
    text-align: center;
    position: relative;
    margin: 0 auto 80px;
    line-height: 60px;
    margin-top: 50px;
}
.title::after{
    content: '';
    background: #ff523b;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
h4{
    font-weight: normal
}
.col-4 p{
    font-size: 14px;
}
.rating{
    color: #ff523b;
}
.col-4 img:hover{
    box-shadow: 1px 20px 20px 1px #0f00e4;
    transform: translateY(-20px);
}
.btn{
    display: inline-block;
    background: #ff533b;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: 0.5s;
    text-decoration: none;
}
.btn:hover{
    background: #563434;
}


/*-----offers-----*/

.col-2{
    flex-basis: 50%;
    min-width: 300px;
}
.col-2 img{
    max-width: 100%;
    padding: 50px 0;
}
.col-2 h1{
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}
.offer{
    background: radial-gradient(#fff,#ffd6d6);
    margin-top: 80px;
    padding: 30px 0;
}
.col-2 .offer-img{
    padding: 50px;
}



/*------footer-----*/

.footer {
    width: 100%;
    background-color: black;
    text-align: center;
    padding: 30px 0px;
}
.footer h2{
    margin-top: 25px;
    margin-bottom: 20px;
    font-weight: 600;
}
.icons .fab{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-heart{
    color: #f44336;
}

.menu-icon{
    width: 28px;
    margin-left: 20px;
    display: none;
}

@media only screen and (max-width: 800px){
    .menu-icon{
        display: block;
        cursor: pointer;
    }
}

/*----all products page----*/

.row-2{
    justify-content: space-between;
    margin: 50px auto 50px;
    animation: slide2 3s;
}
@keyframes slide2{
    from{
        opacity: 0.1;
    }
    to{
        opacity: 1;
    }
}

select{
    border: 1px solid #ff523b;
    padding: 5px;
}
select:focus{
    outline: none;
}
.page-btn{
    margin: 50px auto 80px;
}
.page-btn span{
    display: inline-block;
    border: 1px solid #ff523b;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    transition: 0.5s;
}
.page-btn span:hover{
    background: #ff523b;
    color: #fff;
}

/*-------single product detail page-------*/

.single-product{
    margin-top: 60px;
    margin-bottom: 30px;
}
.single-product .col-2 img{
    padding: 0;
}
.single-product .col-2{
    padding: 20px;
}
.single-product .col-2 h1{
    margin-bottom: 50px;
    font-size: 40px;
}
.single-product h3{
    margin-top: 20px;
    font-size: 35px;
    font-weight:  bold;
    color:#f44336;
}
.single-product h5{
    margin: 20px 0;
    font-size: 25px;
    font-weight:  500;
}
.single-product p{
    font-size: 20px;
}
.single-product select{
    display: block;
    padding: 10px;
    margin-top: 20px;
}
/* --------about us page------ */

.sub-header{
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(img/Printing-Factory-Angel-Key.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 100px;
    font-size: 60px;
}
.head1 h1{
    font-size: 45px;
    text-align: left;
    margin: 20px;
    padding: 20px;
    padding-left: 40px;
    margin-left: 80px;
    padding-right: 40px;
    margin-right: 80px;
    animation: slide 3s;
}
.head1 h2{
    font-size: 35px;
    text-align: left;
    margin: 20px;
    padding: 20px;
    padding-left: 40px;
    margin-left: 80px;
    padding-right: 40px;
    margin-right: 80px;
    animation: slide 3s;
}
.head1 p{
    font-size: 20px;
    text-align: left;
    margin: 20px;
    padding: 20px;
    padding-left: 40px;
    margin-left: 80px;
    padding-right: 40px;
    margin-right: 80px;
    animation: slide 6s;
}
@keyframes slide{
    from{
        opacity: 0.1;
        margin-left: 0;
    }
    to{
        opacity: 1;
        margin-right: 80px;
    }
}

/*---contact us page -----*/

.karan1{
    background: radial-gradient(#fff,#ffffff);
}

.sub-header{
    width: 100%;
    text-align: center;
    color: #fff;
}

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.location iframe{
    width: 100%;
}
.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div{
    display:flex ;
    align-items: center;
    margin-bottom: 40px ;
}
.contact-col div .fas{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
    background: #f0f0f0;
}
.contact-title{
    font-size: 30px;
    margin-bottom: 1px;
    animation: slide2 4s;
}
@keyframes slide2{
    from{
        opacity: 0.1;
    }
    to{
        opacity: 1;
    }
}

.sub-header2 ul li a{
    color: black;
    text-decoration: none;
    font-size: 15px;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}
.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}
.red-btn:hover{
    color: white;
}

/*-------single product detail page-------*/

.single-product{
    margin-top: 60px;
    margin-bottom
    : 30px;
}
.single-product .col-2 img{
    padding: 0;
}
.single-product .col-2{
    padding: 20px;
}
.single-product h4{
    margin: 20px 0;
    font-size: 22px;
    font-weight:  bold;
}
.single-product select{
    display: block;
    padding: 10px;
    margin-top: 20px;
}
.single-product input{
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 20px;
    margin-right: 10px;
    border: 1px solid #ff523b;
}
input:focus{    
    outline: none;
}


/*-------media query for less than 600px screen size-------*/

@media only screen and (max-width: 600px){
    .row{
        text-align: center;
    }
    .col-2, .col-3, .col-4{
        flex-basis: 100%;
    }
}