/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

* {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  background-color: black;
  font-family: "Lato", sans-serif;
  font-weight: 100;
  color: white;
  /* padding-bottom: 50px; */
}

@property --skew {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --stretch {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}
@property --rot {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* ranges */
  --skew-min: -10deg;
  --skew-max: 10deg;
  --rot-min: 0deg;
  --rot-max: 360deg;
  --stretch-min: 0.99;
  --stretch-max: 1.02;

  /* timings (different so they drift and avoid a beat/pause) */
  --skew-speed: 4.6s;
  --stretch-speed: 7.2s;
  --rot-speed: 60s;
}

.c-main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 25px;
  background-color: black;
  display: flex;
  transform: translateY(-100%);
  transition: transform 300ms ease-out;
  justify-content: space-between;
  z-index: 10;
}

.c-main-nav.visible {
  transform: translateY(0);
}

.c-main-nav__logo {
  width: 100px;
}

.c-main-nav__link {
  padding: 10px;
}

.c-main-nav__link img {
  width: 35px;
}

.c-main-nav__menu {
  display: flex;
  align-items: center;
}

.c-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 100px;
  padding: 35px;
}

.c-home__img {
  width: 35%;
  max-width: 175px;
  display: block;
  /* two continuous, linear, alternating animations */
  animation: skewWave var(--skew-speed) linear infinite alternate,
    stretchBreath var(--stretch-speed) linear infinite alternate,
    rotateIt var(--rot-speed) linear infinite;
  will-change: transform;
  backface-visibility: hidden;

  transform: skewX(var(--skew)) scaleY(var(--stretch)) rotateZ(var(--rot));
}

strong {
  font-weight: 300;
}

.c-home__caption {
  font-size: 30px;
  max-width: 1100px;
  line-height: 1.4;
  text-align: center;
}

@keyframes skewWave {
  from {
    --skew: var(--skew-min);
  }
  to {
    --skew: var(--skew-max);
  }
}
@keyframes stretchBreath {
  from {
    --stretch: var(--stretch-min);
  }
  to {
    --stretch: var(--stretch-max);
  }
}

@keyframes rotateIt {
  from {
    --rot: var(--rot-min);
  }
  to {
    --rot: var(--rot-max);
  }
}

.c-section {
  padding: 35px;
}

.c-section__content {
  max-width: 950px;
  margin: auto;
}

.t-h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 25px;
}

.t-p1 {
  font-size: 24px;
  line-height: 1.4;
  margin: 25px 0;
}

.c-footer {
  background-color: black;
  padding: 25px;
  /* position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10; */
}

.c-footer__nav {
}

.c-footer__ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

.c-footer__link {
}

.c-footer__link img {
  width: 25px;
}

:root {
  --nav-h: 90px;
} /* your fixed header height */

.yt-embed {
  width: 100%;
  margin-bottom: 50px;
}
.yt-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  border: 0;
}

/* Full-bleed width */
.yt-embed.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  /* 👇 Push it below the fixed nav */
  margin-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
}

/* If you have anchor links to #video, avoid header overlap on scroll */
#video {
  scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
}

/* (Optional) Global solution: push ALL content below the header */
/* main { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); } */

/* Fallback for older browsers without aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .yt-embed {
    position: relative;
  }
  .yt-embed::before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
  .yt-embed iframe {
    position: absolute;
    inset: 0;
    height: 100%;
  }
}
