

html {
  background-color: #EEF5FF;
}

body {
  font-family: 'Lora', serif;
  font-size: 20px;
  color: #293845;
  line-height: 32px;
  max-width: 1200px;
  padding: 0 30px 30px 30px;
  margin: 40px auto 40px auto;
}

main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr;
}

header {
  height: 100%;
  display: grid;
  grid-template-rows: 200px auto;
  padding-right: 40px;
}

section {
  overflow-y: scroll;
}
.logo {
  align-self: start;
}

.contact {
  align-self: start;
}

.logo h1 {
      position: absolute !important;
      height: 1px;
      width: 1px;
      overflow: hidden;
      clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
      clip: rect(1px, 1px, 1px, 1px);
      white-space: nowrap; /* added line */
}

.logo img {
  max-width: 200px;
  padding-bottom: 30px;
}


.contact ul {
  margin: 0 0 30px 0;
  padding: 20px 0 20px 0;
  border-top: 4px solid white;
  border-bottom: 4px solid white;
  list-style-type: none;
}

:target {
  animation-name: outline;
  animation-duration: 2s;
  animation-iteration-count: 1;
}

@keyframes outline {
  from {
    outline: 4px solid #F9CB3F;
    outline-offset: 10px;
  }
  to {
    outline: 4px solid transparent;
  }
}


.contact ul li {
  padding: 20px 0 20px 0;
  border-bottom: 2px solid white;

}

.contact ul li:first-of-type {
  padding: 0 0 20px 0;
}

.contact ul li:last-of-type {
  padding: 20px 0 0 0;
  border-bottom: 0;
}

h2.wide {
  margin: 0 0 40px 0;
  padding-bottom: 20px;
  border-bottom: 4px solid white;
}

h2.narrow {
  display: none;
}

img.hero {
  padding-bottom: 20px;
  mix-blend-mode: multiply;
  filter: grayscale(100%);
}

.mihi {
  background-color: white;
  font-style: italic;
  padding: 20px;
}

.mihi p {
  margin: 0;
}

.cta {
  font-weight: 700;
  border-bottom: 4px solid white;
  padding-bottom: 30px;
}

a {
  color: #293845;
  border-bottom: 2px solid #293845;
  text-decoration: none;
}

a:hover {
  background-color: white;
}

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

  main {
    display: block;
  }

  header {
    display: block;
    padding-right: 0;
  }

  h2.wide {
    display: none;
  }
  h2.narrow {
    display: block;
    font-size: 1.2em;
    margin: 0 0 40px 0;
    padding-bottom: 0;
    border-bottom: none;
  }




}
