@import 'fonts.css';

/*Global*/

html, body{
	margin: 0;
	height: 100%;
	width: 100%;
    overflow: hidden;
}

#pageContent {
	display: flex;
	height: 100%;
	width: 100%;
}

#rightPage {
	overflow: hidden;
	display: flex;
	flex: 4;
	flex-direction: column;
	min-height: 100%;
	height: 100%;
	width: 100%;
}

.boxShadowOn {
	box-shadow: inset 1px 1px 14px rgba(40, 113, 250, 0.12);
}

.flex {
    display: flex;
}

.single {
	flex: 1;
}

.double {
	flex: 2;
}

.triple {
	flex: 3;
}

.click:hover {
	cursor: pointer;
}

/*Left Bar Index*/

#leftBar {
	flex: 1;
	height: auto;
	color: #fff;
	display: flex;
	flex-direction: column;
	border-right: 1px solid rgba(155, 155, 155, 0.5);
    box-shadow: 5px 0px 7px 0px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

#leftBar a {
	text-decoration: none;
	color: #fff;
}

#leftBar a:visited {
	color: #fff;
}

#leftBarText {
    position: absolute;
    bottom: 0;
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
	text-align: right;
    padding-bottom: 5%;
}

#leftBarText .name {
	font-family: "MontSerrat";
	margin: 0;
}

#leftBarText .city {
	font-family: "Morena";
	margin: 0;
    padding-top: 5px;
	font-size: 0.8em;
}

#leftBarTop {
	position: relative;
	flex: 3 1 27.7%;
	display: flex;
	flex-direction: column;
}

#leftBarMiddle {
	flex: 6 1 61.9%;
	margin: 0;
    flex-direction: column;
    display: flex;
    overflow-y: auto;
    background-size: cover;
}

#leftBarBot {
	display: flex;
	flex: 1 1 10%;
	align-items: center;
    justify-content: center;
}

#leftBarBot .wrapImg {
    display: flex;
    flex: 1 1 40%;
    align-items: center;
    justify-content: center;
}

#leftBarBot .wrapImg {
    display: flex;
    flex: 1 1 40%;
    align-items: center;
    justify-content: center;
}

#leftBarBot img {
	width: 31%;
	margin: auto;
}

#leftBarBot .verticalSeparator {
	height: 35px;
}

#leftBarBot .buttonTitle {
    flex: 2 1 60%;
	font-family: "AlexanaNeue";
	color: #fff;
	text-decoration: none;
	margin: auto;
	font-size: 1.1em;
    padding-left: 10%;
}

#powerButton {
	width: 15px;
	margin: 12px 0 0 12px;
}

#powerButton:hover {
  -webkit-mask-image: linear-gradient(-75deg, rgba(0,0,0,.6) 30%, #000 50%, rgba(0,0,0,.6) 70%);
  -webkit-mask-size: 200%;
  animation: shine 2s infinite;
}

@-webkit-keyframes shine {
  from {
    -webkit-mask-position: 150%;
  }

  to {
    -webkit-mask-position: -50%;
  }
}

#powerLink {
	width: 25px;
}

.wrap-logo {
    position: relative;
}

#logo{
	max-width: 85%;
    max-height: 85%;
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

/*Nav Index*/

#nav {
	flex: 1 1 10%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-direction: column;
}

.nav-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.wrap-menus {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.wrap-menus a {
    margin: 0 5% 0 0;
}

.wrap-menus a:last-child {
    margin-right: 3.4%;
}

.wrap-logo-mobile {
    display: none;
}

#nav .imgNav img {
	max-width: 30px;
	max-height: 30px;
    vertical-align: middle;
     transition-delay: 2s;
}

#nav .imgNav img:hover {
  -webkit-mask-image: linear-gradient(-75deg, rgba(0,0,0,.6) 30%, #000 50%, rgba(0,0,0,.6) 70%);
  -webkit-mask-size: 200%;
  animation: shine 2s infinite;
}

@-webkit-keyframes shine {
  from {
    -webkit-mask-position: 150%;
  }

  to {
    -webkit-mask-position: -50%;
  }
}
#menu {
	flex: 1 1 10%;
}

