*
{
  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;
  z-index:2;
 }
 .top
 {
  background:transparent;
 }
 .navbar a
 {
  color: #fff;
  padding: 10px 20px;
 }
 .navbar a:hover,

 {
  border-bottom: 2px solid  #ff0000;
 }
.active
 {
  border-bottom: 2px solid  #ff0000;
 }
 .navbar ul
 {
  display: flex;
 }

 /*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: 100vh;
  position: relative;
  color: #fff;
 }

 .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: 1;
}

/*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*/

/*Subscription container*/

.container-subscription
{
  display: grid;
  grid-template-columns: auto auto;

}
.inner-container-subscription
{
  margin: auto;
  padding: 15px;
  width: 300px;
}

.icon-float-right
{
  margin: 10px 0;
  text-align: right;
  right: 0;
}
.inner-container-subscription h2
{
  margin-bottom: 5%;
  text-align: center;
}
.container-subscription-inner-grid i
{
  color: #ff0000;
 padding-right: 10px;
}
.container-subscription-inner-grid
{
  display: grid;
  grid-template-columns: auto auto;
  min-width: 20px;
}

.inner-container-subscription p
{
  font-size:17px;
}
.subcription-p
{
 width: 350px;
}

.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(-55%) translateY(-55%) 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;
}*/


/*Overlay effect*/

.container-overlay
{
  display: grid;
  grid-template-columns: auto auto auto;

}
.container-overlay-inner
{
  position: relative;
  height: 350px;
}
.container-overlay-inner img
{
  height: 350px;
}
.overlay1 {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: #ff0000;
  overflow: hidden;
  width: 100%;
  height:0;
  transition: .5s ease;
}

.overlay2 {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: #ff0000;
  overflow: hidden;
  width: 100%;
  height:0;
  transition: .5s ease;
}

.overlay3 {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: #ff0000;
  overflow: hidden;
  width: 100%;
  height:0;
  transition: .5s ease;
}

.container-overlay-inner:hover .overlay1 {
  bottom: 0;
  height: 100%;
}

.container-overlay-inner:hover .overlay2 {
  bottom: 0;
  height: 100%;
}

.container-overlay-inner:hover .overlay3 {
  bottom: 0;
  height: 100%;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}


/*End overlay*/

#team
{
  background-color: #f2f2f2;
}

#team img
{
  border-radius: 50%;
}

/*Call back form*/

.callback-form
{
  width: 100%;
  height: 100%;
margin-top:7%;
}

.callback-form label
{
  display: block;
  margin-bottom: 10px;
  text-align: left;
}
.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%;
}
.row
{
  margin-top:50px;
}

.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%;
}
.background-callback
{
  background-color:  #ffe6e6;
}
.column-1 img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: -10px;
}
.flex-columns .column-2
{
  display: flex;
  flex-direction:column;
  align-items: flex-start;
  justify-content: center; 
  padding:  30px;
  height: 100%;
}

.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
{
  background-color: #f2f2f2;
}

#call-heade
{
  margin-top: 350px;
}


/*Footer*/

.footer 
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 150px;
}

.footer a
{
  color: #fff;
}

.footer .social > *
{
  margin-right: 30px;
}
/*.footer i:hover
{
  background: #28a745;
}*/

.btn-dark, .bg-dark
{
  background-color: #333;
  color: #fff;
}

 .icon i
{
 visibility: hidden;
 margin: -50%;
}#myLinks
{
  padding-top: 5%;
}
.icon i:hover
{
  border:none;
}
/*Responsove */
@media screen and (max-width: 900px)
 {

  .container-subscription
{
  display: grid;
  grid-template-columns: auto;
  max-width: 100%;
}
.subcription-p 
{
  width: 250px;
}
.subcription-p p
{
  font-size: 15px;
}
.inner-container-subscription h2 
{
  text-align: left;
}
.flex-items
{
    flex-direction: column;

}
.container-overlay
{
  display: grid;
  grid-template-columns: auto;
}
.flex-columns .row
{
  flex-direction: column;
}
.navbar {
    flex-direction: column;
    height: 120px;
    padding: 20px;
    position: relative;
}

.navbar ul
{
  flex-direction: column;
}
.navbar ul, li
{
  padding-top: 10px;
  font-size: 17px;
}
.hero .content
{
  height: 120%;
}

.hero .content h1
{
font-size: 40px;
}
 .icon i
{
 visibility: visible;
  margin: 5%;

}
.topnav #myLinks
 {
  display: none;
}
a.icon {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

}
/*Finish responsive*/