@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
 *{
    margin:0px;
    padding:0px;
    box-sizing: border-box;
}
html{
    font-size:62.5%;
}
body {
  font-family: "Roboto", Helvetica,sans-serif;
  background: whitesmoke;
  color: #676767;
  }
  li{
      list-style: none;
  }
 
.page-nav{
    display: flex;
    justify-content: center;
    align-items: center;
    margin:0 auto;
    background: white;
    width: 100%;
    
}
.contents-wrapper{
    width:92%;
    margin: 0 auto;
}
.page-links{
    display: flex;
    flex:3;
    font-size:1.5rem;
    padding:2rem 0;
}
.page-links li{
    padding:0.95rem
}
.page-links li a{
    color: #31336d;
    text-decoration: none;
}
.site-logo .fa{
    display: none;
}
.site-logo{
    flex:1;
    font-size:2.4rem;
    padding:2rem 0;
    padding-left: 3rem;

}

.site-logo a{
    color:#31336d;
    text-decoration: none;

}
 .page-nav button{
     padding: 3rem;
    font-size: 1.6rem;
    color:white;
    background: #31336d;
    border:none;
    cursor: pointer;

 }
button:hover + .card-description button{
    background: #313331;
    transition: 0.4s;
 }

 .intro-section{
     margin:3rem auto;
     font-size: 1.5rem;
     line-height: 2.3rem;
     margin-right: 2rem;
 }
.main-section{
    display: grid;
    grid-template-columns: repeat(auto-fit, 32.3%);
    grid-gap: 1rem;
}
.card{
border-radius: 1rem;
background: white;
}
.card-image-wrapper img{
    width:100%;
    height: 100%;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.card-image-wrapper{
    height:18.6rem;
}

.card-description{
    padding:2rem;
}
.card-description h2{
    padding:1rem 0;
    font-size: 2.3rem;
    color: #31336d;
}
.card-description p{
    padding:1rem 0;
    font-size: 1.5rem;
    
}

.card-description button{
    padding:1rem 2.5rem;
    background: #31336d;
    border: none;
    color:white;
    font-size:1.6rem;
    border-radius: .5rem;
    cursor: pointer;
}
/* 
Content Page
*/
.sub-nav{
    background: #4e4f84;
    display: flex;
}
.sub-page-links{
    display: flex !important;
    width: 52%;
    margin:0 auto;
}
.sub-page-links li{
    padding:1.5rem 0;
    padding-right: 2rem;
    font-size: 1.4rem;
}
.sub-page-links li a{
    color:white;
    text-decoration: none;
}
.hero{
    background-image:url('../../assets/images/saas.png');
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;

}
.hero-content{
    width: 35%;
    margin:0 auto;
    text-align: center;
    font-size: 1.6rem;
    line-height:2.6rem;
    color:#444;
}
.hero-content p{
    padding:1rem 0;
    font-weight: 300;
}
.hero-content h2{
    font-size: 2rem;
    color: #31336d;
    font-weight: 300;
    font-size: 4.2rem;
    font-family: "Montserrat",sans-serif;
    line-height: 1.2;
}


/* Media Querries 

*/
@media only screen and (max-width: 768px)  {
    .main-section{
        grid-template-columns: 50% 50%; 
        
    }
    .intro-section{
        margin-top:1rem;
        margin-bottom: 1rem;
        padding: 1rem;
    }
    .page-nav{
        flex-direction: column;
        text-align: left;
        margin-bottom: 1rem;
    }
    .page-nav button{
        margin-bottom: 3rem;
        padding: 1rem;
        display: none;
    }
    .site-logo{
        text-align: left;
        width: 100%;
        padding:1rem 2rem;
    }
    .site-logo a{
        color: #31336d;
        

    }
    .site-logo .fa{
        color: #ddd;
        position: absolute;
        border-color: #ddd;
        right: 2rem;
        cursor: pointer;
        display: inline;
       
    }
    .page-links{
        flex-direction: column;
        display: none;
        text-align: left;
        width: 100%;
        padding:0;
        transition: ease-in-out .9s;
        background-color: white;
    }
    .page-responsive  {
        transition: ease-in-out .9s;
        display: flex;
      }
    .page-links li a{
        color: #336;
        padding-left: 1rem;
    }

}

@media only screen and (max-width: 500px)  {

    
    .intro-section {
        margin: 0 auto;

    }
    .contents-wrapper{
        display: flex;
        flex-direction: column;
        width: 100%;
     
    }
    .main-section{
        grid-template-columns: 100%;  
        margin: 0 auto;
    }

}
