@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");
body {
  width: 100%;
}
body.hori {
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

section {
  display: flex;
}

.block {
  background-color: #FCFCFC;
}

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

.company {
  background: #f1f1f1;
  flex-grow: 1;
  width: auto;
  -webkit-align-content: center;
  align-content: center;
  -webkit-align-items: center;
  align-items: center;
}
.company .info-content {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-content: center;
  align-content: center;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.company .info-text {
  margin: 0 50px;
}
.company .info-text .smallInfo {
  max-width: 500px;
  width: auto;
  text-align: justify;
  position: relative;
}
.company .info-text .smallInfo h1 {
  margin: 10px 0;
}
.company .info-text .smallInfo p:not(:last-child) {
  margin-bottom: 20px;
}
.company .info-img {
  object-fit: contain;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-content: center;
  align-content: center;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
}

.image {
  display: flex;
  width: 100%;
  flex: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.picture {
  overflow: hidden;
}
.picture .info-content {
  flex: 0 0 100%;
  max-width: 100%;
}
.picture .info-img {
  position: relative;
  width: 100%;
}
.picture .info-img[data-size="1x1"] {
  padding-bottom: 100%;
}
.picture .info-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image._1x1 {
  padding-bottom: 100%;
}

@media screen and (max-height: 500px) {
  section {
    width: auto;
  }

  .picture {
    overflow: hidden;
  }

  .footer {
    position: fixed;
  }
}
@media screen and (min-width: 1101px) {
  .block {
    height: 100vh;
  }

  .picture {
    min-width: 700px;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
  }

  img {
    width: auto;
    height: 100%;
  }
}
@media screen and (max-height: 500px) and (min-width: 1101px) {
  body {
    flex-wrap: nowrap;
  }
}
@media screen and (max-width: 1100px) {
  .title {
    margin-bottom: 20px;
  }

  .block {
    padding: 0 50px;
    height: auto;
  }
  .block.picture {
    padding: 50px;
    margin: auto;
    margin-top: 80px;
    max-width: 500px;
  }

  .company .info-text {
    margin: 50px 0;
  }

  .company .info .smallInfo {
    max-width: 1200px;
  }
}
@media screen and (max-width: 640px) {
  .block {
    padding: 0 25px;
  }
  .block.picture {
    padding: 25px;
  }

  .company {
    width: calc(100% - 50px);
  }
  .company .info-text {
    max-width: 100%;
  }
  .company .info-text .smallInfo {
    max-width: 100%;
    width: auto;
  }
}
@media screen and (max-height: 500px) and (max-width: 1100px) {
  section {
    width: 100%;
  }

  .footer {
    position: relative;
  }
}
