body {
    margin: 0;
    /* font-family: 'Raleway', sans-serif;*/
    font-family: 'Cabin', sans-serif;
    font-size: 16px;
    color: #8c9196;
    -webkit-font-smoothing: antialiased;
    /* background-color: #fff; */
    /* background-color: #fff; */
    
    /* background-repeat: no-repeat; */
    background-size: contain, cover;
    }

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    margin: 0 0 10px;
}


/* Container
===================*/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header
===================*/

.header {
        width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid #fad73f;
    background-color: #5a266d8f;
}

.header.fixed {
    height: auto;

    position: fixed;

    background-color: #381644;
    border-bottom: 2px solid #ffc107;
}

.header.fixed .header__inner {
    padding-top: 5px;
    padding-bottom: 5px;

    border-bottom: 0;
}
.header .fixed .header__inner .header__logo img{
    max-height: 35px;
    width: auto;
}
.header__logo img{
    max-height: 50px;
    width: auto;
    z-index: 1;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;

    
}


/* Nav
===================*/

.nav {
    display: flex;
    font-family: 'Cabin', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.nav__link {
    margin-left: 50px;

    color: #fff;
    text-decoration: none;
    opacity: 1;

    transition: opacity .1s linear;
}

.nav__link:first-child {
    margin-left: 0;
}

.nav__link:hover, .nav__link:focus, .nav__link:active {
    opacity: 1;
    color: #f4c300;
}


/* Burger */
.burger {
    display: none;
    padding: 9px 2px;

    background: none;
    border: 0;
    cursor: pointer;
}

.burger__item {
    display: block;
    width: 28px;
    height: 3px;

    background-color: #fff;

    font-size: 0;
    color: transparent;

    position: relative;
}

.burger__item:before,
.burger__item:after {
    content: "";
    height: 100%;

    background-color: #f4c300;

    position: absolute;
    right: 0;
    z-index: 1;
}

.burger__item:before {
    width: 30px;
    top: -8px;
}

.burger__item:after {
    width: 26px;
    bottom: -8px;
}


/* Intro
===================*/
.head_video {
  object-fit: cover;
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    height: 100vh;
    /* padding-top: 50px; */ 
    background-color: #031f35;
    
    z-index: 1;
}



.intro__inner {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;

    text-align: center;
}
.intro__inner img{
    width: 100%;
    max-width: 500px;
    height: auto;
}
.intro__title {
    margin: 0 0 30px;

    font-family: 'Open Sans', sans-serif;
    font-size: 25px;
    line-height: 1.1;
    color: #fff;
    font-weight: 500;
    
    
}

.intro__social {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    align-content: stretch;

}
.intro__ico {
    margin-right: 20px;
    
    
}
.intro__ico img{
    margin-top: 10px;
    width: 100%;
    max-width: 40px;
    height: auto;
    
    
} 
.intro__subtitle {
    margin-bottom: 60px;

    font-size: 22px;
    color: #fff;
    line-height: 1.5;
    font-weight: 400;
}
.video-container {
    overflow: hidden;
    position: relative;
    width:100%;
    margin-top: 15px;
    
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.team .video-container {
    overflow: hidden;
    position: relative;
    width: 50%;
    margin-top: 15px;
    margin: 0 auto;
    margin-bottom: 35px;
    }
.ytp-title-text {
    display: none;
}
.bar1{
    width: 200px;
    height: 5px;
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translateX(-50%);
    background-color: #ffc107; 
    border-radius: 0px 0px 10px 10px;
    display: none;
    animation: bar1 0.5s;
}
.features__item:hover{
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.6);
    transition: all ease 0.8s;
}

.features__item:hover .bar1{
    display: block;
}
.team__item:hover .bar1{
    display: block;
}
@keyframes bar1{
    0%{
        width:0px;
    }
    100%{
        width:200px;
    }
}



/* Team
===================*/
#team {
    background: #31344e url(../img/4.jpg) center no-repeat;
    background-size: cover;
}
#team2 {
    background: #31344e url(../img/3.jpg) center no-repeat;
    background-size: cover;
    
    
}
#team3 {
    background: #31344e url(../img/5.jpg) center no-repeat;
    background-size: cover;
    
}
#team4 {
    background: #31344e url(../img/2.jpg) center no-repeat;
    background-size: cover;
    
}
#team5 {
    background: #31344e url(../img/bg61.jpg) center no-repeat;
    background-size: cover;
    
}
.team {
    padding: 55px 25px;
}
.team_video {
    position: relative;
 }
