@import "font.css";

/*
*reset
**/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	/*vertical-align: baseline;*/
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

html,body{
	height: 100%;
	min-height: 100%;
    color: #6f6b7d;
}

body{
   	font-family: r;
    font-size: 16px;
    line-height: 1.3em;
	min-height:100%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	background: #fff;
}

b,strong,h1,h2,h3,h4,h5,h6{
	font-family: b;
}

h1, h2, p{
	width: 100%;
}

ul, ul li, ul li ul {
	list-style: none;
	margin: 0;
}

a{
	text-decoration: none;
    color: #254ef6;
    /*all: unset;*/
}

input,textarea, select{
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	font-family: r;
	padding: 0;
	margin: 0;
	color: #6f6b7d;
	border: 1px solid #dbdade;
	border-radius: 4px;
    font-size: 16px;
}

input[type='text'],
input[type='password'],
input[type='email'],
textarea{
	height: 42px;
	padding: 4px 8px;
}

select{
    height: 42px;
    padding: 4px 8px;
}

::placeholder {
  color: #ccc;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
  color: #ccc;
}

img{
	display: inline-block;
	width: 100%;
	height: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

.form label,
input[type='text'],
input[type='password'],
input[type='email'],
textarea,
.form select{
	display: block;
	width: 100%;
}

.form p{
    display: block;
    margin-bottom: 22px;
}

.form label{
    margin-bottom: 4px;
    font-family: b;
}

.blue_button{
    display: inline-block;
    color: #fff;
    background-color: #2a4ff6;
    padding: 10px 20px;
    border-radius: 20px;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.5s ease;
    text-align: center;
    border: 0;
}

.blue_button:hover{
    transition: background-color 0.5s ease;
    background-color: #1037e8;
    
}

.blue_button:active{
    position: relative;
    top: 1px;
}

.white_button{
    display: inline-block;
    color: #2a4ff6;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.5s ease;
    text-align: center;
    border: 0;
}

.white_button:hover{
    transition: background-color 0.5s ease;
    background-color: #f9f9f9;
    
}

.white_button:active{
    position: relative;
    top: 1px;
}

/*
** Burger Style: @see: https://codepen.io/CreativeJuiz/full/oMZNXy
*/
/* Main menu positionning */
header .mnav {
    position: absolute;
    width: 100%;
    height: auto;
    background: #FFF;
    right: 0;
    top: 0;
    z-index: -1;
}

.main-nav {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    text-align: center;
    background: #FFF;
    opacity: 0;
    z-index: 99;
    visibility: hidden;
    transition: all .375s;
}

.main-nav.is-open {
    opacity: 1;
    z-index: 100;
    visibility: visible;
}

/* Yellow band effect */
.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -15px;
    background: #2a4ff6;
    transform-origin: 0 0;
    transform: skew(-14deg) translateX(-120%);
    transition: all .275s .1s;
}

.main-nav.is-open::before {
    transform: skew(-14deg) translateX(0);
}

/* Skewing effect on menu links */
.main-nav ul {
    display: inline-flex;
    flex-direction: column;
    height: 93%; /* Should be 100%, but we have a notice message :D */
    align-items: flex-end;
    justify-content: center;
    transform: translateX(-18%) skew(-16deg);
}

.main-nav li {
    display: block;
    margin: .5rem 0;
    text-align: right;
    transform: skew(16deg);
}

/* Apparition effect on links */
.main-nav a {
    opacity: 0;
    transform: translateY(-10px);
}

.main-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
}
.main-nav li:nth-child(1) a {
    transition: all 275ms 175ms
}
.main-nav li:nth-child(2) a {
    transition: all 275ms 225ms
}
.main-nav li:nth-child(3) a {
    transition: all 275ms 275ms
}
.main-nav li:nth-child(4) a {
    transition: all 275ms 325ms
}
.main-nav li:nth-child(5) a {
    transition: all 275ms 375ms
}


/* Decoration */
.main-nav ul,
.main-nav li {
    list-style: none;
    padding: 0;
}
.main-nav a {
    display: block;
    padding: 12px 0;
    color: #fff;
    font-size: 1.4em;
    text-decoration: none;
    font-weight: bold;
}

/* Burger Style: @see: https://codepen.io/CreativeJuiz/full/oMZNXy */
.open-main-nav {
    z-index: 9999;
    position: absolute;
    top: 18px;
    padding-top: 20px;
    right: 10px;
    z-index: 1000;
    background: none;
    border: 0;
    cursor: pointer;
}
.open-main-nav:focus {
    outline: none;
}

