/*** Mixins & Default Styles ***/

/*
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*/

::-webkit-scrollbar {
    display: none;
}


/*** Color Variables ***/


/*** Centering Hack ***/


/*** Header Styles ***/

header {
    /*  width: 100vw;*/
    /*  height: 100vh;*/
    /*  background: #5661F2;*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}


/*** Navigation Styles ***/

nav {
    width: 100vw;
    height: 160px;
    /*  background: #46B2F0;*/
    display: grid;
    grid-template-columns: 1fr 2.8fr 1fr;
    position: fixed;
    z-index: 100;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

nav.navShadow {
    -webkit-box-shadow: 0 4px 30px -5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 30px -5px rgba(0, 0, 0, 0.2);
    height: 100px;
    background: url(../img/top-panel-bg01.jpg);
}

nav.navShadow #word-mark {
    opacity: 0;
}

#brand,
#menu,
ul.top-menu,
.phone {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#brand {
    padding-left: 40px;
}

#logo {
    width: 252px;
    height: 71px;
    background: url(../img/logo.png) no-repeat;
    cursor: pointer;
}



/*
#word-mark {
  width: 120px;
  height: 20px;
  background: #fff;
  border-radius: 90px;
  margin-left: 20px;
  opacity: 1;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
*/


/*** Menu Styles ***/



#menu {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.phone {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-right: 40px;
}

/*
li {
  margin-left: 20px;
}
*/


/*
li a {
  width: 80px;
  height: 20px;
  background: #fff;
  display: block;
  border-radius: 90px;
}
*/

#menu-toggle {
    width: 55px;
    height: 55px;
    background: #1cb1ae;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

#menu-toggle:hover .bar {
    width: 25px;
}

#menu-toggle.closeMenu .bar {
    width: 25px;
}

#menu-toggle.closeMenu .bar:first-child {
    -webkit-transform: translateY(7px) rotate(45deg);
    transform: translateY(7px) rotate(45deg);
}

#menu-toggle.closeMenu .bar:nth-child(2) {
    -webkit-transform: scale(0);
    transform: scale(0);
}

#menu-toggle.closeMenu .bar:last-child {
    -webkit-transform: translateY(-7px) rotate(-45deg);
    transform: translateY(-7px) rotate(-45deg);
}

.bar {
    width: 25px;
    height: 2px;
    background: #fff;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.bar:nth-child(2) {
    width: 20px;
    margin: 5px 0;
}

.bar:last-child {
    width: 15px;
}


/*** Hero Section Styles ***/

#hero-section {
    width: 100vw;
    height: calc(100vh - 160px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 160px;
}

#head-line {
    width: 520px;
    height: 30px;
    background: #fff;
    border-radius: 90px;
    position: relative;
}

#head-line:before,
#head-line:after {
    content: '';
    height: 30px;
    border-radius: 90px;
}

#head-line:before {
    width: 360px;
    background: #fff;
    position: absolute;
    top: -60px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

#head-line:after {
    width: 200px;
    background: #fff;
    position: absolute;
    left: 50%;
    bottom: -60px;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}


/*** Section Styles ***/


/*
section {
  width: 100vw;
  height: calc(100vh - 100px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
section:nth-child(odd) {
  background: #FA6C98;
}
section:nth-child(even) {
  background: #79EDFC;
}

#heading {
  width: 120px;
  height: 20px;
  background: #fff;
  border-radius: 90px;
  margin-top: 40px;
}
*/


/*** Responsive Menu For Smaller Device ***/

@media screen and (max-width: 1600px) {
    
    .phone {
        font-size: 24px
    }
    
    #logo {
        width: 180px;
        height: 50px;
        background-size: 180px;
    }
    
    #menu ul li a {
        font-size: 14px
    }
    
    nav.navShadow {
        height: 70px;
    }
    
    nav {
        height: 130px;
    }
}


@media screen and (max-width: 1375px) {
    
    nav {
        grid-template-columns: 2fr 1fr 2fr;
    }
    
    .phone {
        font-size: 24px
    }
    
    #logo {
        width: 180px;
        height: 50px;
        background-size: 180px;
    }
    
    #menu ul li a {
        font-size: 14px
    }
    
    nav.navShadow {
        height: 70px;
    }
    
    #menu-toggle {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    
    ul.top-menu {
        display: inline-block;
        width: 40vw;
        height: 0;
        border-radius: 20px;
        background: #22c7c4;
        position: absolute;
        top: 160px;
        -webkit-transform: translate(, );
        transform: translate(, );
        -webkit-box-shadow: 0 5px 30px -4px rgba(0, 0, 0, 0.2);
        box-shadow: 0 5px 30px -4px rgba(0, 0, 0, 0.2);
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }
    
    ul.showMenu {
        height: auto;
    }
    
    ul.showMenu li {
        height: 50px;
        opacity: 1;
        visibility: visible;
    }
    
    li.a1 {
        width: 100%;
        height: 70px;
        float: left;
        opacity: 0;
        visibility: hidden;
        margin-left:0;
        text-align: center;
        -webkit-transition: all 0.3s 0.1s;
        transition: all 0.3s 0.1s;
    }
    
    li.a1:first-child {
        margin-top: 40px;
    }
    
    #menu ul li a {
        margin-right: 0;
        color: #fff;
    }

    #head-line {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
    
}


@media screen and (max-width: 767px) {
    #menu-toggle {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    ul.top-menu {
        display: inline-block;
        width: 60vw;
        height: 0;
        background: #22c7c4;
        position: absolute;
        top: 160px;
        -webkit-transform: translate(, );
        transform: translate(, );
        -webkit-box-shadow: 0 5px 30px -4px rgba(0, 0, 0, 0.2);
        box-shadow: 0 5px 30px -4px rgba(0, 0, 0, 0.2);
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }
    ul.showMenu {
        height: auto;
    }
    ul.showMenu li {
        height: 40px;
        opacity: 1;
        visibility: visible;
    }
    li.a1 {
        width: 100%;
        height: 80px;
        float: left;
        padding-left: 0px;
        opacity: 0;
        visibility: hidden;
        margin-left: 0;
        -webkit-transition: all 0.3s 0.1s;
        transition: all 0.3s 0.1s;
    }
    li.a1:first-child {
        margin-top: 30px;
    }
    
    #menu ul li a {
        margin-right: 0;
        color: #fff;
    }
    #head-line {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
}


@media screen and (max-width: 610px) {

    .phone {
        font-size: 21px
    }
    
    #logo {
        width: 160px;
        height: 45px;
        background-size: 160px;
    }
    
}


@media screen and (max-width: 590px) {

    .phone {
        font-size: 18px
    }
    
    #logo {
        width: 140px;
        height: 40px;
        background-size: 140px;
    }
    
}

@media screen and (max-width: 320px) {

    nav {
/*        width: 100vw;*/
        height: 70px;
        display: block;
/*        position: fixed;*/
/*        z-index: 10;*/
/*        -webkit-transition: all 0.3s;*/
/*        transition: all 0.3s;*/
    }
    
    #brand,
    #menu,
    ul.top-menu,
    .phone {
        display: block;
    }

    .phone {
        display: none;
    }
    
    #logo {
        width: 120px;
        height: 34px;
        background-size: 120px;
    }
    
    #brand {
        padding-left: 20px;
        padding-top: 20px;
        width: 230px;
        float: left;
    }
    
    #menu {
        padding-top: 8px;
    }
    
    ul.top-menu {
        top: 100px;
        left: 20%
    }
    
}











