/*------------------------------------------------------------------
[Media Queries Stylesheet]

Author: AtypicalThemes
Template: Nixo - Creative Agency OnePage.
Version:	1.0
Last change:	07/01/2017

-------------------------------------------------------------------

/* --------------------------- /////////// MEDIA QUERIES /////////// --------------------------- */
@media (min-width : 320px) {
    .card {
        margin: 20px auto;
    }
}
/* Smartphones < 640px ----------- */
@media (min-width : 320px) and (max-width : 639px) {
    .hero-caption {
        border: none;
    }
    .tagline {
        font-size: 2.5rem;
    }
    .content-block i {
        display: none;
    }
    .content-block i.align-right {
        display: none;
    }
    #logo {
        padding-left: 20px;
    }
    h1.tagline {
        font-size: 1.5rem;
    }
    .hero-tags {
        font-size: 0.9375rem;
    }
}
/* High End Smartphones (portrait and landscape) ----------- */
@media (min-width : 640px) and (max-width : 1024px) {
    .card {
        width: 40%;
        float: left;
        margin-left: 40px;
    }
} 
/* Medium devices ----------- */
@media (min-width : 992px) and (max-width : 1200px) {
    .card {
        float: left;
        width: 300px;
        margin-left: 125px;
    }
    .form-group {
        padding-right: 5px;
        padding-left: 10px;
    }
}
/* High end tablet and small desktop ----------- */
@media (max-width : 1024px) {
    .container {
        padding: 0 5% 0 5%;
    }
    .hero-caption {
        margin-top: 25%;
    }
    .tagline {
        font-size: 2rem;
    }
    .section-heading {
        padding: 0 5% 0 5%;
    }
    #about-section .animation-element {
        margin-bottom: 6em;
    }
    #about-section .animation-element:last-child {
        margin-bottom: 0;
    }
    .add-service-wrap {
        width: 100%;
    }
    .testimonial-img {
        left: 27%;
        width: 18%;
    }
    .testimonial-name-wrapper {
        left: 50%;
    }
    .testimonial-name {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    input {
        margin-bottom: 20px;
    }
    #footer {
        height: auto;
    }
    #copyright {
        text-align: center;
        float: none;
    }
    .social-links {
        float: none;   
        margin-bottom: 20px;
        text-align: center;
        padding: 0;
    }
    .large-margin {
        margin-bottom: 6em; /* 100px */
    }


}

.hero-tags {
    color: #ffffff;
}
.tagline {
    color: #ffffff;
}
.hero-caption {
    background-color: rgba(0,0,0,0.4);
    border: none;
}


@media (min-width: 1200px) {

    .card {
        margin-left: 25px;
    }
    .positioning-we-are {
        position:absolute;
        top:12%;
        left:50%;
        transform:translate(-50%, -50%);
        width:50%;
    }
}

@media (max-width: 1199px) and (min-width: 1024px){
    .positioning-we-are {
        position:absolute;
        top:3%;
        left:50%;
        transform:translate(-50%, -50%);
        width:50%;
    }
}

@media (max-width: 991px) {
    #skills-text .short-hr-left::after {
        margin: 10px auto 10px auto;
    }
    #skills-text h2 {
        text-align: center;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .positioning-we-are {
        position:absolute;
        top:4%;
        left:50%;
        transform:translate(-50%, -50%);
        width:50%;
    }
}
@media (min-width: 641px) and (max-width: 767px) {
    .positioning-we-are {
        position:absolute;
        top:14%;
        left:50%;
        transform:translate(-50%, -50%);
        width:50%;
    }
}
@media (max-width: 640px) {
    .hero-caption {
        margin-top: 15%;
    }
    #particles-js {
        height: 280px;
    }
}

@media (max-width: 568px) {
    .hero-caption {
        margin-top: 18%;
    }
    #particles-js {
        height: 280px;
    }
}
@media (max-width: 500px) {
    .positioning-we-are {
        position:absolute;
        top:4%;
        left:50%;
        transform:translate(-50%, -50%);
        width:50%;
    }
    #particles-js {

        height: 280px;

    }
}
@media (min-width: 420px) and (max-width: 500px) {

    .positioning-we-are {
        position:absolute;
        top:10%;
        left:50%;
        transform:translate(-50%, -50%);
        width:50%;
    }
}
@media (max-width: 420px)  {
    #particles-js {
        background-image: none;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 50% 50%;
        height: 280px;

    }
    .positioning-we-are {
        transform:translate(-50%, -50%);
        width:100%;
    }

    .hero-tags {
        color: #000;
    }
    .tagline {
        color: #000;
    }
    .hero-caption {
        margin-top: 165px;
        /*background-color: #ffffff;*/
        background-color: #ffffff;
        border: none;
    }
}


