
html, body {
    box-sizing: border-box;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    padding: 0;
    border: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    
    color: #00334b;
    text-decoration: none;
    margin: 10px;
}

h2 {
    font-family: 'Raleway', sans-serif;
}

img {
    width: 50px;
}
header {
    width: 100%;
    z-index: 100;
}

.header__container {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.header__container .header__logo {
    width: 230px;
    margin: 20px 10px ;
}

.header__container .header__logo img {
    width: 100%;    
}


.header__container  .header__btn {
    position: relative;
    width: 35px;
    height: 35px;
    margin: 30px 0;
}

.header__container  .header__btn span  {
    position: absolute;
    top:15px;
    height: 1px;
    width: 25px;
    background-color: #000000;
    border-radius: 5px;
}

.header__container  .header__btn span::before {
    content: "";
    position: absolute;
    display: block;  height: 1px;
    width: 25px;
    background-color: #000000;
    border-radius: 5px;
    top: -8px;
}

.header__container  .header__btn span::after {
    content: "";
    position: absolute;
    display: block;  height: 1px;
    width: 25px;
    background-color: #000000;
    border-radius: 5px;
    top: 8px;
}

.header__container nav {
    position: relative;
}

.header__container ul {
    list-style: none;
    opacity:0;
    max-height: 0px;
    position: absolute;

}

.header__container ul li {
    font-size: 16px;
    line-height: 18px;
    padding:  10px 50px;
    
}

.header__container ul li a {
    text-decoration: none;
}



/* active btn */

header.active .header__container ul {
    top: 60px;
    left: -205px;
    animation: btnToogle .3s forwards;
}


header.active .header__container ul li {
    border-top: 1px solid #252525;
    background-color: #000000;
}

header.active .header__container ul li a {
    color:#fff;
  
}


@media (min-width:992px) {

    header {
        position: fixed;
    }

    .header__container .header__logo {
        width: 320px;
    }

    .header__container {
        max-width: 1200px;
        margin: 0 auto;
    }

     .header__container ul {
        opacity: 1;
        max-height: 300px;
        position: relative;
        display: flex;
        top: 20px;
        z-index: 50;
    }


    .header__container ul li {
        position: relative;
        display: inline-block;
        overflow: hidden;
    }

    .header__container ul li a::after {
        content: "";
        height: 1px;
        width: 100%;
        display: block;
        background-color: #00334b;
        position: absolute;
        bottom: -5px;
        transform: translate(-200%,0);
        transition: .2s ease-in-out;
        
    }
    .header__container ul li a:hover::after {
        transform: translate(0,0);

    }
    

    .header__container .header__btn {
        display: none;
    }
    .header__container ul li {
        padding:10px 20px;
    }

    header .header__container ul li a {
        color:#00334b;
        text-transform: uppercase;
        position: relative;
    }

    .header.fixed {
        background-color: rgba(255,255,255,0.95);
        -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.1);
        -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,.1);
        box-shadow: 0 2px 5px 0 rgba(0,0,0,.1);
    }
}



@keyframes btnToogle {

    0% {
        opacity: 0;
        max-height:0;
    }

    50% {
        opacity: 0;
        max-height:300px;
    }

    100% {
        opacity: 1;
        max-height:300px;
        
    }
}


/* slider */


.home-slider {
    width: 100%;
    height: 100vh;
    background-image: url("./img/iqcorporation_first-2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: -1;
    overflow: hidden;
}

.home-slider .home-slider__container {
    width: 100%;
    position: absolute;
    top: 30%;
    transform: translate(100%, -50%);
    background-image: url("./img/bg_front.png");
    /* animation: animations-row 4s forwards; */
}

.home-slider .home-slider__container.animation {
    animation: animations-row 4s forwards infinite;
}

.home-slider__container h1 {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    text-align: center ;
    padding: 30px;
}

@media (min-width:768px) {
    .home-slider .home-slider__container {
        top: 40%;
    }

    .home-slider__container h1 {
        font-size: 26px;
    }
}

@keyframes animations-row {
    0% {
        transform: translate(100%,0);
    opacity:1
    }

    15% {
        transform: translate(0,0);
        opacity:1
    } 
    70% {
        transform: translate(0,0);
        opacity:1
    }
    100% {
        transform: translate(0,0);
        opacity:0;
    }
}



/* about */

main {
    width: 100%;
}

.main-container .about {
    width: 100%;
    margin: 60px auto;
}

.about .about__container {
    width: 80%;
    margin: 100px auto;
    max-width: 1200px;
}

.about .about__container h2 {
    font-weight: 500;
    color: #00334b;
    text-align: center;
    font-size: 32px;
    text-transform: uppercase;
    position: relative;
}

.about__container h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 50px;
    height: 1px;
    margin-left: -25px;
    background-color: #00334b;
}

.about .about__container p {
    color: #00334b;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    margin: 20px auto;
}

@media (min-width:768px) {

    .about .about__container h2 {
        margin: 60px 0;
    }
    .about .about__container p {
        font-size: 16px;
    }
}

/* Brands */

.brands {
    width: 100%;
    background-image: url("./img/second_bg_iqcorpo.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 10;
}

.brands__mask {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    opacity: 0.7;
    z-index: -1;
}

.brands__mask .brands__container {
    width: 80%;
    margin: 0 auto;
}

.brands__container h2 {
    color: #fff;
    text-align: center;
    padding: 70px 0;
    font-size: 32px;
    text-transform: uppercase;
}

.brands__container .brands__image-wapprer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 70px;
}

.brands__container .brands__image-wapprer .brands__single-brand {
    width: 180px;
    margin: 20px;
}

.brands__image-wapprer .brands__single-brand img {
    width: 100%;
}

@media (min-width:768px) {
    .brands__container .brands__image-wapprer {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Contact  */

.contact {
    width: 100%;
    margin: 100px 0;
}

.contact__container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__container h2 {
    text-align: center;
    font-size: 36px;
    color: #00334b;
    position: relative;
}

.contact__container h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 50px;
    height: 1px;
    margin-left: -25px;
    background-color: #00334b;
}

.contact__column {
    max-width: 380px;
    margin: 0 auto;
}

.contact__container i {
  font-size: 25px;
  color: #00334b;
  display: inline-block;
}

.contact__container p {
    display: inline-block;
    width: 80%;
    margin: 10px;
    color: #767676;
    font-size: 14px;
    line-height: 18px;
}

.contact__adress {
    display: flex;
    align-items: center;
}

.contact__vat {
    display: flex;
    align-items: center;
}


.contact__container a {
    color: #00334b;
    text-decoration: none;
    margin: 10px;
}

.contact__details {
    margin-top: 50px;
    margin-left: 30px;
}

.contact__details div {
    margin: 20px 0;
}

@media (min-width:768px) {


    .contact__container p,
    .contact__container a {
        font-size: 18px;
    }
}

@media (min-width:992px) {
    .contact__container {
        max-width: 1200px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

footer {
    padding: 15px 0;
    border-top: 1px solid #005f8c;
    color: #767676;
}

.container__footer {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.container__footer .sroll-up {
    cursor: pointer;
    position: fixed;
    bottom: 50px;
    right:30px ;
    background-color: #00334b;
}

.container__footer i {
   
    bottom: -45px;
    color: #fff;
    display: block;
    font-size: 22px;
    line-height: 35px;
    text-align: center;
    width: 40px;
    height: 40px;
    position: relative;
    top: 0;
    left: 0;
    font-size: 14   px;
}

.container__footer i::before {
 position: absolute;
    top: 5px;
    left: 13px;
    top: 3px;
    left: 10px;
}