/* =========================
   FONTS
========================= */

@font-face {
  font-family: "TimeburnerBold";
  src: url("fonts/TimeburnerBold.ttf");
}

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Regular.ttf");
}

/* =========================
   ROOT
========================= */

:root {
  --green: #54AF2E;
  --green-soft: rgba(84, 175, 46, 0.18);

  --bg: #000000;
  --card: #0A0A0A;
}

/* =========================
   GLOBAL
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
padding-top: 80px;
  background: var(--bg);

  color: white;

  font-family: "Roboto", sans-serif;

  font-size: 19px;

  line-height: 1.9;
}

h1,
h2,
h3 {
  font-family: "TimeburnerBold", sans-serif;

  color: white;

  letter-spacing: 1px;
}

p {
  color: rgba(255,255,255,0.95);

  line-height: 1.95;
}
/* ALL LINKS */
a,
a:link,
a:visited,
a:active{
  color:#54AF2E;
  text-decoration:none;
}

a:hover{
  color:white;
}

/* =========================
   NAVBAR
========================= */

nav{
    position: sticky;
    top: 0;
    z-index: 1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:8px 22px;

    background:rgba(0,0,0,.94);
    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(84,175,46,.15);
}

.nav-left {
  display: flex;

  align-items: center;

  gap: 12px;
}

.logo{
width:28px;
height:28px;
}

.nav-left h2{
font-size:16px;
letter-spacing:.5px;
}

.nav-links a {
  margin-left: 18px;

  text-decoration: none;

  color: var(--green);

  font-size: 15px;

  transition: 0.3s ease;
}

.nav-links a:hover {
  color: white;
}
.menu-btn,
.close-btn{
display:none;
}
/* =========================
   HOMEPAGE HERO
========================= */

.hero {
  position: relative;

  min-height: 58vh;

  padding: 90px 70px;

  background:
  linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.75)),
  url("images/brain-bg.jpg");

  background-size: cover;

  background-position: center;
}

.hero-layout {
  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 60px;

  max-width: 1400px;

  margin: auto;
}

.hero-content {
  text-align: left;
}

.hero h2 {
  color: var(--green);

  font-size: 22px;

  text-transform: uppercase;

  letter-spacing: 3px;

  margin-bottom: 10px;
}

.hero h1 {
  font-size: 96px;

  line-height: .95;

  margin: 0 0 20px;

  text-shadow:
  0 2px 12px rgba(0,0,0,.9),
  0 0 30px rgba(84,175,46,.25);
}

.hero p {
  max-width: 650px;
}

.hero-image img {
  width: 100%;

  max-width: 760px;

  display: block;

  margin-left: auto;
}

/* =========================
   BUTTONS
========================= */

.hero-btn{
animation:pulse 2.5s infinite;
}

button:hover,
.hero-btn:hover{
transform:translateY(-4px);
box-shadow:0 0 25px rgba(84,175,46,.45);
}

@keyframes pulse{

0%{
box-shadow:0 0 0 rgba(84,175,46,.6);
}

50%{
box-shadow:0 0 25px rgba(84,175,46,.6);
}

100%{
box-shadow:0 0 0 rgba(84,175,46,.6);
}

}