/*Loading Bar*/

#loadingBar {
	min-height: 3px;
	height: 3px;
}

/*Menu*/

#menu {
    overflow: hidden;
    background-color: #060a13;
    display: flex;
    align-items: stretch;
}

#menu #localization {
    height: 100%;
    color: #fff;
    font-size: calc(0.8vh + 0.8vw);
    display: flex;
    align-items: center;
    flex: 3;
}

#menu #localization p {
    margin: 0;
    padding: 0 10%;
    width: 100%;
    box-sizing: border-box;
}

#menu #localization .http {
    color: #1875f0;
    margin-right: 5%;
}

#menu #localization .url {
    font-family: "MorenaLight";
}

#menu #imgBeat {
    flex: 1;
}

#menu #imgBeat .wrapImg {
    position: relative;
    height: 100%;
    width: 100%;
}

#menu #imgBeat .wrapImg img {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    margin: auto;
    display:none;
}

/*Search Function*/

#menuInput {
    flex: 3;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    overflow: hidden;
    flex-wrap: wrap;
}

#menuInput .cancel {
    display: none;
}

#menuInput.open .cancel {
    display: inline-block;
    max-width: 25px;
}

#menuInput.open .searchIcon {
    display: none;
}

#menuInput form {
    flex: 2 1 80%;
    display: flex;
    align-items: center;
    color: #fff;
    font-family: "MontSerratLight";
    font-size: 1.1em;
}

#menuInput form span {
    padding-left: 10%;
    flex: 1;
}

#menuCursor {
    cursor: pointer;
    display: flex;
    flex: 1 1 20%;
    align-items: center;
    justify-content: center;
}

#menuCursor img {
    width: 20px;
    padding:2px;
    transition: all 0.4s ease;
    vertical-align: middle;
}

#menuInput.open #menuCursor .icon-desktop {
    cursor: pointer;
    transform: rotate(-120deg);
}

#menuInput #searchInput {
    flex: 3;
    background-color: rgba(0, 0, 0, 0);
    font-family: "MorenaLight";
    font-size: 1em;
    width: 100%;
    color: #fff;
    border: 1px solid rgb(6, 10, 19);
    padding: 6px 10px 0 10px;
}

#searchInput::-webkit-input-placeholder {
    line-height: 22px;
}

#searchView {
    background-color: #fff;
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
    z-index: 10;
}

#searchView #searchPack {
    background-color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#searchIntro {
    width: 100%;
    min-height: 40px;
    color: #fff;
    font-family: "MontSerratLight";
    font-size: 0.8em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0.125;
}

#searchFlex {
    flex: 1;
    display: flex;
    position: relative;
}

#searchFlex .wrapCarousel {
    flex: 6;
    display: flex;
    align-items: center;
}

#searchCarousel {
    height: 100%;
    display: flex;
    align-items: center;
}

#searchFlex .slide {
    background-color: #fff;
}

#searchFlex .wrapSlide {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    border-right: 1px solid rgba(155, 155, 155, 0.5);
}

#searchFlex .slide .slideTitle {
    display: flex;
    flex: 1;
    color: #000;
    font-family: "MontSerratBold";
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}



#searchFlex .slide .slideTitle h2 {
    text-align: center;
    font-size: 1.2em;
    box-sizing: border-box;
    padding: 0 5%;
    width: 100%;
    margin: 0;
}

#searchFlex .slide:hover .slideTitle{
    color: #1875f0;
}

#searchFlex .slide .slideImg {
    flex: 2;
    border-top: 1px solid rgba(155, 155, 155, 0.5);
    border-bottom: 1px solid rgba(155, 155, 155, 0.5);
}

#searchFlex .slide .slideImg img{
    width: 100.5%;
    height: 100%;
    text-align: center;
}

#searchFlex .slide .slideBot {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
}

#searchFlex .slide .slideBot .slidePrice {
    display: flex;
    flex: 1;
    font-family: "MontSerratBold";
    font-size: 1.5em;
    align-items: stretch;
    justify-content: center;
    border-right: 1px solid rgba(155, 155, 155, 0.5);
}

