html {
  font-family: sans-serif;
  font-size: 2vmin; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: white;
  color: black; }

button {
  font-size: 2.2vmin;
  font-weight: bold;
  text-transform: uppercase;
  border: none; }
  button:hover {
    cursor: pointer; }

#header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center; }
  #header #logo {
    display: block; }
    #header #logo > img {
      height: 10vmin;
      margin: 1.8vmin 3vmin; }
  #header #news-preview {
    display: flex;
    flex-direction: column;
    margin: 2vmin;
    max-width: 32vw; }
    #header #news-preview > .title {
      font-size: 1.8vmin;
      font-weight: bold;
      margin-bottom: 1vmin; }
    #header #news-preview > .text {
      font-size: 1.5vmin; }
    #header #news-preview > a {
      align-self: flex-end;
      margin: 0.8vmin;
      padding: 0.6vmin 0.8vmin;
      border-radius: 0.8vmin;
      background-color: #ddd;
      color: #333;
      text-decoration: none; }

#content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch; }

#footer {
  margin-top: 4vmin;
  padding: 5vmin;
  background-color: #444;
  color: white;
  font-size: 1.6vmin; }
  #footer a, #footer a:visited {
    color: #ddd; }

.section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 5vmin 0;
  margin: 0 3vmin;
  border-top: 1px solid #aaa; }
  .section > .imgs {
    margin: 1vmin;
    display: flex;
    flex-direction: column;
    align-items: flex-end; }
    .section > .imgs > img {
      margin: 2vmin;
      border-radius: 2vmin; }
      .section > .imgs > img:first-child {
        width: 34vw;
        margin-right: 3vw; }
      .section > .imgs > img:not(:first-child) {
        width: 24vw;
        outline: 1vmin solid white;
        margin-top: -4vw; }
  .section > .info {
    display: flex;
    flex-direction: column;
    margin: 0 2vmin; }
    .section > .info > * {
      margin: 3vmin; }
    .section > .info > .title {
      align-self: flex-start;
      height: 8vmin;
      margin-bottom: 0; }
    .section > .info > .text > p:first-child {
      margin-top: 0; }
    .section > .info > a {
      align-self: flex-end;
      margin-right: 6vmin; }
      .section > .info > a > button {
        padding: 1.8vmin 2.4vmin;
        border: 2px black solid;
        border-radius: 1vmin;
        background-color: white; }
        .section > .info > a > button:hover {
          background-color: #f6f6f6; }

#index-section-bed > .imgs {
  display: grid;
  grid-template-columns: auto auto; }
  #index-section-bed > .imgs > .img0 {
    grid-column: 1 / span 2; }
  #index-section-bed > .imgs > .img1 {
    width: 18vw;
    margin-left: 6vw;
    margin-right: -2.6vw;
    margin-bottom: 3vw;
    margin-top: -3vw; }
  #index-section-bed > .imgs > .img2 {
    width: 14vw;
    margin-top: -6vw; }

#gallery-thumbs {
  display: grid;
  grid-template-columns: auto auto auto auto; }
  #gallery-thumbs > img {
    width: 10vw;
    border-radius: 1vmin;
    margin: 0.8vw; }
    #gallery-thumbs > img:hover {
      cursor: pointer; }

#gallery {
  display: flex;
  flex-direction: row;
  align-items: center; }
  #gallery > img {
    width: 40vw;
    border-radius: 2vmin; }
  #gallery > button {
    width: 6vmin;
    height: 9vmin;
    background: url(img/arrow.svg) center no-repeat;
    background-size: contain;
    opacity: 16%; }
    #gallery > button:hover {
      opacity: 22%; }
    #gallery > button:disabled {
      opacity: 0; }
    #gallery > button:last-child {
      margin-left: 1vmin; }
    #gallery > button:first-child {
      margin-right: 1vmin;
      -moz-transform: scaleX(-1);
      -o-transform: scaleX(-1);
      -webkit-transform: scaleX(-1);
      transform: scaleX(-1);
      filter: FlipH;
      -ms-filter: "FlipH"; }

.card {
  flex: 1 1;
  margin: 3vmin;
  border-radius: 3vmin;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  box-shadow: 0 1vmin 3vmin -0.6vmin rgba(0, 0, 0, 0.4); }
  .card > img {
    height: 26vw; }
  .card > .info {
    margin: 3vmin; }
    .card > .info > .title {
      align-self: flex-start;
      height: 6vmin;
      margin-bottom: 2vmin; }
  .card.news {
    align-self: center;
    flex-direction: column;
    flex-grow: 0;
    width: 50vw;
    padding: 2vmin; }
    .card.news > * {
      margin: 1.6vmin; }
    .card.news > .title {
      margin-bottom: 2.4vmin;
      align-self: flex-start;
      font-weight: bold;
      text-transform: uppercase;
      margin-bottom: 2vmin; }

@media screen and (max-aspect-ratio: 1/1) {
  .section {
    flex-direction: column; }
    .section > .imgs {
      flex-direction: row; }
      .section > .imgs > img:first-child {
        width: 50vw; }
      .section > .imgs > img:last-child {
        width: 32vw; }
  .news.card {
    width: auto !important; }
  #index-section-bed .img0 {
    grid-column: 1 !important;
    grid-row: 1 / span 2; }
  #gallery, #gallery-thumbs {
    margin-bottom: 2vmin; }
  #gallery-thumbs > img {
    width: 20vw; }
  #gallery > img {
    width: 80vw; } }
