*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;

  --color-primary: #ff8961;
  --color-secondary: #555555;
}

body {
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background: #f5f9fa;
}

main {
  background-image: url("./assets/img/bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  position: relative;
  gap: 4rem;
  padding-top: 100px;
}

.logo-sm {
  position: absolute;
  top: 0;
  left: 2rem;
}

section.hero {
  display: none;
}
section.hero > figure,
section.hero > figure > img {
  width: 100%;
}
section.hero > p {
  color: white;
  text-align: center;
  font-weight: 500;
}

section.info {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  width: 100%;
  margin: 1rem;
  max-width: 500px;
}

section.info figure {
  text-align: center;
}

section.info figure > img {
  width: 147px;
  height: 147px;
}

section.info h1 {
  color: var(--color-primary);
  font-size: 2.25rem;
  margin-bottom: 0.25rem;
  margin-top: -1.5rem;
  text-align: center;
  font-family: "Dancing Script", cursive;
}

section.info > p.subtitle {
  text-align: center;
  margin-bottom: 1.75rem;
  font-weight: 500;
  color: #aaaaaa;
}

section.info > p {
  margin-bottom: 1.5rem;
}

section.info p {
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

section.info .contacts {
  width: 100%;
  margin-top: 1.5rem;
}

section.info .contacts > p > strong {
  width: 4rem;
  margin-right: 1rem;
  color: var(--color-secondary);
  display: inline-block;
}

section.info .socials {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 0.5rem;
}

section.info .socials > a {
  display: inline-block;
}
section.info .socials > a:hover > img {
  fill: var(--color-primary);
}

section.info.privacy-policy {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  width: 100%;
  margin: 1rem;
  max-width: 980px;
}

@media screen and (min-width: 976px) {
  main {
    padding-top: 200px;
  }

  section.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin: 1rem;
    max-width: 317px;
    gap: 6rem;
  }
}
