/* ========== FONTS ========== */
@font-face {
    font-family: "Roboto Regular";
    src: url("../fonts/Roboto-Regular.ttf") format("ttf");
}

@font-face {
    font-family: "Roboto Bold";
    src: url("../fonts/Roboto-Bold.ttf") format("ttf");
}

@font-face {
    font-family: "Roboto Thin";
    src: url("../fonts/Roboto-Thin.ttf") format("ttf");
}

/* ========== MAIN STYLES ========== */
body {
    font-family: 'Roboto Regular', sans-serif;
    font-size: 18px;
    color: #232323;
}

html, body {
    overflow-x: hidden !important;
}

* {
    margin: 0;
    padding: 0;
}

a {
    color: #232323;
    text-decoration: none;
    height: auto;
    cursor: url("../img/one.png"), pointer;
}

h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 25px;
}

section {
    padding: 75px 20px 37.2px;
}

/* ========== HEADER ========= */
/* Contact header */
.header {
    width: 100%;
    box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.25);
    z-index: 100;
}

.contact-header {
    font-size: .7em;
    color: #B8B7B7;
    text-align: center;
    background-color: #232323;
    padding: 20px;
}

.contact-header__left {
    margin-bottom: 10px;
}

.contact-header__left span,
.contact-header__right span{
    vertical-align: middle;
}

.contact-header__right span.header-phone {
    margin-bottom: 5px;
}

.header-messengers a {
    display: inline-block;
}

.header-messengers span{
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-left: 5px;
    background-image: url("../img/sprite.png");
    background-repeat: no-repeat;
    background-position: -5px -5px;
}

.header-messengers:hover span,
.header-messengers:focus span {
    background-position: -5px -35px;
}

/* Navbar */
.navbar {
    padding: 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
    position: relative;
}

.logo img {
    height: 65px;
}

.navbar-menu {
    order: 2;
}

.navbar-list {
    list-style-type: none;
    margin: 0;
    position: fixed;
    right: -100%;
}

.navbar-list.open {
    background-color: #fff;
    padding: 20px;
    height: 100vh;
    left: 0;
    right: 0;
    top: 105px;
    z-index: 5;
    position: absolute;
}

.navbar-list.open li {
    font-size: 1.2em;
    text-align: right;
    margin-bottom: 25px;
}

.navbar-list li a.active{
    color: #662483;
    font-weight: bold;
}

.navbar-toggle {
    width: 30px;
    height: 20px;
    background-color: transparent;
    border: none;
    padding: 0;
    position: relative;
}

.navbar-toggle:hover {
    cursor: url("../img/one.png"), pointer;
}

.navbar-toggle:hover span {
    background-color: #232323;
}

.navbar-toggle:focus {
    outline: none;
}

.navbar-toggle span {
    width: 100%;
    height: 3px;
    background-color: #B8B7B7;
    border-radius: 1.5px;
    position: absolute;
    right: 0;
}

.navbar-toggle span:first-child {
    top: 0;
    left: 0;
}

.navbar-toggle span:nth-child(2) {
    width: 75%;
    margin-top: -1.5px;
    top: 50%;
}

.navbar-toggle span:last-child {
    bottom: 0;
}

.langs {
    text-transform: uppercase;
    margin-left: auto;
    margin-right: 25px;
}

.langs a {
    color: #B8B7B7;
}

.langs a:hover {
    color: #232323;
}

.langs a.active {
    font-family: "Roboto Bold", sans-serif;
    font-weight: bold;
    color: #662483;
}

/* ========== BANNER ========== */
.banner {
    padding: 0 0 0;
}

.banner-image {
    width: 100%;
}

.banner img {
    width: 100%;
}

.banner-text {
    display: none;
}

/* ========== ORDER FORM ========== */
.order-form {
    position: relative;
    height: 225.5px;
    margin-bottom: 60px;
    padding: 0;
}

.form {
    width: calc(100% - 40px);
    position: absolute;
    background: #FFFFFF;
    box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.25);
    left: 20px;
    top: -87.5px;
}

.input-group {
    padding: 35px 35px 0;
}

