*
{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body
{
  font-family: 'Open sams' Sans-serif;
  line-height: 1.6;
}
a
{
  text-decoration: none;
  color:#333; 
}
ul
{
  list-style: none;
}
 h1, h2
 {
  font-weight: 300;
  line-height: 1.5;
 }
 p
 {
  margin: 10px 0;
 }
 img
 {
  width: 100%;
 }

 /*Nav bar*/

 .navbar
 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #333;
  color: #fff;
  width: 100%;
  height: 70px;
  position: fixed;
  top:0;
  padding: 0 30px;
  transition: 0.5s
 }
 .top
 {
  background:transparent;
 }
 .navbar a
 {
  color: #fff;
  padding: 10px 20px;
 }
 .navbar a:hover
 {
  border-bottom: 2px solid  #ff0000;
 }
 .navbar ul
 {
  display: flex;
 }
.active
 {
  border-bottom: 2px solid  #ff0000;
 }
 /*Header*/

 /*Category dynamic inserted*/
.dropbtn {
 
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}


.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;

}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/*.dropdown-content a:hover {color: #ff0000;}
*/
.dropdown:hover .dropdown-content {display: block;}

  /*End of Category dynamic inserted*/

.hero {
  background:url('../img/showcase3.jpg') no-repeat center center/cover;
  height: 15vh;
  position: relative;
  color: #fff;
  border-bottom: solid 2px #ff0000; 
 }
.hero img
{
  position: fixed;
}
 .hero .content
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%; /*I need to give the 100% height from parrent to centered in the middle of the page*/
  padding: 0 20px;
}


.hero .content h1
{
  font-size: 55px;
}

.hero .content p
{
  font-size: 23px;
  max-width: 600px;
  margin: 20px 0 30px;
}

/*overlay*/

.hero:before
{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
/*Z index put in front of the overlay*/
.content *
{
  z-index: 10;
}

/*how works*/

.icons i
{
  padding: 16px;
  background-color: #ff0000;
  border-radius: 50%; 
  color: #fff;
  margin-top: 15px;
  margin-bottom: 15px;
}

.flex-items h3
{
  font-weight: bold;
  margin-bottom: 15px;
}
.flex-items p
{
  font-size:18px;
}

/*Section title*/


.section-title {
    font-size: 2rem;
    display: block;
    padding-bottom: 0.5rem;
    text-align: center;
    font-weight: 100;
   }
/*Container*/


.container {
    max-width: 100%;
    padding: 0 1.5rem;
    margin: auto;
    overflow: hidden;
}
/*Overlay effect*/

/*Section work*/
#work
{ 
 /* margin-top:50px;*/
}


.items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
  margin-top: 50px;
  }

.item {
  position: relative;
  background: #ff0000;
  overflow: hidden;
   }
  .item::after {
    content: '';
    position: absolute;
    display: block;
    background: inherit;
    opacity: 0.9;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(2) translateX(-75%) translateY(-75%) rotate(-28deg);
    transition: transform 3s cubic-bezier(0.2, 1, 0.3, 1);
     }
  .item:hover:after {
    transform: scale(2) translateX(0) translateY(0) rotate(-28deg);
     }
  .item:hover .item-image {
    transform: scale(1.2);
     }
  .item:hover .item-text {
    opacity: 1;
    transform: translateY(0); 
}
  .item-image {
    height: auto;
    transform: translateZ(0);
    display: block;
    transition: transform 750ms cubic-bezier(0.2, 1, 0.3, 1);
     }
  .item-image:before {
    content: '';
    display: block;
    padding-top: 75%;
    overflow: hidden; 
}
  .item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 101%;
    height: 100%;
    line-height: 0;

     }
  .item-text {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    text-align: center;
    z-index: 1;
    color: #fff;
    transform: translateY(-20%);
    transition: opacity 500ms cubic-bezier(0.2, 1, 0.3, 1), transform 500ms cubic-bezier(0.2, 1, 0.3, 1);
    transition-delay: 300ms;
     }
  .item-text-wrap {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
     }
  .item-text-title {
    font-size: 2rem;
    padding: 0 1rem;
    margin: 5px 0 0 0;
     }
  .item-text-category {
    text-transform: uppercase;
    font-size: 1.2rem;
    opacity: 0.7;
    margin: 0;
}

