/* Base */
* { box-sizing: border-box; scroll-behavior: smooth; }
*::selection { background-color: #FE0000; color: #fff; }

:root {
  --brand-red: #FE0000;
}

body {
  font-family: "Nunito Sans", sans-serif;
  margin: 0;
  padding: 0;
  font-size: 18px;
  min-height: 100vh;
}

h1 {
  margin: 0;
  font-family: "Notable", sans-serif;
  font-size: 3rem;
}

h2 {
  font-family: "Notable", sans-serif;
  text-align: center;
  font-style: italic;
  font-size: 2.2rem;
}

/* Links with sliding bg */
a {
  display: inline-flex;
  position: relative;
  color: white;
  transition: all 0.1s;
  text-decoration-thickness: 2px;
}
a .text { position: relative; z-index: 4; }
a .bg {
  flex-grow: 1;
  position: absolute;
  background-color: var(--brand-red);
  width: 0%;
  height: 100%;
  z-index: 3;
  right: 0;
  transition: all 0.2s;
}
a:hover .text { color: white; }
a:hover .bg { width: 100%; left: 0; }

/* Hero */
section#first {
  display: flex;
  flex-flow: row;
  background: black; /* your gradient left as comment in source */
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 5vw, 10rem);
  overflow: hidden;
  position: relative;
  color: white;
}
section#first * { z-index: 2; }
section#first div { flex-grow: 3; }

section#first .left {
  display: flex;
  max-width: 50%;
  min-width: 400px;
  padding: 50px 0 50px 0;
}
section#first .left .image { display: flex; align-items: center; justify-content: center; }
section#first .left img { border-radius: 8px; width: 100%; max-width: 270px; }

section#first .right {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: flex-start;
  min-width: 200px;
}
section#first .right .links {
  margin-top: 5px;
  display: flex;
  align-items: center;
}

/* Instagram hover swap */
section#first .right .instagram-icon {
  width: 2rem;
  fill: white;
  transition: 0.2s ease-out;
}
section#first .right #instagram-colored {
  fill: url("#gradient");
  opacity: 0;
  position: absolute;
}
section#first .right #instagram-anchor {
  height: 2rem;
  width: 2rem;
  margin-left: 1rem;
  position: relative; /* ensure absolute overlay stacks inside */
}
section#first .right #instagram-anchor:hover #instagram-colored { opacity: 1; }
section#first .right #instagram-anchor:hover #instagram-mono { opacity: 0; }

#powairx-logo { transition: 200ms ease-out; }

/* Background video */
#bgvideo {
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0.6);
}

/* CTA button */
a.aboutus {
  display: flex;
  position: relative;
  overflow: hidden;
  justify-content: center;
  text-decoration: none;
  text-decoration-thickness: 2px;
  font-weight: 900;
  color: black;
  padding: 12px 20px;
  border-radius: 30px;
  background: linear-gradient(45deg, #ffffff22, #ffffffbb, #ffffff22);
  transition: all 200ms;
  z-index: 4;
}
a.aboutus span {
  font-size: 18px;
  transform: translateY(3px);
  width: 0%;
  position: absolute;
  right: 10px;
  transition: 200ms;
  opacity: 0;
}
a.aboutus .inside { top: 0; left: 0; position: absolute; background: white; }

a.aboutus:hover {
  padding-right: 50px; /* visual nudge */
  background: var(--brand-red);
  color: white;
}
a.aboutus:hover span { width: 20%; opacity: 1; }

/* About section */
section#about { padding: 1rem; }
section#about .orospu {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  padding: 1rem 0 2rem;
  margin-bottom: 1rem;
  border-bottom: #1115 solid 1px;
}
section#about .orospu:last-child { border-bottom: none; }
section#about .orospu .info { flex-basis: 20rem; flex-grow: 1; }
section#about .orospu .info h3 { font-family: "Notable", sans-serif; align-items: end; }
section#about .orospu img.photo { min-width: 0; max-height: 15rem; margin-right: 1rem; border-radius: 8px; }
section#about .orospu .country-flag { width: 2rem; }

/* Responsive */
@media (width < 38rem) {
  section#about h3 { text-align: center; }
}
@media (width < 50rem) {
  section#first { flex-direction: column; justify-content: center; }
  section#first .right { align-items: center; }
  section#first .right * { text-align: center; }
}
@media (width > 60rem) {
  section#about { padding: 0 10rem; }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  body { background-color: #111; color: white; }
  section#about .orospu { border-bottom-color: #666; }
}

/*# sourceMappingURL=style.css.map */
