@import url("https://fonts.googleapis.com/css2?family=Poiret+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap");
img {
  max-width: 100%;
}

body {
  background-color: #F9F8F7;
}

.block {
  margin-top: 100px;
}

section > div {
  position: relative;
  z-index: 1;
}

.company, .contact {
  background: #f1f1f1;
  min-width: calc(50vw - 55px);
}
.company .info, .contact .info {
  width: 100%;
}
.company .info-text, .contact .info-text {
  height: 100%;
  text-align: justify;
  position: relative;
  padding: 25px;
  box-sizing: border-box;
}
.company .info-text .smallInfo .caption, .contact .info-text .smallInfo .caption {
  text-transform: uppercase;
  font-size: 1.25rem;
}
.company .info-text .smallInfo .subtitle, .contact .info-text .smallInfo .subtitle {
  text-transform: uppercase;
  font-size: 0.875rem;
}
.company-title, .contact-title {
  margin-bottom: 25px;
}

.company {
  margin-left: 50px;
  margin-right: 5px;
}
.company .info .map {
  margin-top: 25px;
  height: calc(100% - 163px);
}
.company-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.company-content a {
  color: #666;
}
.company-content a:hover {
  color: #000;
}
.company-social {
  overflow: hidden;
}
.company-social a {
  width: 30px;
  height: 30px;
  display: block;
  float: left;
  opacity: 0.5;
}
.company-social a:hover {
  opacity: 1;
}

.contact {
  margin-left: 5px;
  margin-right: 50px;
}
.contact-label {
  display: inline-block;
  width: 100px;
  padding: 4px;
  font-size: 0.875rem;
  vertical-align: middle;
}
.contact-item, .contact-inner {
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  margin-bottom: 10px;
}
.contact-inner {
  padding-left: 106px;
}
.contact-input, .contact-textarea {
  width: calc(100% - 100px);
  box-sizing: border-box;
  padding: 4px;
  background: #fff;
  border: 0;
  font-size: 0.875rem;
}
.contact-input {
  height: 30px;
  min-width: 200px;
}
.contact-row {
  display: none;
}
.contact .btn-group {
  display: flex;
}
.contact .btn-group .form-check-label {
  font-size: 0.875rem;
}
.contact-group {
  width: calc(100% - 100px);
  box-sizing: border-box;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.contact-group .city-selector {
  display: flex;
  margin-right: 5px;
}
.contact-group .city-selector .county, .contact-group .city-selector .district {
  height: 30px;
}
.contact-two {
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.contact-two .contact-item {
  margin-right: 50px;
}
.contact-two .contact-item:last-child {
  margin-right: 0px;
}
.contact-two .contact-item .contact-select {
  min-width: 100px;
}
.contact-select {
  height: 30px;
}
.contact-code {
  width: calc(100% - 100px);
  box-sizing: border-box;
  height: 30px;
  padding: 4px;
  background: #fff;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.contact-btn {
  margin-top: 25px;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
}
.contact-btn a {
  padding: 5px 15px;
  margin-right: 4px;
  cursor: pointer;
  background: #888888;
  font-size: 0.875rem;
  color: #fff;
}
.contact-btn a:last-child {
  margin: 0;
}

.land-form, .design-form {
  display: none;
}
.land-form.show, .design-form.show {
  display: block;
}

@media screen and (min-height: 791px) and (min-width: 1101px) {
  body {
    height: 100vh;
  }

  .company {
    margin: auto 5px auto 50px;
    max-height: 625px;
    height: 100%;
  }

  .contact {
    margin: auto 50px auto 5px;
  }
}
@media screen and (min-height: 501px) and (max-height: 790px) and (min-width: 1101px) {
  body {
    height: calc(100vh - 17px);
  }

  .company {
    margin: auto 5px auto 50px;
    max-height: 419px;
    height: 100%;
  }
  .company .info {
    display: flex;
  }
  .company .info .smallInfo {
    margin-right: 25px;
  }
  .company .info .map {
    height: 100%;
    width: 100%;
    margin: 0;
    min-width: 400px;
  }
  .company-content {
    display: block;
    text-align: left;
    min-width: 280px;
  }
  .company-social {
    margin-top: 10px;
  }

  .contact {
    margin: auto 50px auto 5px;
  }
  .contact-form {
    display: flex;
  }
  .contact-form .form-item {
    padding-right: 20px;
    box-sizing: border-box;
  }
  .contact-form .form-item:last-child {
    padding: 0;
  }
  .contact-row {
    display: flex;
  }
  .contact-col {
    display: none;
  }
  .contact-btn {
    margin-top: 15px;
    -webkit-justify-content: right;
    justify-content: right;
  }
}
@media screen and (min-width: 1101px) {
  .land-form, .design-form {
    min-width: 500px;
  }
}
@media screen and (max-height: 500px) {
  .company, .contact {
    height: auto;
    width: calc(100% - 100px);
    margin: 25px 50px;
  }

  .company {
    margin-top: 100px;
  }
  .company .info .map {
    height: auto;
    min-height: 300px;
  }
  .company-content {
    display: block;
  }
  .company-social {
    margin-top: 10px;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 1100px) {
  .block {
    display: block;
    height: auto;
  }
  .block.company {
    margin-top: 80px;
  }

  .company, .contact {
    margin: 25px 50px;
  }

  .company-content {
    display: block;
  }

  .company-social {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  #map {
    width: 100%;
    min-height: 350px;
  }
}
@media screen and (max-height: 500px) and (min-width: 1301px) {
  .company, .contact {
    max-width: 1200px;
    margin: 25px auto;
  }

  .company {
    margin-top: 100px;
  }

  .contact {
    margin-bottom: 40px;
  }

  .footer {
    position: fixed;
  }
}
@media screen and (max-height: 500px) and (max-width: 640px) {
  .company, .contact {
    width: calc(100% - 50px);
  }
}
@media screen and (max-width: 640px) {
  .company {
    margin: 80px 25px 25px;
  }

  .contact {
    height: auto;
    margin: 0 25px 25px;
  }
  .contact-input {
    min-width: auto;
  }
  .contact-group {
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }
  .contact-group .city-selector {
    margin-right: 0;
    margin-bottom: 5px;
  }
  .contact-group .city-selector .county, .contact-group .city-selector .district {
    width: 50%;
  }
  .contact-group .contact-input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 5px;
  }
  .contact-two {
    display: block;
  }
  .contact-two .contact-item {
    margin-right: 0;
  }
  .contact-two .contact-select {
    flex-grow: 1;
  }
}
@media screen and (max-width: 525px) {
  .contact-inner {
    padding-left: 0;
    transform-origin: left center;
    transform: scale(0.86);
  }
}
@media screen and (max-width: 330px) {
  .contact .btn-group {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}
