*{

  box-sizing: border-box;
  list-style: none;

}
body{
  background-color: #ddd;
  perspective: 100px;
  margin: 0;
  padding: 0;
}
.navbar-dark{
    background-color: #2670cc;
}
/*start navbar*/
.navbar-dark .navbar-brand {
    margin-left: 10px;
    border-radius: 5px;
}

.navbar-dark .navbar-brand img{
    margin-right: 8px;
    transition: all ease-in-out .6s;
    margin-left: 8px;
}
.navbar-dark .navbar-brand img:hover{
    transform:scale(1.7);
}

.navbar-dark .navbar-nav .show > .nav-link, .navbar-dark .navbar-nav .active > .nav-link, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .nav-link.active {
    color: white;
    font-weight: bold;
    border-radius: 5px;
}
.navbar-dark .navbar-nav .show > .nav-link, .navbar-dark .navbar-nav .active > .nav-link, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .nav-link.active:hover{
    color: white;
}

.navbar-dark .navbar-nav .nav-link{

    color: white;
    font-weight: bold;
    margin-left: 20px;
    border-radius: 5px;
}
.navbar-dark .navbar-nav .nav-link:hover{
    color: white;
}

/*end navbar*/




  /* Underline From Left */
.hvr-underline-from-left {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
  }
  .hvr-underline-from-left:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 100%;
    bottom: 0;
    background: #2098D1;
    height: 4px;
    transition-property: right;
    transition-duration: 0.7s;
    transition-timing-function: ease-in-out;
  }


/*underline-from-center*/
.hvr-underline-from-center:before{
    transition: ease-in-out .5s;
}



/* start header*/



header h3{
  margin-top: 50px;
  margin-bottom: 50px;
  color: black;
  font-weight: bold;
  line-height: 45px;
}

header h3 span{
  margin-top: 5px;
  color:#2670cc;
  font-family:'Metal Mania', cursive;
  letter-spacing: .5rem;
}

/* end header*/


/** start about **/

.about{
  background-color: #9e9e9e8e;
  min-height: 368px;
}

.about h5{
  padding-top: 15px;
  font-size: 30px;
  letter-spacing: .40rem;
  font-weight: bold;
  color: #2670cc;
  font-family:'Odibee Sans', cursive;
}

.about p{
  margin-top: 30px;
  line-height: 42px;
  color: black;
  font-size: 16px;
  font-weight: bold;
  display: block;
}

.about img{
  float: right;
  width: 50%;
  height: 368px;
  margin-left: 10px;
}

.about .second-image{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: none;

}


/** end about**/


/** Start hobbies **/

.hobbies{
  margin-top: 50px;
  text-align: center;
  font-weight: bold;
  background-color: #cecece47;
  padding-top: 19px;
}
.hobbies h5{
  font-size: 25px;
  font-weight: bold;
  color: #2670cc;
  margin-bottom: 19px;
}

.hobbies .hobby{
  display: inline-block;
  width: 48%;
  margin-bottom: 15px;
  margin-right: 10px;
}

.hobbies .hobby i{
  font-size: 25px;
  font-weight: bold;
  color: #2670cc;
}

.hobbies .hobby h6{
  font-size: 20px;
  margin-bottom: 10px;
  margin-top: 10px;
  font-family: 'MuseoModerno', cursive;
}


/** end hobbies **/


/** start wishes**/

.wishes{
  text-align: center;
  margin-top: 50px;
  font-family: 'Odibee Sans', cursive;
  letter-spacing: .15em;

}

.wishes h4{
  font-weight: bold;
  color: #2670cc;
  font-size: 25px;
}

.wishes p{
  margin-top: 15px;
  font-size: 25px;
  font-weight: bold;
  color: #2670cc;
}

.wishes p i{
  margin-left: 7px;
  color: orange;
  font-size: 30px;
}


/** end wishes**/

/*srart contact*/


.contact-us {
  text-align: center !important;
  background-color: #bdc3c7;
  padding: 20px;
}

.contact-us h5{
  font-size: 20px;
  color: #2670cc;
  font-weight: bold;
}

.border{
  width: 100px;
  height: 10px;
  background-color: #2980b9;
  margin: 20px auto;
  border-radius: 5px;
}

.contact{
  max-width: 600px;
  margin: auto;
  padding: 0 10px;
  overflow: hidden;
}

.contact-text{
  text-align: left !important;
  all: unset;
  display: block;
  width: 100%;
  margin: 15px 0;
  border: 0;
  background-color: #c3c5c5;
  padding: 20px 40px;
  outline: none;
  color: black;
  transition: .7s;
}

.contact-text:focus,.contact-us textarea:focus{
  box-shadow: 0 0 10px grey;
}

.contact-us textarea{
  text-align: left !important;
  display: block;
  resize: unset;
  height: 120px;
  width: 100%;
  margin: 15px 0;
  border: 0;
  background-color: #c3c5c5;
  padding: 20px 40px;
  outline: none;
  color: black;
  transition: .7s all ease-in-out;
}

.contact-btn{
  all: unset;
  float: right;
  background-color: grey;
  color: white;
  padding: 12px 50px;
  border-radius: 25px;
  cursor: pointer;
  transition: .5s all ease-in-out;
}

.contact-btn:hover{
  background-color: #585858;
  box-shadow: 0 0 10px grey;
}

/*end contact*/


/*social*/

.social{
  background-color:#bdc3c7;
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social ul{
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
}

.social ul li{
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 50px;
  transform: rotate(-30deg) skew(25deg);
  background-color:#a2a2a2;
}

.social ul li span{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: .5s all ease-in-out;
  background-color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px !important;
}

.social ul li:hover span{
  box-shadow: -1px 1px 1px rgba(0, 0, 0, .3);
}


.social ul li:hover span:nth-child(5){
  transform: translate(40px,-40px);
  opacity: 1;
}
.social ul li:hover span:nth-child(4){
  transform: translate(30px,-30px);
  opacity: .8;
}
.social ul li:hover span:nth-child(3){
  transform: translate(20px,-20px);
  opacity: .6;
}
.social ul li:hover span:nth-child(2){
  transform: translate(10px,-10px);
  opacity: .4;
}
.social ul li:hover span:nth-child(1){
  transform: translate(0,0);
  opacity: .2;
}


.social ul li:nth-child(1) span{
  background-color: #3b5999;
}

.social ul li:nth-child(2) span{
  background-color: #e4405f;
}

.social ul li:nth-child(3) span{
  background-color: #dd3939;
}


/*end social*/

/**start footer**/
.footer {
  background-color: #2670cc;
  color: white;
  text-align: center; 
  height: 50px;
  line-height: 50px;
  margin-bottom: -5px
}

.footer p {
  margin-bottom: 0px;
}
/**end footer**/

/*** Start media query***/


/*medium screens*/

@media (max-width:770px){
  .about img{
    display: none;
  }

  .about .second-image{
    display:block;
    margin: 0px 180px 10px;
  }

  .hobbies .hobby {
    width: 48%;
  }
}


/*small screens*/

@media (max-width:500px){
  .hobbies .hobby{
    width: 100%;
  }
}

/*** End media query***/