html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
}

/*=======================
	End Preloader
=========================*/

#loader-container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    display:flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}


#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}
#loader span{
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #F47983;
    margin: 35px 5px;
    opacity: 0;
}

#loader span:nth-child(1){
    animation: opacitychange 1s ease-in-out infinite;
}

#loader span:nth-child(2){
    animation: opacitychange 1s ease-in-out 0.33s infinite;
}

#loader span:nth-child(3){
    animation: opacitychange 1s ease-in-out 0.66s infinite;
}

#loader span:nth-child(4){
    animation: opacitychange 1s ease-in-out 0.99s infinite;
}

@keyframes opacitychange{
    0%, 100%{
        opacity: 0;
    }

    60%{
        opacity: 1;
    }
}

/*=======================
	End Preloader
=========================*/

/*=======================
	Start Header
=========================*/
#header {
    top: 0;
    width: 100%;
    z-index: 99;
    position: fixed;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#header h3{
    font-size: 1.5rem;
    font-weight: 700;
}

/*https://www.color-hex.com/color/f47983*/
.accent-color {
    color: #F47983;
}

.accent-background{
    background-color: #F47983 !important;
}

/* Logo */
#header .logo {
    padding-top: 17px;
}
#header .logo a {
    color: #fff;
    text-transform: capitalize;
    font-size: 22px;
    font-weight: 600;
    position: relative;
    padding-left: 16px;
    text-decoration: none;
    border: none;
    outline: none;
}
#header .logo a::before {
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    content: "";
    border-radius: 100%;
}

#navbar {
    background-color:  #F47983 !important;
    /*bottom shadow*/
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.70) !important;
    -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.70) !important;
    -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.70) !important;
}

/*=======================
	End Header
=========================*/

/*=======================
	Personal CSS
=========================*/
#personal-area {
    background-image: url('./images/hocus-pocus05.jpg');
    background-size: cover;
    background-repeat: no-repeat;
   /* height: 700px;*/
    position:relative;
    background-position: center;
}
#personal-area .personal-single {
    position: relative;
    z-index: 3;
}
#personal-area .personal-single::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-pattern.png');
    opacity: 0.5;
    content: "";
    z-index: -1;
}
#personal-area .personal-single::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    content: "";
    z-index: -2;
}
#personal-area .personal-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 700px;
    text-align: center;
}

/* Personal Animate Text */
#personal-area .personal-text h1 {
    color: #fff;
    font-size: 50px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 25px;
}
#personal-area .personal-text h2 {
    font-size: 25px;
    text-transform: uppercase;
    color: #eee;
    margin-bottom: 25px;
}
#personal-area .personal-text h2 span {
    display:inline-block;
    padding:0;
}
#personal-area .personal-text h2 b{
    font-weight:700;
}
#personal-area .my-info p {
    color: #fff;
    font-size: 15px;
}
#personal-area .personal-text .btn {
    background: #fff;
    color: #353535;
    margin-right: 20px;
    padding: 13px 35px;
    overflow:hidden;
    text-transform: uppercase;
   /* transition: all .5s;*/
}
#personal-area .personal-text .btn:hover{
    background: #F47983;
    color:#fff;
}
#personal-area .personal-text .btn:focus{
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#personal-area .personal-text .btn.primary{
    color:#fff;
}
#personal-area .personal-text .btn i{
    margin-right:10px;
}
#personal-area .personal-text .btn:hover i{
    opacity: 0;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-animation-name: hvr-icon-drop;
    animation-name: hvr-icon-drop;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

/*=======================
	End Personal
=========================*/

/*=======================
	Section titles CSS
=========================*/
.section-title h1{
    font-size: 1.5rem;
    font-weight: 700;
}

.section-title{
    margin-top: 10px;
    font-size: 30px;
    color: #353535;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}
/*line*/
.section-title:before{
    position: absolute;
    bottom: 61px;
    content: "";
    left: 44%;
    width: 12%;
    height: 2px;
    border-radius: 100%;
    background: #F47983;
}
/*icon*/
.section-title h1 i {
    position: absolute;
    left: 50%;
    top: 61%;
    font-size: 11px;
    color: #FFF;
    background: #F47983;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    text-align: center;
    padding: 0;
    line-height: 20px;
    border: none;
    margin-left: -10px;
}

#contact .section-title h1 i {
    top: 63%;
}
/*=======================
	End Section titles
=========================*/

/*=======================
	About me
=========================*/

#about-me .social {
    float: right;
    margin-right: 54px;
}

#about-me .social li{
    margin-right:15px;
    display:inline-block;
}
#about-me .social li a {
    display: block;
    line-height: 28px;
    font-size:20px;
    color: #333;
}

#about-me .social li a:hover {
    color: #F47983;
}
#about-me .card-body{

}

/*=======================
	About me End
=========================*/

/*=======================
    Portfolio CSS
=========================*/

#portfolio .portfolio-nav {
    text-align: center;
    margin: 30px 0 60px;
}

#portfolio .portfolio-nav ul li {
    display: inline-block;
    margin-right: 15px;
    position: relative;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 17px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
}

