/*Font Families*/

@font-face{
  font-family: 'h-regular';
  src:url(../fonts/HelveticaNeue.ttf)
}
@font-face{
  font-family: 'm-regular';
  src:url(../fonts/Montserrat-Regular.ttf)
}
@font-face{
  font-family: 'm-bold';
  src:url(../fonts/Montserrat-Bold.ttf)
}
@font-face{
  font-family: 'm-bold';
  src:url(../fonts/Montserrat-Medium.ttf)
}

*{outline:none;}

body{
  margin:0;
  padding:0;
  background:#fbf9f9;
  font-family: 'Roboto', sans-serif;
  font-family: 'Source Sans Pro', sans-serif;
  overflow-x: hidden;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*Navigation Bar Style*/
.logo_img{width: 80px;}
.abt_me{
  font-size: 22px;
  font-weight: 500;
  color: #333;
  letter-spacing: 1px;
}
.navbar-nav{margin-top: 10px;}
.nav>li>a:focus, .nav>li>a:hover{
  background-color: transparent;
  color: #fb446e;
  transition: all 0.3s ease-out;
}
.navbar-nav>li>a{margin-right: 10px;}
.back_img{
  background-image: url("../img/banner/banner_3.jpg");
  height: 600px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.icon-bar{background-color: #fb456f;}
/*Header Style*/
.cd-headline {
    font-size: 45px;
    font-weight: 300;
    line-height: 1;
}

.cd-words-wrapper {
    display: inline-block;
    position: relative;
    text-align: left;
}
.cd-words-wrapper b {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 0;
}
.cd-words-wrapper b.is-visible {
    position: relative;
}
.cd-headline.scale i {
    display: inline-block;
    opacity: 0;
    transform: scale(0);
}
.is-visible .cd-headline.scale i {
    opacity: 1;
}
.cd-headline.scale i.in {
    animation: scale-up 0.6s forwards;
}
.cd-headline.scale i.out {
    animation: scale-down 0.6s forwards;
}

.no-csstransitions .cd-headline.scale i {
    transform: scale(1);
    opacity: 0;
}

.no-csstransitions .cd-headline.scale .is-visible i {
    opacity: 1;
}

@keyframes scale-up {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes scale-down {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    60% {
        transform: scale(0);
        opacity: 0;
    }
}
.full-width{
    width:100%;
}
.mt-30{margin-top: 230px;}

/*About Section Style*/

.hed_3{
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 5px;
    animation-delay: .2s;
    font-size: 35px;
    margin-bottom: 20px;
}
.move_wd{
    color: #ff1c50;
    font-weight: 600;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.static_wd{
    font-weight: 600;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.bst_pl{
    color: #e0e0e0;
    font-size: 18px;
    margin-top: 20px;
    word-spacing: 4px;
}

.sect_padding{
    padding: 100px 0px;
}
.mn_hd_txt{
    margin-bottom: 25px;
    font-size: 30px;
    color: #5d5d5d;
    word-spacing: 3px;
}
.awesome{
    color: #fb446e;
    font-weight: 500;
}
.para_txt{
    color: #666;
    word-spacing: 2px;
    line-height: 1.5;
    font-size: 18px;
}
.nav_mar{margin-bottom: 25px;}

/*Project Section Style*/

.sec_1{
    background-color: #fff;
}
.mn_hd_why{
    margin-bottom: 60px;
    font-size: 30px;
    color: #5d5d5d;
    word-spacing: 3px;
}
.image{
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    border-radius: 6px;
}

.pro_col{
    position: relative;
    padding: 10px;
    background-color: #efefef;
}
.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.pro_col:hover .image {
    opacity: 0.3;
}

.pro_col:hover .middle {
    opacity: 1;
}

.text {
    color: #333;
    font-size: 25px;
    font-weight: 600;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.text_2{
    margin-top: 20px;
    letter-spacing: 1px;
    font-size: 18px;
    color: #333;
    line-height: 20px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.main_col{
    margin-top: 20px;
}
/*Skill Style*/
.skil_item{
  width: 90px;
  margin: 40px 20px;
}

/*Contact Style*/
.mail_acc{
  font-style: italic;
  color: #666;
}
.mail_acc:hover{
  color: #fb4770;
}
.cont_para{
  color: #666;
  word-spacing: 2px;
  line-height: 1.5;
  font-size: 20px;
  margin-top: 20px;
}
.name_para{
  color: #666;
  word-spacing: 2px;
  line-height: 1.5;
  font-size: 20px;
  font-weight: 600;
}
.add_para{
  color: #666;
  word-spacing: 2px;
  line-height: 1.5;
  font-size: 16px;
}
.link_social{
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fb456f;
  text-align: center;
  line-height: 2;
  color: #fff;
  margin: 30px 10px;
}
.link_social:hover{
  color: #fff;
}

/*Footer Section Style */
.footer_img{
  background: url("../img/banner/footer_1.jpg") no-repeat center;
  width: 100%;
  min-height: 350px;
  background-size: 100% 100%;
}
.responsive{
  width: 100%;
  height: auto;
}

/*Responsive CSS Style*/
@media only screen and (max-width: 775px) {
  .navbar-toggle{margin-top: 25px;}
  .logo_img{width: 75px;}
  .navbar-nav{margin: 7.5px -7px;}
  .navbar-nav {margin-top: 15px;}
  .hed_3{font-size: 32px;}
  .back_img {
    background: url("../img/banner/responsive_1.jpg") no-repeat center;
    width: 100%;
    height: 450px;
    background-size: 100% 100%;
  }
  .para_txt{
    margin-right: 15px;
    margin-left: 15px;
  }
  .cd-headline{
    font-size: 2.7rem;
  }
  .mt-30{margin-top: 190px;}
  .footer_img{
    background: url("../img/banner/res_foot_1.jpg") no-repeat center;
    min-height: 195px;
    width: 100%;
    background-size: 100% 100%;
  }
  .skil_item{width: 72px;}
}
@media only screen and (max-width: 630px){
  .para_txt{
    margin-right: 20px;
    margin-left: 20px;
  }
}
@media only screen and (max-width: 598px){
  .hed_3{font-size: 24px;}
  .mn_hd_txt{font-size: 27px;}
  .para_txt{font-size: 17px;}
  .mn_hd_why{font-size: 27px;}
}
@media only screen and (max-width: 550px){
  .hed_3{font-size: 23px;}
  .mn_hd_txt{font-size: 25px;}
  .para_txt{font-size: 16px;}
  .mn_hd_why{font-size: 25px;}
}
@media only screen and (max-width: 510px){
  .mn_hd_txt{font-size: 23px;}
}
@media only screen and (max-width: 450px){
  .hed_3{
    font-size: 22px;
    letter-spacing: 2px;
  }
  .logo_img{width: 70px;}
  .back_img {
    background: url("../img/banner/resp_2.jpg") no-repeat center;
    width: 100%;
    height: 300px;
    background-size: 100% 100%;
  }
  .mt-30{margin-top: 121px;}
  .mn_hd_txt{font-size: 22px;}
  .mn_hd_why{font-size: 24px;}
  skil_item{width: 65px;}
}
@media only screen and (max-width: 370px){
  .hed_3{
    font-size: 19px;
    letter-spacing: 1px;
  }
  .footer_img{
    background: url("../img/banner/res_foot_2.jpg") no-repeat center;
    min-height: 145px;
    width: 100%;
    background-size: 100% 100%;
  }
  .name_para{font-size: 19px;}
  .cont_para{font-size: 19px;}
  .sect_padding{padding: 75px 0px;}
}

  /* ==========================================================================
     Helper classes
     ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