#team
{
  background-color: #f2f2f2;
  margin-top: 50px;
}

#team img
{
  border-radius: 50%;
}

/*Call back form*/

.callback-form
{
  width: 100%;
  padding: 20px 0;
}

.callback-form label
{
  display: block;
  margin-bottom: 5px;
}
.callback-form .form-control
{
  margin-bottom: 15px;
}

.callback-form input, textarea
{
  width: 100%;
  padding: 4px;
  height: 40px;
  border: #f5f5f5 1px solid;
}
.callback-form .btn
{
  padding: 12px 0;
  margin-top: 20px;
}

.callback-form input:focus, textarea:focus
{
  outline-color:#ff0000;
}

/*Flx columns two bloks*/

.flex-columns .row
{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.flex-columns .column
{
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.flex-columns .column .column-1,
.flex-columns .column .column-2
{
  height: 100%;
}
.flex-columns img
{
  width: 100%;
  height: 80%;
  object-fit: cover;
}
.flex-columns .column-2
{
  display: flex;
  flex-direction:column;
  align-items: flex-start;
  justify-content: center; 
  padding:30px; 
}

.flex-columns h2
{
  font-size: 40px;
  font-weight: 100;
}

.flex-columns h4
{
  margin-bottom: 10px;
  font-weight: 300;

}

.flex-columns p
{
  margin: 20px 0;
}

.flex-columns.flex-reverse .row 
{
flex-direction: row-reverse;
}

#Contact
{
  margin-top:50px;
  background-color: #f2f2f2;
}

#call-header
{
  margin-top: 10px;
  margin-bottom: 50px;
}


/*Footer*/
.first-footer-contact
{
  /*margin-top: 20px;*/
}
.footer 
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 155px;
}

.footer a
{
  color: #fff;
}

.footer .social > *
{
  margin-right: 30px;
}
/*.footer i:hover
{
  background: #28a745;
}*/

.btn-dark, .bg-dark
{
  background-color: #333;
  color: #fff;
}





.grid-service
{
display: grid;
grid-template-columns: auto auto;
width: 100%;
}



.info-img  
{
  height: 450px;
  padding: 0;
}
.service-subscription-img
{
  height: 100%;

}
#home-info .info-content
{
  text-align: center;
  padding: 50px 30px;

}
#home-info .info-content h2
{
  font-size: 30px;
  margin-bottom: 5%;
}
#home-info .info-content p
{
  padding-bottom: 1%;
  font-size: 18px;
}
/*add to cart section*/

.wrapperaddcart
{
  display: grid;
  grid-template-columns: auto auto;
}
.inner-wrapper-add-cart
{
  text-align: center;
}
#customers {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 80%;
  margin: auto;
 margin-top: 50px;
 margin-bottom: 50px;
}
.service-table
{
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
 margin-top: 50px;
 margin-bottom: 50px;
}


.service-table td, .service-table th {
  border: 1px solid #ddd;
  padding: 8px;
}

.service-table tr:nth-child(even){background-color: #f2f2f2;}

.service-table tr:hover {background-color: #ddd;}

.service-table th{
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #ff0000;
  color: white;
}

.service-table .right
{
  text-align: right;
}
.service-table .left
{
  text-align: left;
}


/*service table finish*/

#customers td, #customers th {
  border: 1px solid #ddd;
  padding: 8px;
}

#customers tr:nth-child(even){background-color: #f2f2f2;}

#customers tr:hover {background-color: #ddd;}

#customers th{
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #ff0000;
  color: white;
}