.team__title {
    margin-bottom: 30px;
    text-align: center;
    
    color: #ffffff;
    font-weight: 700;
}
.team__inner {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    justify-content: space-around;
}

.team__item {
    width: 24%;
    padding: 15px 15px;
    margin-bottom: 30px;
    z-index: 1;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.4);
    border-radius: 10px;
    position: relative;
}

.team__item:hover{
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.7);
    transition: all ease 0.8s;
}
.team__photo {
    display: block;
    /* max-width: 100%; */
    /* max-height: 150px; */
    /* width: auto; */
    border: solid;
    border-color: #881f6a;
    margin-bottom: 20px;
}

.team__name {
    margin-bottom: 8px;

    font-size: 22px;
    color: #ffffff;
}

.team__prof {
    margin-bottom: 15px;

    font-size: 13px;
        color: #f3f3f3;
    text-transform: uppercase;
}

.team__text {
    margin-bottom: 20px;

    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
}



#section07 a {
    padding-top: 0px;
    margin-top: 0px;
}
#section07 a span {
      position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 4px solid #ffffff;
    border-bottom: 4px solid #ffffff;
    -webkit-transform: rotate(
-45deg
);
    transform: rotate(
-45deg
);
    -webkit-animation: sdb07 2s infinite;
    animation: sdb07 2s infinite;
    opacity: 0;
    box-sizing: border-box;
}
#section07 a span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
#section07 a span:nth-of-type(2) {
  top: 16px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}
#section07 a span:nth-of-type(3) {
  top: 32px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}
@-webkit-keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


.demo a {
  
  bottom: 20px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  font : normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
.demo a:hover {
  opacity: .5;
}




/* Copyright
===================*/

.copyright {
    padding: 20px 0;
    background-color: #031f35;
}

.copyright__text {
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: #808080;
}

.copyright__text span {
    color: #fff;
}




/* Media
===================*/
@media (max-width: 1024px) {
    .team__item {
        width: 45%;

        text-align: center;
    }

}
@media (max-width: 990px) {

    /* Nav */
    .nav {
        
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #441b52;
        text-align: center;
        align-items: center;
        position: absolute;
        font-size: larger;
        top: 0;
        right: 0;
        padding: 20px 0;
    }
    .fixed .nav {
        
        top: 103%;
        
    }
    .nav.show {
        display: flex;
    }

    .nav__link {
        
        padding: 15px 15px;
        margin-left: 0px;
        color: #fff;
        text-decoration: none;
        opacity: 1;
        transition: opacity .1s linear;
    }

    /* Burger */
    .burger {
        display: block;
    }

    .header__inner {
    
    border-bottom: 0px solid #fad73f;
    }

    /* Intro */
    .intro__title {
        font-size: 40px;
    }

    /* Features */
    .features__item {
        width: 45%;
    }

    /* Team */
    .team__item {
        width: 45%;

        text-align: center;
    }

    .team__photo {
        margin-left: auto;
        margin-right: auto;
    }

    /* Team */
    .social {
        justify-content: center;
    }

    /* Reviews */
    .reviews__photo {
        width: 100%;
        margin: 15px 0 40px;
        overflow: hidden;
    }

    .reviews__content {
        width: 100%;
        padding-left: 0;
        padding-bottom: 40px;
    }
    
}
@media (max-height: 700px) {
    .video-container {
    
    width: 80%;
    margin-top: 15px;
    margin: 0 auto;
    }
   
}
@media (max-height: 560px) {
    .video-container {
    
    width: 60%;
    
    }

}
@media (max-height: 400px) {
    #section07 {
    
    display: none;
    
    }

}


@media (max-width: 860px) {
    .intro__inner img{
   
    max-width: 500px;
    
    }
    .intro__title {
    margin: 0 0 30px;

    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
   
    font-weight: 400;
    
    
    }

    .intro__ico img{
    margin-top: 10px;
    max-width: 30px;
    } 
}

@media (max-width: 740px) {
    .intro__inner img{
   
    max-width: 200px;
    
    }
    .intro__title {
    margin: 0 0 30px;

    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
   
    font-weight: 400;
    
    
    }

    .intro__ico img{
    margin-top: 10px;
    max-width: 30px;
    } 
    .team__item {
    width: 100%;
}
}
@media (max-width: 400px) {
    .intro__inner img{
   
    max-width: 250px;
    
    }
    .intro__title {
    margin: 0 0 10px;

    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
   
    font-weight: 300;
    
    
    }
     .intro__ico img{
    margin-top: 10px;
    max-width: 25px;
    }
}