/*
Just some local overrides so Google's original stylesheet (main.css) can remain unedited.
*/

@keyframes octocat-wave {
	0%, 100% {
		transform: rotate(0)
	}
	20%, 60% {
		transform: rotate(-25deg)
	}
	40%, 80% {
		transform: rotate(10deg)
	}
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

body {
	font-family:'Roboto', sans-serif;
	color: #424242;
}

.palettes {
  /* footer is ~71px high */
  min-height: calc(100vh - 71px);
}

.color-tool {
  max-width: none;
  padding: 100px 0px 80px;
}

.tool-title {
  display: none;
}

.page-content {
  position: relative;
  top: 20px;
  padding: 0 0px;
}

.page-title {
  font-size: 32px;
  height: 0;
  margin: 0;
  line-height: 1.2;
	font-weight: 500;
}

.page-title a {
	color: #424242;
}

.page-messaging {
  margin-top: 100px;
  font-weight: normal;
  padding-bottom: 60px;
}

.page-messaging-title {
  font-size: 120px;
  animation: rotate 60s linear infinite;
  display: inline-block;
  margin-top: 0;
  margin-bottom: 40px;
}

.page-messaging-subtitle {
  font-weight: normal;
  font-size: 20px;
}

.standard-link {
  color: #007c6e;
	font-weight: 500;
}

.standard-link:active,
.standard-link:focus,
.standard-link:hover {
  text-decoration: none;
}

.color-palette__color-weight-label {
  max-width: 64px;
}

.utility-panel {
  right: 20px;
  top: 20px;
	height: 120px;
	position: absolute;
	width: 240px;
}

.utility-panel .content__info {
  display: none;
}

.utility-panel {
}

.utility-panel__label {
  cursor: default;
}

.utility-panel__label i {
  display: none;
}

.color-palette__color-weight-label {
  font-family: Courier, monospace;
}

.clipboard-confirmation {
  right: 20px;
  transform: translateY(200px);
  left: auto;
  animation: none;
}

.clipboard-confirmation--visible {
  animation: fadein 250ms linear;
  transform: translateY(-20px);
}

.github-corner:hover .octo-arm {
	animation: octocat-wave 560ms ease-in-out
}

.page-footer {
  padding: 0 40px;
  margin-bottom: 50px;
}

.page-footer p {
	margin-top: 0;
}

@media screen and (max-width: 1000px) {
  body {
		background-color: #fff;
	}

	.color-tool {
		display: block;
    padding: 165px 20px 60px;
	}

  .page-content {
    padding: 0 20px;
    top: 165px;
  }

  .page-title {
    font-size: 24px;
		height: auto;
  }

	.mobile-message {
		display: none
	}

  .utility-panel {
    left: 20px;
    position: absolute;
  }

  .color-picker-panel {
    left: 40px;
    top: 40px;
    position: absolute;
  }

  .color-palette__cell--selected, .color-palette__cell--selected .color-palette__ripple {
    border-radius: 0;
  }

  .github-corner svg {
    transform: scale(1, 1) !important;
    right: 0 !important;
    left: auto !important;
  }

  .page-footer {
    padding: 0 20px;
  }
}

@media screen and (max-width: 400px) {
  .color-tool {
    padding-left: 10px;
    padding-right: 10px;
	}

  .utility-panel {
    left: 10px;
		width: 220px;
  }

  .color-picker-panel {
    left: 30px;
    top: 30px;
  }

  .page-content {
    padding: 0 10px;
  }

  .page-footer {
    padding: 0 10px;
  }

  .clipboard-confirmation {
    right: 10px;
  }

  .github-corner:hover .octo-arm {
		animation: none
	}

	.github-corner .octo-arm {
		animation: octocat-wave 560ms ease-in-out
	}
}