.input-group input {
    width: calc(100% - 50px);
    height: 45px;
    margin-bottom: 35px;
    border: 0;
    padding: 10px 25px;
    color: #7C7C7C;
    background-color: #F3F3F3;

    box-shadow: inset 0px -3px 10px #E0E0E0;
}

.input-group input:focus {
    box-shadow:  0px 3px 10px #E0E0E0;
    background-color: #E0E0E0;
    outline: none;
}

.btn {
    width: 100%;
    background-color: #662483;
    border: 0;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.2em;
    padding: 45px;
    font-weight: bold;
    position: relative;

    transition: all 0.2s ease-in-out;
}

.btn:hover {
    background-color: #4d1b63;
    cursor: url("../img/one.png"), pointer;
}

.btn:focus {
    outline: none;
    box-shadow: inset 0px -3px 10px #232323;
}

/* ========== ABOUT US ========== */
.about-us__img {
    width: 100%;
    margin-bottom: 45px;
}

.about-us__img img {
    width: 100%;
}

.about-us__text {
    width: 100%;
    text-align: center;
}

.about-us__text p {
    margin-top: 25px;
}

/* ========== PRICES ========== */
.swiper-container {
    width: 100%;
    height: auto;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.6s ease;
    padding: 35px 0 0px;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.swiper-slide {
    min-width: 100%;
    user-select: none;
    height: auto;
    background-color: #E0E0E0;
    text-align: left;
}

.swiper-slide:hover {
    cursor: url("../img/swipe.png"), pointer;
}

.price-list {
    width: calc(100% - 50px);
    margin: auto;
    padding: 35px 25px;
}

.prices .price-line {
    font-size: 16px;
    padding: 10px;
    margin-bottom: 5px;
}

.prices .price-line > span {
    display: block;
}

.item-price {
    color: #662483;
    font-weight: bold;
}

.swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: auto;
    top: -15px;
}

.swiper-pagination {
    margin-top: 15px;
    display: inline-block;
}

.swiper-pagination-bullet {
    width: 25px;
    height: 1px;
    background-color: #eeeded;

    display: inline-block;
    opacity: 1;
    border-radius: 0;
}

.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    height: 3px;
    background-color: #662483;
}

/* ========== WORKS MODAL ========== */
.modal-bg {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.95);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 150;
    overflow-x: hidden;
    overflow-y: auto;

    display: none;
}

.works-window {
    width: calc(100% - 100px);
    position: relative;

    margin: 50px;
    background-color: #fff;
    box-shadow: 0px 0px 15px rgba(35, 35, 35, 0.15);
}

.modal-header {
    padding: 25px 25px 15px;
    text-align: right;
}

.close-modal {
    width: 25px;
    height: 25px;
    display: inline-block;
    background-image: url("../img/sprite.png");
    background-position: -35px -35px;
}

.close-modal:hover {
    cursor: url("../img/one.png"), pointer;
    background-position-x: -65px;
}

.modal-carousel {
    padding: 0px 25px 45px;
}

.modal-carousel__item {
    width: 100%;
    text-align: center;
    display: none;
}

.modal-carousel__item img {
    width: 100%;
    margin-bottom: 25px;
}

.modal-carousel-control {
    width: 23px;
    height: 23px;

    position: absolute;
    top: 50%;
    margin-top: -11.5px;

    display: inline-block;
    background-image: url("../img/sprite.png");
    background-position: -137px -5px;
    background-repeat: no-repeat;
}

.modal-carousel-control.control_prev {
    left: -35px;
}

.modal-carousel-control.control_next {
    transform: rotate(180deg);
    right: -35px;
}

.modal-carousel-control:hover {
    cursor: url("../img/one.png"), pointer;
    background-position-x: -165px;
}

/* ========== OUR WORKS ========== */
.our-works h3 {
    width: 75%;
    font-weight: normal;
    font-size: 1.3em;
    color:#232323;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 0;
}

.gallery {
    text-align: center;
}

