@font-face {
  font-family: 'Bahnscrift';
  src: url('../fonts/bahnschrift.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

:root {
  --text-color: #757575;
  --silver-sand: #C6C6C6;
  --san-juan: #334E72;
  --titan-white: #EBF0FF;
}

body {
  font-family: 'Bahnscrift', Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

h1 {
  font-family: 'Indie Flower', Verdana, sans-serif;
  font-size: 120px;
  font-weight: normal;
  text-align: center;
}

h2#block-make-it-paavalikko-menu {
  display: none;
}

div.jumbotron {
  background-position: center;
  background-size: cover;
  color: var(--san-juan);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 650px;
  margin: 0;
  padding: 0;
}

nav#block-make-it-paavalikko {
  margin: 100px 200px 50px;
  display: flex;
  flex-wrap: wrap;
}

nav#block-make-it-muutlinkit {
  margin: 0 200px 100px;
}

nav a:link,
nav a:visited {
  color: var(--silver-sand);
  text-decoration: none;
  display: inline-flex;
}

nav#block-make-it-paavalikko a {
  font-size: 96px;
}

nav#block-make-it-muutlinkit a {
  font-size: 36px;
}

nav a:link.active-item,
nav a:visited.active-item {
  color: var(--text-color);
}

nav#block-make-it-paavalikko a:not(:last-child) {
  margin-right: 150px;
}

nav#block-make-it-muutlinkit a:not(:last-child) {
  margin-right: 50px;
}

div.content-container {
  margin: 100px 200px;
}

article h3,
.content-container h3 {
  font-weight: normal;
  font-size: 48px;
  color: var(--text-color);
}

article {
  max-width: 820px;
}

article p,
article li,
.content-container p,
.content-container li,
.content-container .form-item {
  font-size: 24px;
  color: var(--text-color);
}

div.technology-item {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

div.technology-item svg {
  font-size: 36px;
  color: var(--text-color);
}

div.technology-item span {
  display: inline-flex;
  margin-left: 0.5em;
  font-size: 24px;
  color: var(--text-color);
  padding-top: 5px;
}

div.technology-item span.text-icon {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin-left: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

div.technology-item img.technology-image {
  max-width: 36px;
  max-height: 36px;
}

footer.footer {
  background-color: var(--san-juan);
  color: var(--titan-white);
  padding: 200px;
  margin: 0;
  font-size: 24px;
}

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

footer.footer a:link,
footer.footer a:visited {
  color: var(--titan-white);
}

footer.footer p.footer-item {
  display: flex;
  align-items: center;
}

footer.footer p.footer-item svg {
  text-decoration: none;
}

footer.footer p.footer-item span {
  padding-left: 0.5em;
}

footer.footer div.footer-bottom {
  margin-top: 50px;
}

article img {
  max-width: 100%;
  height: auto;
}

article div.budget-images {
  display: flex;
  flex-wrap: wrap;
}

article div.budget-images img {
  max-width: 25%;
  height: auto;
  display: inline-flex;
  margin: 0 1em 1em 0;
}

div#block-make-it-puhelinnumero,
div#block-make-it-otayhteytta {
  margin: 3em 3em 0 0;
  display: inline-block;
}

.contact-form input[type="submit"] {
  font-family: 'Bahnschrift', Verdana, sans-serif;
  font-size: 120%;
  background-color: var(--san-juan);
  color: var(--titan-white);
  border: none;
  padding: 0.5em 1em;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1em;
}

.contact-form input[type="submit"]:focus-visible {
  outline: 4px solid var(--san-juan);
  outline-offset: 4px;
}

.contact-form {
  max-width: 600px;
}

.contact-form .form-item:not(.form-type-checkbox) {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.5em;
}

.contact-form .form-item input[type="text"],
.contact-form .form-item input[type="email"] {
  padding: 0.75em;
  max-width: 435px;
}

.form-type-checkbox input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 35px;
  height: 23px;
  margin: 0;
  z-index: 1;
  cursor: pointer;
}

.form-type-checkbox input[type=checkbox] + label {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  color: #78768d;
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-family: 'Bahnschrift', Verdana, sans-serif;
  font-size: 100%;
  line-height: 15px;
  position: relative;
}

