@font-face {
   font-family: 'Roboto Slab';
   src: url('../fonts/RobotoSlab-Regular.woff2') format('woff2'),
       url('../fonts/RobotoSlab-Regular.woff') format('woff');
   font-weight: normal;
   font-style: normal;
   font-display: swap;
}

@font-face {
   font-family: 'Roboto Slab';
   src: url('../fonts/RobotoSlab-Bold.woff2') format('woff2'),
       url('../fonts/RobotoSlab-Bold.woff') format('woff');
   font-weight: bold;
   font-style: normal;
   font-display: swap;
}

* {
	padding: 0;
	margin: 0;
	border: 0;
}

*,
*:before,
*:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

:focus,
:active {
	outline: none;
}
a:focus,
a:active {
	outline: none;
}

nav,
footer,
header,
aside {
	display: block;
}

html,
body {
	height: 100%;
	width: 100%;
	background: url(../img/bg1.jpg);
	line-height: 1;
   font-family: 'Roboto Slab';
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
   -webkit-tap-highlight-color: transparent;
}


input,
button,
textarea {
	font-family: inherit;
}

input::-ms-clear {
	display: none;
}
button {
	cursor: pointer;
	color: inherit;
	background-color: inherit;
}
button::-moz-focus-inner {
	padding: 0;
	border: 0;
}
a,
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
ul li {
	list-style: none;
}
img {
	vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: 400;
}


.block {
   padding: 50px 0px 50px 0px;
}

.block__container {
   max-width: 1200px;
   margin: 0px auto;
   padding: 0px 15px;
}

.block__header {
   position: relative;
}

.block__items {
   
}

.block__item {
   display: grid;
   grid-template-columns: 1fr 1fr;
   text-align: center;
   margin: 0px 0px 30px 0px;
}

.block__item div {
   color: #174f9e;
   font-size: 25px;
   font-weight: 400;
   border: 1px solid #174f9e;
   padding: 15px 0px;
}

.block__item:last-child {
   padding: 0px 0px 50px 0px;
}

.block__title {
   color: #333;
   font-size: 40px;
   font-weight: 700;
   margin: 0px 0px 10px 0px;
   text-align: center;
}

.block__subtitle {
   color: #d1982a;
   font-size: 30px;
   font-weight: 700;
   margin: 30px 0px 30px 0px;
   text-align: center;
}

.block__img {
   position: absolute;
   top: 5px;
   left: 123px;
   width: 295px;
   height: 356px;
}

.block__logo img {
   width: 30%;
   height: 30%;
}

@media (max-width:1200px){
   .block__img {
      display: none;
   }
}

@media(max-width: 767.98px) {
   .block {
      padding: 25px 0px 25px 0px;
   }
   .block__item {
      display: block;
      margin: 0px 0px 20px 0px;
   }
   .block__item div {
      font-size: 20px;
   }
   .block__item div:nth-child(odd) {
      border-bottom: none;
   }
   .block__title {
      font-size: 30px;
      margin: 0px 0px 30px 0px;
   }
   .block__subtitle {
      font-size: 20px;
      margin: 15px 0px 15px 0px;
   }
   .form {
      margin: 0px 0px 15px 0px;
   }
   .form__input {
      font-size: 15px;
   }
}

@media(min-width: 767.98px) {
   .block__item div:nth-child(odd) {
      border-right: none;
   }
}


.block__hidde {
   display: none;
}

.form {
   margin: 0px 0px 30px 0px;
}

.form__items {
   position: relative;
   max-width: 700px;
   margin: 0px auto;
}

.form__input {
   position: relative;
   max-width: 700px;
   width: 100%;
   height: 50px;
   font-size: 20px;
   background: rgba(0,0,0,0);
   border-bottom: 1px dashed #174f9e;
}

.form__input:focus {
   border-bottom: 1px dashed #d1982a;
}

.form__btn {
   position: absolute;
   width: 30px;
   height: 30px;
   right: 0;
   top: 50%;
   transform: translateY(-50%);
   cursor: pointer;
   opacity: 0;
}

.form__input:focus ~ a {
   opacity: 1;
}

.form__btn::before, 
.form__btn::after {
   content: "";
   position: absolute;
   width: 30px;
   height: 5px;
   background-color: #174f9e;
   top: 44%;
   transform: translateY(-50%);
}

.form__btn::before {
   transform: rotate(-45deg);
}

.form__btn::after {
   transform: rotate(45deg);
}

.button__up {
   position: fixed;
   display: none;
   right: 30px;
   bottom: 100px;
   width: 50px;
   height: 50px;
   border-radius: 50%;
   border: 3px solid #174f9e;
   background-color: #fff;
   transition: all 0.5s ease 0s;
   z-index: 10;
   cursor: pointer;
}

.button__up::before,
.button__up::after {
   content: "";
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   opacity: 0.9;
}

.button__up::after {
   width: 20px;
   height: 20px;
   top: 55%;
   transform: translate(-50%, -50%) rotate(45deg);
   border-top: 5px solid #174f9e;
   border-left: 5px solid #174f9e;
   border-radius: 3px;
}

.button__up:hover {
   transform: scale(1.2);
}