#searchFlex .slide .slideBot .slidePrice p {
    display: flex;
    align-items: center;
    margin: 0;
}

#searchFlex .slide .slideBot .slidePrice span {
    font-family: "MontSerratLight";
}

#searchFlex .slide .slideBot .slideClick {
    height: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#searchFlex .slide .slideBot .slideClick img {
    height: 40px;
    transition: all 0.4s ease;
}

#searchFlex .slide .slideBot .slideClick:hover img {
    height: 45px;
}

#searchFlex .slideImg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#searchRightBar {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-left: 1px solid rgba(155, 155, 155, 0.5);
}

#searchRightBar #ui-search-carousel-next {
    background-color: #fff;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#searchRightBar #ui-search-carousel-next img {
    max-width: 40px;
}

#searchRightBarImg {
    display: block;
    width: 100%;
    flex: 2;
    background-size: cover;
    background-repeat: no-repeat;
}

#searchRightBar #closeSearch {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#searchRightBar #closeSearch:hover {
    cursor: pointer;
}

#searchRightBar #closeSearch img {
    max-width: 40px;
    transition: all 0.4s ease;
}

#searchRightBar #closeSearch:hover img {
    transform: rotate(90deg);
}

/*View Page*/

#viewPage {
	overflow: hidden;
	display: flex;
	flex: 7 1 70%;
	background-color: #fff;
	position: relative;
}

#mainPage {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
}

.mainPageRow {
	flex-direction: row;
}

.mainPageColumn {
	flex-direction: column;
}

.leftBorder {
	border-left: 1px solid rgba(155, 155, 155, 0.5);
}

.rightBorder {
	border-right: 1px solid rgba(155, 155, 155, 0.5);
}

.bottomBorder {
    border-bottom: 1px solid rgba(155, 155, 155, 0.5);
}

.topBorder {
    border-top: 1px solid rgba(155, 155, 155, 0.5);
}

.afterRightBorder {
    position: relative;
}

.afterRightBorder:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(155, 155, 155, 0.5);
}

.afterBottomBorder {
    position: relative;
}

.afterBottomBorder:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(155, 155, 155, 0.5);
}

.relative {
    position: relative;
}

.o-hidden {
    overflow: hidden;
}

.showMobile {
    display: none;
}

/*Footer*/
#footer {
    position: relative;
    flex: 1 1 10%;
    background-color: #060b14;
    display: flex;
    align-items: center;
    min-height: 50px;
    justify-content: flex-end;
}

#footer .imgFooter {
    margin: 0 3.8% 0 0;
    cursor: pointer;
    vertical-align: middle;
}

#footer .imgFooter img {
    max-width: 30px;
    max-height: 30px;
}
#footer .imgFooter img:hover {
  -webkit-mask-image: linear-gradient(-75deg, rgba(0,0,0,.6) 30%, #000 50%, rgba(0,0,0,.6) 70%);
  -webkit-mask-size: 200%;
  animation: shine 2s infinite;
}

@-webkit-keyframes shine {
  from {
    -webkit-mask-position: 150%;
  }

  to {
    -webkit-mask-position: -50%;
  }
}
#footer .imgFooter:last-child {
    margin-right: 3.6%;
}

.blocPopup {
    position: absolute;
    z-index: 10;
    bottom: 100%;
    right: 0;
    background-color: #fff;
        box-shadow: inset 0 0 15px rgba(55, 84, 170, 0.06), inset 0 0 20px rgba(255, 255, 255,0), 7px 7px 15px rgba(55, 84, 170, 0), -7px -7px 20px rgba(255, 255, 255, 0.12), inset 0px 0px 4px rgba(255, 255, 255,.2);
    height: 130px;
    width: 400px;
    display: none;
    box-sizing: border-box;
}

#popupCopyright .wrapContent {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'MontSerrat';
}

#popupCopyright .wrapContent .text {
    width: 90%;
    text-align: center;
    padding-bottom: 15px;
}

#popupCopyright img {
    max-width: 245px;
}

#popupCopyright span {
    font-family: 'MontSerratBold';
}

