/* Reset */
* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 16px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* кнопка вверх */
.upbtn {
    opacity: 0.8;
    z-index: 99;
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: -80px;
    right: 220px;
    cursor: pointer;
    border: 3px solid #BFE2FF;
    transition: all .7s ease-in-out;
    background-color: #337AB7;
    transform: rotate(-90deg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    color: #fff;
    box-shadow: 5px 5px 10px #606060;
}

.upbtn::before {
    content: "⋙";
}

.upbtn:hover {
    opacity: 1;
    background-color: #337AB7;
}

/* Адаптация */
@media(max-width:1200px) {
    .conteiner {
        max-width: 970px;
    }
}

@media(max-width:992px) {
    .conteiner {
        max-width: 750px;
    }

    .upbtn {
        right: 50px;
    }
}

@media(max-width:767px) {
    .conteiner {
        max-width: none;
    }
}

@media(max-width:550px) {
    /*до 340px*/
}