/*
--------------------------------------------------------* 

[Boots4, Main Stylesheet ]

    Name         : Boots4 - Responsive Onepage Resume Template for bootstrap 4

    Version      :  4.0.0-alpha (http://getbootstrap.com)

    Author       :  Technext

--------------------------------------------------------

   TABLE OF CONTENTS:
  ====================

    1 ) Font Import From Google Fonts

    2 ) Preloader Styles

    3 ) General Rulas

    4 ) Homepage Styles

        - ( a ) Homepage
        - ( b ) Introduction Section
        - ( c ) Navigation Menu

    5 ) Close Button

    6 ) General Rules for Content Pages Fixed Image

    11 ) Footer

--------------------------------------------------------
*/

                    /*-----------------------------------
                       1 ) Font Import From Google Fonts
                      -----------------------------------*/

@import url(https://fonts.googleapis.com/css?family=Raleway:400,100,300,500);
@import url(https://fonts.googleapis.com/css?family=Playfair+Display:400,700,900);
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);

                    /*----------------------
                       2 ) Preloader Styles
                      ----------------------*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #579BD9;
    z-index: 10000;
}

.loader{
    position: absolute;
    width: 42px;
    height: 42px;
    animation: preloader_6 5s infinite linear;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
}
.loader span{
    width:20px;
    height:20px;
    position:absolute;
    background:red;
    display:block;
    animation: preloader_6_span 1s infinite linear;
}
.loader span:nth-child(1){
    background:#3498db;
}
.loader span:nth-child(2){
left:22px;
background:#000;
    animation-delay: .2s;
 
}
.loader span:nth-child(3){
top:22px;
background:#fff;
    animation-delay: .4s;
}
.loader span:nth-child(4){
top:22px;
left:22px;
background:#133074;
    animation-delay: .6s;
}
@keyframes preloader_6_span {
   0% { transform:scale(1); }
   50% { transform:scale(0.5); }
   100% { transform:scale(1); }
}

                    /*-------------------
                       3 ) General Rulas
                      -------------------*/

html {
    font-size: 16px;
}

body {
    font-size: 1em;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #343333;
}

html,
body,
textarea,
button,
input {
    /*font-family: 'Playfair Display', serif;*/
    font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    /*font-family: 'Raleway', sans-serif;*/
}

p {
    /*font-size: 14px;*/
    font-size: 1em;
    line-height: 1.42;
}

h1 {
    /*font-size: 63px;*/
    font-size: 5.063em;
    font-weight: 400;
}

h2 {
    font-size: 3.375em;
    font-weight: 400;
}

h2.small-heading {
    padding: 60px 0 10px 0;
    font-size: 2.25em;
    margin-bottom: 60px;
    position: relative;
    display: block;
    text-align: center;
}

h2.small-heading::after {
    position: absolute;
    font-family: 'FontAwesome';
    font-size: 35px;
    content: "\f107";
    left: 48%;
    bottom: -28px;
    color: #073a63;
    background-color: #ffffff;
    padding: 0px 8px;
}

h2.small-heading::before {
    position: absolute;
    bottom: -10px;
    content: "";
    height: 2px;
    background-color: #073a63;
    display: block;
    width: 23%;
    left: 38%;
}

h3 {
    font-size: 2.25em;
    font-weight: 400;
}

body {
    overflow-x: hidden;
}
/*---------------------
   4 ) Homepage Styles
  ---------------------*/

/* ( a ) Homepage */

.home-page {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
}

/* ( b ) Introduction Section */

.introduction {
    float: left;
    padding: 0;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.introduction img {
    width: 100%;
}

.mask {
    width: 100%;
    height: 100%;
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.48);
}

.intro-content {
    /*font-family: 'Playfair Display', serif;*/
    position: relative;
    z-index: 10;
    top: 25%;
    display: table;
    margin: 0 auto;
    width: 70%;
    /*-webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);*/
}

.intro-content h1 {
    color: #4b4b4b;
    display: block;
    font-family: 'Playfair Display', serif;
    padding-left: 50px;
    font-size: 35px;
    font-weight: 700;
}

.intro-content span {
    color: #6f5499;
    font-size: 135px;
    font-weight: 700;
    line-height: 0px;
    letter-spacing: 1px;
}

.intro-content span.number {
    font-size: 15em;
}

.intro-content .slogan-text {
    font-weight: 400;
    font-size: 25px;
    padding-left: 60px;
}

.social-media {
    font-size: 25px;
    margin-top: 10px;
    text-align: center;
}

.social-media a {
    text-decoration: none;
    outline: 0 none;
    padding: 0 10px;
}

.social-media a + .tooltip > .tooltip-inner {
    background-color: transparent;
    color: #579BD9;
    font-size: 16px;
}
.social-media a + .tooltip > .tooltip-arrow {
    border-bottom-color: transparent;
}

/*Bootstrap tooltips Customized*/

/* ( c ) Navigation Menu */

.menu {
    float: left;
    padding: 0;
    position: relative;
    background: #000;
}

.menu > div {
    width: 50%;
    height: 50%;
    overflow: hidden;
    float: left;
    position: relative;
    cursor: pointer;
}

.menu > div > img {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: -webkit-transform 1s linear;
    -moz-transition: -moz-transform 1s linear;
    -ms-transition: -ms-transform 1s linear;
    -o-transition: -o-transform 1s linear;
    transition: transform 1s linear;
}

.menu > div:hover > img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.heading {
    position: relative;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.heading i {
    background: transparent;
    border-radius: 50%;
    border: 1px solid #ffffff;
    color: #ffffff;
    display: block;
    font-size: 25px;
    height: 60px;
    line-height: 60px;
    margin: auto auto 10px;
    text-align: center;
    /*box-shadow: 0 0 0 0 rgba(256, 256, 256, 0.2);*/
    width: 60px;
    -webkir-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.menu > div:hover .heading i {
    box-shadow: 0 0 0 50px rgba(256, 256, 256, 0);
}

.menu > div h2 {
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 35px;
    font-weight: 100;
    text-align: center;
    margin: 0;
    /*opacity: 0.8;*/
    letter-spacing: 1px;
}

.menu > div h2 span {
    color: #579BD9;
}
/*------------------
   5 ) Close Button
  ------------------*/
.close-btn {
    background: url(../img/close.png);
    z-index: 1000;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: fixed;
    right: 3%;
    top: 30px;
    background-size: cover;
}
/*-------------------------------------------------
   6 ) General Rules for Content Pages Fixed Image
  -------------------------------------------------*/
.page{
    display: none;
}

.full-height {
    min-height: calc(100vh - 68px);
}

.profile-page,
.service-page,
.portfolio-page,
.contact-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.image-container {
    height: 100vh;
    position: fixed;
    padding: 0;
    overflow: hidden;
    right: 0;
}

.main-heading {
    position: absolute;
    -ms-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    left: 10%;
    transform-origin: left;
    -webkit-transform-origin: left;
    -moz-transform-origin: left;
    -ms-transform-origin: left;
    -o-transform-origin: left;
    bottom: 40%;
}

.main-heading h1 {
    color: #fff;
    font-size: 50px;
    position: relative;
    text-transform: capitalize;
    text-align: left;
}

/*.main-heading h1:after {
    background-color: #579BD9;
    position: absolute;
    content: "";
    top: 100%;
    left: 0;
    width: 400px;
    height: 6px;
}*/

.content-container {
    left: 0;
    position: relative;
    padding: 0;
    background: #ffffff;
}
.content-container img{
    max-width: 100%;
}
/*-------------
   11 ) Footer 
  -------------*/
footer{
    padding: 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #579BD9;
    color: #fff;
}
footer a{
    color: #fff;
}
footer a:hover{
    color: #000;
}
.footer {
    padding: 20px 0px 10px 0px;
}

.footer .copyright {
    color: #fff;
    float: left;
}
.footer .author {
    float: right;
    line-height: 1;
    color: #fff;
}

.footer a {
    text-decoration: none;
    color: #000;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

.footer a:hover {
    color: #f4f4f4;
}
#icon_facebook:hover{
    color: #425F9C
}
#icon_email:hover{
    color: #DD4B39;
}
/*=============================================
                Media query
===============================================*/

@media (max-width: 1056px) and (min-width: 992px) {
    .main-heading h1 {
        font-size: 45px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .intro-content h1 {
        padding-left: 30px;
    }

    .intro-content span {
        font-size: 100px;
    }

    .intro-content span.number {
        font-size: 12em;
    }

    .intro-content .slogan-text {
        padding-left: 21px;
        margin-top: 22px;
    }

    .main-heading h1 {
        font-size: 35px;
    }
}

@media (max-width: 767px) {
    .introduction {
        text-align: center;
        z-index: 9999;
        background-color: #fff;
    }

    .intro-content {
        top: 20%;
    }

    .intro-content h1,.intro-content .slogan-text{
        margin-bottom: 12px;
        padding-left: 0px;
    }

    .intro-content span {
        font-size: 75px;
    }

    .intro-content span.number {
        font-size: 9em;
    }

    .intro-content .slogan-text {
        margin-top: 22px;
    }

    .close-btn {
        background: url(../img/close_sm.png);
    }

    .footer .copyright {
        float: none;
        text-align: center;
        margin-bottom: 10px;
    }

    .footer .author {
        float: none;
        text-align: center;
    }
}
@media (max-height: 400px) {
    .introduction{
        height: auto !important;
    }
    footer{
        position: relative;
        margin-top: 10px;
    }
    .home-page{
        overflow-y: auto;
    }
    .menu > div{
        height: 150px;
    }
}