@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,700');

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    color: #222;

}

.navbar {
    padding: .8rem;
    border-bottom: 1px solid #b4b4b4;
    /* position: fixed; 
    top: 0;
    width: 100%; */

}
.navbar-nav li {
    padding-right: 20px;
}
.nav-link {
    font-size: 1.1em !important;
}

.navbar-brand img {
    max-width: 50px;
}

.full-width {
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
	position: relative;
	right: 50%;
	width: 100vw;
}

/* This shit have to be modified when it comes to small screen size */
.carousel-inner img {
    width: 100%;
    height: 100%;
}

.carousel-caption {
    /* position: absolute; */
    color: #e54d26;
    top: 50%;
    transform: translateY(-50%);
}
.carousel-caption h1 {
    font-size: 500%;
    text-transform: uppercase;
    text-shadow: 1px 1px 15px #000;
}
.carousel-caption h3 {
    font-size: 200%;
    font-weight: 500;
    text-shadow: 1px 1px 10px #000;
    padding-bottom: 1rem;
}

.btn-primary {
    background-color: #7157bb;
    border: 1px solid #563d7c;

}
.btn-primary:hover {
    background-color: #563d7c;
    border: 1px solid #563d7c;
}

.jumbotron {
    padding: 1rem;
    border-radius: 0;
}

.padding {
    padding-bottom: 2rem;
}
.welcome {
    width: 75%;
    margin: 0 auto;
    /* padding-top: 2rem; */
}
.welcome hr{
    border-top: 2px solid #b4b4b4;
    width: 55%;
    margin-top: .3rem;
    margin-bottom: 1rem;
}
.fa-code {
    color: #e54d26;

}
.fa-bold {
    color: #563d7c;

}
.fa-css3 {
    color: #2163af;
}
.fa-code, .fa-bold, .fa-css3 {
    font-size: 4em;
    margin: 1rem;
}

.fun {
    width: 100%;
    margin-bottom: 2rem;

}
.gif{
    max-width: 100%;
}

.social a{
    font-size: 4.5em;
    padding: 3rem;
}

.fa-facebook {
    color: #3b5998;
}

.fa-linkedin {
    color: #0077B5;
}
.fa-youtube {
    color: #bb0000;
}
.fa-user {
    color: #222;
}
.fa-user:hover,
.fa-facebook:hover,
.fa-linkedin:hover,
.fa-youtube:hover {
    color: #d5d5d5;
}
/* left and righ of a post */
.post-text{
    padding-left: 20%;
    padding-right: 20%;
}
footer {
    background-color: #3f3f3f;
    color: #d5d5d5;
    /* padding-top: 2rem; */
}
/* Page title */
.break-navbar{
    margin-top: 70px;
}
#back-to-top {
    position: fixed;
    bottom: 3em;
    right: 3em;
    background-color: rgb(255, 255, 255, .9);
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 1em;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 0 2em 0 rgba(0, 0, 0, .25);
    transition: all .3s ease-in-out;
    display: inline-block;
    opacity: 0;
    text-decoration: none;
    font-size: 0.75em;
}
#back-to-top:hover{
    background-color: #fff;
    padding: 1em 3em;
}
#back-to-top.visible {
    opacity: 1;
}


/* Media queries */
@media (max-width: 992px){
    li.nav-item{
        padding-right: 0px;
    }
    .social a {
        font-size: 4em;
        padding: 2rem;
    }
    .carousel-caption {
        top: 50%;
    }
    .carousel-caption h1 {
        font-size: 350%;
    }
    .carousel-caption h3 {
        font-size: 140%;
        font-weight: 400;
        padding-bottom: .2rem;
    }
    .display-4 {
        font-size: 300%;
    }
    /* left and righ of a post */
    .post-text{
        padding-left: 10%;
        padding-right: 10%;
    }

}

@media (max-width: 768px){
    .carousel-caption {
        top: 45%;
    }
    .carousel-caption h1 {
        font-size: 350%;
    }
    .carousel-caption h3 {
        font-size: 140%;
        font-weight: 400;
        padding-bottom: .2rem;
    }
    .carousel-caption btn {
        font-size: 95%;
        padding: 8px 14px;
    }
    .display-4 {
        font-size: 200%;
    }
    .social a {
        font-size: 2.5em;
        padding: 1.2rem;
    }
    .col-sm-12 h2{
        text-align: center;
    }
    .btn-primary {
        display: block;
        margin: auto;
        text-align: center;
    }
    /* left and righ of a post */
    .post-text{
        padding-left: 5%;
        padding-right: 5%;
    }
}
@media (max-width: 624px){
    .carousel-caption {
        top: 40%;
    }
    .carousel-caption h1 {
        font-size: 250%;
    }
    .carousel-caption h3 {
        font-size: 110%;
    }
    .carousel-caption btn {
        font-size: 90%;
        padding: 4px 8px;
    }
    .carousel-indicators {
        display: none;
    }
    .display-4 {
        font-size: 160%;
    }
    .social a {
        font-size: 2em;
        padding: 1rem;
    }
    /* left and righ of a post */
    .post-text{
        padding-left: 0;
        padding-right: 0;
    }

}
@media (max-width: 510px){
    .carousel-caption {
        top: 30%;
        transform: translateY(0);
    }
    .carousel-caption h1 {
        font-size: 150%;
    }
    .carousel-caption h3 {
        font-size: 15px;
    }
    .carousel-caption .btn-primary {
        font-size: 15px;
        padding: 2px 2px;
    }
    .carousel-indicators {
        display: none;
    }
    .display-4 {
        font-size: 140%;
    }
    .social a {
        font-size: 2em;
        padding: 1rem;
    }

}

/* Firefox bug fix */
.carousel-item {
    transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;

}

/* Fixed background image */
figure {
    position: relative;
    width: 100%;
    height: 60%;
    margin: 0 !important;
}

.fixed-wrap{
    clip: rect(0, auto, auto, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#fixed {
    /* background-image: url(img/background.png); */
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    will-change: transform;
}

/* Bootstrap padding fix */
[class*="col-"] {
    padding: 1rem;
}