.form-type-checkbox input[type=checkbox] + label::before,
.form-type-checkbox input[type=checkbox] + label::after {
  content: '';
  display: block;
}

.form-type-checkbox input[type=checkbox] + label::before {
  background-color: #05012c;
  border-radius: 500px;
  height: 23px;
  margin-right: 8px;
  -webkit-transition: background-color 0.125s ease-out;
  transition: background-color 0.125s ease-out;
  width: 35px;
}

.form-type-checkbox input[type=checkbox] + label::after {
  background-color: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 1px 0 rgba(37, 34, 71, 0.05), 0 2px 2px 0 rgba(37, 34, 71, 0.1), 0 3px 3px 0 rgba(37, 34, 71, 0.05);
  height: 20px;
  left: 1px;
  position: absolute;
  top: 1px;
  -webkit-transition: -webkit-transform 0.125s ease-out;
  transition: -webkit-transform 0.125s ease-out;
  transition: transform 0.125s ease-out;
  transition: transform 0.125s ease-out, -webkit-transform 0.125s ease-out;
  width: 20px;
}

.form-type-checkbox input[type=checkbox]:focus-visible + label::before {
  outline: 3px solid var(--san-juan);
  outline-offset: 4px;
}

.form-type-checkbox input[type=checkbox] + label .switch-x-text {
  display: block;
  margin-right: .3em;
}

.form-type-checkbox input[type=checkbox] + label .switch-x-toggletext {
  display: block;
  font-weight: bold;
  height: 23px;
  overflow: hidden;
  position: relative;
  width: 35px;
}

.form-type-checkbox input[type=checkbox] + label .switch-x-unchecked,
.form-type-checkbox input[type=checkbox] + label .switch-x-checked {
  left: 0;
  position: absolute;
  top: 0;
  -webkit-transition: opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
  transition: opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
  transition: transform 0.125s ease-out, opacity 0.125s ease-out;
  transition: transform 0.125s ease-out, opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
}

.form-type-checkbox input[type=checkbox] + label .switch-x-unchecked {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

.form-type-checkbox input[type=checkbox] + label .switch-x-checked {
  opacity: 0;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
}

.form-type-checkbox input[type=checkbox] + label .switch-x-hiddenlabel {
  position: absolute;
  visibility: hidden;
}

.form-type-checkbox input[type=checkbox]:checked + label::before {
  background-color: #3cc23e;
}

.form-type-checkbox input[type=checkbox]:checked + label::after {
  -webkit-transform: translate3d(15px, 0, 0);
  transform: translate3d(15px, 0, 0);
}

.form-type-checkbox input[type=checkbox]:checked + label .switch-x-unchecked {
  opacity: 0;
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
}

.form-type-checkbox input[type=checkbox]:checked + label .switch-x-checked {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

@media screen and (max-width: 1400px) {
  h1 {
    font-size: 60px;
  }

  div.jumbotron {
    height: 325px;
  }

  nav#block-make-it-paavalikko,
  nav#block-make-it-muutlinkit {
    margin: 50px;
  }

  nav#block-make-it-paavalikko a:link,
  nav#block-make-it-paavalikko a:visited {
    font-size: 48px;
  }

  nav#block-make-it-muutlinkit a {
    font-size: 18px;
  }

  nav#block-make-it-paavalikko a:not(:last-child) {
    margin-right: 75px;
  }

  div.content-container {
    margin: 50px;
  }

  article h3 {
    font-size: 24px;
  }

  article p,
  article li,
  .cv-technologies p {
    font-size: 18px;
  }

  div.technology-item {
    padding: 2px 0;
  }

  div.technology-item svg {
    font-size: 24px;
  }

  div.technology-item span {
    font-size: 18px;
  }

  div.technology-item span.text-icon {
    font-size: 18px;
    width: 24px;
    height: 24px;
  }

  div.technology-item img.technology-image {
    max-width: 24px;
    max-height: 24px;
  }

  footer.footer {
    font-size: 18px;
    padding: 50px;
  }

  footer.footer div.footer-columns {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form .form-item input[type="text"],
  .contact-form .form-item textarea {
    max-width: 250px;
    padding: 0.75em;
    box-sizing: border-box;
  }

  .content-container h3 {
    font-size: 24px;
  }

  .content-container p,
  .content-container li {
    font-size: 18px;
  }
}
