@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@500;700&family=Playfair+Display:wght@600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  background-color: #e0dbd5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background-color: #a09b97;
}

::-webkit-scrollbar-thumb {
  background-color: #312c28;
}

.fade-in {
  animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

header {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 18px 0 0 0;
}

header > a {
  color: #312c28;
  font-family: 'Mulish';
  font-size: 24px;
  font-weight: 400;
  line-height: 30.12px;
  text-align: center;
  padding: 10px;
  text-decoration: none;

  &:first-child {
    margin: 0 29px 0 0;
    border-bottom: 1px solid #312c28;
  }

  &:last-child {
    color: #a09b97;
    border-bottom: unset;
  }
}

article {
  max-width: 880px;
  padding: 32px 46px;
  border: 2px solid #bf9a6d;
  border-radius: 16px;
  margin: 0 0 74px 0;
}

article > h1 {
  color: #403b37;
  font-family: 'Playfair Display';
  font-size: 32px;
  font-weight: 700;
  line-height: 45px;
  text-align: center;
  margin: 0 0 18px 0;
}

article > p {
  color: #747474;
  font-family: 'Mulish';
  font-size: 28px;
  font-weight: 500;
  line-height: 39px;
  text-align: center;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 0 84px 0;
}

section > h2 {
  color: #403b37;
  font-family: 'Playfair Display';
  font-size: 45px;
  font-weight: 600;
  line-height: 60px;
  text-align: center;
  margin: 0 0 32px 0;
}

footer {
  width: 100%;
  padding: 42px;
  border-top: 1px solid #a09b97;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

footer span {
  color: #403b37;
  font-family: 'Mulish';
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: 0.22px;
  margin: 0 12px 0 0;
  text-transform: uppercase;
}

footer b {
  color: #403b37;
  font-family: 'Mulish';
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.22px;
  text-transform: uppercase;
}

.founder {
  display: contents;
}

.property-consultant {
  display: none;
}

.hide {
  display: none;
}

.show {
  display: contents;
}

.logo {
  margin: 87px 0 42px 0;
  width: 494px;
  height: 138px;
}

.person {
  margin: 0 0 42px 0;
  width: 554px;
  height: 554px;
  border-radius: 50%;
}

.social-network {
  margin: 0 0 38px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.social-network__top-layout {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.social-network__bottom-layout {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.social-network__icon {
  width: 48px;
  height: 48px;
  margin: 0 16px 0 0;
}

.social-network span {
  color: #403b37;
  font-family: 'Mulish';
  font-size: 32px;
  font-weight: 500;
  line-height: 45px;
  margin: 0 24px 0 0;
}

.social-network a {
  color: #306099;
  text-decoration: underline;
  font-family: 'Mulish';
  font-size: 32px;
  font-weight: 500;
  line-height: 45px;
  margin: 0 6px 0 0;
}

.social-network:last-child {
  margin: 0;
}

.social-network__forward {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media screen and (max-width: 960px) {
  article {
    width: 80%;
    max-width: unset;
    margin: 0 auto 36px auto;
  }
}

@media screen and (max-width: 790px) {
  .logo {
    margin: 56px auto 0 auto;
    width: 90%;
    max-width: unset;
    height: 138px;
    object-fit: contain;
  }

  .person {
    margin: 0 auto 32px auto;
    width: 60%;
    max-width: unset;
    height: 60%;
    max-height: unset;
    object-fit: contain;
  }

  article {
    padding: 20px;
    margin: 0 0 36px 0;
  }

  article > h1 {
    font-size: 20px;
    line-height: 24px;
    margin: 0 0 12px 0;
  }

  article > p {
    line-height: 20px;
    font-size: 14px;
  }

  section {
    margin: 0 0 32px 0;
  }

  section > h2 {
    font-size: 32px;
    line-height: 34px;
    margin: 0 0 20px 0;
  }

  .social-network {
    margin: 0 0 24px 0;
    flex-direction: column;
  }

  .social-network__icon {
    width: 32px;
    height: 32px;
    margin: 0 8px 0 0;
  }

  .social-network span {
    font-size: 22px;
    line-height: 34px;
    margin: 0;
  }

  .social-network a {
    font-size: 22px;
    line-height: 34px;
    margin: 0;
    margin: 0 6px 0 0;
  }

  .social-network__forward {
    width: 16px;
    height: 16px;
  }

  .social-network__top-layout {
    margin: 0 0 4px 0;
  }

  footer {
    padding: 16px;
  }

  footer span,
  footer b {
    font-size: 16px;
    line-height: 22px;
  }
}

@media screen and (max-width: 475px) {
  article > h1 {
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 12px 0;
  }

  article > p {
    line-height: 16px;
    font-size: 14px;
  }
}

@media screen and (max-width: 390px) {
  article > h1 {
    font-size: 11.5px;
    line-height: 16px;
    margin: 0 0 6px 0;
  }

  article > p {
    line-height: 16px;
    font-size: 12px;
  }
}