#popupNews {
    background-size: cover;
}

#popupNews img {
    width: 20px;
    position: absolute;
    right: 130px;
    top: 20px;
    display:none;
}

.blocPopup h3 {
    color: #1875f0;
    font-family: "MontSerratBold";
    font-size: 1.1em;
    margin: 15px 0 0 35px;
    text-transform: uppercase;
}

.blocPopup h3 span {
    font-family: "MontSerrat";
    font-weight: 100;
}

#popupChartSize .content {
    display: flex;
    height: 90px;
    margin: 0 20px;
}

#popupChartSize .wrapCarousel {
    display: flex;
    height: auto;
}

#popupChartSize .sizeNumber {
    display: none;
    text-align: center;
    font-family: "MontSerratLight";
    font-size: 0.8em;
    padding-top: 5px;
}

#popupChartSize .wrapSize:hover .sizeNumber {
    display: block;
}

#popupNews h3 {
    margin: 35px 0 15px 50px;
}

#carouselChartSize {
    width: 100%;
    box-sizing: border-box;
}

#carouselChartSize,
#nextSize {
    display: flex;
    justify-content: space-around;
}

#carouselChartSize .sizeLetter {
    font-family: "MontSerratBold";
    font-size: 0.8em;
}

#popupChartSize .wrapSize {
    padding: 20px 15px;
}

#popupChartSize .ball,
.blocPopupFlex .ball {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: #fff;
    width: 40px;
    height: 40px;
    box-shadow: inset 0 0 15px rgba(55, 84, 170, 0), inset 0 0 20px rgba(255, 255, 255, 0), 7px 7px 15px rgba(55, 84, 170, 0.15), -7px -7px 20px white, inset 0px 0px 4px rgba(255, 255, 255, 0.2);
  transition: box-shadow 399ms ease-in-out;
}
.ball:hover {
box-shadow: inset 7px 7px 15px rgba(55, 84, 170, 0.15), inset -7px -7px 20px white, 0px 0px 4px rgba(255, 255, 255, 0.2);}

.blocPopupFlex .ball {
    margin: 0 auto;
}

#popupPurchaseStatut .content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: "MontSerratLight";
    color: #fff;
    font-size: 1.2em;
    background: #1873ec;
}

#popupPurchaseStatut .content img {
    max-width: 25px;
    margin-right: 8px;
}

#popupPurchaseStatut .close i {
    color: #fff;
}

#nextSize img,
.blocPopupFlex .next img {
    max-width: 10px;
}

#nextSize .lang {
    position: absolute;
    top: -6px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1875f0;
    color: #fff;
    font-size: 6px;
    padding: 5px;
    border-radius: 10px;
    text-transform: uppercase;
    font-family: "MontSerratLight";
}

#popupNews form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -20px;
}

#popupNews .inputText {
    margin-left: 50px;
    font-family: "MontSerratLight";
    font-size: 0.9em;
    width: 200px;
    background-color: rgba(255, 255, 255, 0);
    border-width: 0;
    height: 30px;
    margin-top:10px;
}

#popupNews .submitButton {
    width: 18px;
    height: 18px;
    margin-right: 30px;
    background: #fff;
    padding: 10px;
    border-radius: 100px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.blocPopupFlex {
    width: 85%;
    height: 100%;
    margin: auto;
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blocPopupFlex .carouselPopup {
    width: 240px;
    display: flex;
}

.carouselPopup button {
    display: none !important;
}

.blocPopupFlex .carouselPopup .slide,
.blocPopupFlex .next {
    width: 80px;
}

.blocPopupFlex .next {
    display: none;
}

.blocPopupFlex .next img {
    cursor: pointer;
}

.blocPopupFlex .carouselPopup img {
    height: 40px;
    display: block;
    margin: auto;
    transition: all 0.4s ease;
}

.blocPopupFlex.shipPolicy .carouselPopup img {
    height: 30px;
}

.blocPopupFlex div p {
    font-size: 0.65em;
    font-family: "MontSerratLight";
    text-align: center;
    margin: 0;
    margin-top: 5px;
    opacity: 0;
    transition: all 0.4s ease;
}

.blocPopupFlex .carouselPopup .slide:hover p{
    opacity: 1;
}

.blocPopup .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px;
    text-align: right;
    cursor: pointer;
}