#portfolio .portfolio-nav ul li:last-child{
   /* margin:0;*/
}
#portfolio .portfolio-nav ul li.active,
#portfolio .portfolio-nav ul li:hover{
    color:#fff;
}
/* falling number tooltip animation */
#portfolio .portfolio-nav ul li span {
    position: absolute;
    top: -31px;
    border-radius: 5px;
    font-size: 13px;
    line-height: 20px;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: #fff;
    visibility: hidden;
    padding: 2px 10px;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    transform: translateY(-100%);
}

/*▽*/
#portfolio .portfolio-nav ul li span::before {
    position: absolute;
    left: 50%;
    bottom: -5px;
    content: "";
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    margin-left: -5px;
}
#portfolio .portfolio-nav ul li.active span,
#portfolio .portfolio-nav ul li:hover span{
    opacity:1;
    visibility:visible;
    transform:translateY(0%);
}

#portfolio .portfolio-nav ul li i {
    margin-right: 10px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#portfolio .portfolio-nav ul li.active i,
#portfolio .portfolio-nav ul li:hover i{
    color:#fff !important;
}

#personal-area .personal-text h2 span,
#personal-area.slider .personal-text h2,
#portfolio .portfolio-nav ul li i,
#portfolio .portfolio-hover span{
    color: #F47983;
}

#portfolio .portfolio-nav ul li.active,
#portfolio .portfolio-nav ul li:hover,
#portfolio .portfolio-nav ul li span,
#portfolio .portfolio-single .btn,
#portfolio .portfolio-hover .button a:hover,
#portfolio .portfolio-hover .button .primary,
#portfolio .button .btn,
#portfolio.archive .nav-bg,
#portfolio.single .portfolio-single.slider .owl-nav div,
#portfolio.single .content h2:before,
#portfolio.single .portfolio-widget{
    background: #F47983;
}

#portfolio .portfolio-nav ul li span::before{
    border-top-color: #F47983;
}


/*single*/

#portfolio .portfolio-grid-item{
    /*min-width: 400px; *//*isotope*/
    /* min-height: 300px; *//*isotope*/
}

#portfolio .portfolio-single{
    position:relative;
    transition:all 0.3s ease;
    overflow:hidden;
}


#portfolio .portfolio-single .btn {
    position: absolute;
    width: 42px;
    height: 42px;
    line-height: 42px;
    font-size: 40px;
    text-align: center;
    color: #fff;
    z-index: 33;
    cursor: pointer;
    border-radius: 0px;
    bottom: 0;
    right: -100px;
    padding: 0;
}
#portfolio .portfolio-single:hover .btn{
    right:0;
}
#portfolio .portfolio-head{
    position:relative;
}
#portfolio .portfolio-head::before {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.9);
    content: "";
    visibility: hidden;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-transform:translateX(-100%);
    -moz-transform:translateX(-100%);
    transform:translateX(-100%);
    left: 0;
    z-index: 11;
}
#portfolio .portfolio-single:hover .portfolio-head:before{
    visibility:visible;
    -webkit-transform:translateY(0%);
    -moz-transform:translateX(0%);
    transform:translateX(0%);
}
#portfolio .portfolio-head img{
    width:100%;
    z-index:10;
}
#portfolio .portfolio-single:hover img{
    transform:scale(1.1);
}
#portfolio .portfolio-hover {
  position: absolute;
    top: 0;
    z-index: 20;
    color: #fff;
    /*top: 50%;*/
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
    opacity: 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
#portfolio .portfolio-single:hover .portfolio-hover {
    opacity:1;
    visibility:visible;
}
#portfolio .portfolio-hover h4 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 20px;
    margin: 5px 0 15px;
    position: relative;
    top: -20px;
    -webkit-transition:all 1s ease;
    -moz-transition:all 1s ease;
    transition:all 1s ease;
}
#portfolio .portfolio-single:hover h4{
    top:0;
}
#portfolio .portfolio-hover p{
    position: relative;
    bottom: -20px;
    -webkit-transition:all 1s ease;
    -moz-transition:all 1s ease;
    transition:all 1s ease;
}
#portfolio .portfolio-single:hover p{
    bottom:0;
}
#portfolio .portfolio-hover span {
    font-size: 16px;
    display: block;
    font-style: italic;
    margin-bottom: 5px;
    text-transform: capitalize;
}
#portfolio .portfolio-hover h4 a{
    color:#fff;
}
#portfolio .portfolio-hover p{
    color:#fff;
}
#portfolio .portfolio-hover .button {
    margin-top: 15px;
    position: relative;
    bottom: -20px;
    -webkit-transition:all 1s ease;
    -moz-transition:all 1s ease;
    transition:all 1s ease;
}
#portfolio .portfolio-single:hover .button{
    bottom:0;
}
#portfolio .portfolio-hover .button a {
    color: #333;
    background: #fff;
    display: inline-block;
    margin: 0 5px;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    line-height: 40px;
}
#portfolio .portfolio-hover .button a:hover,
#portfolio .portfolio-hover .button .primary{
    color:#fff;
}
#portfolio .portfolio-hover .button .primary:hover{
    background:#fff;
    color:#333;
}
#portfolio .button{
    text-align:center;
}
#portfolio .button .btn {
    margin-top: 60px;
    padding: 15px 38px;
    border-radius: 50px;
    font-weight: 600;
}
#portfolio .button .btn:hover,
#portfolio .button .btn:focus,
#portfolio .button .btn:active{
    background:#353535;
    color:#fff;
}
#portfolio .button .btn i{
    margin-left:5px;
    -webkit-transition:all 0.3s ease;
    -moz-transition:all 0.3s ease;
    transition:all 0.3s ease;
}
#portfolio .button .btn:hover i{
    -webkit-animation-name: hvr-wobble-horizontal;
    animation-name: hvr-wobble-horizontal;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