#customers .right
{
  text-align: right;
}
#customers .left
{
  text-align: left;
}


.add_cart_input
{

  width: 70%;
  height: 25px;
}
 /*.stiky
    {
      position: sticky;
      top:100px;
      height:250px; 
      overflow: auto;
      display: block;
      transition: top 0.3s;
    }*/

/*add to cart section finished*/

/*Center button book collection*/

.center-button a
{
  display: block;
  margin: auto;
  width: 150px;
  text-align: center;
  margin-bottom: 3%;
  margin-top: 3%;
}

/*Contact*/

  /*Form*/

input[type=text],  input[type=email]:focus,input[type=date]:focus,
select:focus,option:focus, textarea:focus
{
  
    outline-color:#ff0000;


}

  input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}
  input[type=email]{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

  input[type=date]{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit] {
 display: block;
/* text-align: center;
*/ 
/*margin: auto;
*/ margin-bottom: 50px;
 margin-top: 5px;
}


.container-form {
  border-radius: 5px;
  padding: 20px;
  width: 50%;
  max-width:1350px;
  margin:auto;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}

/*Contact pahe footers*/

.first-footer-contact .social
{
  display: flex;
  align-items: center;
  justify-content: space-between ;
}

.first-footer-contact .social a
{
  padding-right: 50px;
}

#middle-section-contact
{
  background-color: #ff0000;
  color: #fff;
  height:150px;
}

#middle-section-contact  .middle-div-contact
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width:100%;
  height:100%;
}
#middle-section-contact h1
{
font-size: 50px;

}
#main-home-order
{

}
.grid-container
 {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 20px;
  min-height: 100%;
/*  padding-bottom: 10px;
*/}

.item-overlay
{
justify-content: center;
align-items: center;
padding: 10px;
margin: auto;
width: 95%;
overflow: auto;
padding-bottom: 100px;

}
.bg-light
{
  background-color: #334d4d
;
  color:#fff;
}
.item-overlay h2
{
font-size: 30px;
margin-bottom: 5px;
}
.item-overlay p
{
  font-size: 20px;
}
/*Insert address form*/
.containerss-form
{
  display: grid;
  grid-template-columns: auto auto;
}
/*Responsive service.php*/

@media screen and (max-width: 900px)
{
.grid-service
{
display: grid;
grid-template-columns: auto;
width: 100%;
}

#home-info .info-content
{
  text-align: center;
  padding: 50px 30px;
  height: auto;

}
#customers
{
    width: 90%;

}
.service-table
{
    width: 90%;
    margin:auto;
    margin-bottom:5%;
}
.navbar {
    flex-direction: column;
    height: 120px;
    padding: 20px;
    position: relative;
}
.hero
{
  height: 100vh;
  border:none;
}

.navbar ul
{
  flex-direction: column;
}
.navbar ul, li
{
  padding-top: 10px;
  font-size: 20px;
}
.grid-container
{
    display: grid;
    grid-template-columns: auto;

}
#middle-section-contact h1
 {
    font-size: 25px;
}
.first-footer-contact .social a
{
  padding: 0;
}
.social a
{
  font-size: 15px;
  margin-top: 10px;
}
.footer
{
  height: auto;
}
.first-footer-contact .social
{
  flex-direction: column;
}

element.style {
}

.footer .social > * {
    margin-right: 1px; 
}
.footer .social
{
  padding: 10px 0;
}
.container-form
{
  width: 90%
 
}
.containerss-form
 {
    display: grid;
    grid-template-columns: auto;
  }

  .grid-side-bar
{
  width: 20%;
  float: none;
  margin: auto;
}
}

@media screen and (max-width: 900px)
{
  .grid-container-inner
{
  width: 90%;
}
#customers
    {
      font-size: 8px;
    }
    .wrapperaddcart
    {
      display: grid;
      grid-template-columns: auto;
     
    }
    
    .div2
    {
      order:1;
    }
    .div1
    {
      order: 2;
    }
}