@import url('https://fonts.googleapis.com/css?family=Montserrat:500,600');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,500');


body {
    background-color: white;
    margin: 0;
    font-family: "Open Sans";
}

h1{
    font-family: "Ostrich Sans Rounded", sans-serif;
    font-size: 6.5em;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 0.9;
    text-shadow: 3px 3px 8px rgba(37, 37, 37, 0.7);
}

h2{
    font-family: "Ostrich Sans Rounded", sans-serif;
    font-size: 3.5em;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1;
}

h2-color{

    color: #3aaa35;

}

h3{
    font-family: "Ostrich Sans Rounded", sans-serif;
    font-size: 2.7em;
    line-height: 1.4;
}

h4{
    font-family: "Ostrich Sans Rounded", sans-serif;
    font-weight: 600;
    font-size: 3.3em;
    letter-spacing: 3.2px;
    text-shadow: 3px 3px 8px rgba(37, 37, 37, 0.7);
    color: #3aaa35;
}


p{
    font-family: "Open Sans";
    font-size: 1.2em;
    letter-spacing: 1px;
    font-weight: 400;
}

a{
    color: gray;
    text-decoration: none;
}

a:hover{
    color: #3aaa35;
    text-decoration: none;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

/* NAVBAR */
.navbar{
    font-size: 1.2em;
}

.navbar .navbar-nav{
    margin-right: 20px;
}

/* LOGO IN NAVBAR */
.navbar .navbar-brand img{ 
    height: 70px;
    width: auto;
    padding: 5px 10px;
    margin-left: 24px;
}

.wrapper{
    display: grid;
}

.card{
    border-radius: 50px; 
    border-width: 2px;
    background: white;
    align-items: center;
    padding: 15px 25px;
    padding-top:35px;     
}

#showcase{
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('../img/bg/showcase_bg_compressor.jpg');
    background-size: cover;
    color: white;
    padding: 0 16px;
}

#showcase .btn{
    justify-self: center;
    width: 200px;
    font-family: "Ostrich Sans Rounded";
    font-weight: 600;
    font-size: 1.7em;
    text-decoration: none;
    letter-spacing: 1px;
    color:white;
    background: #3aaa35;
    border:#3aaa35 4px solid;
    padding: 2px 15px;
    border-radius: 50px;
    margin-top: 10px;
}

#showcase .btn:hover{  
    background: white;
    border-color: white;
    color:#3aaa35;
}

#intro{
    margin-top: 72px; 
    min-height: 60vh;
    padding: 0 18%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#separator{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
    margin-top: 36px;
}

#separator img{
    width: 126px;
    height: auto;
}

#services-title{
display: grid;
grid-template-columns: 1fr 1fr 1fr; 
margin-top: 72px; 
}

#services-title .title-text{
    height: 64px;
    display: flex;
    justify-self: end;
    padding: 0 16px;
    padding-top:10px;

}

#services-title .title-bg{
    grid-area: 1/2/span 1/span 2;
    height: 64px;
    width: 100%;
    background: url('../img/separator.png');
    background-size: cover;
    
}

#services{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: top;
    
    grid-gap: 25px;
    padding-left: 15%;
    padding-right: 15%;
    margin-top: 100px;
    margin-bottom: 100px;

}

#services img{
    width: 60px;
    height: auto;
}

.pres-container h2{
    font-size: 4.2em;

}

#a{
width: 100%;
min-height: 100vh;
background: url('../img/bg/section_a_bg_dark_compressor.jpg');
background-size: cover;
color: white;

display: grid;
grid-template-columns: 1fr 1fr 1fr;
padding: 45px;
align-items: center;

}

#a .btn{
    justify-self: center;
    width: 200px;
    font-family: "Ostrich Sans Rounded";
    font-weight: 600;
    font-size: 1.7em;
    letter-spacing: 1px;
    text-decoration: none;
    color:white;
    background: #335034;
    border:#335034 4px solid;
    padding: 2px 15px;
    border-radius: 50px;
    margin-top: 10px;
}

#a .btn:hover{  
    background: white;
    border-color: white;
    color:#335034;
}

