:root {
  --bg: #ffffff;
  --header-bg: linear-gradient(
      274.51deg,
      rgba(74, 0, 224, 0.6) 5%,
      rgba(142, 45, 226, 0.5) 130.61%
    ),
    url("../images/patron-2.png");
  --code-bg: #ffffff;
  --footer-bg: #000000;
  --quote-bg: #ffffff;
  --input-border: 1px solid #000000;
  --input-bg: #ffffff;
  --input-color: #000000;
  --btn-text-color: #ffffff;
  --btn-bg: #157efb;

  --title-color: #000000;
  --paragraph-color: #a5a3a5;
  --list-title-color: #000000;
  --footer-text-color: #ffffff;
  --link-color: #157efb;
}

html {
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  color: var(--paragraph-color);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
}

.wrapper {
  display: flex;
  flex-direction: row-reverse;
  gap: 45px;
  width: 100%;
  margin: 0 auto;
  margin-top: 64px;
  max-width: 1024px;
}

.header {
  width: 100%;
  height: 350px;
  background: var(--header-bg);
  background-repeat: repeat;
}

.aside {
  width: 240px;
}
.aside-navbar {
  position: sticky;
  top: 20px;
}
.aside-title {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 24px;
  text-transform: uppercase;
  color: var(--list-title-color);
}

.theme-list {
  list-style: none;
  padding: 0;
}

.theme-list a {
  display: block;
  width: 100%;
  padding: 8px;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  color: #808080;
  border-radius: 4px;
  box-sizing: border-box;
  text-decoration: none;
}

.theme-list a.active {
  color: white;
  background-color: black;
}

.dropdown {
  margin-top: 24px;
}
.dropdown summary {
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 24px;
  color: var(--list-title-color);
}

.dropdown ol {
  list-style: none;
  padding-left: 20px;
}
.dropdown ol li::before {
  content: counter(li);
  color: #616161;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
.dropdown li {
  counter-increment: li;
}
.dropdown a {
  color: #616161;
  text-decoration: none;
}
.dropdown a:hover {
  text-decoration: underline;
}

.dropdown:first-child {
  margin-top: 16px;
}

.main-content {
  width: 100%;
  text-align: center;
}

.form__title {
  margin-bottom: 0;
}
.form__input {
  width: 100%;
  margin-top: 24px;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 24px;
  border: var(--input-border);
  background: var(--input-bg);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--input-color);
}

.box-model-section{
  text-align: left;
}

pre {
  text-align: left;
  padding: 40px;
  color: var(--title-color);
  background: var(--code-bg);
  border-radius: 8px;
}

.form__input::placeholder {
  color: var(--input-color);
}

.form__input:first-of-type {
  margin-top: 16px;
}

.btn {
  width: 100%;
  padding: 12px 16px;
  margin-top: 24px;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  border-radius: 8px;
  text-align: center;
  color: var(--btn-text-color);
  border: none;
  cursor: pointer;
  background-color: var(--btn-bg);
  box-sizing: border-box;
}

h1 {
  margin: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 60px;
  line-height: 70px;
  color: var(--title-color);
}

h2 {
  font-style: normal;
  font-weight: normal;
  font-size: 32px;
  line-height: 37px;
  color: var(--title-color);
}

h3 {

  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: 28px;
  color: var(--title-color);
}

p {
  font-size: 1rem;
  line-height: 24px;
  color: var(--paragraph-color);
}

blockquote {
  margin: 0;
  padding: 20px;
  color: var(--title-color);
  border-radius: 8px;
  background-color: var(--quote-bg);
}

blockquote span {
  display: block;
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: 32px;
}

.email-link {
  color: var(--link-color);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 174px;

  background: var(--footer-bg);
  margin-top: 120px;
}
.footer__title {
  font-style: normal;
  font-weight: normal;
  font-size: 32px;
  line-height: 37px;
  color: var(--footer-text-color);
}

@media screen and (max-width: 767px) {
  .wrapper {
    flex-direction: column;
  }

  h3 {
    width: 100%;
  }
}
