/*
  Theme Name: Organized by Design
  Version: 1.0
*/

@import 'https://cdn.jsdelivr.net/npm/bulma@0.8.0/css/bulma.min.css';

@font-face {
  font-family: 'halohandletterregular';
  src: url('fonts/halohandletter-webfont.woff2') format('woff2'),
       url('fonts/halohandletter-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'modern_sanslight';
  src: url('fonts/modernsans-light-webfont.woff2') format('woff2'),
       url('fonts/modernsans-light-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --red: rgb(190, 30, 45);
  --gray: #c3c3c5;
}

body {
  background-color: white;
  font-family: 'modern_sanslight';
  font-size: 16px;
}

blockquote {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
}

h1, .h1 {
  background-color: white;
  display: block;
  font-size: 5rem;
  font-weight: 600;
  margin: 100px 0;
  text-align: center;
  width: 100%;
}

h2, .h2 {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  margin: 20px 0;
}

h3, .h3 {
	align-items: center;
	display: flex;
	justify-content: space-between;
	font-size: 1.5rem;
	font-weight: 600;
}

h3 span {
	color: var(--red);
	font-size: 1rem;
	font-style: italic;
	font-weight: 400;
}

p {
  font-size: 1.25rem;
  line-height: 2rem;
  padding: 0.5em 0;
}

ul {

}

section {
  align-items: center;
  background-color: white;
	display: flex;
  justify-content: center;
  min-height: 50vh;
  padding: 40px;
}

ul {
  display: block;
	font-size: 1.25rem;
  list-style-type: disc;
  margin: 10px 0;
  padding-left: 40px;
}

li {
  display: list-item;
}

ol {
  display: block;
	font-size: 1.25rem;
  list-style-type: decimal;
	margin: 10px 0;
  padding-left: 40px;
}

a:link, a:visited, a:hover, a:active {
	color: red;
}

a:link:hover {
	text-decoration: underline;
}

.button.is-primary {
  background-color: var(--red);
}

.button.is-primary:hover {
  background-color: black;
}

.container {

}

.small-container {
  margin: 0 auto;
  max-width: 960px;
}

/* Front page ============================================================= */

.front-page {
  align-items: center;
  background-color: black;
  display: flex;
  height: 96vh;
  justify-content: center;
}
.front-page-container {
  padding-bottom: 100px;
  text-align: center;
}
.front-page-logo {
  background-image: url('img/logo-white-red.svg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 500px;
  height: 250px;
}
.front-page-button {
  background-color: var(--red);
  border: none;
  color: white;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 50px;
}
.front-page-button:hover {
  background-color: white;
}

/* Navigation ============================================================ */

.page-template-home .is-hidden-on-home {
  opacity: 0;
}

.navbar {
  background-color: white;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
}

.admin-bar .navbar.is-fixed-top {
  top: 32px;
}

a.navbar-item {
  color: black;
  font-weight: 600;
}

a.navbar-item:hover {
  color: var(--red);
}

a.navbar-item:active {
	color: var(--red);
}

.logo-small {
  background-image: url('img/logo.svg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  width: 200px;
  height: 59px;
}

/* Footer ================================================================= */

.footer {
  background-color: var(--red);
}

.footer-container {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.affiliates-title {
	color: white;
	font-size: 1.25rem;
	margin-bottom: 10px;
	text-align: center;
}

.affiliate {
	background-color: white;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	color: black !important;
	display: inline-block;
	font-weight: 600;
	margin-right: 10px;
	width: 125px;
	height: 125px;
	text-decoration: none !important;
}

.kcc {
	background-image: url('img/kcc_logo.png');
	background-size: 80% auto;
}

.pcc {
	background-image: url('img/pcc_logo.png');
	background-size: 80% auto;
}

.poc {
	background-image: url('img/POC-Logo-Colour-Print.svg');
	background-size: auto 70%;
}

.wbn {
    background-image: url('img/wbn-proud-member-badge.png');
    background-size: auto 60%;
}

.affiliate-container {
	background-color: rgba(255, 255, 255, 0.9);
	align-items: center;
	display: flex;
	justify-content: center;
	height: 100%;
	opacity: 0;
	text-align: center;
	transition: 0.5s;
	width: 100%;
}

.affiliate-container:hover {
	opacity: 1;
	transition: 0.5s;
}

.social-icons {
  text-align: right;
}

.social-icons a {
  color: white;
  display: block;
  font-size: 1.5rem;
}

/* Home page ============================================================= */

.home-page {
  background-image: url('img/front-page-background.jpg');
  background-position: 50% 50%;
  background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}

.intro {
  align-items: center;
  display: flex;
  min-height: 90vh;
  justify-content: center;
  text-align: center;
}

.intro-container {
  padding: 40px 40px;
}

.intro-button {
  font-size: 1.25rem;
}

.author {
  color: var(--red);
	margin-top: 20px;
  font-family: 'halohandletterregular';
  font-size: 2rem;
}

.logo-large {
  background-image: url('img/logo-large.svg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  margin-top: 0 auto;
  max-width: 100%;
  width: 700px;
  height: 180px;
  z-index: 999;
}

.get-started-content {
  align-items: center;
  display: flex;
  justify-content: center;
}

.get-started-content img {
  margin-right: 40px;
  max-width: 300px;
}

.calls-to-action {
  padding: 50px 0;
  text-align: center;
}

.call-to-action {
  box-sizing: border-box;
  display: inline-block;
  width: 24%;
  margin-right: -4px;
  padding: 10px 0 10px 10px;
}

.call-to-action:nth-of-type(2n) {
  padding-left: 10px;
  padding-right: 0;
}

.card {
  background-color: white;
	color: black;
  display: block;
}

.call-to-action-title {
	color: black;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-image {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 200px;
  overflow: hidden;
}

.card:hover {
	color: inherit;
}

/* Normal page =========================================================== */

.page-background {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  left: 0;
  opacity: 0.5;
  position: absolute;
  top: 0;
  width: 100%;
}

.normal-page {
  margin-top: 75px;
  overflow: hidden;
  position: relative;
}

.page-content {
  display: flex;
}

.page-text {
  padding-right: 40px;
  width: 65%;
}

.page-image {
  width: 35%;
}

.padding-left {
  padding-left: 40px;
}

.padding-right {
  padding-right: 40px;
}

/* gallery ========== */

.comparisons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
}

.comparison {
  width: 50%;
}

.comparison-images {
  display: flex;
}

.comparison-before {
  padding: 0 0.5rem 1rem 0.5rem;
  width: 50%;
}

.comparison-after {
  padding: 0 0.5rem 1rem 0.5rem;
  width: 50%;
}

/* Contact ================================================================ */

.contact-map {
  display: inline-block;
  width: 60%;
  margin-right: -4px;
  vertical-align: top;
}

.contact-info {
	text-align: center;
	margin-bottom: 20px;
}

iframe {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.contact-form {
  display: inline-block;
  width: 40%;
  margin-right: -4px;
  padding-left: 40px;
  vertical-align: top;
}

.wpcf7-submit {
  background-color: var(--red);
  border-color: transparent;
  border-radius: 4px;
  color: white;
  font-size: 1.25rem;
  padding: 10px 20px;
}

/* gutenberg ========== */

.wp-block-media-text {
    display: flex;
    margin: 2rem 0;
}

.wp-block-media-text__media {
    background-color: white;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    padding: 1rem;
    width: 25%;
}

.wp-block-media-text__content {
    width: 75%;
}

/* Breakpoint 1024px ===================================================== */

@media (max-width: 1023px) {

}

/* Breakpoint 768px ====================================================== */

@media (max-width: 767px) {
  .logo-large {
    max-width: 300px;
  }
  .intro-button {
    font-size: 1rem;
  }
  section {
    padding: 20px;
  }
  .page-image {
    margin-top: 1rem;
    text-align: center;
  }
  .get-started-content {
    display: block;
    text-align: center;
  }
  .get-started-content img {
    margin: 0;
  }
  h2, .h2 {
    font-size: 1.5rem;
  }
  blockquote {
    font-size: 1.25rem;
  }
  .page-content {
    display: block;
  }
  .page-text {
    padding-right: 0;
    width: 100%;
  }
  p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .page-image {
    width: 100%;
  }
  h1, .h1 {
    font-size: 3rem;
    margin: 50px 0;
  }
  .calls-to-action {
    display: flex;
    flex-wrap: wrap;
  }
  .call-to-action {
    padding: 10px;
    width: 50%;
  }
  .call-to-action:nth-of-type(2n) {
    padding-left: 10px;
    padding-right: 10px;
  }
  .comparisons {
    display: block;
  }
  .comparison {
    width: 100%;
  }
  .contact-map {
    display: block;
    margin-right: 0;
    width: 100%;
  }
  .contact-form {
    display: block;
    padding-left: 0;
    width: 100%;
  }
  .footer-container {
    display: block;
  }
  .affiliates {
    text-align: center;
  }
  .affiliate {
    margin-bottom: 1rem;
  }
  .social-icons {
    margin-top: 2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .call-to-action {
    display: block;
    padding: 10px;
    width: 100%;
  }
  .call-to-action:nth-of-type(2n) {
    padding-left: 10px;
    padding-right: 10px;
  }
  .wp-block-media-text {
    display: block;
  }
  .wp-block-media-text__media {
    width: auto;
  }
  .wp-block-media-text__content {
      padding-top: 1rem !important;
    width: auto;
  }
}

/* Wordpress admin bar spacing =========================================== */

@media screen and (max-width: 782px) {
  .admin-bar .sticky-header {
    top: 46px;
  }
}