.blocPopup .close i {
    font-size: 0.8em;
}

.shipPolicy {
    width: 90%;
}

.shipPolicy.blocPopupFlex {
    height: auto;
    margin-top: 20px;
}

/*Carousel*/

.wrapCarousel {
    overflow: hidden;
    height: 100%;
}

.slick-slide, .slide, .slide a {
    outline: none;
}

.slick-slider {
    width: 100%;
}

.slick-list,
.slick-track {
    height: 100%;
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

.effect {
    position: relative;
    overflow: hidden;
}

.effect.full {
    width: 100%;
}

/* Effets */
.effect:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  opacity: 0;
  transform: translateX(-100%);

  background: rgba(255, 255, 255, 0.13);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.13) 77%,
    rgba(255, 255, 255, 0.5) 92%,
    rgba(255, 255, 255, 0.3) 100%
  );
}

.effect:hover:after {
  opacity: 1;
  top: 0;
  left: 0;
  transform: translateX(0);
  transition-property: transform, opacity;
  transition-duration: 0.7s, 0.15s;
  transition-timing-function: ease;
}

.effect:active:after {
  opacity: 0;
}

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

    #menuCursor .wrapImg {
        background: #fff;
        border-radius: 50px;
        padding: 10px;
  border-radius: 50%;
  animation: shadow-pulse 3s infinite;
    }

}

@keyframes shadow-pulse
{
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 35px rgba(0, 0, 0, 0);
  }
}

@keyframes shadow-pulse-big
{
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0 0 0 70px rgba(0, 0, 0, 0);
  }
}


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

    #searchFlex .slide .slideTitle h2 {
        display: flex;
        align-items: center;
        height: 75px;
        min-height: 75px;
    }

    #searchFlex .slide .slideImg {
        flex: 2;
        border-top: 0;
    }

    #searchRightBar {
        border: 0;
    }

    #nav {
        min-height: 50px;
    }

    #loadingBar {
        height: 1px;
        min-height: 1px;
    }

    .wrap-logo-mobile {
        display: block;
        position: relative;
        flex: 2;
        width: 150px;
    }

    .wrap-logo-mobile img {
        max-width: 80%;
        max-height: 80%;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        margin: auto;
    }

    #nav .wrap-menus {
        flex: 3;
    }

    #menu {
        min-height: 50px;
        position: relative;
        overflow: visible;
    }

    #menu .elements h2 {
        font-size: calc(0.6em + 1.6vw) !important
    }

    #menuInput {
        flex: 1;
    }

    #menuInput form {
        display: none;
    }

    #menuCursor {
        background: #fff;
    }

    #menuCursor img {
        max-width: 25px;
    }

    #footer {
        justify-content: space-around;
    }

    .blocPopup {
        width: 100%;
    }

    #nav .imgNav img,
    #footer .imgFooter img {
        max-width: 20px;
        max-height: 20px;
    }

    #popupChartSize .content {
        margin: 0 auto;
        max-width: 400px;
    }

    .wrap-menus {
        justify-content: space-around;
    }

    .wrap-menus a {
        margin: 0;
    }

    #leftBar {
        display: none;
    }

    #menu #localization {
        font-size: 3vw;
    }

    #menu #localization p {
        padding: 0 5%;
    }

    #viewPage {
        flex: 8 1 80%;
    }

    #mainPage {
        overflow-y: auto;
        overflow-x: hidden;
        align-items: start;
    }

    .hideMobile {
        display: none !important;
    }

    .showMobile {
        display: block !important;
    }

    .slick-dots {
        bottom: 5px;
    }

    .slick-dots li button:before {
        opacity: 1;
        color: #000;
    }

    .slick-dots li.slick-active button:before {
        color: #fff;
    }

}

strong {font-family:Montserrat-SemiBold;}
b {font-family:Montserrat-SemiBold;}

