/* variables and functions*/
@property --rotate {
  syntax: "<angle>";
  initial-value: 132deg;
  inherits: false;
}
/* reset */
:root {
  --rotate: 90deg;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
  font-size: 62.5%;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: "Inter", sans-serif;
  background-color: hsl(223, 100%, 99%);
}
button,
input,
label {
  line-height: 1.1;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
a {
  text-decoration-skip-ink: auto;
  text-decoration: none;
  display: inline-block;
  color: currentColor;
}
img,
picture {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}
textarea:not([rows]) {
  min-height: 10em;
}
:target {
  scroll-margin-block: 5ex;
}
:root {
  --btn-radius: 14px;
  --border-thickness: 6px;
  /* visible ring thickness */
  --glow-blur: 8px;
  /* softness of the glow */
  --spin-duration: 4s;
  /* rotation speed */
  --btn-padding: 14px 28px;
  --accent-a: #ff6b6b;
  --accent-b: #ffd166;
  --accent-c: #6bffd1;
  --accent-d: #7a5cff;
}
.sub-heading {
  font-size: clamp(2.8rem, 4.2vw, 4rem);
  font-weight: 600;
  color: hsl(219, 79%, 24%);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 3rem;
  border-radius: 100vw;
}
.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 3rem;
  border-radius: 100vw;
  color: hsl(223, 100%, 99%);
  background: linear-gradient(90deg, #2386ff 0%, #00aee3 100%);
  border: 0;
  transition: box-shadow 0.3s ease;
}
.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 6px 15px #00000040;
  outline: none;
}
.btn--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 3rem;
  border-radius: 100vw;
  background: radial-gradient(140% 140% at 80% 80%, #185ad4 0%, #0d2f6e 89%, transparent 80%), linear-gradient(112deg, #185ad4 0%, #0d2f6e 89%);
  position: relative;
}
.btn--secondary::before {
  content: "";
  position: absolute;
  border-radius: 100vw;
  background-image: linear-gradient(var(--rotate), #4b82dc 0%, #8870d3 50%, #b766bd 75%, #cc7296 88%, #f6ae00 100%);
  z-index: -1;
  animation: spin 2.5s linear infinite;
}
.btn--secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.8);
  filter: blur(10px);
  background-image: linear-gradient(var(--rotate), #4b82dc 0%, #8870d3 50%, #b766bd 75%, #cc7296 88%, #f6ae00 100%);
  opacity: 1;
  transition: opacity 0.5s;
  animation: spin 2.5s linear infinite;
}
@keyframes spin {
  0% {
    --rotate: 0deg;
  }
  100% {
    --rotate: 360deg;
  }
}
.flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.flex-gap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.container {
  margin-inline: auto;
  padding-inline: 2rem;
}
@media (min-width: 768px) {
  .container {
    padding-inline: 3rem;
  }
}
@media (min-width: 1536px) {
  .container {
    padding-inline: 0;
    max-inline-size: 102.4rem;
  }
}
.author-info-section .author-block .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding-block: 10rem;
}
@media (min-width: 1024px) {
  .author-info-section .author-block .content {
    padding-top: 15rem;
    padding-bottom: 3rem;
    flex-direction: row;
    align-items: flex-start;
  }
}
.author-info-section .author-block .author-image {
  width: 20rem;
  height: 20rem;
  position: relative;
}
.author-info-section .author-block .author-image .image-background {
  position: absolute;
  top: -1rem;
  right: -1rem;
  bottom: -1rem;
  left: -1rem;
  background: linear-gradient(to right, #3b82f6 20%, #9333ea 80%);
  border-radius: 1.5rem;
  opacity: 0.2;
  filter: blur(40px);
  z-index: 0;
}
.author-info-section .author-block .author-image img {
  border-radius: 100vw;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: relative;
  border: 3px solid white;
  z-index: 1;
}
.author-info-section .author-block .author-description {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .author-info-section .author-block .author-description {
    align-items: flex-start;
  }
}
.author-info-section .author-block .author-description .info-badge {
  font-size: 1.4rem;
  padding: 0.5rem 1.5rem;
  border-radius: 100vw;
  color: #185ad4;
  width: fit-content;
  background-color: rgba(78, 140, 255, 0.3);
}
.author-info-section .author-block .author-description .info {
  text-align: center;
}
@media (min-width: 1024px) {
  .author-info-section .author-block .author-description .info {
    text-align: start;
  }
}
.author-info-section .author-block .author-description .info h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.author-info-section .author-block .author-description .about-me-block p {
  margin-bottom: 2rem;
}
