/* GENERAL */

body,h1,h2,h3,h4,p,em{
    font-family: raleway;
    -webkit-font-smoothing: antialiased; 
	text-rendering: optimizeLegibility;
}

body{
    margin-top: 75px;
    font-size: 18px;
}

hr {
    height: 2px;
    border: 0;
    border-top: 1px solid #ccc; 
}

/* NAVBAR */

.navbar {
    padding: 20px 0;
    position: relative;
    margin: -75px 0 0 0;
}
    
.navbar img{
    margin-top: -20px;
    height: 300%;
}

/* HEADER SECTION */

#header{
	background: url('../img/Picture1.png') 50% 0 repeat fixed;
	background-size: cover; 
    background-color: white;
	height: 100%;
	color: white;
	display: flex;
    text-align: center;
	align-items: center;
    margin-bottom: 100px;
    -webkit-font-smoothing: antialiased; 
	text-rendering: optimizeLegibility;
    padding: 60px 0;
}

.header-caption{
    -webkit-font-smoothing: antialiased; 
	text-rendering: optimizeLegibility;
    margin-top: -30px;
    width: 100%;
    padding: 1%;
    align-items: center;
    font-weight: bold;
}

#header h1{
    padding: 0 0 40px 0;
    font-size: 70px;
}

#header em{
    font-family: raleway;
    color: red;
    font-size: 80px;
    font-weight: 600;
}

#header .caption{
    padding: 50px 10px;
}

#header p{
    font-size: 30px;
}

#header .note p{
    bottom: 0px;
    font-size: 15px;
}

/* STATS SECTION */

#stats{
    margin: -100px 0 0 0;
    
}

#stats .col-md-3{
    padding: 0;
}

#stats .box1, .box2, .box3, .box4{
    height: 325px;
    width: 100%;
    text-align: center;
}

#stats .box1, .box2, .box3, .box4 p{
    padding-top: 50px;
    color: white;
}

#stats img{
    margin-top: 30px;
}

.box1{
    background-color: lightcoral;
}

.box2{
    background-color: lightsalmon;
}

.box3{
    background-color: #4da1a9;
}

#stats .box3 img , #stats .box4 img{
    margin: 0 0 0 0;
}

.box4{
    background-color: #90C695;
}

/* EMAIL SECTION */

#email{
    padding:75px 0 75px;
    background-color: rgba(255,249,196 ,0.8);
}

/* WORK SECTION */

#work{
    position: relative;
    background-color: ivory;
    padding: 75px 0 75px;
}

#work img{
    padding: 30px;
}

#work p{
    font-size: 35px;
    color: red;
}

#work .btn{
    margin: 40px 0 0 0;
}

/* TESTIMONIAL */

#carousel{
    padding: 75px 0 75px;
    background-color: #c0392b;
    background-color: #FFF9C4;
    color: black;
}

.quote{
    padding:0 0 20px 0;
}

#fade-quote-carousel.carousel {
  padding-bottom: 60px;
}
#fade-quote-carousel.carousel .carousel-inner .item {
  opacity: 0;
  -webkit-transition-property: opacity;
      -ms-transition-property: opacity;
          transition-property: opacity;
}
#fade-quote-carousel.carousel .carousel-inner .active {
  opacity: 1;
  -webkit-transition-property: opacity;
      -ms-transition-property: opacity;
          transition-property: opacity;
}
#fade-quote-carousel.carousel .carousel-indicators {
  bottom: 10px;
}
#fade-quote-carousel.carousel .carousel-indicators > li {
  background-color: #e84a64;
  border: none;
}
#fade-quote-carousel blockquote {
    text-align: center;
    border: none;
}
#fade-quote-carousel .profile-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 100px;
}

.profile-circle img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

/* CIRCLE SECTION */

#circle{
    padding: 75px 0 75px;
    background-color: ivory;
}

.circle {
  margin: 35px;
  display: inline-block;
  padding: 16px;
  text-align: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  
}

.circle::before,
.circle::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.circle,
.circle::before,
.circle::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .5s;
  transition: all .5s;
}

.circle {
  position: relative;
  z-index: 2;
  background-color: #fff;
  border: 2px solid #5c5eae;
  color: #5c5eae;
  line-height: 50px;
  overflow: hidden;
}

.circle:hover {
  color: #fff;
}
.circle::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-transform: scale(.5);
  transform: scale(.5);
}

.circle1:hover::after {
  background: rgba(255,241,118 ,0.7);
  border-radius: 50%;
  -webkit-transform: scale(.9);
  transform: scale(.9);
}

.circle2:hover::after {
  background: lightsalmon;
  border-radius: 50%;
  -webkit-transform: scale(.9);
  transform: scale(.9);
}

.circle3:hover::after {
  background: #4DB6AC;
  border-radius: 50%;
  -webkit-transform: scale(.9);
  transform: scale(.9);
}

.circle4:hover::after {
  background: #90C695;
  border-radius: 50%;
  -webkit-transform: scale(.9);
  transform: scale(.9);
}

.circle a {
  text-decoration: none;
  color: #1d2087;
}

.circle h2 {
    color: #000;
    margin: 50px 0 10px 0;
  font-size: 30px;
}

.circle p {
    color: #000;
  font-size: 24px;
  line-height: 26px;
}

.circle1,
.circle1::before,
.circle1::after {
    border-color: rgba(251,192,45 ,1);
}

.circle2,
.circle2::before,
.circle2::after {
    border-color: lightsalmon;
}

.circle3,
.circle3::before,
.circle3::after {
    border-color: #4DB6AC;
}

.circle4,
.circle4::before,
.circle4::after {
    border-color: #90C695;
}


/* FOOTER */

footer{
    background-color: #3b3b36;
    color: white;
    height: 100px;
}

footer p{
    margin-top: 45px;
}

/* MEDIA QUERY */

@media(max-width:438px){
    #header h1, #header em{
        
    }
}

@media(max-width:992px){
    #work img{
        width: 30%;
    }
}

@media(max-width:720px){
    #work img{
        width: 50%;
    }
}

@media(max-width:320px){
    .navbar img{
        margin-top: -20px;
        height: 250%;
    }
}