#normalpagetext {
    overflow: scroll;
    padding: 5%;
    padding-top:3%;
    box-sizing: border-box;
    width: 100%;
    font-family: "MontSerratLight";
    font-size: 1em;
    display: flex;
    overflow: auto;
    flex-direction: column;
    line-height: 25px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    text-align: justify;
    flex: 13;
}

#normalpagetext h1 {font-family:"MontserratBold";}

#normalpagetitle {border-bottom: 1px solid rgba(155, 155, 155, 0.5);flex: 2;
    width: 100%;
    font-family: "MontSerratBold";
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6em;
    text-transform:uppercase;
}

.wrap-404 {
  padding: 5rem 1rem;
    width:100%;
}

.label-404 {
  text-align: center;
  font-size: .75em;
  font-family:"MontserratBold";
}

.numbers-404 {
  padding: 2rem 0 0;
  text-align: center;
}

.number-404 {
  position: relative;
  display: inline-block;
  width: 150px;
  -webkit-transform: translateX(60%);
          transform: translateX(60%);
}

.four {
  position: relative;
  width: 30px;
  height: 150px;
  border: 1px solid #1875f0;
}
.four::before, .four::after {
  content: '';
  position: absolute;
  border: 1px solid #1875f0;
}
.four::before {
  top: 50%;
  right: -1rem;
  width: 120px;
  height: 30px;
}
.four::after {
  top: 0;
  left: -60px;
  width: 30px;
  height: 120px;
}

.zero {
  position: relative;
  width: 30px;
  height: 150px;
  border: 1px solid #1875f0;
}
.zero span {
  position: absolute;
  top: 0;
  left: -60px;
  width: 30px;
  height: 150px;
  border: 1px solid #1875f0;
}
.zero::before, .zero::after {
  content: '';
  position: absolute;
  border: 1px solid #1875f0;
}
.zero::before {
  top: 1rem;
  right: -1rem;
  width: 120px;
  height: 30px;
}
.zero::after {
  bottom: 1rem;
  right: -1rem;
  width: 120px;
  height: 30px;
}

.text-404 {
  position: relative;
  padding-top: 6rem;
  text-align: center;
  font-size: 1.125em;
  font-family:"MontserratLight";
}
.text-404 a {
  color: #000;
  border: 1px solid #000;
  padding: 8px;
  text-decoration:none;
}
.text-404::before {
  content: '';
  position: absolute;
  top: 4rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 6rem;
  height: 1px;
  background-image: repeating-linear-gradient(to left, rgba(0, 0, 0, 0.35) 0, rgba(0, 0, 0, 0.35) 0.5rem, transparent 0.5rem, transparent 1rem);
}

.sleep-walker {
  position: relative;
  height: 1px;
  margin: 5rem 0 3rem;
  background-image: repeating-linear-gradient(to left, transparent 0, transparent 0.12rem, rgba(0, 0, 0, 0.15) 0.125rem, rgba(0, 0, 0, 0.15) 0.25rem);
}