button:hover,
.hero-btn:hover {
  .hero-btn {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {

  0% {
    box-shadow: 0 0 0 rgba(84,175,46,.6);
  }

  50% {
    box-shadow: 0 0 25px rgba(84,175,46,.6);
  }

  100% {
    box-shadow: 0 0 0 rgba(84,175,46,.6);
  }

}
.hero-btn,
.hero-btn:link,
.hero-btn:visited,
.hero-btn:active{
  color:white !important;
  text-decoration:none;
}
  transform: translateY(-4px);

  box-shadow: 0 0 25px rgba(84,175,46,.45);
}

/* =========================
   HERO PAGES
========================= */

.competition-hero,
.contact-hero {
  text-align: center;

  padding: 90px 20px;

  background: #000;
}

.competition-hero h1,
.contact-hero h1 {
  color: var(--green);

  font-size: 60px;
}

/* =========================
   SECTION TITLES
========================= */

.section-title {
  text-align: center;

  margin-top: 80px;
}

.section-title h2 {
  color: var(--green);

  font-size: 42px;

  text-shadow:
  0 0 10px rgba(84,175,46,.4),
  0 0 25px rgba(84,175,46,.2);
}

/* =========================
   CARDS
========================= */

.cards {
  display: grid;

  grid-template-columns:
  repeat(auto-fit,minmax(260px,1fr));

  gap: 24px;

  padding: 55px;
}

.card{
    background:
    linear-gradient(
        180deg,
        rgba(8,25,8,.85),
        rgba(4,10,4,.95)
    );

    border: 1px solid rgba(84,175,46,.15);

    border-radius: 24px;

    padding: 35px;

    backdrop-filter: blur(16px);

    transition: .35s ease;

    overflow: hidden;
}

.card:hover{
    transform: translateY(-8px);

    border-color: rgba(84,175,46,.45);

    box-shadow:
    0 0 30px rgba(84,175,46,.15),
    0 0 70px rgba(84,175,46,.08);
  position: relative;
}
.card::before{
    content:"";

    position:absolute;

    inset:0;

    background:
    radial-gradient(
        circle at top right,
        rgba(84,175,46,.08),
        transparent 40%
    );

    pointer-events:none;
}
.card h3 {
  color: var(--green);

  margin-top: 0;

  font-size: 24px;
}

.card a{
color:#54AF2E;
text-decoration:none;
}

a:visited{
color:#54AF2E;
}

a:hover{
color:white;
}

.card a:hover {
  color: white;
}

/* =========================
   SPONSOR CARD
========================= */

.sponsor-card {
  text-align: center;
}

.partner-logo {
  width: 180px;

  max-width: 100%;

  display: block;

  margin: 0 auto 20px;

  transition: 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}

/* =========================
   ABOUT
========================= */

.about-section {
  display: grid;

  grid-template-columns: 1.2fr 1fr;

  gap: 70px;

  padding: 100px 70px;
  align-items: center;
}

.about-text h1 {
  font-size: 58px;

  color: var(--green);
}

.about-image img {
  width: 100%;

  border-radius: 20px;

  border: 1px solid var(--green-soft);

  transition: .3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

/* =========================
   CONTACT
========================= */

.contact-wrapper {
  display: flex;

  justify-content: center;

  align-items: center;

  padding: 80px 20px;
}

.contact-text {
  text-align: center;

  max-width: 850px;
}

.email-box {
  background: rgba(255,255,255,.02);

  border: 1px solid var(--green-soft);

  border-radius: 14px;

  padding: 25px;

  margin: 25px 0;
}

.social-icons {
  display: flex;

  justify-content: center;

  gap: 18px;

  margin-top: 20px;
}

.social-icons .icon {
  width: 65px;
  height: 65px;
background: rgba(84,175,46,.05);
text-decoration: none;
  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 14px;

  border: 1px solid var(--green-soft);

  color: var(--green);

  font-size: 22px;

  transition: .3s ease;
}

.social-icons .icon:hover {
  background: var(--green);

  color: black;

  transform: translateY(-5px) scale(1.08);

  box-shadow: 0 0 20px rgba(84,175,46,.45);
}
/* =========================
   RESOURCES & ORGANIZERS
========================= */

.resources-section,
.organizers-section {
  padding: 40px 55px 80px;
}

.resources-section p,
.organizers-section p {
  max-width: 900px;
  margin: auto;
}

.resources-section .card,
.organizers-section .card {
  text-align: left;
}

/* =========================
   FOOTER
========================= */

footer {

  text-align: center;

  padding: 40px 20px;

  margin-top: 40px;

  border-top: 1px solid rgba(84,175,46,.15);

  background: #050505;

}

footer p {

  margin: 10px 0;

  color: rgba(255,255,255,.75);

  font-size: 17px;

}

/* =========================
   ANIMATIONS
========================= */

.section-title,
.card,
.about-section,
.contact-wrapper {
padding:50px 20px;
  animation: fadeUp .8s ease forwards;
}
body::before {

  content: "";

  position: fixed;

  inset: 0;

  background:
  radial-gradient(circle at 20% 20%,
  rgba(84,175,46,.06),
  transparent 30%),

  radial-gradient(circle at 80% 60%,
  rgba(84,175,46,.04),
  transparent 25%),

  radial-gradient(circle at 50% 80%,
  rgba(84,175,46,.05),
  transparent 35%);

  pointer-events: none;

  z-index: -1;
}
@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}
/* =========================
   ABOUT PAGE
========================= */

.about-hero,
.about-info{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;
padding:80px;
}

.about-top-cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
padding:0 80px 50px;
}

.about-image img{
width:100%;
border-radius:25px;
border:1px solid rgba(84,175,46,.2);
box-shadow:0 0 30px rgba(84,175,46,.18);
transition:.3s;
}

.about-image img:hover{
transform:scale(1.03);
}

.about-text h2{
color:var(--green);
}
/* DESKTOP */

.menu-btn,
.close-btn{
display:none;
}

/* MOBILE */

@media (max-width:900px){

body{
padding-top:70px;
}

nav{
padding:10px 15px;
}

.logo{
width:24px;
height:24px;
}

.nav-left h2{
font-size:14px;
}

.menu-btn{
display:block;
font-size:28px;
color:var(--green);
cursor:pointer;
}

.nav-links{
position:fixed;
top:0;
left:-250px;

width:220px;
height:100vh;

background:#0a0a0a;

display:flex;
flex-direction:column;

padding:80px 25px;

gap:20px;

border-right:1px solid rgba(84,175,46,.2);

transition:.35s ease;

z-index:1001;
}

.nav-links.show{
left:0;
}

.close-btn{
display:block;
font-size:28px;
color:white;
cursor:pointer;
margin-bottom:20px;
}

.nav-links a{
margin:0;
font-size:17px;
}

.hero{
padding:60px 20px;
}

.hero-layout{
grid-template-columns:1fr;
}

.hero-content{
text-align:center;
}

.hero h1{
font-size:48px;
}

.hero-image img{
max-width:260px;
margin:auto;
}

.cards{
grid-template-columns:1fr;
padding:20px;
}

.about-hero,
.about-info{
grid-template-columns:1fr;
padding:50px 25px;
}

.about-top-cards{
grid-template-columns:1fr;
padding:20px;
}

footer{
padding:30px 15px;
}

}