/* shared */

body,
html {
  margin: 0;
  padding: 0;
  overflow-y: auto;
  font-family: "BPG Mrgvlovani Caps 2010";
}

#bg-image {
  position: absolute;
  width: 100%;
  background-image: url("images/2.png");
  background-repeat: no-repeat;
  background-size: cover;
}

#bg-color {
  position: absolute;
  width: 100%;
  background-color: #000a3d;
  opacity: 0.75;
}

header {
  position: fixed;
  width: 100%;
  box-shadow: 5px 10px 19px 0 rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#header-logo {
  position: absolute;
  top: 0%;
  left: 8%;
  width: 45px;
  height: 45px;
  margin: 0 253px 23px 0;
  padding: 23.9px 28px 24px;
  box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.5);
  background-color: #ffffff;
  background-image: url("images/logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-size: 35%;
}

header ul {
  text-align: center;
  margin-top: 45px;
  margin-bottom: 45px;
  list-style: none;
  padding: 0;
}

header ul li {
  display: inline-block;
  margin-right: 2.5%;
  margin-left: 2.5%;
}

header ul li a {
  text-decoration: none;
  padding-bottom: 2px;
  font-size: 15px;
  color: #ffffff;
  transition: 1s;
}

header ul li a::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: white;
  transition: width 0.3s;
}

header ul li a:hover::after {
  width: 100%;
}

#lang {
  position: absolute;
  top: 45px;
  right: 10%;
  cursor: default;
}

#qar {
  display: inline;
  font-size: 15px;
  color: #ffffff;
}

#lang-line {
  display: inline;
  font-size: 15px;
  color: #ffffff;
  opacity: 0.7;
}

#eng {
  display: inline;
  font-size: 15px;
  color: #ffffff;
  cursor: pointer;
  opacity: 0.5;
}

/* footer */

footer {
  position: absolute;
  width: 100%;
  height: 40%;
  color: white;
  background-color: #000a3d;
}

#inner-footer {
  position: absolute;
  top: 25%;
  left: 15%;
  width: 70%;
  height: 50%;
}

#footer-logo {
  display: inline-block;
  height: 100%;
  width: 12%;
  background-image: url("images/logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-size: 60%;
}

#footer-dagvi {
  position: absolute;
  top: 0%;
  right: 0%;
  font-size: 20px;
  opacity: 0.7;
}

#footer-line {
  position: absolute;
  top: 25%;
  right: 0%;
  height: 1px;
  background-color: white;
  opacity: 0.7;
}

#footer-phone {
  position: absolute;
  top: 45%;
  right: 0%;
  font-size: 25px;
}

#footer-email {
  position: absolute;
  bottom: 0%;
  right: 0%;
  font-size: 20px;
}

/* home */

.home-center {
  position: absolute;
  top: 43%;
  left: 25%;
  width: 50%;
  height: 30%;
}

.home-center-address {
  text-align: center;
  font-size: 40px;
  color: #ffffff;
}

.district {
  text-align: center;
  font-size: 20px;
  color: #ffffff;
  opacity: 0.8;
}

.home-center-button {
  position: absolute;
  left: 25%;
  bottom: 0%;
  width: 50%;
  height: 30%;
  font-family: "BPG Mrgvlovani Caps 2010";
  font-size: 20px;
  color: white;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.5s;
  outline: none;
}

.home-center-button:hover {
  border: white;
  color: black;
  box-shadow: inset 600px 0 0 0 white;
}

#home-slider-left-btn {
  position: absolute;
  top: 42%;
  left: -110px;
  width: 160px;
  height: 115px;
  color: white;
  background: none;
  border-width: 1px 1px 1px 0px;
  border-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  outline: none;
  transition: 0.3s;
}

#home-slider-left-btn:hover {
  left: 0;
}

#home-slider-right-btn {
  position: absolute;
  top: 42%;
  right: -110px;
  width: 160px;
  height: 115px;
  color: white;
  background: none;
  border-width: 1px 0px 1px 1px;
  border-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  outline: none;
  transition: 0.3s;
}

#home-slider-right-btn:hover {
  right: 0;
  outline: none;
}

.button-text {
  margin-top: 8px;
  text-align: center;
  color: white;
  font-family: "BPG Mrgvlovani Caps 2010";
  font-size: 15px;
  opacity: 0.7;
}

.home-slider-arrow {
  position: absolute;
  width: 3rem;
  height: 1px;
  background-color: white;
  opacity: 0.5;
}

.home-slider-rect {
  position: absolute;
  bottom: 7%;
  width: 10%;
  height: 3px;
  background-color: white;
}

/* blocks */

#blocks {
  position: absolute;
  top: 25%;
  left: 10%;
  width: 80%;
  height: 65%;
}

.block-pic {
  position: absolute;
  width: 32%;
  height: 100%;
  border: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  outline: none;
  overflow: hidden;
  transition: 0.3;
}

.block-pic:hover {
  background-size: 240%;
}

