@font-face {
  font-family: "oso-rg";
  src: url("./assets/fonts/OpenSauceOne-Regular.ttf");
}

@font-face {
  font-family: "oso-md";
  src: url("./assets/fonts/OpenSauceOne-Medium.ttf");
}

@font-face {
  font-family: "oso-sb";
  src: url("./assets/fonts/OpenSauceOne-SemiBold.ttf");
}

@font-face {
  font-family: "oso-bd";
  src: url("./assets/fonts/OpenSauceOne-Bold.ttf");
}
@font-face {
  font-family: "oso-eb";
  src: url("./assets/fonts/OpenSauceOne-ExtraBold.ttf");
}

@font-face {
  font-family: "oso-bi";
  src: url("./assets/fonts/OpenSauceOne-BoldItalic.ttf");
}

@font-face {
  font-family: "oso-bk";
  src: url("./assets/fonts/OpenSauceOne-Black.ttf");
}

@font-face {
  font-family: "oso-bi";
  src: url("./assets/fonts/OpenSauceOne-BlackItalic.ttf");
}

:root {
  /* colors */
  --clr-black: #000000;
  --clr-black-100: #0a0a0a;
  --clr-black-200: #1e1e22;

  --clr-white: #ffffff;
  --clr-white-100: #fafafa;
  --clr-white-200: #effff3;
  --clr-white-300: #e7e7e7;
  --clr-white-400: #cbd3e0;
  --clr-white-500: #f8f8f8;

  --clr-ash: #939393;
  --clr-ash-100: #ababab;

  --clr-grey: #5e5e5e;

  --clr-blue: #32c5ff;
  --clr-blue-100: #3986e1;

  --clr-light-blue: #d6f2fa;
  --clr-light-blue-100: #edfcff;
  --clr-light-blue-200: #edf2fa;

  --clr-purple: #3e2e5a;
  --clr-purple-100: #643a7c;
  --clr-purple-200: #d6c5f5;
  --clr-purple-300: #e6d9ff;
  --clr-purple-400: #f0e8ff;
  --clr-violet: #170647;
  --clr-pink: #b620e0;
  --clr-red: #e41b10;

  --clr-green: #02b32a;
  --clr-green-100: #a7c3b1;
  --clr-light-green: #eefff2;
  --clr-dark-green: #10391e;

  --clr-yellow: #f7b500;
  --clr-yellow-100: #fbf2d6;

  /* typography */
  --font-regular: "oso-rg";
  --font-medium: "oso-md";
  --font-semi-bold: "oso-sb";
  --font-bold: "oso-bd";
  --font-extra-bold: "oso-eb";
  --font-bold-italic: "oso-bi";
  --font-black: "oso-bk";
  --font-black-italic: "oso-bi";
  /* font-sizes */
  --text-xxxs: 14px;
  --text-xxs: 16px;
  --text-xs: 18px;
  --text-s: 20px;
  --text-m: 24px;
  --text-l: 28px;
  --text-xl: 32px;
  --text-2xl: 38px;
  --text-3xl: 42px;
  --text-4xl: 60px;
  --text-5xl: 68px;
  --text-6xl: 74px;
  --text-7xl: 78px;
  --text-8xl: 94px;
}

/* ############### */
/* reset  */
/* ############### */
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

