/* Theming */
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap");
/* import font */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap"); /* import font */

@font-face {
    font-family: 'Antiqua';
    src: url("/static/fonts/bookantiqua.woff2");
    font-weight: 400;
    font-style: normal;
}

:root {
    --white: #363636;
    --black: #f9f9f9;
    --gray: #85888C;
}

/* variables*/

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* background-color: var(--white); */
    font-family: "Antiqua", sans-serif;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Header */
.header {
    /* background-color: var(--white); */
    /* background: rgb(103,85,63);*/
    /*background: #363636;*/
    background: rgb(54, 54, 54);
    color: var(--black);
    /*position: sticky;*/
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3333;


}

.row {
    display: flex;
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-center {
    justify-content: center;
}

.justify-start {
    justify-content: start;
}

.justify-end {
    justify-content: end;
}

.full-width {
    width: 100%;
}

.block {
    display: block;
}

.inline {
    display: inline-block;
}

.text-center {
    text-align: center;
}

.q-mr-lg {
    margin-right: 15px;
}

.q-mt-lg {
    margin-top: 15px;
}

.q-mr-md {
    margin-right: 10px;
}

.q-ml-md {
    margin-left: 10px;
}

.q-mb-lg {
    margin-bottom: 20px;
}

.items-center {
    align-items: center;
}

.contacts-block ul {
    list-style: none;
}

.contacts-block ul li {
    padding: 0 5px;
}

.contacts-block ul li a {
    color: var(--black);
}

.contacts-block ul li a:hover {
    color: var(--gray);
}


/* Logo */


.logo {
    display: inline-block;
    color: var(--white);
    font-size: 60px;
    /*margin-left: 20px;*/
    /* height: 43px; */
    width: 150px;
    content: "";
    background: url('/static/img/logocenter.svg') no-repeat;
    background-size: contain;
    /*margin: 20px 0 0 0;*/
}

/* Nav menu */
.nav {
    clear: both;
    width: 100%;
    height: 100%;
    position: relative;
    background-color: var(--white);
    overflow: hidden;
    font-family: 'Montserrat';
}

.nav .contacts-block {
    display: block;
}

.nav .contacts-block {
    display: none;
}

.header {
    padding-top: 5px;
}

.header::after {
    width: 100%;
    border-bottom: #fff solid 1px;
    content: "";
    display: block;
    margin: 5px auto 0 auto;
}

.menu a {
    display: block;
    padding: 0 15px;
    color: var(--black);
}

.menu a:hover {
    background-color: var(--gray);
}

.nav {
    max-height: 0;
    margin-right: 80px;
    transition: max-height .2s ease-out;
}

/* Menu Icon */
.hamb {
    cursor: pointer;
    float: right;
    padding: 0 20px 0 0;
}

/* Style label tag */

.hamb-line {
    background: var(--black);
    display: block;
    height: 3px;
    position: relative;
    width: 30px;

}

/* Style span tag */

.hamb-line::before,
.hamb-line::after {
    background: var(--black);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before {
    top: 10px;
}

.hamb-line::after {
    top: -10px;
}

.side-menu {
    display: none;
}

/* Hide checkbox */

/* Toggle menu icon */
.side-menu:checked ~ nav {
    max-height: none;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top: 0;
}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top: 0;
}

/* Responsiveness */
@media (min-width: 1104px) {
    .nav {
        max-height: none;
        /*top: 20px;*/
        position: relative;
        /*float: right;*/
        /*margin-right: 10vw;*/
        width: fit-content;
        background-color: transparent;

    }

    .menu li {
        float: left;
    }

    .menu a:hover {
        background-color: transparent;
        color: var(--gray);

    }

    .hamb {
        display: none;
    }
}

@media (max-width: 1103px) {
    .logo {
        /*margin-left: 30vw;*/
        margin-left: 20px;
    }

    .nav {
        position: absolute;
        left: 0;
        top: 80px;
        height: auto;
        /*overflow: initial;*/
        /*max-height: 100%;*/
        box-shadow: 6px 6px 40px rgba(0, 0, 0, 0.6);
    }
    .nav .menu {
        margin-top: 10px;
         margin-bottom: 15px;
    }
    .nav ul li {
        padding: 10px 0;
    }

    .contacts-block {
        display: none;
    }

    .nav .contacts-block {
        display: block;
        margin-top: 15px;
    }

    .nav .contacts-block {
        padding: 0 15px;
    }

     .nav .contacts-block li {
         margin-right: 20px;
     }


}