#a .pres-container{
    padding-right: 40px;
}

#b{
    min-height: 100vh;
    width: 100%;

    background: url('../img/bg/section_b_bg_compressor.jpg');
    background-size: cover;

    color: white;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 45px;
    align-items: center;
}

#b .btn{
    justify-self: center;
    width: 200px;
    font-family: "Ostrich Sans Rounded";
    font-weight: 600;
    font-size: 1.7em;
    text-decoration: none;
    letter-spacing: 1px;
    color:white;
    background: #ed8a1b;
    border:#ed8a1b 4px solid;
    padding: 2px 15px;
    border-radius: 50px;
    margin-top: 10px;
}

#b .btn:hover{  
    background: white;
    border-color: white;
    color:#ed8a1b;
}

#b .pres-container{
    grid-area: 1/3/ span 1/span 1;
}

#c{
    min-height: 100vh;
    background: url('../img/bg/section_c_bg_compressor.jpg');
    background-size: cover;

    color: white;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 45px;
    align-items: center;
}

#c .btn{
    justify-self: center;
    width: 200px;
    font-family: "Ostrich Sans Rounded";
    font-weight: 600;
    font-size: 1.7em;
    text-decoration: none;
    letter-spacing: 1px;
    color:white;
    background: #ad4c2b;
    border:#ad4c2b 4px solid;
    padding: 2px 15px;
    border-radius: 50px;
    margin-top: 10px;
}

#c .btn:hover{  
    background: white;
    border-color: white;
    color:#ad4c2b;
}

#d{
    min-height: 100vh;
    background: url('../img/bg/section_d_bg_dark_compressor.jpg');
    background-size: cover;
    color: white;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 45px;
    align-items: center;

}

#d .btn{
    justify-self: center;
    width: 200px;
    font-family: "Ostrich Sans Rounded";
    font-weight: 600;
    font-size: 1.7em;
    text-decoration: none;
    letter-spacing: 1px;
    color:white;
    background: #4f311e;
    border:#4f311e 4px solid;
    padding: 2px 15px;
    border-radius: 50px;
    margin-top: 10px;
}

#d .btn:hover{  
    background: white;
    border-color: white;
    color:#4f311e;
}

#d .pres-container{
    padding-right:75px; 
}


#outro{
    min-height: 50vh;
    background: lightgray;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#outro .btn{  
    justify-self: center;
    width: 200px;
    font-family: "Ostrich Sans Rounded";
    font-weight: 600;
    font-size: 1.7em;
    text-decoration: none;
    letter-spacing: 1px;
    color:white;
    background: #3aaa35;
    border:#3aaa35 4px solid;
    padding: 2px 15px;
    border-radius: 50px;
    margin-top: 35px;
}

#outro .btn:hover{  
    background: white;
    border-color: white;
    color:#3aaa35;
}

#brand{
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('../img/bg/brand_bg_compressor.jpg');
    background-size: cover;}

#brand img{
    width: 25%;
    height: auto;
}



/*  ---  Media Queries  ---  */

/*  ---  Tablet  ---  */
@media(max-width:1260px){
    #services{
        grid-template-columns: 1fr 1fr;
    }
}


/*  ---  Tablet  ---  */
@media(max-width:830px){
    #services-title{
        grid-template-columns: 1fr 1fr; 
    }
}

    /*  ---  Smartphone  ---  */
@media(max-width:480px){

    h1{
        font-size: 4.9em;
    }
    
    h2{
        font-size: 3.5em;
    }
    
    h4{

        font-size: 2.4em;

    }

    #intro{
        padding: 0 10%;
    }

    #services-title{
        grid-template-columns: 1fr 1fr 1fr; 
    }

    #services-title .title-text{
        grid-area: 1/1/span 1/span 2;
    }
    
    #services-title .title-bg{
        grid-area: 1/3/span 1/span 1;       
    }

    #services{
        grid-template-columns: 1fr;
   
    }

    #b{
        background-position: right;
    }

    #outro{
        padding: 0 10%;
    }

    #brand img{
        width: 250px;
        height: auto;
    }
}
