h1,h2,h3{
   font-family: 'Abril Fatface', cursive;
}

body{
  font-family: 'Catamaran', sans-serif;  
}

/* Navigation bar*/

.navbar-brand{
    font-size: 30px;
}

.navbar-nav a{
    font-size: 17px
}

.navbar-brand:hover{
    color: black !important;
}

/** Header **/

.intro {
    background-image: url(../img/image-header.jpg);
    height: 600px;
    background-size: cover;
    
}

.intro-text{
    color: white;
    padding-top: 200px;
    text-align: center;
}

.intro-text h1{
    font-size: 50px;
    padding-bottom: 20px;
}

.intro-text p{
    font-size: 30px;
    padding-bottom: 50px;
}


/* About*/

.text{
    padding-top: 20px;
    padding-bottom: 20px;
}

#about{
    background-color: lightblue;
}
    


#about p{
    padding-top: 20px;
    font-size: 17px;
    padding-bottom: 20px;
}

#about a, a:hover, a:focus{
    color: blue;
    text-decoration: none;
}


/* Project 1*/

#project{
    margin-top: 150px;
    margin-right: 10px;
    margin-left: 10px;
    padding: 20px
}

.img-fluid{
    width: 100%;
    height:auto;
}

.text-project{
    padding-top: 50px;
    height: auto;
    padding: 30px;
    height: 320px
}
.text-project h2{
    font-size: 50px;
    position: relative;
    padding-bottom: 10px;
}

.text-project a:hover, a:focus, a{
    text-decoration: none;
    color: black;
}

.text-project p{
    font-size: 30px;
    padding-top: 10px
}

.block-1{
    padding: 20px;
    background-color: #f5f5f5;
}

.block-2{
    background-color: #d3d3d3;
}


.image-rectangular{
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 100px;

}

.block-2-after{
      background-color: #d3d3d3;


}


.text-project h2::after{
    position: absolute;
    content: "";
    height: 3px;
    width: 100px;
    bottom: 0;
    background: blue;
    left: 50%;
    margin-left: -50px;
}

/* Contact */

#contact{
    margin-top: 150px;
    background-color: #534e4e;
    padding-bottom: 40px;
    padding-top: 40px;
}

#contact p, h3{
    color: white;
}

.contact-info{
    padding-bottom: 20px
}

#contact h3{
    position: relative;
    font-size: 35px;
    padding-bottom: 10px;
}

#contact p{
    font-size: 17px;
    padding-top: 10px;
}

#contact a, a:hover, a:focus{
    color: white;
    text-decoration: none;
}


#footer{
    background-color: #333030;
    padding: 20px;
}

#footer ul{
    display: inline;
    text-align: center;
    padding: 0;
    list-style-type: none;
}

#footer li{
    padding-right: 20px;
    display: inline;
    margin: 0 auto;
}

#footer img{
    height: 35px;
    width: 35px;
}

#footer p{
    padding-top: 20px;
    color: white;
    font-size: 17px;
}


/* Solution for problem*/

@media (min-width: 1200px){
    .text-project-1{
    height: 321px;
        padding-top: 50px;
    }
    
    .block-2-after{
        margin-top: 100px;
        height: 438px;
        padding-top: 50px;
    }
    
    .image-rectangular{
        width: 615px
    }
    
   
}

@media (max-width: 500px){
    .text-project h2{
    font-size: 30px;
        margin-top: -15px
}
}

@media (max-width:1200px){
    .text-project{
        height: auto;
    }
}

@media (max-width:400px){
    .text-project h2{
        font-size: 25px;
    }
     .text-project p{
        font-size: 17px;
    }
}





