:root {
  --primary-backround-color: #101014;
  --primary-text-color: #f5f5f7;

  --brand-color: #fa3c00;

  --backdrop-filter-blur: blur(7px);
}

@font-face {
  font-family: "OpenRunde";
  src:
    url("/assets/fonts/OpenRunde-Regular.woff2") format("woff2"),
    url("/assets/fonts/OpenRunde-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OpenRunde";
  src:
    url("/assets/fonts/OpenRunde-Medium.woff2") format("woff2"),
    url("/assets/fonts/OpenRunde-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OpenRunde";
  src:
    url("/assets/fonts/OpenRunde-Semibold.woff2") format("woff2"),
    url("/assets/fonts/OpenRunde-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OpenRunde";
  src:
    url("/assets/fonts/OpenRunde-Bold.woff2") format("woff2"),
    url("/assets/fonts/OpenRunde-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6,
span,
p,
input,
button,
textarea,
select,
label,
a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

input,
button,
textarea,
select {
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

body {
  height: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--primary-backround-color);
  padding-top: 0;
  font-family: "OpenRunde", sans-serif;
}

/* ====== Main ====== */
main {
  max-width: 625px;
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin-top: 176px;
  padding: 0 30px;
  box-sizing: border-box;
  gap: 100px;
}

.heroSection {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 40px;
}

.heroSectionHeader {
  font-size: 42px;
  font-weight: 600;
  color: var(--primary-text-color);
}

.heroSectionHeaderOrange {
  color: var(--brand-color);
}

.heroSectionDescription {
  font-size: 18px;
  font-weight: 400;
  color: #7e7e7e;
  line-height: 22px;
}

.heroSectionBtnCon {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.heroSectionBtn {
  height: 56px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-color);
  border-radius: 32px;
  cursor: pointer;
  transition: 0.15s ease-in-out;
  padding: 0 16px;
}

.githubBtn {
  background-color: rgba(42, 42, 45, 0.6216);
  --webkit-backdrop-filter: var(--backdrop-filter-blur);
  backdrop-filter: var(--backdrop-filter-blur);
}

.githubBtn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    115deg,
    rgba(111, 111, 118, 0.3) 0%,
    rgba(42, 42, 45, 0) 50%,
    rgba(111, 111, 118, 0.3) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.heroSectionBtn:hover {
  background-color: #ff501b;
}

.githubBtn:hover {
  background-color: rgba(58, 58, 61, 0.622);
}

.heroSectionBtnText {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-text-color);
  text-decoration: none;
}

.heroSectionImage {
  width: 100%;
  height: auto;
  margin-top: 20px;
}

.viewSection {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.viewSectionHeader {
  font-size: 16px;
  font-weight: 500;
  color: var(--brand-color);
  text-transform: uppercase;
}

.viewSectionDescription {
  font-size: 28px;
  font-weight: 500;
  color: var(--primary-text-color);
  margin-top: 15px;
}

.viewSectionImageCon {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  background-color: rgba(42, 42, 45, 0.6216);
  --webkit-backdrop-filter: var(--backdrop-filter-blur);
  backdrop-filter: var(--backdrop-filter-blur);
  border-radius: 12px;
  margin-top: 35px;
  overflow: hidden;
}

.viewSectionImageConFirst {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.viewSectionImage {
  width: 100%;
  height: auto;
}

.viewSectionImageConSecond {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  gap: 10px;
}

.viewSectionImageConSecond::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    115deg,
    rgba(111, 111, 118, 0.3) 0%,
    rgba(42, 42, 45, 0) 50%,
    rgba(111, 111, 118, 0.3) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.viewSectionImageConSecondHeader {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-color);
  text-transform: uppercase;
}

.viewSectionImageConSecondDescription {
  font-size: 16px;
  font-weight: 400;
  color: #7e7e7e;
}

.viewSectionImageConSecondDescriptionB {
  color: var(--primary-text-color);
}

.lastSection {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 80px;
}

.lastSectionHeader {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-text-color);
  text-align: center;
}

.lastSectionDescription {
  font-size: 18px;
  font-weight: 400;
  color: #7e7e7e;
  margin-top: 20px;
  text-align: center;
  margin-bottom: 30px;
}
