/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  /* inherit font & color from ancestor */
  color: inherit;
  font: inherit;
  /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
  line-height: normal;
  /* Corrects font smoothing for webkit */
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  /* Corrects inability to style clickable `input` types in iOS */
  -webkit-appearance: none;
  outline: none;
}

/* Remove excess padding and border in Firefox 4+ */
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f0f0f0;
  font-family: "Font", sans-serif;
  font-size: 15px;
  line-height: 1.2;
}

.opacity-null {
  opacity: 0;
}

.display-none {
  display: none;
}

.overflow-hidden {
  overflow: hidden;
}

.float-right {
  display: block;
  margin-left: auto;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

a, button {
  cursor: pointer;
  color: black;
  text-decoration: none;
}
a:hover, button:hover {
  text-decoration: underline;
}

.row {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@font-face {
  font-family: "Font";
  src: url("fonts/font.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
body {
  display: flex;
  min-height: 100vh;
  width: 100%;
  font-size: 15px;
}
body main {
  display: flex;
  background: pink;
  width: 100%;
}
body .left {
  width: 50%;
  background: beige;
  display: flex;
  flex-direction: column;
}
body .left .top {
  position: relative;
  min-height: 300px;
  flex-grow: 1;
}
body .left .top .logo {
  position: absolute;
  width: 60%;
  height: auto;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
}
body .right {
  position: relative;
  background: gray;
  width: 50%;
  align-self: stretch;
}
body .content-landscape,
body .content-portrait {
  background: white;
  padding: 40px 20px;
  box-sizing: border-box;
  flex-direction: column;
  display: flex;
}
body .content-landscape p,
body .content-portrait p {
  font-size: 42px;
  margin-bottom: 1em;
}
@media (max-width: 1440px) {
  body .content-landscape p,
  body .content-portrait p {
    font-size: 30px;
  }
}
@media (max-width: 640px) {
  body .content-landscape p,
  body .content-portrait p {
    font-size: 24px;
  }
}
@media (orientation: portrait) {
  body .content-landscape,
  body .content-portrait {
    padding-top: 8em;
  }
}
@media (max-width: 500px) {
  body .content-landscape,
  body .content-portrait {
    justify-content: flex-end;
  }
}

picture img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (orientation: landscape) {
  .content-portrait {
    display: none !important;
  }
}
@media (orientation: portrait), (max-width: 500px) {
  .content-landscape {
    display: none !important;
  }
  body {
    flex-direction: column;
  }
  main {
    flex-grow: 1;
  }
}
@media (max-width: 1200px) {
  main .left .top .logo {
    width: 75%;
  }
}
@media (max-width: 500px) {
  main {
    flex-direction: column;
  }
  main .left,
  main .right {
    width: 100%;
  }
  main .left .top,
  main .right {
    min-height: 90vh;
  }
  main .left .top .logo,
  main .right .logo {
    width: 80%;
  }
}
footer a:not(:hover) {
  text-decoration: none;
}
