@font-face {
  font-family: 'Red Hat Display';
  src: url(fonts/RedHatDisplay/RedHatDisplay-Medium.ttf);
}
section{
  padding: 5rem 0;
}

h2{
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  width: max-content;
  /* background-color: aqua; */
}
h2::after {
  content: '';
  display: block;
  position: relative;
  margin: 0 auto;
  bottom: -10px;
  height: 3px;
  width: 80%;
  border-radius: 5px;
  background-color: deeppink;
}
.bg-circle{
  background-color: deeppink;
  height: 50px;
  width: 50px;
  display: table;
  padding: 10px;
  border-radius: 50%;
  color: aliceblue;
}
.motto{
  background-color: bisque;
  text-align: center;
  font-size: 1.5rem;
  font-family: 'Kaisei HarunoUmi',
  serif;
}
.text-deeppink{
  color: deeppink;
}

.btn{
  text-transform: uppercase;
}
.btn-outline-primary{
  color: inherit;
  border-color: inherit;
}

.btn-primary{
  background-color: deeppink;
  border-color: rgb(245, 12, 136);
}
.btn-primary:hover{
  background-color: rgb(243, 19, 138);
  border-color: rgb(230, 17, 130);
}

.btn-outline-primary:hover{
  border-color: rgb(247, 8, 135);
  background-color: deeppink;
}

.navbar{
  background: inherit;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all .5s;
}
.nav-link {
  font-family: 'Red Hat Display',
  sans-serif;
  display: inline-block;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: deeppink;
}
.nav-link::after{
  content: '';
  border-radius: 5px;
  display: block;
  position: relative;
  bottom: -5px;
  margin: 0 auto;
  width: 0;
  opacity: 0;
  height: 3px;
  background-color: rgb(255, 20, 147);
  transition: all .3s;
}
.nav-link:hover::after{
  opacity: 1;
  width: 80%;
}

.nav-item{
  padding: 0 20px;
}
#hero{
  background: url(images/hamzah-hanafi-RJvJI1gTE7o-unsplash.jpg) no-repeat center;
  background-size: cover;
}
#hero img{
  opacity: .5;
  transition: opacity .5s;
}
#hero img:hover{
  opacity: 1;
}
#logo{
  border-radius: 5px;
  margin-bottom: 1rem;
}
#ourteam{
  background-color: bisque;
  text-align: center;
}
#ourteam h3{
  font-size: larger;
}
#ourteam p{
  color: rgb(133, 132, 132);
}
#footer{
  background-color: bisque;
}
.img-cover img{
  width: 100%;
  border-radius: 10px;
}
.photo-profile img{
  height: 200px;
  width: 200px;
  object-fit: cover;
  background-color: deeppink;
}


.jumbotron{
  padding-top: 5rem;
  text-align: center;
}
.contact-info{
  color: rgb(109, 106, 106);
  letter-spacing: 1px;
}
.contact-info a{
  text-decoration: none;
  color: inherit;
}
.contact-info a:hover{
  color: deeppink
}
.navigation{
  text-align: left;
}
footer{
  font-family: 'Raleway',
  sans-serif;
}
footer section{
  padding: 2rem 1rem;
}
footer h6{
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: bold;
}
footer p{
  margin-bottom: 2rem;
}
.navigation ul{
  padding: 0;
  margin: 0;
  color: inherit;
}
.navigation ul li{
  list-style: none;
  margin: 10px 0;
}
.navigation ul li:before{
  content: '>';
  position: relative;
  height: 15px;
  width: 15px;
  left: 0;
  color: inherit;
  margin-right: 10px;
}
.navigation ul li a{
  text-decoration: none;
  color: inherit;
}
.navigation ul li a:hover{
  color: deeppink;
}
.recentpost{
  text-align: left;
}
.recentpost article{
  margin: 1.5rem 0;
  border-bottom: 1px solid #797777;
}
.recentpost article a{
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  font-size: 14px;
}
.recentpost article a:hover{
  color: deeppink;
}
.recentpost p{
  margin: 0;
}
.recentpost time{
  font-size: 12px;
  color: darkslategray;
  padding-top: 0;
}
.count{
  display: inline-block;
  color: deeppink;
  font-size: 33px;
  line-height: 1.2;
  text-align: center;
}
.count span{
  display: block;
  font-size: 14px;
  color: #797777;
}
.count + .count{
  margin-left: 24px;
}
.btn-subscribe{
  height: 56px;
  border-color: #9e9d9d;
}
.copyright{
  background-color: aliceblue;
}
.copyright p{
  margin: 0;
}
.copyright a{
  text-decoration: none;
  color: inherit;
}
.copyright a:hover{
  color: deeppink;
}
.list-inline li{
  display: inline;
  margin: 0 10px;
}
@media screen and (max-width: 991px) {
  .navbar-nav {
    justify-content: space-evenly;
    text-align: center;
    height: 100%;
  }
}
@media screen and (max-width:430px) {
  .bg-circle{
    width: 20px;
    height: 20px;
  }
  .bg-circle .fa-2x{
    font-size: 1.5rem;
  }
  .btn-subscribe{
    width: 100%;
  }
  footer, .navigation, .recentpost{
    text-align: center;
  }
  .copyright .fa-2x{
    font-size: 1rem;
  }
}