* {
    box-sizing: border-box
}
body {
  background-color: var(--de-emphasis);
  font-family: "Open Sans";
  margin: 0;
  padding: 0;
}
p {
  font-size: 1rem;
}
a:link,
a:visited,
a:hover,
a:active {
  color: var(--default-text);
  text-decoration: none;
}
header {
  background-color: var(--primary-color);
  color: var(--text-light);
  margin: 0;
  padding: 20px 0 1px;
  /*position: fixed;*/
  width: 100%;
}
header div {
  margin: auto 12px;
}
h1 {
  font-size: 1.5rem;
}
h2 {
  font-size: 1.375rem;
}
footer {
  background-color: var(--de-emphasis);
  color: var(--text-light);
  margin: 7px auto;
  padding: 20px 0;
  text-align: center;
  width: 100%;
}
/*class selectors*/
.content {
  background-color: var(--bg-color);
}
.logo {
  display: inline-block;
  font-size: 34px;
}
.logo img {
  height: 3.5rem;
  margin-right: .75rem;
}
.top-nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
.top-nav a {
  margin: 0 1rem .75rem 0;
}
.top-nav a:nth-last-child(1){
  margin-right: 1.5rem;
}
.row-block {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0 auto;
  padding: 1.5rem 0;
}
@media (max-width: 1048px) {
  .row-block {display: block};
  .welcome {max-width: 75%};
}
.row-block>div {
  margin: 0 0 1.5rem 1.5rem;
}
.row-block div:nth-last-child(1) {
  margin-right: 1.5rem;
}
.item img {
  margin: auto;
  padding: 0;
}
.carousel {
  min-width: 300px;
  max-width: 800px;
  margin-left: 12px;
}
.welcome {
  min-width: 15rem;
  max-width: 18rem;
  min-height: 20rem;
}
/* skip link */
.btn--skip-link {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
  outline-color: currentColor !important;
  color: var(--off-black) !important;
  font-weight: 600;
  font-size: larger;
  margin: 0 auto;
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: 0.5em;
  width: 10em;
  opacity: 1;
  transition: transform 0.1875s ease-out, opacity 0.1875s ease-out;
}
.btn--skip-link:not(:focus):not(:hover) {
  transform: translateY(-4em);
  opacity: 0;
}
/* back to top button */
.btn-backtotop.active {
  opacity: 1;
}
.btn-backtotop {
  z-index: 5;
  position: fixed;
  cursor: pointer;
  bottom: 16px;
  right: 16px;
  left: auto;
  opacity: 0;
  transition: opacity .5s linear;
}
#block1 {
  padding: 5rem 0 5rem;
  background-image: url('img/background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
#block2{
  flex-wrap: wrap;
  padding: 1.5rem 0 0;
}
