﻿@import url('https://fonts.googleapis.com/css?family=Roboto|Suez+One');
@media screen and (max-width: 1280px) { div.contentblock {width: 1200px;} } 
@media screen and (max-width: 1140px) { div.contentblock {width: 1024px;} } 
@media screen and (max-width: 992px) { div. contentblock {width: 970px;} }

@font-face {
    font-family: 'dsmonster';
    src: url('../fonts/dsmonster/dsmonster.ttf');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
}

body, html {
    width: 100%;
    height: 100%;
}

body {
    background-color: #fafafa;
    font-family: Arial;
}

a {
    font-family: dsmonster;	
}

.popup:not(:target) {
  display: none;
}

.popup:target {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0,0,0,0.9);
}
.full-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  text-decoration: none;
  color: red;
}

/* Шапка сайта */

header {
    width: 100%;
    padding: 10px 0.5% 0px 0.5%;
    background: transparent;
    float: left;
}

    header #logo {
        color: #fff;
        cursor: pointer;
    }

        header #logo span {
            line-height: 45px;
            margin-left: 25%;
            font-family: dsmonster;
        }

@media (min-width: 701px) {
    #logo {
        float: left;
        width: 30%;
        font-size: 1.1em;
    }

    #about {
        float: right;
        width: 67%;
    }
}

@media (max-width: 700px) {
    #logo {
        margin-top: 15px;
        width: 100%;
        font-size: 1.5em;
    }

    #about {
        float: left;
        width: 100%;
    }
}

#about {
    text-align: center;
    font-size: 1em;
    line-height: 40px;
    margin-bottom: 10px;
}

    #about > a {
        color: #fff
    }

        #about > a:hover {
            color: #b0b0b0;
            text-decoration: underline;
        }

        #about > a:not(:last-child) {
            margin-right: 7%;
        }

/* Footer */

footer {
    width: 100%;
    padding: 10px 0.5% 0px 0.5%;
    background-color: #f5f5f5;
    text-align: center;
    font-size: 1em;
    line-height: 40px;
    margin-bottom: 10px;
    float: left;
    font-family: Arial;
}

/* Стили для фиксированной шапки */

.fixed {
    z-index: 5000;
    background-color: #fff;
    border-bottom: 1px solid silver;
}

header.fixed #logo {
    color: #343434;
}

.fixed #about a {
    color: #343434
}

    .fixed #about a:hover {
        color: #7c7c7c
    }

/* Главный блок на сайте */

#top {
    width: 100%;
    background-blend-mode: multiply;
    background-color: #6e6d6d;
    background-size: cover;
    text-align: center;
    color: #fff;
}

@media (min-width: 1001px) {
    #top {
        font-size: 3em;
        height: 600px;
    }
}

@media (max-width: 1000px) and (min-width: 651px) {
    #top {
        font-size: 2em;
        height: 600px;
    }
}

@media (max-width: 650px) {
    #top {
        font-size: 1.3em;
        padding-top: 50%;
        height: 500px;
    }
}

@media (max-width: 450px) {
    #top {
        font-size: 0.9em;
    }
}

#top h1 {
    padding-top: 20%;
    text-align: center;
}

#top h3 {
    color: #ccc;
}

/* Блок с возможностями */

#main {
    float: left;
    background-color: #fff;
    border-top: 2px solid silver;
    color: #484848;
    font-size: 1.3em;
}

@media (min-width: 1401px) {
    #main {
        padding: 100px 20%;
        width: 60%;
    }
}

@media (max-width: 1400px) {
    #main {
        padding: 100px 10%;
        width: 80%;
    }
}

@media (max-width: 700px) {
    #main div {
        width: 98% !important;
        margin-bottom: 20px;
    }
}

#main div {
    width: 48%;
    margin-right: 2%;
    float: left;
}

#main h2 {
    font-size: 3em
}

#main span {
    color: #a0a0a0
    margin-bottom: 5%;	
}

/* Блок с преимуществами */

#overview {
    float: left;
    background-color: white;
    background-blend-mode: multiply;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    width: 100%;
    text-align: center;
    color: #000000;
}

    #overview h2 {
        font-size: 4em
    }

    #overview h4 {
        color: #343434;
        font-size: 1.5em
    }

@media (min-width: 561px) {
    #overview h2 {
        font-size: 4em
    }
}

@media (max-width: 560px) {
    #overview h2 {
        font-size: 1em
    }
}

#overview .img {
    float: left;
    width: 15%;
    margin-right: 5%;
    margin-top: 20px;
    text-align: right;
}

#overview img {
    background: #fafafa;
    padding: 5px;
    border: 2px solid silver;
    float: left;
    width: 100%;
    max-width: 500px;
}

#overview span {
    float: left;
    width: 100%;
    font-size: 1.3em;
}

@media (max-width: 700px) {
    #overview .img {
        width: 80% !important;
        margin-right: 0 !important;
        margin-left: 10% !important;
    }
}

/* Блок с контактами */
#contacts {
    width: 100%;
    float: left;
    padding-bottom: 40px;
    padding-top: 70px;
    border-top: 4px solid #ccc;
    background: #f4f4f4;
}

h1, h2, h3 {
	font-family: dsmonster;
	font-weight: lighter;
}

h4 {
    font-family: Arial;
    font-weight: lighter;
}
h5 {
    font-family: dsmonster;
    font-weight: lighter;
    font-size: 20px;
}

#contacts h5 {
    color: #4f4f4f
}

#form_input {
    margin-top: 15px;
    font-size: 1.1em;
}

@media (min-width: 1051px) {
    #form_input {
        width: 35%;
        margin-left: 38%;
    }
}

@media (max-width: 1050px) {
    #form_input {
        width: 90%;
        margin-left: 10%;
    }
}

#form_input label {
    color: #505050;
    cursor: pointer;
    font-size: 1.4em;
    font-family: 'dsmonster', serif;
}

    #form_input label > span {
        color: #e87e7e;
    }

#form_input input, #form_input textarea {
    margin-bottom: 10px;
    width: 70%;
    padding: 10px 2%;
    border-radius: 7px;
    border: 2px solid silver;
    font-size: 0.9em;
    color: #4a4a4a;
}

    #form_input input:focus, #form_input textarea:focus {
        border-color: #333;
    }

.btn {
    float: left;
    border-radius: 5px;
    padding: 5px 9px;
    font-size: 1.2em;
    background-color: #ec6550;
    text-shadow: #454545 0 0 2px;
    cursor: pointer;
    color: white;
    font-family: 'dsmonster', serif;
}

    .btn:hover {
        background-color: #c15443;
    }

/* Вопросы и ответы */

.faq {
    background-color: #fff;
    width: 100%;
    padding-bottom: 70px;
    font-family: dsmonster;
    
}

#arts {
   font-size: x-small;	
}

@media (min-width: 801px) {
    #faq div {
        width: 40%;
        margin-left: 7%;
        float: left;
    }
}

@media (max-width: 800px) {
    #faq div {
        width: 80%;
        margin-left: 10%;
        float: left;
    }
}

#faq .title {
    font-weight: lighter;
    color: #000000;
    margin-bottom: 20px;
    font-size: 2.2em;
}

#faq .heading {
    color: #7d7d7d;
    font-size: 1.3em;
    font-weight: bold;
}

#faq p {
    font-family: dsmonster, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #4a4a4a;
    font-size: 0.95em;
    margin-bottom: 40px;
}
    