@font-face {
	font-family: 'Gilroy-ExtraBold';
	src: url('../fonts/gilroy-extrabold.eot'); /* IE 9 Compatibility Mode */
	src: url('../fonts/gilroy-extrabold.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
		url('../fonts/gilroy-extrabold.woff2') format('woff2'), /* Super Modern Browsers */
		url('../fonts/gilroy-extrabold.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
		url('../fonts/gilroy-extrabold.ttf') format('truetype'), /* Safari, Android, iOS */
		url('../fonts/gilroy-extrabold.svg#gilroy-extrabold') format('svg'); /* Chrome < 4, Legacy iOS */
}
html{
    height:100%;
}

body{
    font-family: 'Gilroy-ExtraBold','Arial', Helvetica, sans-serif;
    color: #212529;
    font-style: normal;
    font-weight: normal;
    background-color: #F8F8FF;

    line-height: 1;

    height: 100%;
    min-height: 100%;
    display: flex;
	flex-direction: column;

    margin:0;
}

/* footer */

footer{
	flex: 0 0 auto;
    text-align: center;
    width: 100%;
    padding: 20px 0;
    bottom: 0;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.1);
}

footer span{
    display: inline-block;
    margin: 0 20px;
    vertical-align: top;
    line-height: 36px;
}

.footer-click{
    text-decoration: none;
    color:inherit;
}

.footer-click:hover{
    color:#5c5c5c;
}


/* //////////////////////////////////// header ///////////////////////////////////// */

.header {
    background-color: rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    position: fixed;
    transition: all 0.4s ease;
    z-index: 5;
}

.styled{
    background-color: rgba(0, 0, 0, 0.7);
}

.header.styled a.selected{
    border-bottom:2px solid white;
}
.header.styled a{
    padding: 14px 0;
    color:white
}
.header a{
    transition: all 0.4s ease;
    display: inline-block;
    padding: 20px 0;
    color: black;
    text-decoration: none; 
    font-size: 20px;
    margin: 0 30px;
}

.header a:hover{
    border-bottom:1px solid #5c5c5c;
}

.header a.selected{
    border-bottom:2px solid black;
}

.logo-thumb{    
    position: absolute;
    top: 10px;
    left: 10px;
    width: 180px;
}

@media only screen 
and (max-width : 1100px) {
    .logo-thumb{
        display:none;
    }
}

/* //////////////////////////////////// contacts ///////////////////////////////////// */


.container{
    margin:auto;
    margin-top:100px;
    flex: 1 0 auto;
}

.title{
    font-weight: bold;
    font-size: 24px;
}

.info{
    max-width: 100%;
    margin:auto;
    display: flex;
}


.contacts{
    margin-right: 0;
    margin-left: auto;
    text-align: right;
}

.list-info{
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.location .list-info{
    text-align: left;
}

.contacts .list-info{
    text-align: right;
}


a.mail{
    text-decoration: none;
    color: #1A88FF;
}

a.mail:hover{
    text-decoration: underline;
}


.work-time{
    text-align:center;
}


iframe{
    margin-top:20px;
    width: 100%;
}

@media only screen 
and (max-width : 500px) {
    .info{
        display: block;
    }
}

/* //////////////////////////////////// about ///////////////////////////////////// */

.logo-img-container{
    text-align: center;
}

.logo{
    width: 100%;
    max-width: 500px;
}


div.show{
    opacity: 0;
    animation: ani 2.5s forwards;
}

div.part-content{
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: flex;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 20px 0;
}

.advantage-img{
    width:40%;
    opacity: 0.8;
}
p.advantage-text{
    font-size:30px;
    text-align: left;
    text-indent: 30px;
    line-height: 1;
    text-shadow: 0 0.1em #212529;
    padding:20px 0 20px 10px;
    color: rgb(220, 220, 220);
    margin:auto;
}

@keyframes ani {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


@media only screen 
and (max-width : 540px) {
    p.advantage-text {
        font-size:20px;
    }
    .header a{
        padding: 10px;
        font-size: 20px;
        margin:0;
    }
    .header.styled a{
        padding: 6px;
        font-size: 20px;
    }
    .advantage-img{
        display: none;
    }
}


@media only screen 
and (min-width : 480px) 
and (max-width : 768px) {
    p.advantage-text {
        font-size:26px;
    }
    .advantage-img{
        display: none;
    }
    
}


/* help */

img.back-pic{
    width:100%;
    display: none;
}

p.false{
    font-size:24px;
    max-width:700px;
    color: #262626;;
    text-shadow: 0 1px wheat;    
    text-align: justify;
    text-indent: 30px;
}

.form-container{
    padding: 20px;
    align-items: center;
    background-image: url("/gallery/IMG_6090.JPG");
    box-shadow: 0 0 8px 8px #F8F8FF inset;
}

.head-content{
    width:100%;
}

.head-content input{
    padding: 5px 10px;
    width:48%;
    font-size: 18px;
    box-sizing: border-box;
    float: left;
}


input:focus,textarea:focus{
    outline: solid #42dd42 1px;
}

textarea.message{
    width: 100%;
    resize: none;
    font-size: 18px;
    padding: 5px 10px;
    margin: 20px 0;
    height: 400px;
    box-sizing: border-box;
}


form{
    text-align: center;
}

button[type="submit"]{
    background-color: black;
    border:none;
    transition: all 0.4s ease;
    font-size: 20px;
    padding:20px;
    cursor: pointer;
    color: white;
    border-radius: 2px;
}
button[type="submit"]:hover{
    background-color: rgb(59, 59, 59);
}
.top-part{
    padding:10px;
}
.top-part .phone-number{
    font-size: 16px;
    font-weight: bold;
    color: #262626;
    text-shadow: 0 1px wheat;
}

.right-img{
    position: absolute;
    height: 379px;
    width: 131px;
    right: 0;
    bottom: 120px;
}

@media only screen 
and (max-width : 1000px) {
    .right-img{
        display: none;
    }
}

/* catalog */

a.category{
    display: inline-block;
    width: 200px;
    height: 200px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    line-height: 200px;
    margin:20px;
    box-shadow: 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

a.category span{
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

a.category:hover{
    text-shadow: white 0 0 10px;;
    -webkit-text-stroke: 1px white;
    transform: scale(1.1);
}

/* products */

div.content{
    margin-top:100px;
    margin-left:40px;
}

.back-pages{
    margin-bottom:20px;
}

.back-pages button{
    background: none;
    color:#000000;
    cursor: pointer;
    border:none;
    padding: 0;
    margin: 0;
    font-size:16px;
}

.back-pages button:hover{
    color: #535353;
}

.sidebar{
    background-color: rgba(0,0,0,0.1);
    float:left;
    display: inline;
    margin-top: 100px;
}

.sidebar button.category{
    width: 300px;
    text-align: right;
    display: block;
    font-size: 26px;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color:black;
}

.sidebar button.category.selected{
    background-color: white;
}

.sidebar button.category:hover{
    color:rgb(100, 100, 100);
}   

.product-container{
    display: flex;
    width: max-content;
}

.product-img{
    width: 300px;
    height:300px;
    margin-right: 40px;
}

.product-text .description{
    max-width:365px;
    font-size:20px;
    color: rgb(53, 53, 53);
}
.product-text .title{
    max-width: 365px;
    margin: 0;
}
td {
    width: 33%;
    border: 1px solid #262626;
    padding: 10px
}

table{    
    max-width: 365px;
    font-size: 14px;
    border-collapse: collapse;
    margin: 30px 0;
}

td:first-of-type {
    border-left: none;
}
td:last-of-type {
    border-right: none;
}
tr:last-of-type td {
    border-bottom: none;
    padding-bottom: 0;
}
tr:last-of-type td {
    border-bottom: none;
    padding-bottom: 0;
}

.topbar{
    margin:auto;
    margin-top:100px;
    text-align: center;
    margin-bottom: 20px;
    display: none;
}

.topbar button{
    color:white;
    font-size: 30px;
    border:none;
    background: none;
    display: block;
    width:100%;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px 0;
}


.topbar .dropdown-content{
    background-color: rgba(0, 0, 0, 0.5);
    color:white;
    display: none;
}

.topbar .dropdown-content.show{
    display: block;
}

@media only screen 
and (max-width : 280px) {
    .header a{
        font-size:14px;
    }
}
@media only screen 
and (max-width : 540px) {

    div.content{
        width: 100%;
        margin-left: 0;
        margin-top:0;
        text-align: center;
    }

    .container{
        display: block !important;
    }

    div.topbar{
        display: block;
    }

    div.content div{
        text-align: center;
        width: 100%;
    }
    div.category-container button{
        text-align: center;
        width: 100%;
    }

    .sidebar {
        display:none;
    }
    

    .product-text .description{
        font-size: 16px;
    }
    .product-text .title{
        font-size: 18px;
    }
    .product-text .title, .product-text .description{
        max-width: 200px;   
        margin-left: auto;
        margin-right: auto;
    }

    table{    
        max-width: 200px;
        font-size: 10px;
        margin:auto;
    }
    .product-img{
        width:210px;
        height:210px;
        margin-right: 0;
    }
}
@media only screen 
and (min-width : 320px) 
and (max-width : 1024px) {

    .product-container{
        display: block;
    }

}

.category-container .title{
    font-size:30px;
    text-transform: uppercase;
}

.category-container button{
    width: 200px;
    text-align: left;
    display: block;
    font-size: 20px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    color:black;
}

.category-container button:hover{
    color:rgb(68, 68, 68);
}   