.burger_button {
    position: relative;
    display: block;
    width: 28px;
    height: 4px;
    margin: 0 auto;
    background: #2a4ff6;
    transform: skew(5deg);
    transition: all .275s;
}

.burger_button:after,
.burger_button:before {
    content: '';
    display: block;
    height: 100%;
    background: #2a4ff6;
    transition: all .275s;
}

.burger_button:after {
    transform: translateY(-12px) translateX(-2px) skew(-20deg);
}

.burger_button:before {
    transform: translateY(-16px) skew(-10deg);
}

/* Toggle State part */


.is-open .burger_button {
    transform: skew(5deg) translateY(-8px) rotate(-45deg);
    background: #fff;
}

.is-open .burger_button:before {
    transform: translateY(0px) skew(-10deg) rotate(75deg);
    background: #fff;
}

.is-open .burger_button:after {
    transform: translateY(-12px) translateX(10px) skew(-20deg);
    opacity: 0;
    background: #fff;
}

/* MENU Text part */

.burger_button-text {
    display: block;
    font-size: .675rem;
    letter-spacing: .05em;
    margin-top: .5em;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    color: #fff;
    color: #fff;
}

/*
* .lnav
*/
.lnav{
    display: none;
}


/*
** template
*/
h2{
    font-size: 1.5em;
    line-height: 1.2em;
}

.wrapper{
	display: block;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;

	/*padding: 0 22px;
	margin-top: 20px;
	padding-bottom: 20px;*/
}

.wrapper:after{
	content: "";
	display: table;
	clear: both;
}

header{
    z-index: 99;
    display: block;
    position: fixed;
    top: 0;
    background: #fff;
    width: 100%;
    height: 60px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;   
}

header .logo{
    height: 1px;
}

header .logo a{
    position: relative;
    display: block;
    top: 20px;
}

header .logo{
    width: 110px;
}

header .logo img{
    width: 100%;
    height: auto;
}

section.container{
    margin-top: 80px;
}

footer{
    padding: 30px 0;
    padding-bottom: 15px;
    background: #2a4ff6;
    color: #fff;
    text-align: center;
}

footer a{
    color: #fff;
}

footer .company{
    border-bottom: 1px solid #fff;
    padding-bottom: 14px;
}

footer .logo{
    margin-bottom: 12px;
}

footer .logo img{
    width: 120px;
    height: auto;
}

footer .address strong{
    font-weight: bold;
    line-height: 2em;
}

footer .social{
    margin-top: 12px;
}

footer .social li{
    color: #fff;
    display: inline-block;
    margin: 5px;
}

footer .social a{
    display: block;
}

footer .social img{
    height: 24px;
    width: auto;
}

footer .bottom_nav{
    display: none;
}

footer .copyright{
    font-size: 0.8em;
    padding-top: 15px;
}

@media only screen and (min-width:768px){

}

@media only screen and (min-width:998px){
    h2{
        font-size: 1.9em;
        line-height: 1.2em;
    }

    header .mnav {
        display: none;
    }

    header{
        height: 70px;
    }

    header > .wrapper{
        display: flex;
    }

    header .logo a{
        top: 24px;
    }

    header .logo{
        width: 120px;
    }


    header .navs{
        margin-left: auto;
    }

    header .lnav{
        display: block;
    }

    header .lnav ul{
        margin-top: 18px;
        display: flex;
        align-items: center;
        gap: 0 28px;
    }

    header .lnav li a{
        cursor: pointer;
        color: #6f6b7d;
    }

    header .lnav li.active a{
        cursor: auto;
        color: #000;
        font-family: b;
    }

    header .lnav li.buttons{
        width: 250px;
        text-align: right;
    }

    header .lnav li.buttons a{
        color: #fff;
    }

    section.container{
        margin-top: 100px;
    }

    header .lnav li.buttons a:nth-child(2){
        margin-left: 8px;
    }

    footer .company{
        text-align: left;
    }

    footer .company > .wrapper{
        display: flex;
    }

    footer .company .contact{
        width: 300px;
    }

    footer .bottom_nav{
        justify-content: flex-end;
        margin-left: auto;
        width: calc(100% - 380px);
        display: flex;
    }

    footer .bottom_nav .c{
        width: calc(100% / 4);
    }

    footer .bottom_nav h5{
        font-size: 1.1em;
        margin-bottom: 12px;
    }

    footer .bottom_nav li{
        margin-bottom: 4px;
    }

    footer .copyright .wrapper{
        display: flex;
    }

    footer .copyright .wrapper span{
        width: 50%;
        text-align: left;
    }

    footer .copyright .wrapper ul{
        display: flex;
        justify-content: right;
        width: 50%;
        gap: 0 30px;
    }
}