.block-pic:hover .block-pic-bg-color {
  top: 0%;
}

.block-address {
  position: absolute;
  top: 5%;
  left: 7%;
  width: 84%;
  height: 20%;
  color: white;
  font-size: 30px;
  z-index: 2;
}

.block-pic-bg-color {
  position: absolute;
  top: 70%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 10, 61, 0.5);
  transition: 0.3s;
}

.block-hover-arrow {
  position: absolute;
  top: 50%;
  left: 25%;
  width: 50%;
  height: 10%;
}

.block-arrow-line {
  position: absolute;
  top: 49.5%;
  width: 100%;
  height: 2px;
  background-color: white;
}

.block-arrow-up {
  position: absolute;
  top: 37.5%;
  right: -1%;
  width: 18px;
  height: 2px;
  background-color: white;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.block-arrow-down {
  position: absolute;
  top: 62.5%;
  right: -1%;
  width: 18px;
  height: 2px;
  background-color: white;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

/* apartments */

#apartments {
  margin: 10%;
}

#apartments-binis-shercheva {
  padding: 2%;
  padding-bottom: 1%;
  font-size: 20px;
  color: #393939;
  opacity: 0.6;
}

#apartments-line {
  width: 50%;
  height: 2px;
  margin-left: 1%;
  margin-bottom: 2.5%;
  background-color: #393939;
  opacity: 0.4;
}

#apartments-address {
  display: inline;
  padding-left: 2%;
  font-size: 35px;
  color: #393939;
}

#apartments-scheme-btn {
  float: right;
  width: 18%;
  height: 50px;
  margin-right: 3%;
  padding-top: 4px;
  font-size: 15px;
  background: none;
  border-width: 1px;
  border-radius: 30px;
  border-color: rgba(57, 57, 57, 0.7);
  font-family: "BPG Mrgvlovani Caps 2010";
  opacity: 0.5;
  cursor: pointer;
  outline: none;
}

#lisi-blocks {
  display: block;
  margin-left: 1%;
  margin-top: 3%;
}

.lisi-block-btn {
  display: inline;
  width: 14%;
  height: 50px;
  float: left;
  padding-top: 4px;
  font-size: 15px;
  background: none;
  border-width: 1px;
  border-radius: 30px;
  border-color: rgba(57, 57, 57, 0.7);
  font-family: "BPG Mrgvlovani Caps 2010";
  opacity: 0.5;
  cursor: pointer;
  outline: none;
}

.flat {
  display: inline-block;
  margin: 1.5%;
  width: 30%;
  height: 450px;
}

.flat-pic {
  width: 100%;
  height: 80%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-size: 80%;
  box-shadow: 3px 3px 21px 0 rgba(0, 0, 0, 0.35);
  background-color: #ffffff;
  cursor: pointer;
  outline: none;
  transition: 0.3s;
}

.flat-hover-bg-color {
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 10, 61, 0.5);
  transition: 0.3s;
}

.sold-out-bg-color {
  width: 100%;
  height: 100%;
  background-color: #b50a0a;
  opacity: 0.7;
}

.sold-out {
  position: relative;
  top: -55%;
  left: 25%;
  font-size: 28px;
  color: white;
}

.flat-hover-arrow {
  display: none;
  position: relative;
  top: -55%;
  left: 25%;
  width: 50%;
  height: 10%;
}

.flat-pic:hover .flat-hover-bg-color {
  display: block;
}

.flat-pic:hover .flat-hover-arrow {
  display: block;
}

.flat-arrow-line {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background-color: white;
}

.flat-arrow-up {
  position: absolute;
  top: 35.5%;
  right: -1.5%;
  width: 16px;
  height: 2px;
  background-color: white;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.flat-arrow-down {
  position: absolute;
  top: 64.5%;
  right: -1.5%;
  width: 16px;
  height: 2px;
  background-color: white;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.flat-info-left {
  display: inline-block;
  margin: 2%;
  margin-top: 4%;
  color: #393939;
  font-size: 33px;
}

.flat-info-right {
  float: right;
  margin: 2%;
  margin-top: 7%;
  font-size: 20px;
  color: #393939;
  opacity: 0.7;
}

#scheme-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 10, 61, 0.9);
  z-index: 1;
}

#picture-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 10, 61, 0.9);
  z-index: 1;
}

.scheme-close {
  position: absolute;
  right: 32px;
  top: 32px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.scheme-close:hover {
  opacity: 1;
}
.scheme-close:before,
.scheme-close:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 50px;
  width: 2px;
  background-color: white;
}
.scheme-close:before {
  transform: rotate(45deg);
}
.scheme-close:after {
  transform: rotate(-45deg);
}

.picture-close {
  position: absolute;
  right: 32px;
  top: 32px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.picture-close:hover {
  opacity: 1;
}
.picture-close:before,
.picture-close:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 50px;
  width: 2px;
  background-color: white;
}
.picture-close:before {
  transform: rotate(45deg);
}
.picture-close:after {
  transform: rotate(-45deg);
}