.gallery-items {
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallery-items .gallery-item {
    width: 100%;
    margin-bottom: 15px;
    display: block;
}

.gallery-items .gallery-item img:hover {
    cursor: url("../img/one.png"), pointer;
}

.gallery-items .gallery-item img {
    width: 100%;
}

.btn.show-more {
    width: 75%;
}

/* ========== OUR TEAM ========== */
.our-team{
    padding-bottom: 55px;
}

.member {
    width: 100%;
    text-align: center;
    margin-bottom: 35px;
}

.member:last-child {
    margin-bottom: 0;
}

.memer__img {
    width: 250px;
    height: 250px;
    margin: 0 auto 15px;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.member h3 {
    color: #662483;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.member h4 {
    font-weight: normal;
    font-size: .8em;
    color: #B8B7B7;
    margin-top: 5px;
    margin-bottom: 0;
}

/* ========== CONTACTS ========== */
.contacts {
    padding: 0;
}

.contact-info {
    background-color: #E0E0E0;
    padding: 75px 20px 35px;
}

.contact-info ol {
    margin: 0 0 0 32px;
    padding: 0;
    list-style-type: none;
}

.contact-info ol li {
    font-size: 16px;
    text-align: center;
    width: 275px;
    margin: auto;
    margin-bottom: 25px;
}

.contact-info ol li span {
    position: relative;
}

.contact-info ol li span::before {
    content: '';
    display: block;
    position: absolute;
    background-image: url("../img/sprite.png");
    background-repeat: no-repeat;
}

.phone-footer span::before {
    width: 16px;
    height: 25px;
    background-position: -35px -5px;
    left: -29px;
    top: -3px;
}

.email-footer span::before {
    width: 23px;
    height: 23px;
    background-position: -56px -5px;
    left: -33px;
    top: -2px;
}

.address-footer span::before {
    width: 17px;
    height: 25px;
    background-position: -84px -5px;
    left: -30px;
    top: 7px;
}

.time-footer span::before {
    width: 21px;
    height: 21px;
    background-position: -106px -5px;
    left: -32px;
    top: 0;
}

.social-networks {
    padding-top: 15px;
    text-align: center;
}

.social-networks a span {
    display: inline-block;
    width: 51px;
    height: 51px;
    background-image: url("../img/sprite.png");
    background-repeat: no-repeat;
}

.social-networks .facebook span {
    background-position: -5px -65px;
}

.social-networks .instagram span {
    background-position: -61px -65px;
}

.social-networks .youtube span {
    background-position: -116px -65px;
}

.contact-map {
    width: 100%;
    height: 375px;
}

/* ========== FOOTER ========== */
.footer {
    background-color: #232323;
    padding: 35px;
    text-align: center;
    font-size: .9em;
    color: #B1B1B1;
}

.footer a {
    color: #B1B1B1;
    font-style: italic;
}

/* ================================================== */
/* =================== RESPONSIVE =================== */
/* ================================================== */
@media(min-width: 345px) {
    /* Header */
    .contact-header {
        line-height: 15px;
        text-align: left;
    }

    .contact-header > div {
        display: inline-block;
        vertical-align: middle;
    }

    .contact-header__left {
        width: 54%;
        font-family: "Roboto Thin";
        margin-bottom: 0;
    }

    .contact-header__right {
        width: 45%;
        text-align: right;
    }

    .contact-header__right span.header-phone {
        margin-bottom: 0;
    }
}

@media(min-width: 425px) {
    /* Order form */
    .order-form {
        position: relative;
        height: 225.5px;
        margin-bottom: 37px;
    }

    /* OUr team */
    .memer__img {
        width: 350px;
        height: 350px;
    }
}

@media(min-width: 500px) {
    /* OUr team */
    .memer__img {
        width: 400px;
        height: 400px;
    }
}

@media(min-width: 550px) {
    /* OUr team */
    .memer__img {
        width: 450px;
        height: 450px;
    }
}

@media(min-width: 600px) {
    /* OUr team */
    .memer__img {
        width: 500px;
        height: 500px;
    }
}

@media(min-width: 650px) {
    /* OUr team */
    .memer__img {
        width: 550px;
        height: 550px;
    }
}

@media(min-width: 768px) {
    /* Header */
    .contact-header {
        font-size: 1em;
        line-height: 22px;
    }

    /* Banner */
    .banner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .banner-text {
        background-color: #E0E0E0;
        position: absolute;
        padding: 35px 0;
        width: calc(100% - 40px);
        display: block;
    }

    .banner-text h1 {
        text-align: center;
        font-size: 2em;
    }

    /* Prices */
    .prices .price-line {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .prices .price-line > span {
        display: inline;
    }

    /* Our works */
    .gallery-items {
        display: flex;
        margin-bottom: 25px;
    }

    .gallery-items .gallery-item {
        width: 32%;
    }

    .gallery-items .gallery-item:nth-child(2n+2){
        margin-left: 4%;
    }

    /* Our team */
    .our-team_list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .member {
        width: 250px;
    }

    .memer__img {
        width: 250px;
        height: 250px;
    }

    .our-works h3 {
        font-size: 1em;
        color: #B8B7B7;
    }
}

@media(min-width: 992px){
    /* Main */
    body {
        font-size: 16px;
    }

    section {
        padding: 37.5px 50px 75px;
    }

    /* Header */
    .contact-header,
    .navbar {
        padding: 20px 75px;
    }
    
    .navbar-list.open {
        padding: 20px 75px;
    }

    /* Banner */
    .banner {
        align-items: stretch;
        position: static;
    }

    .banner-image {
        width: 55%;
        overflow: hidden;
        margin-bottom: 0;
    }

    .banner-image img {
        height: 100%;
    }

    .banner-text {
        width: 45%;
        padding: 0;
        position: static;
    }

    .banner-text h1{
        text-align: left;
        font-size: 1.5em;
        padding: 0 75px;
        margin-top: 35%;
    }

    /* Order form */
    .order-form {
        height: 65px;
        margin-bottom: 0;
    }

    .form {
        width: calc(100% - 150px);
        left: 75px;
        display: flex;
        justify-content: space-between;
        top: -65px;
    }

    .input-group {
        padding: 35px;
        width: 75%;
        height: auto;
    }

    .input-group input {
        width: calc(50% - 65px);
        margin: 0;
        padding: 5px 25px;
    }

    .input-group input[type="text"] {
        margin-right: 15px;
    }

    .form .btn {
        width: 25%;
        padding: 0 55px;
        font-size: 1.1em;
    }

    /* About us */
    .about-us {
        display: flex;
        align-items: center;
    }

    .about-us h2 {
        text-align: left;
    }
    
    .about-us__img {
        width: 50%;
        margin-bottom: 0;
    }
    
    .about-us__text {
        width: 47%;
        padding: 0 45px;
        text-align: left;
    }

    .about-us__text h2 {
        width: 275px;
    }

    .about-us__text p {
        font-size: .8em;
    }

    /* Prices */
    .price-list {
        width: calc(100% - 100px);
    }

    /* Our works */
    .gallery-items {
        display: flex;
        width: 100%;
        margin-bottom: 45px;
    }

    .gallery-items .gallery-item {
        width: 32%;
    }
    .gallery-items .gallery-item:nth-child(2n+2) {
        margin-left: 0;
    }

    .gallery-items .gallery-item:nth-child(3n+3){
        margin-left: 2%;
    }

    .gallery-items .gallery-item:nth-child(3n+2){
        margin-left: 2%;
    }

    .btn.show-more {
        width: 300px;
        padding: 20px;
    }

    /* Our team */
    .our-team {
        padding: 37.5px 75px;
    }

    .our-team_list {
        justify-content: space-between;
    }
    
    .memer__img {
        width: 250px;
        height: 250px;
        margin: 0 auto 15px;
        background-size: 100%;
        background-position: center;
    }

    /* Contacts */
    .contacts {
        display: flex;
    }

    .contact-info {
        width: 35%;
        padding: 75px 75px;
    }
    
    .contact-info h2 {
        margin-bottom: 45px;
        text-align: left;
    }

    .contact-info ol li {
        margin-bottom: 20px;
        display: block;
        margin-left: 0;
        text-align: left;
    }
    
    .contact-info ol li:nth-child(2n+2) {
        margin-left: 0;
    }

    .social-networks {
        padding-top: 25px;
        text-align: left;
    }

    .contact-map {
        width: 65%;
        height: auto;
    }

    /* Work modal */
    .works-window {
        width: calc(100% - 150px);
        margin: 75px 75px;
    }

    .modal-carousel {
        padding: 0px 45px 45px;
    }

    .modal-carousel-control.control_prev {
        left: -45px;
    }

    .modal-carousel-control.control_next {
        right: -45px;
    }
}

@media(min-width: 1200px) {
    /* Header */
    .header-location,
    .header-phone {
        margin-right: 45px;
    }

    .contact-header__left {
        width: 45%;
    }

    .contact-header__right {
        width: 54.6%;
    }

    .contact-header__left span,
    .contact-header__right span{
        display: inline-block;
        vertical-align: middle;
    }

    /* Navbar */
    .navbar-toggle {
        display: none;
    }

    .navbar-menu {
        order: 0;
        margin-left: auto;
        margin-right: 145px;
    }

    .navbar-list.open li {
        margin-bottom: 0;
    }

    .navbar-list {
        position: static;
        display: block;
        padding: 0;
    }

    .navbar-list li {
        display: inline-block;
        margin-left: 25px;
    }

    .navbar-list li a {
        text-transform: uppercase;
    }

    .navbar-list li.active a,
    .navbar-list li a:hover {
        color: #662483;
        font-weight: bold;
    }

    .langs {
        margin-left: 0;
        margin-right: 0;
    }
    
    .langs a {
        display: inline;
        font-size: .8em;
    }

    .banner-image {
        width: 55%;
        height: 450px;
        overflow: hidden;
        margin-bottom: 0;
    }

    .banner-image img {
        height: auto;
    }

    .banner h1 {
        margin-top: 25%;
        font-size: 2em;
    }

    /* Order form */
    .form button {
        font-size: 1.4em;
    }

    /* About us */
    .about-us {
        padding: 75px 175px;
    }

    .about-us__text p {
        font-size: 1em;
    }

    /* Prices */
    .swiper-pagination-bullet {
        width: 45px;
    }

    /* Contacts */
    .contact-info ol li {
        width: 100%;
    }

    .contact-info ol li span::before {
        top: auto;
    }

    /* Works modal */
    .modal-header {
        padding: 45px 45px 25px;
    }

    .close-modal {
        width: 35px;
        height: 35px;
        background-position: -116px -33px;
    }

    .close-modal:hover {
        background-position-x: -156px;
    }

    .modal-carousel {
        padding: 0 75px 45px;
    }

    .modal-carousel__item img {
        width: 95%;
    }

    .modal-carousel-control {
        width: 37px;
        height: 45px;

        background-position: -116px -73px;
    }

    .modal-carousel-control:hover {
        background-position-x: -158px;
    }

    .modal-carousel-control.control_prev {
        left: -55px;
    }

    .modal-carousel-control.control_next {
        right: -55px;
    }
}

@media(min-width: 1500px) {
    /* Banner */
    .banner-image {
        height: 575px;
    }

    .banner h1 {
        margin-top: 30%;
    }

    /* Work modal */
    .works-window {
        margin: 250px 150px 125px;
        width: calc(100% - 300px);
    }

    .modal-carousel {
        padding: 0 100px 75px;
    }
}

@media(min-width: 1920px) {
    /* Main */
    body {
        font-size: 24px;
    }

    /* Header */
    .contact-header,
    .navbar {
        padding: 35px 125px;
    }

    /* Banner */
    .banner-image {
        height: 675px;
    }

    .banner h1 {
        padding: 0 125px;
    }

    /* Order form */
    .form {
        width: calc(100% - 250px);
        left: 125px;
    }

    /* About us */
    .about-us {
        padding: 75px 225px;
    }

    /* Prices */
    .prices {
        padding: 37.5px 100px;
    }

    /* Work modal */
    .works-window {
        width: calc(100% - 500px);
        margin: 350px 250px 100px;
    }

    .modal-header {
        padding: 55px 55px 35px;
    }

    .modal-carousel {
        padding: 0 120px 100px;
    }

    .modal-carousel__item img {
        width: 750px;
    }
}