/* ===> Theme colors */
:root {
  /* Theme */
  --accent: #F59E0B;

  /* Text */
  --text-primary: #000000;

  /* Padding */
  --padding: clamp(10px, 8vw, 120px);
}

/* ===> Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  scroll-behavior: smooth;
}

main {
  width: 100%;
  height: auto;
}

section {
  width: 100%;
  padding: var(--padding);

  display: flex;
  flex-direction: column;

  justify-content: flex-start;
  align-items: flex-start;

  position: relative;
  overflow: hidden;
}

a {
  text-decoration: none;
  cursor: pointer;
}

/* ===> Header */
header {
  position: fixed;
  z-index: 100;

  top: 0;
  left: 0;

  width: 100%;
  height: 70px;

  background-color: #ffffff;
  padding: 0 30px;

  display: flex;
  flex-direction: row;

  justify-content: space-between;
  align-items: center;

  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  user-select: none;
}

header a.logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-primary);
}

header a.logo span {
  color: var(--accent);
}

header ul.menu {
  list-style: none;

  display: flex;
  flex-direction: row;

  justify-content: center;
  align-items: center;

  gap: 15px;
}

header ul.menu li {
  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: center;
}

header ul.menu li a {
  font-size: 18px;
  font-weight: bold;

  color: var(--text-primary);
}

header #adakvjnkdsan {
  pointer-events: auto;

  position: relative;
  cursor: pointer;

  width: 50px;
  height: 35px;

  transition: .2s ease-out;
  z-index: 120;

  display: none;

}

header #adakvjnkdsan span {
  position: absolute;

  width: 100%;
  height: 5px;

  background-color: var(--accent);
  border-radius: 50px;

  transition: top .3s ease-out .15s,
  bottom .3s ease-out .15s,
  transform .3s ease-out,
  opacity .3s ease-out;
  transform-origin: center;

}

header #adakvjnkdsan span:nth-child(1) {
  top: 0;
  left: 0;

}

header #adakvjnkdsan span:nth-child(2) {
  top: 15px;
  left: 0;

}

header #adakvjnkdsan span:nth-child(3) {
  bottom: 0;
  left: 0;

}

header #adakvjnkdsan.close span {
  background-color: #ffffff;
  transition: top .3s ease-out,
  bottom .3s ease-out,
  transform .3s ease-out .15s,
  opacity .3s ease-out .2s;


}

header #adakvjnkdsan.close span:nth-child(1) {
  top: 15px;
  transform: rotateZ(225deg);

}

header #adakvjnkdsan.close span:nth-child(2) {
  transform: rotateZ(225deg);
  opacity: 0;
  top: 15px;

}

header #adakvjnkdsan.close span:nth-child(3) {
  transform: rotateZ(135deg);
  bottom: 15px;

}


@media (max-width: 550px) {
  header #adakvjnkdsan {
    display: flex;

  }

  header ul.menu {
    position: fixed;
    z-index: 110;

    top: 0;
    left: 0;

    width: 100%;
    height: 100dvh;

    background-color: var(--accent);
    flex-direction: column;

    gap: 0;
    transition: .3s ease-out;

    pointer-events: none;
    clip-path: circle(0% at 100% 0%);
  }

  header ul.show {
    pointer-events: all;
    clip-path: circle(150% at 100% 0%);
  }

  header ul.menu li {
    width: 100%;
    height: auto;
  }

  header ul.menu li a {
    font-size: 20px;
    color: #ffffff;

    width: 100%;
    text-align: center;

    padding: 10px;
    background-color: var(--accent);
  }

  header ul.menu li:hover a {
    background-color: oklch(from var(--accent) calc(l + .02) c h);
  }

}

/* ===> Footer */
footer {
  width: 100%;
  padding: 15px 25px;

  box-shadow: 5px -5px 5px rgba(0, 0, 0, 0.1);

  display: flex;
  flex-direction: row;

  justify-content: space-between;
  align-items: center;

  flex-wrap: wrap;
}

footer span {
  font-size: 16px;
  text-align: center;
}

footer span a {
  position: relative;
  color: oklch(from #33aadd calc(l - .1) c h);
}

footer span a::before {
  content: "";
  position: absolute;

  left: 0;
  bottom: 0;

  height: 2px;
  width: 75%;

  transition: .3s ease-out;
  background: oklch(from #33aadd calc(l - .1) c h);
}

footer span a:hover::before {
  width: 100%;
}

@media (max-width: 500px) {
  footer span {
    width: 100%;
  }
}

/* Global usage */

section h2 {
  font-size: 45px;
}

/* Grid */
section .grid {
  margin-top: 20px;
  width: 100%;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

  gap: 15px;
}

section .grid .card {
  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  gap: 10px;
}

section .grid .card .img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;

  border-radius: 20%;
  transition: .3s ease-out;

  corner-shape: squircle;
  overflow: hidden;
}

section .grid .card .img-wrapper::before {
  content: "";
  position: absolute;

  inset: 0;
  background-color: rgba(0, 0, 0, 0);

  transition: .3s ease-out;
}

section .grid .card:hover .img-wrapper {
  border-radius: 15%;
  scale: 1.05;
}

section .grid .card:hover .img-wrapper::before {
  background-color: rgba(0, 0, 0, .25);
}

section .grid .card img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  background-position: center center;
}

section .grid .card h3 {
  font-size: 25px;
  transition: .3s ease-out;
}

section .grid .card:hover h3 {
  transform: translateY(-50px);
  scale: 1.1;

  font-weight: bold;
  color: #ffffff;
}


/* ===> Stats Section */
section.stats {
  display: flex;
  flex-direction: row;

  gap: 20px;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

section.stats .stat {
  flex-grow: 1;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  background-color: oklch(from var(--accent) l c h / .255);
  color: var(--accent);

  border-radius: 5px;
  padding: 25px;

}

section.stats .stat h2 {
  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  font-size: 18px;
  line-height: .9;

  gap: 15px;
}

section.stats .stat h2 span:first-child {
  font-size: 50px;
  line-height: .5;
  transition: .3s ease-out;
}

section.stats .stat:hover h2 span:first-child {
  scale: 1.1;
}

@media (max-width: 780px) {
  section.stats {
    width: 100%;
    flex-direction: column;
  }

  section.stats .stat {
    width: 100%;
  }
}

/* ===> Cta section */
section.cta {
  background-color: oklch(from var(--accent) l c h / .255);
  flex-direction: column;

  justify-content: center;
  align-items: center;

  gap: 0;
}

section.cta h2 {
  text-align: center;
  line-height: 1;
}

section.cta p {
  margin-top: 10px;
  font-size: 18px;
  opacity: .6;
}

section.cta a {
  margin-top: 15px;

  padding: 15px;
  background-color: var(--accent);

  border-radius: 20px;
  color: #ffffff;

  font-weight: bold;
  font-size: 18px;

  transition: .3s ease-out;
}

section.cta a:hover {
  scale: 1.05;
  border-radius: 15px;
}
















































