header {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.menubar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  height: 80px;
  margin: 0 auto;
  padding: 0 40px;
  z-index: 3;
}

#logo,
#logo > * {
	display: block;
	text-decoration: none;
}

.logo {
  width: 160px;
  height: 32px;
}

.logo .apple {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 32px;
  background-image: url(../assets/images/logo@2x.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 8px;
}

.logo svg {
  display: inline-block;
  text-decoration: none;
}

.logo.dark svg path {
  fill: white;
}

.menuContainer .menu li {
  position: relative;
  display: inline-block;
  line-height: 80px;
  margin-right: 32px;
}

.menuContainer .menu li:last-of-type {margin-right: 0;}

.menuContainer .menu li a {
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  color: white;
  transition: all .2s ease-in;
}

.menuContainer .menu li a:hover {
  opacity: .75;
}

.searchButton {
  width: 160px;
  display: flex;
  justify-content: flex-end;
}

/* Menubar Dark */
header.dark {
  border-bottom: 1px solid rgba(0,0,0,.1);
}

header.dark .menuContainer .menu li a {
  color: black;
}

header.dark .searchButton svg path {
  fill: black;
}

/* for-phone-only */
@media only screen and (max-width: 599px) {
  .menubar {
    display: flex;
    justify-content: center;
  }

  .logo {
    width: 162px;
    height: 32px;
  }

  .menuContainer {display: none;}
  .menuButton {display: inherit;}
  .searchButton {display: none;}
}

/* for-tablet-portrait-up */
@media only screen and (min-width: 600px) and (max-width: 1160px) {
  .logo {
    width: 162px;
    height: 32px;
  }

  .menuContainer {display: none;}
  .menuButton {display: inherit;}
  .searchButton {width: 32px;}
}

/* Footer */
.footer {
	display: flex;
	justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 40px 0;
  font-family: 'Roboto', sans-serif;
}

.footer-sectionAbout {
	width: 312px;
	padding-top: 24px;
}

.footer a div.logo {
	width: 312px;
	height: 48px;
	margin-bottom: 8px;
}

.footer a div.logo svg {
	transform: scale(1.5) translate(17%, 17%);
}

.footer-social {
	margin: 20px 0 0 -4px;
}

.footer-social a {
	display: inline-block;
	width: 36px;
	height: 36px;
	margin-right: 16px;
	padding: 4px;
}

.footer-social a:last-of-type {
	margin-right: 0;
}

.footer-social a:hover svg {
	fill: #B8B8B8;
	transition: all .1s ease-in;
}

.footer-sectionMenu {
	padding-top: 32px;
}

.footer-menu {
	display: inline-block;
	vertical-align: top;
	width: 180px;
}

.footer-menu:first-of-type {
	margin-right: 12px;
}

.footer-menuTitle,
.footer-menuList a {
	display: block;
	font-size: 18px;
	font-weight: 500;
	line-height: 22px;
	letter-spacing: 0.24px;
	margin-bottom: 16px;
	text-decoration: none;
}

.footer-menuTitle {
	color: #7A7A7A;
}

.footer-menuList a {
	color: black;
}

.footer-menuList a:hover {
	color: #7A7A7A;
	transition: all .1s ease-in;
}

.footer-sectionApp {
	position: relative;
	width: 312px;
	height: 316px;
	overflow: hidden;
}

.phoneMask {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-image: url(../assets/images/footer-phone.png);
	background-size: cover;
	background-position: top;
	z-index: 2;
}

@media only screen and (max-width: 1199px) {
	.footer {
		padding: 56px 24px 0 40px;
	}

	.footer-menu {
		width: 160px;
	}

	.footer-menu:first-of-type {
		margin-right: 0;
	}
}

@media only screen and (max-width: 1020px) {
	.footer {
		padding: 56px 40px 80px;
	}

	.footer-menu:first-of-type {
		margin: 0 8px 24px 0;
	}

	.footer-sectionApp {
		display: none;
	}
}

@media only screen and (max-width: 599px) {
	.footer {
		flex-direction: column;
		align-items: center;
		padding: 48px 18px 0 18px;
	}

	.footer a div.logo {
		width: 165px;
		margin: 0 auto 4px;
	}

	.footer-sectionAbout .footer-menuTitle {
		text-align: center;
	}

	.footer-social {
		width: 260px;
		margin: 20px auto 0;
	}

	.footer-sectionMenu {
		padding: 48px 0 56px;
	}

	.footer-menu:first-of-type {
		width: 120px;
		margin-right: 40px;
	}

	.footer-sectionApp {
		display: block;
	}
}

@media only screen and (max-width: 360px) {
	.footer {
		padding: 48px 8px 0 8px;
	}

	.footer-menu:first-of-type {
		margin-right: 0;
	}
}
