body {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.navigation, .main-wrapper, .portfolio, .reviews,
.about, .partners, .footer-wrapper {
    padding: 0;
    padding: 0 calc(50% - 720px);
}


.header {
    background: url("../img/batoff2.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    min-height: 400px;
    padding-top: 0;
    overflow: hidden;
}

.navigation {
    list-style-type: none;
    padding-top: 50px;
}

.navigation-list {
    display: flex;
    justify-content: space-between;
    margin: 0 15px;
}

.navigation-list__link {
    text-decoration: none;
    color: white;
    font-size: 24px;
    text-shadow: 2px 2px 3px #000000;
}

.navigation-list__link:hover {
    color: #cccccc;
}

.navigation__img {
    width: 20px;
    height: 20px;
}

.title-main {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    margin-top: 180px;
    font-size: 300px;
    color: #d1d1d1;
    text-align: right;
}

.section-title {
    text-align: center;
    font-size: 32px;
}

.text-about {
    text-align: center;
    font-size: 20px;
    padding-top: 30px;
}

.portfolio, .reviews, .about, .partners {
    padding-top: 50px;
}

.navigation__toggle {
    padding-left: 15px;
    display: none;
}

	/*PORTFOLIO*/

.portfolio-wrapper, .footer-wrapper {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
}

.portfolio-item, .footer-item {
    padding: 0 30px;
}

.portfolio-item__img {
    max-width: 350px;
    height: auto;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    /*Добавим вот такой вот код*/
    -webkit-transition: all .8s;
    -moz-transition: all .8s;
    -o-transition: all .8s;
    transition: all .8s;
    /*конец кода с transition*/
}

.portfolio-item__img:hover {
    box-shadow: 0 0 10px #06030b;
    -webkit-filter: none;
    -moz-filter: none;
    -ms-filter: none;
    -o-filter: none;
    filter: none;
}

.portfolio-item__title {
    font-size: 20px;
    line-height: normal;
    margin-bottom: 10px;
    text-align: center;
    padding-top: 10px;
    max-width: 350px;
}

.portfolio-item__title a {
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #FFF;
}

.portfolio-item__title a:hover {
    color: #0052C2;
    border-color: rgba(0, 82, 194, 0.3);
}

.portfolio-item__text p {
    margin-top: 0px;
    margin-bottom: 15px;
}


.btn-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 40px;
    z-index: 99;
    outline: none;
    background-color: #3a3a3a;
    color: #fff;
    cursor: pointer;
    padding: 15px 40px;
    border-radius: 10px;
}

.btn-top:hover {
    background-color: black;
}

	/*FOOTER*/

.footer {
    background-color: gray;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 50px;
}

.footer p {
    margin-top: 0px;
    margin-bottom: 15px;
}

.footer a {
    color: #FFFFFF;
}

p.footer__name {
    font-size: 48px;
    margin-bottom: 10px;
    line-height: normal;
    font-family: 'Playfair Display', serif;
}

.social__icon {
    width: 20px;
    height: 20px;
    padding-left: 10px;
}

.social__icon:hover {
    opacity: .6;
}

/* CONTACT FORM */

.contact_form {
	max-width: 600px;
	height: auto;
	margin: 50px auto 50px;
}

.contact_form--modal {
	margin: 0 auto 0;
}

.contact_form h2 {
	font-size: 28px;
	margin: 0;
}

.contact_form .subtitle {
	font-size: 18px;
	margin-bottom: 15px;
}

.contact_form label {
	width: 100%;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 18px;
	display: inline-block;
}

.contact_form input[type="text"] {
	width: 100%;
	margin-bottom: 25px;
	padding: 4px;
	font-size: 18px;
}

.contact_form textarea {
	width: 100%;
	height: 120px;
	margin-bottom: 25px;
	padding: 4px;
	font-size: 18px;
}

.contact_form input[type="submit"] {
	width: 100%;
	text-align: center;
	padding: 10px;
	font-size: 18px;
	font-weight: bold;
    background-color: #779cb5;
}

.contact_form input[type="submit"]:hover {
    background-color: #FFFFFF;
}

.button {
    font-weight: 700;
    text-decoration: none;
    color: White;
    text-transform: uppercase;
    letter-spacing: 1.6px;

    display: inline-block;

    border-width: 2px;
    border-color: #FFF;
    border-style: solid;
    border-radius: 50px;

    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 23px;
    padding-right: 23px;

    margin-bottom: 13px;

    transition: 0.2s ease-out;

}


.button:hover {
    color: #061634;
    background-color: #fff;

}

.modal__button {
    margin-top: 20px;
}


/* THANKYOU PAGE */

.thankyou {
	text-align: center;
	font-size: 18px;
}

.thankyou h1 {
	color: #779cb5;
	font-size: 28px;
}

.thankyou p {
	font-size: 18px;
}
