:root {
  --primary-color: #ffd166;
  --secondary-color: #afca05;
  --accent-color: #ef476f;
  --background-color: #fff;
  --dark-color: #020f13;
  --success-green: #00703c;
  --soft-green: #8fbc8f;

  --background-gradient: linear-gradient(to left, #ffd200, #f7971e);

  --red-ish-linear-gradient: linear-gradient(
    to left,
    hsl(340deg 100% 16%) 0%,
    hsl(340deg 100% 32%) 8%,
    hsl(340deg 100% 32%) 92%,
    hsl(340deg 100% 16%) 100%
  );

  --green-ish-linear-gradient: linear-gradient(
    to left,
    #8fbc8f 0%,
    #b2dfb2 8%,
    #b2dfb2 92%,
    #8fbc8f 100%
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
}

body.home {
  /* background: var(--background-gradient); */
  font-family: "Poppins", sans-serif;
}

.animated-svg {
  position: fixed;
  height: 100vh;
  width: 100%;
  z-index: -1;
  opacity: 0.5;
  top: 0;
  filter: invert(1);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--background-gradient);
  background: transparent;
  height: 80px;
  z-index: 100;
  position: sticky;
  top: 0;
}

nav a {
  color: var(--dark-color);
  text-decoration: none;
  /* padding: 0 20px; */
  font-size: 1.2rem;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

nav img {
  width: 10rem;
  height: auto;
}

.hero-container h1 {
  font-size: 2.25rem;
}
nav .btn-primary {
  background-color: var(--primary-color);
  color: var(--dark-color);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.exercise-nav-bar-container .nav-logo-container img {
  width: auto;
  height: 45px;
}

.hero-img-container {
  position: relative;
  z-index: 3;
}
.hero-img-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/media/svg/hero-img-bg-shape.svg") no-repeat center
    center;
  background-size: 100% 140%;
  background-position: center;
  z-index: -1;
  opacity: 0.9;
}

.purpose-section {
  /* background: #f6eada; */
}
/* .header {
  height: 70px;
  background-color: #afd8f3;
  display: flex;
  justify-content: center;
  align-items: center;
} */
.purpose-card .card-icon .icon-container .icon-container-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px; /* adjust as needed */
  height: 55px; /* adjust as needed */
  /* # fill the background with lower opacity of the primary color */
  background-color: rgba(255, 209, 102, 0.2); /* adjust color as needed */
  border-radius: 50%; /* makes it a circle */
  color: #007bff; /* adjust color as needed */
}

#home-icon {
  background-color: #f2f2f2; /* light grey */
  border: 2px solid #000000; /* black border */
  border-radius: 5px; /* rounded corners */
  padding: 10px; /* space around the icon */
  color: #000000; /* black icon */
  transition: all 0.3s ease; /* smooth transition */
  box-shadow: 2px 2px #888888; /* shadow for 3D effect */
}

#home-icon:hover {
  background-color: #000000; /* black background on hover */
  color: #ffffff; /* white icon on hover */
}

/* CSS */
.button-82-pushable {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 4px;
  transition: filter 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-82-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: hsl(0deg 0% 0% / 0.25);
  will-change: transform;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.button-82-edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.button-82-edge.red {
  background: var(--red-ish-linear-gradient);
}
.button-82-edge.green {
  /* background: var(--green-ish-linear-gradient); */
  background: var(--red-ish-linear-gradient);
}

.button-82-front {
  display: block;
  position: relative;
  padding: 12px 27px;
  border-radius: 12px;
  font-size: 1.1rem;
  color: white;
  will-change: transform;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}
.button-82-front.red {
  background: hsl(345deg 100% 47%);
}
.button-82-front.green {
  /* background: var(--secondary-color); */
  background: hsl(345deg 100% 47%);
}

@media (min-width: 768px) {
  .button-82-front {
    font-size: 1.25rem;
    padding: 12px 42px;
  }
}

.button-82-pushable:hover {
  filter: brightness(110%);
  -webkit-filter: brightness(110%);
}

.button-82-pushable:hover .button-82-front {
  transform: translateY(-6px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.button-82-pushable:active .button-82-front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.button-82-pushable:hover .button-82-shadow {
  transform: translateY(4px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.button-82-pushable:active .button-82-shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.button-82-pushable:focus:not(:focus-visible) {
  outline: none;
}

.dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.main-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.top-frame {
  /* width: 200px; */
  height: 100px;
  /* background-color: #2ecc71; */
}

.middle-frame {
  flex: 1;
  display: flex;
  flex-direction: row;
  padding: 50px;
  align-items: center;
  justify-content: center;
}

.inner-middle-frame {
  flex: 1;
  background-color: #e74c3c;
  margin: 20px;
  padding: 10px;
  border-radius: 20px;
  height: 350px;
  max-width: 300px;
}

.code-view-frame {
  justify-content: center;
  display: flex;
  flex: 1;
  flex-direction: row;
}

.view-frame {
  width: 800px;
  background-color: #2ecc71;
}

.code-frame {
  width: 500px;
  background-color: #e74c3c;
}

.blocks-frame {
  height: 100px;
  width: 1300px;
  background-color: blueviolet;
}

.bottom-frame {
  height: 50px;
  background-color: #f39c12;
  display: flex;
  justify-content: center;
  align-items: center;
}
