/* SCROLLBAR */

/* width */
::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track
  ::-webkit-scrollbar-track {
    background: #ff5a5f;
  } */
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #087e8b;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #3C3C3C;
  }











.wrapper{
    display: flex;
    flex-flow: row wrap;
}
.wrapper > * {
    flex:1 100%;

}



.header{
    width: 100%;
    height: 500px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),  url("../img/TMoE2.png");
    /* filter: brightness(50%);  */
    text-align: center;
}

.header img {
    float: left;
    width: 290px;
  }


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
    background-color: #f5f5f5;
}

h1 {
    font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #3C3C3C;
  text-decoration: none;
}

button {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #f5f5f5;
  text-decoration: none;
}

li, a {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #ff5a5f;
    text-decoration: none;
    list-style-type: none;
  }

header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 30px 10%;
}

.logo {
  cursor: pointer;
  margin-right: auto;
}

.nav__links li, a {
  list-style: none;
  color: #f5f5f5;
}

.nav__links li {
  display: inline-block;
  padding: 0px 20px;
}

.nav__links li a:hover {
  color: #0088a9;
}

button {
  margin-left: 20px;
  padding: 9px 25px;
  background-color: #ff5a5f;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

button:hover {
   background-color: rgba(0,136,169,0.8);
}























/* Footer */
.footer{
    width: 100%;
    text-align: center;
    background-color: #3C3C3C;
    font-family: "Montserrat", sans-serif;
}

.container{
    max-width: 1170px;
    margin: auto;
}
.row{
    display: flex;
    flex-wrap: wrap;
}
.footer{
    background-color: #3C3C3C;
    padding: 70px 0;
}
.footer-col{
    width: 25%;
    padding: 0 15px;
}
.footer-col h4{
    font-size: 18px;
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}
.footer-col h4::before{
    content: '';
    position: absolute;
    /* left: 0; */
    bottom: -10px;
    background-color: #087e8b;
    height: 2px;
    width: 50px;
}
.fotter-col ul li:not(:last-child){
    margin-bottom: 10px;
}
.footer-col ul li a{
    font-size: 16px;
    text-transform: capitalize;
    color:#fff;
    text-decoration: none;
    font-weight: 300;
    color: #bbb;
    display: block;
    transition: all 0.3s ease;
}
.footer-col ul li a:hover{
    color: #fff;
    padding-left: 10px;
}
.footer-col .social-links a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin:0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #f5f5f5;
}
.footer-col .social-links a:hover{
    color: #24262b;
    background-color: #ff5a5f;
}

/* responsive */
@media(max-width:767px){
    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }
}
@media(max-width:574px){
    .footer-col{
        width: 100%;
    }
}

.copy{
    padding: 5px;
}

.logoFooter{
    width:250px;
    padding: 5px;
}






























/* center */
.main{
    text-align: center;
    /* max-height: 1000px; */
}

section {
    /* max-width: 800px; */
    margin: 0 auto;
    text-align: center;
    /* padding: 30px; */
    padding: 100px;
  }
  
  h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #333;
    font-size: 1.825rem;
    margin: 1.3rem 0;
  }
  
  .section-lead {
    max-width: 600px;
    margin: 1rem auto 1.5rem;
  }
  
  .service a {
    color: #5b7abb;
    display: block;
  }
  
  .service h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #56ceba;
    font-size: 1.3rem;
    margin: 1rem 0 0.6rem;
  }
  
  .services-grid {
    /* display: -webkit-box;
    display: flex; */
    -webkit-box-align: center;
    align-items: center;
    max-height: 800px;
    overflow-y: scroll;
    overflow-x: hidden;
  }
  
  .service {
    background: #fff;
    margin: 20px;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    -webkit-box-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    border: 2px solid #e7e7e7;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  
  .service i {
    font-size: 3.45rem;
    margin: 1rem 0;
  }
  
  .service1 i,
  .service1 h4,
  .service1 .cta {
    color: #42b7ca;
  }
  
  .service1:hover {
    border: 2px solid #42b7ca;
  }
  
  .service2 i,
  .service2 h4,
  .service2 .cta {
    color: #425fca;
  }
  
  .service2:hover {
    border: 2px solid #425fca;
  }
  
  .service3 i,
  .service3 h4,
  .service3 .cta {
    color: #9c42ca;
  }
  
  .service3:hover {
    border: 2px solid #9c42ca;
  }
  
  .service .cta span {
    font-size: 0.6rem;
  }
  
  .service > * {
    flex: 1 1 100%;
  }
  
  .service .cta {
    align-self: flex-end;
  }

  .serviceImage_G{
    max-width: 300px;
   
  }

  .serviceImage_N{
    width: 200px;
  }
  
  @media all and (max-width:900px) {
    .services-grid {
      display: -webkit-box;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      flex-direction: column;
    }
  }

































































.aside-1{
    text-align: center;
}
.aside-2{
    text-align: center;
}



@media all and (min-width:660px){
    .aside{flex: 1 0 0;}
}

@media all and (min-width: 800px){
    .main{flex: 1 0px;}
    .aside-1{order: 1;}
    .main{order: 2;}
    .aside-2{order: 3;}
    .footer{order: 4;}
}