* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-color: #ff5252 rgba(255, 255, 255, 0.1);
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: #E1D5E8;
}

.logo,
.nav-logo,
.evil-leafy {
    user-select: none;
    -webkit-user-drag: none;
}

html,
body {
    min-height: 100%;
    background: #000;
}

body {
    overflow-x: hidden;
    background: #000017;
    color: white;
    position: relative;
    z-index: 0;
    padding-top: 80px;
}

.fade-in-on-load {
    opacity: 0;
    transition: opacity 1s ease;
}

/* Background */

.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    height: 720px;
    overflow: hidden;
    z-index: 0;
}

.layer {
    position: absolute;
    background-size: auto 100%;
    background-position: left top;
    background-repeat: repeat-x;
    width: 100%;
    min-width: 100%;
    height: 720px;
}

.layer1 {
    background-image: url('../img/bg/1.webp');
}

.layer2 {
    background-image: url('../img/bg/2.webp');
}

.layer3 {
    background-image: url('../img/bg/3.webp');
}

.layer4 {
    background-image: url('../img/bg/4.webp');
}

.layer5 {
    background-image: url('../img/bg/5.webp');
}

/* Evil BG */

.evil-container {
    position: relative;
    top:90px;
    width: 100%;
    min-width: 100%;
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 200px;
    -webkit-mask-image: url("../img/bg/mask.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-image: url("../img/bg/mask.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100% 100%;
}

.evil-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content:space-evenly;
    width: min(1100px, 100%);
}

.evil-leafy {
    margin:20px;
    max-height: 230px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 3px rgb(255, 73, 73))
        drop-shadow(0 0 6px rgb(255, 73, 73))
        drop-shadow(0 0 9px rgb(255, 73, 73));
}

.evil-text {
    color: #fefefe;
    font-size: 20px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.85);
    text-shadow: 0 0 10px rgba(252, 4, 4, 0.85);
    margin-bottom: 20px;
    margin-right: 20px;
}

.evil-text-title {
    color: #ff1f1f;
    font-size: 40px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.85);
}

.evil {
    position: absolute;
    background-size: auto 100%;
    background-position: left;
    background-repeat: repeat-x;
    background-image: url('../img/bg/6.webp');  
    width: 100%;
    min-width: 100%;
    height: 720px;
}

/* Navegation bar */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: transparent;
    transition: background-color 0.1s linear, padding 0.1s linear;
}

.navbar .nav-logo {
    height: 60px;
    transition: height 0.1s linear;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    padding: 5px;
}

.navbar.scrolled .nav-logo {
    height: 40px;
}

@media (prefers-reduced-motion: reduce) {
    .navbar,
    .navbar .nav-logo {
        transition: none;
    }
}

.gradient-section {
    width: 100%;
    position: absolute;
    top: 719px;
    bottom: 0;
    background: linear-gradient(to bottom, #000017, #54001a);
    pointer-events: none;
}

/* Footer */

.site-footer {
    width: 100%;
    background: rgba(0,0,0);
    color: #fff;
    padding: 30px 20px 30px;
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    text-align: left;
}

.footer-left {
    flex: 1 1 420px;
    min-width: 300px;
}

.footer-right {
    flex: 1 1 240px;
    min-width: 240px;
}

.footer-team-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-team-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 180px;
    min-width: 180px;
}

.footer-logo {
    max-width: 220px;
}

.footer-logo-wondering {
    width: 250px;
    max-width: 250px;
}

.footer-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 2.0;
    font-weight:normal;
}

.wondering-crew-members {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 12px 36px;
}

.wondering-crew-members a,
.footer-text a {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    white-space: nowrap;
    overflow-wrap: normal;
    text-decoration: none;
}

.wondering-crew-members a:hover,
.footer-text a:hover {
    text-decoration: underline;
}

.footer-right {
    display: flex;
    gap: 32px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column a {
    color: #ff7575;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
}

.footer-links-column a:hover {
    color: #ff0000;
    text-decoration: underline;
}

.footer-social {
    margin: 8px 0;
}

@media (max-width: 750px) {
    .footer-content {
        flex-direction: column;
    }
    .footer-right {
        justify-content: center;
        flex-direction: column;
    }
    .footer-team-group {
        flex-direction: column;
    }
    .wondering-crew-members {
        grid-template-columns: 1fr;
    }
}

.description {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 15px;
    text-align: center;
    z-index: 5;
    max-width: 950px; width: 90%;
}

.home-content {
  display: grid;
  position: relative;
  grid-template-columns: 1fr 1fr;
  width: 65%;
  height: auto;
  margin: 100px auto 0px auto;
  max-width: 1100px;
  align-items: center;
  justify-items: stretch;
  transform: translateX(-20px);
}

@media (max-width: 1200px) {
  .home-content {
    grid-template-columns: 1fr;
    width: 90%;
    max-width: 500px;
    margin: 80px auto 0;
    transform: translateX(0);
    gap: 20px;
  }
  .description {
    margin-top: 70px;
  }
}

.box > * {
  padding: 0;
}

.box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E1D5E8;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0px 11px #A99BAF;
}

.box-video {
  display: flex;
  flex-direction: column;
  background: #E1D5E8;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0px 11px #A99BAF;
  aspect-ratio: 16 / 9;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-bottom: 20px;
}

.embed-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.embed-title {
  font-size: 28px;
  margin: 0;
  text-align: center;
}

.media-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1 1 auto;
}

.media-container iframe {
  border-radius: 10px;
  width: 100%;
  flex: 1 1 auto;
}

.logo {
    position: relative;
    max-width: 85%;
    height: auto;
    width: auto;
    aspect-ratio: auto;
}