:root {
  --text: #000;
  --link: #0080ff;
  --button: #f5a226;
  --button-hover: #ed9820;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff;
  color: var(--text);
  font-family: Rubik, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100%;
  background: #fff;
}

a {
  color: inherit;
}

.home-page {
  min-height: 799px;
  padding: 39px 8px 25px;
}

.home-stack {
  width: min(100%, 480px);
  margin: 0 auto;
  text-align: center;
}

.portrait {
  display: block;
  width: 190px;
  height: 190px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 50%;
}

.hello {
  margin: 21px 0 0;
  font-size: 14px;
  line-height: 20px;
}

h1 {
  margin: 0;
  font-family: Lora, Georgia, serif;
  font-size: 37px;
  font-weight: 700;
  line-height: 48px;
}

.intro {
  width: min(100%, 305px);
  margin: 13px auto 0;
  font-size: 14px;
  line-height: 20px;
}

.home-heading,
.content-column h2 {
  margin: 0;
  font-family: Lora, Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.courses-heading {
  margin-top: 27px;
}

.work-heading {
  margin-top: 38px;
}

.button-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 304px);
  height: 50px;
  margin: 10px auto 0;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--button);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--button-hover);
  transform: scale(1.02);
}

.site-footer {
  text-align: center;
}

.home-footer {
  margin-top: 51px;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 47px;
  margin-top: 7px;
}

.social-link {
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #000;
  text-decoration: none;
  transition: transform 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: scale(1.05);
}

.social-link-tiktok {
  width: 47px;
  height: 47px;
}

.social-link-instagram {
  width: 39px;
  height: 39px;
}

.social-link svg {
  display: block;
  fill: currentColor;
}

.social-link-tiktok svg {
  width: 29px;
  height: 29px;
}

.social-link-instagram svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.copyright {
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 21px;
}

.consultation-page {
  min-height: 2847px;
  padding: 32px 16px 33px;
}

.content-column {
  width: min(100%, 316px);
  margin: 0 auto;
  font-size: 14px;
  line-height: 20px;
}

.text-link {
  color: var(--link);
  text-decoration: none;
  padding-bottom: 1px;
  background: linear-gradient(to right, var(--link), var(--link)) 0 100% / 1px 1px repeat-x;
}

.text-link:hover,
.text-link:focus-visible {
  background: none;
}

.back-link {
  display: inline-block;
  line-height: 20px;
}

.content-column h1 {
  margin-top: 26px;
  margin-bottom: 34px;
  line-height: 41px;
}

.content-column section {
  margin-top: 0;
  margin-bottom: 31px;
}

.content-column section:nth-of-type(2) {
  margin-bottom: 26px;
}

.content-column section:nth-of-type(3) {
  margin-bottom: 24px;
}

.content-column section:nth-of-type(4) {
  margin-bottom: 31px;
}

.content-column section:nth-of-type(5) {
  margin-bottom: 30px;
}

.content-column section:nth-of-type(6) {
  margin-bottom: 33px;
}

.content-column h2 {
  margin-bottom: 14px;
  text-align: left;
}

.content-column p {
  margin: 0 0 10px;
}

.content-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-column li {
  position: relative;
  display: block;
  padding-left: 8px;
  margin: 0 0 10px;
}

.content-column li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.content-column strong {
  font-weight: 700;
}

.consultation-footer {
  margin-top: 30px;
}

@media (max-width: 480px) {
  .home-page {
    min-height: 813px;
    padding-inline: 8px;
  }

  .home-stack {
    width: min(100%, 305px);
  }

  .hello,
  .intro,
  .content-column {
    font-size: 14px;
  }

  h1 {
    font-size: 37px;
  }

  .consultation-page {
    min-height: 2974px;
    padding-inline: 4px;
  }
}