.man {
  position: absolute;
  top: -1.4rem;
  left: 0;
  width: 1px;
  height: 2rem;
  opacity: .6;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
  -webkit-animation: walking 50s linear infinite;
          animation: walking 50s linear infinite;
}
.man .head {
  position: relative;
  width: .5rem;
  height: .5rem;
  -webkit-transform: translateX(-1px);
          transform: translateX(-1px);
  border: 1px solid #000;
  border-radius: 50%;
}
.man .head::before {
  content: '';
  position: absolute;
  top: .28rem;
  left: 0;
  width: 170%;
  height: 1px;
  background: #000;
  -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
  -webkit-transform: rotate(-25deg);
          transform: rotate(-25deg);
}
.man .torso {
  position: relative;
  width: 1px;
  height: 50%;
  margin: 0 auto;
  background: #000;
}
.man .torso .arm-a, .man .torso .arm-b {
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  height: 85%;
  -webkit-transform-origin: top center;
          transform-origin: top center;
  background: #000;
}
.man .torso .arm-a::before, .man .torso .arm-b::before {
  content: '';
  position: absolute;
  bottom: -.1rem;
  left: 0rem;
  width: .18rem;
  height: .18rem;
  border: 1px solid #000;
  border-radius: 50%;
}
.man .torso .arm-a {
  -webkit-transform: rotate(-20deg);
          transform: rotate(-20deg);
  -webkit-animation: walk1 1.3s linear alternate infinite;
          animation: walk1 1.3s linear alternate infinite;
}
.man .torso .arm-b {
  -webkit-transform: rotate(20deg);
          transform: rotate(20deg);
  -webkit-animation: walk2 1.3s linear alternate infinite;
          animation: walk2 1.3s linear alternate infinite;
}
.man .legs {
  position: relative;
  width: 1px;
  height: 50%;
  margin: 0 auto;
}
.man .legs .leg-a, .man .legs .leg-b {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform-origin: top center;
          transform-origin: top center;
  background: #000;
}
.man .legs .leg-a::before, .man .legs .leg-b::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 1px;
  background: #000;
}
.man .legs .leg-a {
  -webkit-transform: rotate(-20deg);
          transform: rotate(-20deg);
  -webkit-animation: walk1 1.3s linear alternate infinite;
          animation: walk1 1.3s linear alternate infinite;
}
.man .legs .leg-b {
  -webkit-transform: rotate(20deg);
          transform: rotate(20deg);
  -webkit-animation: walk2 1.3s linear alternate infinite;
          animation: walk2 1.3s linear alternate infinite;
}

@-webkit-keyframes walking {
  0% {
    left: 0;
    -webkit-transform: scale(0.5) rotateY(0deg);
            transform: scale(0.5) rotateY(0deg);
  }
  49.9% {
    -webkit-transform: scale(0.5) rotateY(0deg);
            transform: scale(0.5) rotateY(0deg);
  }
  50% {
    -webkit-transform: scale(0.5) rotateY(180deg);
            transform: scale(0.5) rotateY(180deg);
    left: 100%;
  }
  100% {
    -webkit-transform: scale(0.5) rotateY(180deg);
            transform: scale(0.5) rotateY(180deg);
    left: 0;
  }
}

@keyframes walking {
  0% {
    left: 0;
    -webkit-transform: scale(0.5) rotateY(0deg);
            transform: scale(0.5) rotateY(0deg);
  }
  49.9% {
    -webkit-transform: scale(0.5) rotateY(0deg);
            transform: scale(0.5) rotateY(0deg);
  }
  50% {
    -webkit-transform: scale(0.5) rotateY(180deg);
            transform: scale(0.5) rotateY(180deg);
    left: 100%;
  }
  100% {
    -webkit-transform: scale(0.5) rotateY(180deg);
            transform: scale(0.5) rotateY(180deg);
    left: 0;
  }
}
@-webkit-keyframes walk1 {
  0% {
    -webkit-transform: rotate(-20deg);
            transform: rotate(-20deg);
  }
  50% {
    -webkit-transform: rotate(20deg);
            transform: rotate(20deg);
  }
}
@keyframes walk1 {
  0% {
    -webkit-transform: rotate(-20deg);
            transform: rotate(-20deg);
  }
  50% {
    -webkit-transform: rotate(20deg);
            transform: rotate(20deg);
  }
}
@-webkit-keyframes walk2 {
  0% {
    -webkit-transform: rotate(20deg);
            transform: rotate(20deg);
  }
  50% {
    -webkit-transform: rotate(-20deg);
            transform: rotate(-20deg);
  }
}
@keyframes walk2 {
  0% {
    -webkit-transform: rotate(20deg);
            transform: rotate(20deg);
  }
  50% {
    -webkit-transform: rotate(-20deg);
            transform: rotate(-20deg);
  }
}
@media all and (max-width: 768px) {
  header h1 {
    margin-bottom: 3rem;
  }

  .man {
    -webkit-animation-duration: 30s;
            animation-duration: 30s;
  }
}
@media all and (max-width: 768px) {
  .numbers {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
  }

  .number {
    width: 90px;
    -webkit-transform: translateX(36%) scale(0.5);
            transform: translateX(36%) scale(0.5);
  }
}
