html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  *,
  *:before,
  *:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
    margin: 0;
    padding: 0;
  }
  
  *:focus {
    outline: transparent;
  }
  
  body,
  html {
    width: 100%;
  }
  
  a,
  button,
  input[type="submit"] {
    cursor: pointer;
  }
  
  input[type="text"],
  button {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
  }* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    color: inherit;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none
}

body {
    background: #FFEED3;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

.flex-row,
.flex-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.flex-col {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap
}

#top {
    width: 100%;
    min-height: 160px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    text-shadow: 0 0 2px #F90;
    font-size: 1.2em;
}

#top::after {
    content: "";
    background-image: url(https://mebelvector.com/static/images/headbg.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

#top>div.flex-row,
#top>p {
    width: 220px
}

#top>p {
    line-height: 2em;
    text-align: center;
}

#top>div.flex-row a {
    margin: 7px
}

#top a:hover {
    color: #900;
    text-shadow: 0 0 6px #F90
}

#logo {
    display: block;
    width: 100%;
    max-width: 294px;
    height: 140px;
    position: relative;
}

#logo img {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur in="SourceAlpha" stdDeviation="1" /><feOffset dx="1" dy="2" result="offsetblur" /><feFlood flood-color="rgba(0,0,0,1)" /><feComposite in2="offsetblur" operator="in" /><feMerge><feMergeNode /><feMergeNode in="SourceGraphic" /></feMerge></filter></svg>#filter');
    -webkit-filter: drop-shadow(0 1px 1px #000);
    filter: drop-shadow(0 1px 1px #000);
}

#top-menu,
.toggle-sub {
    box-shadow: 0 2px 10px #000;
    transition: all .3s
}

#top-menu ul,
.toggle-sub {
    background-image: url(https://mebelvector.com/static/images/wood.jpg);
    align-items: center;
}

#top-menu li {
    padding: 8px
}

#top-menu a,
h1,
.toggle-sub {
    text-transform: uppercase;
    font-weight: 300;
    text-shadow: 0 1px 0 #FFF, 0 0 2px #F90;
    -webkit-transition: text-shadow .5s;
    transition: text-shadow .5s
}

#top-menu a:hover,
.toggle-sub:hover {
    text-shadow: 0 1px 0 #FFF, 0 0 2px #F90, 0 0 4px #F90
}

.toggle-sub {
    display: none
}

#patties {
    cursor: pointer;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    width: 35px;
    height: 35px;
    z-index: 1;
}

.bar1,.bar2,.bar3 {
    width: 35px;
    height: 3px;
    background-color: #000;
    box-shadow: 0 0 2px #F90;
    margin: 6px 0;
    -webkit-transition: 0.4s;
    transition: 0.4s
}

.change {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg)
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px,5px);
    transform: rotate(-45deg) translate(-9px,5px)
}

.change .bar2 {
    opacity: 0
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px,-4px);
    transform: rotate(45deg) translate(-8px,-4px)
}

@media screen and (max-width: 850px) {
    .toggle-sub {
        text-align: center;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
        font-size: 18px;
        cursor: pointer;
        padding: 5px 0;
    }

    #top-menu ul {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        text-align: center;
        transition: all .3s
    }

    #top-menu ul.show {
        max-height: 400px
    }

    #top-menu li {
        padding: 15px 0
    }

    #top>div.flex-row {
        padding: 20px 0
    }
}

main {
    overflow: hidden;
    min-height: calc(100vh - 265px);
}

h1 {
    margin: 15px;
    width: calc(100% - 30px);
    text-align: center;
    z-index: 4;
}

.text {
    background-image: url(https://mebelvector.com/static/images/wood.jpg);
    background-attachment: fixed;
    padding: 40px 15px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.text::after {
    content: "";
    background: rgba(255, 197, 120, .5);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    -webkit-box-shadow: inset 0 25px 35px -18px #000, inset 0 -25px 35px -18px #000;
    box-shadow: inset 0 25px 35px -18px #000, inset 0 -25px 35px -18px #000;
    z-index: -1;
    pointer-events: none;
}

.text>div {
    width: 100%;
    max-width: 1200px;
    color: #000;
    line-height: 1.8em;
    -ms-flex-item-align: center;
    align-self: center;
    z-index: 4;
}

.text>p {
    font-size: 24px;
    text-align: center;
    width: 100%;
    z-index: 5;
}

/* Footer */

footer {
    width: 100%;
    min-height: 70px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    align-items: center;
    flex-grow: 1;
    padding: 40px 15px;
    margin: 0 auto;
    background-image: url(https://mebelvector.com/static/images/wood.jpg);
    background-attachment: fixed;
    position: relative;
}

footer::after {
    content: "";
    background: rgba(255, 197, 120, .5);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 2;
    -webkit-box-shadow: inset 0 20px 30px -15px #000;
    box-shadow: inset 0 20px 30px -15px #000;
    pointer-events: none;
}

footer p {
    z-index: 4
}

#to-top {
    display: none;
    position: fixed;
    left: 2vw;
    bottom: 2vh;
    width: 40px;
    height: 40px;
    background-size: 60% auto;
    background-color: #c6803c;
    color: transparent;
    opacity: .5;
    filter: invert(1);
    transform: rotate(270deg);
    transition: all .3s;
    border-radius: 10px;
    z-index: 10
}

#to-top svg {
    transform: scale(.6)
}

#to-top:hover {
    opacity: 1;
    filter: invert(1) brightness(1.5)
}

#signature {
    padding: 0;
    margin: 0;
    max-width: 160px;
    text-align: center;
    font-size: .7em;
    line-height: normal;
    line-height: initial;
}

#signature a {
    font-size: 1.1em;
    line-height: normal;
    line-height: initial;
}

#signed {
    color: red;
    text-shadow: #000 0 1px 1px;
    font-style: italic;
}

footer a,
footer p {
    margin: 10px 0;
    -ms-flex-item-align: center;
    align-self: center;
    font-size: .9em;
    max-width: 250px;
    text-align: center;
}

@media screen and (max-width: 500px) {

    footer a,
    footer p {
        width: 100%;
        max-width: 100%
    }

    footer p:last-child {
        margin-bottom: 20px
    }
}

/* End footer */

a,
a:active,
a:visited {
    color: inherit;
    text-decoration: none
}

.paragraph {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 10px;
}

.paragraph>a {
    margin: 0 5% 10px 5%;
    text-align: center;
    width: 100%;
    font-size: 1.2em;
    font-weight: bold;
}

.paragraph>p {
    width: 60%;
}

.paragraph>p>a {
    color: blue;
    text-decoration: underline;
}

.paragraph>div.swipe-gallery {
    margin: 0 5%;
    width: 20%;
    overflow: hidden;
}

@media screen and (max-width: 800px) {
    .paragraph>p {
        width: 90%;
        margin: 0 4%;
    }

    .paragraph>div.swipe-gallery {
        width: 90%;
        margin: 4%;
    }
}

.big-pic {
    margin: 0 auto 20px auto;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}

.big-pic>img {
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.publisher {
    width: 260px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.hidden {
    position: fixed;
    left: -7000px;
}