﻿@font-face {
  font-display: swap;
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
  src: url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-condensed-v25-latin-700.eot');
  src: url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg');
}

:root {
  font-size: 1rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 11px;
  line-height: 14px;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  color: #231f20;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 915px;
  margin: 1rem auto;
  border: 1px solid #413D3E;
  overflow: hidden;
  background-color: #fff;
}

h1 {
  font-size: 11px;
  line-height: 1.1;
  font-weight: 400;
  padding: 0.375rem 1rem;
  background-color: #FEC81F;
  text-align: center;
  margin-bottom: 0;
}

h2 {
  margin: 0rem 0 0.625rem;
  font-size: 1em;
  line-height: 1.25;
  font-weight: 400;
  display: inline-block;
  padding: 0.25rem;
  background-color: #FFC726;
}

p {
  margin-bottom: 1rem;
  text-align: justify;
  hyphens: auto;
  text-wrap: pretty;
}

article {
  padding: 0.875rem 35.1875rem 0.75rem 1.5625rem;
  position: relative;
  background: url('../images/background.jpg') no-repeat 0 0;
}

article figure {
  display: flex;
  justify-content: flex-start;
  gap: 1.25rem;
  align-items: center;
}

article .more-info {
  position: absolute;
  top: 216px;
  left: 637px;
  width: 250px;
}

article strong {
  color: #1E6A90;
  font-weight: 400;
}

footer p {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: #231f20;
  text-decoration: none;
  white-space: nowrap;
}

ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  text-align: justify;
  hyphens: auto;
}

ul li {
  padding-left: 0.75rem;
}

ul li:before {
  content: "\2022";
  color: #231f20;
  float: left;
  margin-top: -3px;
  font-size: 1.25rem;
  line-height: 1em;
  text-indent: -0.75rem;
}

.info {
  position: relative;
}

.gallery {
  display: none;
}

.social {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
  position: absolute;
  bottom: 0.1875rem;
  left: 11.6875rem;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 3px 0;
}

.flex p {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

@media all and (max-width:915px) {
  body {
    font-size: 1rem;
    line-height: 1.3;
  }

  #wrapper {
    margin: 0;
    padding: 0;
    border: none;
  }

  ul {
    hyphens: auto;
    text-wrap: pretty;
  }

  p {
    text-align: left;
  }

  .flexbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 1rem;
  }

  .gallery {
    display: flex;
    justify-content: center;
    margin: 0 0 16px;
    align-items: center;
  }

  .social {
    right: 0;
    bottom: 1.1875rem;
    justify-content: flex-end;
    align-items: flex-end;
  }

  ul li:before {
    margin-top: 0px;
  }

  article {
    padding: 1rem 1rem 0;
    position: relative;
    background-image: none;
  }

  article .more-info {
    position: static;
    width: 100%;
  }

  li {
    text-align: left;
  }

  footer {
    padding: 0 16px;
  }

  .flexbox div:nth-of-type(2) {
    padding-right: 2.5rem;
  }

  h1 {
    font-size: 16px;
    line-height: 1.3;
  }
}

@media all and (max-width:767px) {
  .info {
    position: relative;
    width: 100%;
  }
}