/*=======================
    End Portfolio
=========================*/


/*=======================
  Skills CSS
=========================*/
#my-skills .card{
    /*transition on hover + shadow*/
    -webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.20);
    -moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.20);
    box-shadow: 0px 0px 7px
    rgba(0, 0, 0, 0.20);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
}

#my-skills .card i{
    font-size: 47px;
}

#my-skills .card:hover{
    color:#fff !important;
    background-color: #F47983;
}
.no-break{
    word-wrap: normal; !important;
}

#my-skills .card a:focus{
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/*=======================
  End Skills
=========================*/


/*=======================
  Contact CSS
=========================*/
#contact .form-group {
    position: relative;
    display: block;
    margin: 0 0 25px;
}

#contact .form-group i {
    position: absolute;
    font-size: 16px;
    padding: 15px 12px;
}

#contact .form-group input {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    padding-left: 10px;
    border-radius: 5px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    font-weight: 400;
}
#contact .form-group textarea {
    border: 1px solid #ddd;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    resize: none;
    height: 173px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
#contact .form-group input:hover,
#contact .form-group input:focus,
#contact .form-group textarea:hover{
    outline:none;
}
#contact .form-group .button {
    padding: 10px 30px;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    border: 0px solid;
    color:#fff;
    border-radius:5px;
    -webkit-transition:all 0.4s ease;
    -moz-transition:all 0.4s ease;
    transition:all 0.4s ease;
    background-color: #F47983;
}
#contact .form-group .button:hover{
    background:#252525;
}
#contact .form-group .button i{
    position:relative;
    display:inline-block;
    color:#fff;
    margin-right:10px;
    padding:0px;
}
#contact .form-group.button{
    margin:0;
}
#contact .contact {
    min-width: 200px;
    margin-top: 30px;
    background: #fff;
    -webkit-box-shadow:0px 0px 4px rgba(0, 0, 0, 0.50);
    -moz-box-shadow:0px 0px 4px rgba(0, 0, 0, 0.50);
    box-shadow:0px 0px 4px rgba(0, 0, 0, 0.50);
    padding: 20px;
    height:355px;
}

#contact .single-address {
    position: relative;
    margin-bottom: 34px;
}
#contact .single-address:last-child{
    margin:0;
}
#contact .single-address i {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 20px;
    top: 50%;
    margin-top: -20px;
    -webkit-transition:all 0.3s ease;
    -moz-transition:all 0.3s ease;
    transition:all 0.3s ease;
}
#contact .single-address:hover i{
    color:#fff;
    border-color:transparent;
    background-color: #F47983;
}
#contact .single-address .title{
    margin-left:60px;
}
#contact .single-address h4 {
    margin-bottom: 15px;
}
#contact .single-address p{
    color:#555;
}
/*=======================
  End Contact CSS
=========================*/

/*=======================
  Footer CSS
=========================*/
#footer {
    background: #333;
    padding: 15px 0 10px;
    text-align: center;
    position: relative;
}
#footer .arrow a {
    font-size: 30px;
    position: absolute;
    top: -15px;
    left: 50%;
    color: #fff;
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 100%;
    margin-left: -22px;
    display: block;
    padding: 0;
    z-index: 99;
    -webkit-box-shadow:0px 0px 2px rgba(0, 0, 0, 0.70);
    -moz-box-shadow:0px 0px 2px rgba(0, 0, 0, 0.70);
    box-shadow:0px 0px 2px rgba(0, 0, 0, 0.70);
}
#footer .arrow a:hover {
    background:#333;
}
#footer .copyright{
    padding:5px 0;
    /*text-align:left;*/
}
#footer .copyright p{
    color:#fff;
    margin:0;
}
#footer .copyright span{
    margin:0px 5px;
}
/*
#footer .social {
    text-align: right;
}
*/

#footer .social li{
    margin-right:15px;
    display:inline-block;
}
#footer .social li a {
    display: block;
    line-height: 28px;
    font-size:20px;
    color: #fff;
}

#footer .social li a:hover {
    color: #F47983;
}
#footer .arrow a {
    background-color: #F47983 !important;
}

#footer .arrow a:hover {
    -webkit-transition:all 0.4s ease;
    -moz-transition:all 0.4s ease;
    transition:all 0.4s ease;
    color: #F47983 !important;
    background-color: #333 !important;
}

#footer .arrow a:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}


/*=======================
  End Footer
=========================*/