@import url("./accordion.css");

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/Bricolage_Grotesque/static/BricolageGrotesque-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/Bricolage_Grotesque/static/BricolageGrotesque_72pt-Bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/Bricolage_Grotesque/static/BricolageGrotesque_72pt-ExtraBold.ttf")
    format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "urbanist";
  src: url("/fonts/Urbanist/Urbanist-VariableFont_wght.ttf");
}

:root {
  --color-white: #ffffff;
  --color-secondary: #8dcef7;
  --color-grey: #363636;
  --color-light-grey: #ccc9c9;

  /* page */
  --page-padding: 16px;
  --page-width: 90rem;

  @media screen and (min-width: 1024px) {
    --page-padding: 4rem;
  }
}

html {
  background: linear-gradient(135deg, #000000, #141414, #282828);
  background-color: #000000;
  min-height: 100vh; /* This ensures the gradient covers the full viewport height */
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #000000, #141414, #282828);
  color: white;
  font-family: Bricolage Grotesque;
  margin: 0;
}

a {
  color: var(--color-white);
}

hr {
  border-color: var(--color-white);
  opacity: 0.25;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  padding-inline: var(--page-padding);
  padding-top: 32px;
  max-width: var(--page-width);
  margin-inline: auto;
}

.header__logo {
  font-family: "urbanist";
  font-size: 34px;
  font-weight: 800;
  text-decoration: none;
  color: var(--color-white);
}

.header__cta {
  background-color: var(--color-white);
  font-family: "urbanist";
  font-size: 16px;
  color: black;
  font-weight: 700;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

/* Main */
.main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 32px;
  padding-inline: var(--page-padding);

  @media screen and (min-width: 1024px) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: var(--page-width);
    margin-inline: auto;
  }
}

.main__header {
  .main__actions {
    display: none;
  }

  @media screen and (min-width: 1024px) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;

    .main__actions {
      display: flex;
    }
  }
}

.h1 {
  font-family: "urbanist";
  font-weight: 700;
  text-align: center;
  text-wrap: balance;
  font-size: 40px;
  margin: 0;

  @media screen and (min-width: 1024px) {
    text-align: left;
    font-size: 80px;
  }
}

/* Images */

.main__image {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  height: fit-content;

  .main__image-primary {
    max-width: 60vw;
    margin-bottom: -20%;
    border-radius: 30px;
    overflow: hidden;

    @media screen and (min-width: 1024px) {
      margin-bottom: -10%;
    }
  }

  @media screen and (min-width: 1024px) {
    padding-bottom: 0;
  }
}

.main__image-container {
  max-width: 30rem;
}

.image-description-container {
  position: relative;
  width: 100%;
}

.image-description {
  width: calc(100% - (var(--page-padding) * 2));
  max-width: 32rem;
  padding: 16px;
  background-color: var(--color-white);
  color: black;
  border-radius: 1.25rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.image-description__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image-description__statement {
  font-size: 26px;
  font-weight: 600;
}

.image-description__img {
  display: flex;
  max-width: 60px;
  border-radius: 5px;
  overflow: hidden;
}

/* List */
.main__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0;
  padding-bottom: 2rem;

  .main__list-item {
    font-family: "urbanist";
    font-size: 22px;
    font-weight: 400;
    list-style: none;
    text-align: center;

    @media screen and (min-width: 1024px) {
      font-size: 28px;
    }
  }

  .main__list-item--heading {
    font-weight: 700;
  }
}

.main__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  .main__header & {
    display: none;

    @media screen and (min-width: 1024px) {
      display: flex;
    }
  }

  @media screen and (min-width: 1024px) {
    display: none;
  }
}

.main__actions-content {
  font-family: "urbanist";
  margin: 0;
  text-align: center;
  font-weight: 700;
  font-size: 24px;
}

.main__prompts {
  @media screen and (min-width: 1024px) {
    display: none;
  }
}

.main__prompt-item {
  list-style: none;
  background-color: var(--color-grey);
  border-radius: 999px;
  padding: 8px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  font-family: "urbanist";
}

.prompt__image {
  height: 100%;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: white;
  position: relative;
  overflow: hidden;

  img {
    object-fit: cover;
  }
}

.prompt__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prompt__heading {
  font-weight: 700;
  font-size: 15px;
}

.prompt__subheading {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.75;
}

.link {
  color: var(--color-white);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;

  &:after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 1px;
    width: 0;
    left: 0;
    background-color: var(--color-white);
    transition: width 0.3s ease-in-out;
  }

  &:hover {
    &:after {
      width: 100%;
    }
  }
}

/* 
==============
Footer
============== 
*/

.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 1rem;
  padding-bottom: 2rem;
  padding-top: 4rem;
  gap: 1rem;
  padding-inline: var(--page-padding);
  max-width: var(--page-width);
  margin-inline: auto;

  @media screen and (min-width: 1024px) {
    padding-top: 128px;
    justify-content: start;
  }
}