#scheme-slider-pic {
  position: fixed;
  left: 12%;
  top: 0%;
  width: 76%;
  height: 100%;
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

#overlay-pic {
  position: fixed;
  left: 12%;
  top: 0%;
  width: 76%;
  height: 100%;
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.scheme-slider-left-button,
.scheme-slider-right-button {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  color: white;
  font-size: 50px;
  border-radius: none;
  user-select: none;
}

/* gallery */

#gallery-slider {
  position: fixed;
  top: 24%;
  left: 8%;
  width: 50%;
  height: 70%;
  margin-bottom: 500px;
  z-index: -1;
}

#gallery-slider-image {
  width: 100%;
  height: 85%;
  background-color: #c1c1c1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-size: 77%;
}

.gallery-slider-button {
  position: absolute;
  bottom: 0%;
  width: 10%;
  height: 10%;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

.gallery-slider-button-arrow {
  position: absolute;
  top: -50%;
  font-size: 80px;
  color: gray;
}

#gallery-images {
  position: absolute;
  top: 24%;
  left: 60%;
  width: 35%;
  height: 70%;
  z-index: -1;
  cursor: pointer;
}

.mySlides {
  display: inline-block;
  width: 40%;
  height: 35%;
  margin: 0% 0% 5% 5%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#numbers {
  position: absolute;
  bottom: -2%;
  left: 42%;
  width: 20%;
  height: 14%;
}

#first-number {
  position: absolute;
  right: 56.5%;
  font-family: Montserrat;
  font-size: 60px;
  color: #545454;
}

#slash {
  position: absolute;
  bottom: 50%;
  left: 30%;
  width: 40%;
  height: 1px;
  background-color: #545454;
  transform: rotate(-75deg);
  -webkit-transform: rotate(-75deg);
}

#second-number {
  position: absolute;
  bottom: 10%;
  left: 55%;
  font-family: Montserrat;
  font-size: 30px;
  color: #545454;
}

/* about us */

.aboutUs-title {
  font-size: 40px;
}

.aboutUs-title-underline {
  margin-left: auto;
  margin-right: auto;
  height: 1px;
  background-color: black;
  margin-bottom: 40px;
}

.aboutUs-left-title-underline {
  height: 1px;
  background-color: black;
  margin-bottom: 40px;
}

.aboutUs-text {
  font-size: 20px;
}

#aboutUs-first-img {
  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url("images/2.png");
  background-repeat: no-repeat;
  background-size: cover;
}

#aboutUs-second-img {
  position: absolute;
  width: 50%;
  height: 100%;
  background-image: url("images/3.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
}

#aboutUs-third-img {
  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url("images/1.png");
  background-repeat: no-repeat;
  background-size: cover;
}

#scroll-to-top-button {
  position: absolute;
  top: 530%;
  left: 48%;
  width: 4%;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

#scroll-arrow-left {
  position: absolute;
  left: 0%;
  width: 55%;
  height: 2px;
  background-color: #000a3d;
  transform: rotate(-35deg);
  -webkit-transform: rotate(-35deg);
}

#scroll-arrow-right {
  position: absolute;
  left: 45%;
  width: 55%;
  height: 2px;
  background-color: #000a3d;
  transform: rotate(35deg);
  -webkit-transform: rotate(35deg);
}

/* contact */

#contact-center {
  position: absolute;
  left: 15%;
  top: 25%;
  width: 70%;
  height: 60%;
}

.contact-info-title {
  position: absolute;
  left: 0%;
  color: white;
  opacity: 0.7;
  font-size: 14px;
}

.contact-info {
  position: absolute;
  left: 0%;
  color: white;
  font-size: 19px;
}

#contact-facebook {
  position: absolute;
  left: 1%;
  bottom: 5%;
  width: 4%;
}

#contact-instagram {
  position: absolute;
  left: 9%;
  bottom: 5%;
  width: 4%;
}

.contact-textbox {
  position: absolute;
  right: 0%;
  width: 40%;
  border: none;
  padding: 0;
  padding-left: 1%;
  font-size: 15px;
  font-family: "BPG Mrgvlovani Caps 2010";
  outline: none;
}

.contact-button {
  position: absolute;
  right: 0%;
  top: 85%;
  width: 41%;
  height: 15%;
  background-color: #15346e;
  border: none;
  font-size: 18px;
  font-family: "BPG Mrgvlovani Caps 2010";
  color: white;
  cursor: pointer;
  transition: 0.5s;
  outline: none;
}

.contact-button:hover {
  border: white;
  color: black;
  box-shadow: inset 500px 0 0 0 white;
}

#map {
  position: absolute;
  top: 95%;
  width: 100%;
  height: 100%;
  border: 0;
}

/* flat */

#flat-center {
  margin: 10%;
  margin-top: 12%;
  width: 80%;
}