/* Typography */
body {
  font-family: var(--font-regular);
  font-size: 16px;
  line-height: 1.5;
  color: var(--clr-black);
  background-color: var(--clr-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* button */

button {
  border: none;
  padding: 5px;
  font-family: inherit;
  cursor: pointer;
}

button:disabled,
button:disabled:active {
  cursor: not-allowed;
  opacity: 0.5;
}

button:active {
  opacity: 0.8;
}

/* Lists */
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Images */
img {
  max-width: 100%;
  display: block;
}

/* Figures */
figure {
  margin: 0;
  display: block;
}

/* ############### */
/* common  */
/* ############### */

.container {
  max-width: 1440px;
  width: 92%;
  margin: auto;
}
article.container {
  margin: 30px auto;
}
.landing_section_title {
  font-family: var(--font-bold);
  color: var(--clr-black);
  font-size: var(--text-3xl);
  text-transform: capitalize;
  text-align: center;
  margin-bottom: 36px;
}
.landing_button {
  background-color: var(--clr-green);
  font-family: var(--font-bold);
  color: var(--clr-white);
  border-radius: 50px;
}

.landing_button--s {
  padding: 10px 16px;
  font-size: var(--text-xs);
}

.landing_button--l {
  padding: 17px 37px;
  font-size: var(--text-m);
}
.section-placeholder {
  height: 30px;
  width: 100%;
}
/* ###############      */
/* success page payment */
/* ###############     */
.payment_success_button {
  border-radius: 50px;
  padding: 8px 16px;
  font-size: var(--text-xs);
  background-color: var(--clr-white);
  border: 1px solid var(--clr-blue-100);
  font-size: var(--text-xxxs);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.payment_success_button img {
  width: 24px;
  height: 24px;
}

.payment_success_button p {
  color: var(--clr-blue-100);
}

/* ############### */
/* header  */
/* ############### */
.landing_header {
  padding: 30px 0 20px;
  position: sticky;
  background-color: var(--clr-white);
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid var(--clr-white-300);
}

.landing_header_flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
}

.landing_header_logo img {
  width: 240px;
  object-fit: contain;
}

.landing_header nav {
  max-width: 730px;
  width: 100%;
  transition: all 300ms ease-in-out;
  /* position: relative; */
}

/* ###############      */
/* success page payment */
/* ###############     */
.payment_success {
  display: flex;
  flex-direction: column;
}

.payment_success_main {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin: 50px 0;
}
.payment_success_check_img {
  width: 196px;
  height: 196px;
  object-fit: cover;
}
.payment_success_title {
  font-size: calc(var(--text-2xl) - 2px);
  font-family: var(--font-bold);
  margin: 28px 0 13px;
}
.payment_success_title_container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.payment_success_title_container img {
  margin-top: -7px;
}
.payment_success_title_container + p {
  font-size: var(--text-s);
  text-align: center;
}

.payment_success_title_container + p + hr {
  border: 1px solid #f0f0f0;
  margin: 30px 0;
  width: 100%;
}
.payment_success_title_container + p + hr + p {
  font-family: var(--font-bold);
  font-size: var(--text-s);
  text-align: center;
}
.payment_success_steps_flex {
  display: flex;
  align-items: center;
  gap: 45px;
  margin: 40px 0;
}

.payment_success_steps {
  position: relative;
}
.payment_success_steps::before {
  content: " ";
  display: block;
  width: 1px;
  height: 80%;
  background-color: #000000;
  border-radius: 20px;
  position: absolute;
  top: 3px;
  left: -5px;
}

.payment_success_steps_image {
  width: 370px;
  height: 370px;
  object-fit: cover;
  display: flex;
  align-items: center;
}

.payment_success_step h3 {
  text-transform: uppercase;
  font-size: var(--text-xxxs);
  font-family: var(--font-bold);
}
.payment_success_step {
  position: relative;
  padding-left: 20px;
}
.payment_success_step::before {
  content: " ";
  display: block;
  width: 10px;
  height: 10px;
  background-color: #000000;
  border-radius: 20px;
  position: absolute;
  top: 3px;
  left: -10px;
}
.payment_success_steps li + li {
  margin-top: 30px;
}

.payment_success_steps {
  max-width: 450px;
}

.payment_success_steps p {
  font-size: var(--text-s);
}
.payment_success_step_images {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 15px;
}
.payment_success_step_images img {
  object-fit: cover;
  width: 140px;
  height: 40px;
}
.payment_success .landing_header nav {
  max-width: unset;
  width: unset;
  transition: unset;
}

@media (max-width: 760px) {
  .payment_success_steps_flex {
    flex-direction: column;
  }
  .payment_success_title {
    font-size: calc(var(--text-l));
    text-align: center;
  }

  .payment_success_title_container + p {
    font-size: var(--text-xxs);
  }
  .payment_success_title_container {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 15px;
  }
  .payment_success_title_container img {
    margin-top: unset;
  }
  .payment_success_title_container + p + hr + p {
    font-size: var(--text-xxs);
  }
  .payment_success_steps p {
    font-size: var(--text-xs);
  }
  .payment_success_check_img {
    width: 150px;
    height: 150px;
  }
  .payment_success_steps::before {
    left: 3px;
  }
  .payment_success_step::before {
    left: -2px;
  }
}

.landing_header nav.view {
  transform: translateY(0%);
  opacity: 1;
}
.landing_header_navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.landing_header_navigation a {
  color: var(--clr-black-100);
}
.landing_header_navigation a:active {
  color: var(--clr-green);
}

.landing_header_navigation_menu,
.landing_header_navigation_close {
  display: none;
  background-color: var(--clr-white);
}

.landing_header_navigation_menu img,
.landing_header_navigation_close {
  width: 50px;
  aspect-ratio: 3/2;
}

/* ############### */
/* footer     */
/* ############### */
.landing_footer {
  background-color: var(--clr-light-blue-200);
}

.landing_footer_content_flex {
  padding: 60px 0px;
  display: flex;
}
.landing_footer_content_info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  max-width: 600px;
  width: 100%;
}

.landing_footer_content_info > .landing_footer_content:last-child {
  max-width: 300px;
}
.landing_footer_content h6 {
  font-family: var(--font-semi-bold);
  color: var(--clr-black-200);
  font-size: var(--text-xxs);
  margin-bottom: 16px;
}
.landing_footer_content p + p {
  margin-top: 16px;
}
.landing_footer_content a + a {
  display: block;
  margin-top: 16px;
}
.landing_footer_content a:hover {
  text-decoration: underline;
}
.landing_footer_content > figure {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.landing_footer_content span {
  font-size: var(--text-xxxs);
}

.landing_section_footer_copyright {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 40px;
  border-top: 1px solid var(--clr-white-400);
  font-size: var(--text-xxxs);
}

.landing_footer_social_links {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ############### */
/* tablet -l    */
/* ############### */
@media (max-width: 1100px) {
  /* ############### */
  /* common            */
  /* ############### */

  .landing_section_title {
    font-size: var(--text-xl);
  }
  .landing_button--s {
    padding: 6px 10px;
    font-size: var(--text-xxxs);
  }

  .landing_button--l {
    padding: 10px 25px;
    font-size: var(--text-xs);
  }
  .section-placeholder {
    height: 80px;
  }

  /* ############### */
  /*     header      */
  /* ############### */

  .landing_header_navigation a {
    color: var(--clr-black-100);
    font-size: var(--text-xxs);
  }
}

/* ############### */
/* tablet - m     */
/* ############### */
@media (max-width: 820px) {
  /* ############### */
  /* common            */
  /* ############### */

  .landing_button {
    white-space: nowrap;
  }

  .landing_section_title {
    font-size: var(--text-l);
  }

  /* ############### */
  /* header            */
  /* ############### */
  .landing_header_navigation a {
    white-space: nowrap;
    font-size: var(--text-xxxs);
  }
}

/* ############### */
/* tablet - s     */
/* ############### */
@media (max-width: 768px) {
  /* ############### */
  /* header  */
  /* ############### */
  .landing_header {
    padding: 10px 0 15px;
  }
  .landing_header_logo img {
    width: 140px;
    object-fit: contain;
  }
  .landing_header nav {
    left: 0;
    top: 55px;
    position: absolute;
    transform: translateY(-150%);
    opacity: 0;
  }
  .landing_header_navigation {
    flex-direction: column;
    background-color: var(--clr-white);
    padding: 20px;
    border-radius: 16px;
    gap: 30px;
    /* max-width: 600px; */
    width: 100%;
    border: 1px solid var(--clr-white-300);
  }

  .landing_header_navigation_menu,
  .landing_header_navigation_close {
    display: block;
    width: 50px;
  }
  .landing_header_navigation_close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 1px solid var(--clr-white-300);
    border-radius: 30px;
    width: 35px;
  }
}

@media (max-width: 630px) {
  /* ############### */
  /* common  */
  /* ############### */
  .landing_button--l {
    width: 100%;
  }

  /* ############### */
  /* footer     */
  /* ############### */

  .landing_footer_content_info {
    margin-left: 10px;
  }
  .landing_footer_content_flex,
  .landing_footer_content_info,
  .landing_section_footer_copyright {
    flex-direction: column;
  }
  .landing_footer_content h6,
  .landing_footer_content p,
  .landing_footer_content > figure {
    font-size: var(--text-xxxs);
  }

  .landing_footer_content h6 {
    margin-bottom: 8px;
  }
  .landing_footer_content p + p {
    margin-top: 8px;
  }
  .landing_section_footer_copyright {
    align-items: center;
    gap: 20px;
  }
}
