* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    overflow-x:hidden;
    scrollbar-width: thin; 
    scrollbar-color: #ffffff #1f2123;
}
::-webkit-scrollbar {
  width: 8px; 
  height: 4px; 
}

::-webkit-scrollbar-track {
  background: #f3f4f6; 
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: #9ca3af; 
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover{
    background: rgb(0, 119, 255);
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    max-width:100%;
    height:auto;
    margin:0;
    padding:0;
    background-color:#0e0f17;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

header {
    padding: 1% 2%;
    background-color: #000;
    width: 100%;
    position:fixed;
    top:0;
    z-index: 1000;
}
.nav-bar {
    z-index: 1000;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background-color: #000;
    width: 100%;
}

.logo {
    font-size: clamp(1rem, 2.1vw, 1.1rem);
    font-weight: bold;
    color: white;
    text-decoration: none;
}
nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

nav a {
    color: white;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 300;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #575757;
}


.hero {
    background: url('upscalemedia-transformed.png') center/cover no-repeat;
    background-attachment:fixed;
    color: white;
    height: 100vh;

    display: flex;
    justify-content: center;  
    align-items: center;     
    text-align: center;

    padding: 0;               
    overflow: hidden;          
}

.inline-content {
    display: flex;
    flex-direction: column;    
    align-items: center;      
    gap: 1rem;         
    width: 90%;              
    max-width: 600px;         
    margin: 0 auto;
}

.inline-text {
    margin: 0;
    font-size: clamp(2rem, 4vw + 2vh, 5rem);
    line-height: 1;
    padding: 0.5rem 1rem;
    border: 3px solid white;
    border-radius: 10px;
    word-break: break-word;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.inline-text.bottom-text {
    font-size: clamp(1.5rem, 6vw + 2vh, 3.5rem);
    border: none;
}

.inline-img {
    width: clamp(80px, 25vw + 8vh, 230px);
    height: auto;
    max-width: 100%;
    display: inline-block;       
    transition: transform 0.8s ease, opacity 0.8s ease;
    opacity: 0;                
    transform: rotate(0deg) scale(1);
}

.inline-img.animate {
    transform: rotate(360deg) scale(1.2); 
    opacity: 1;
}


.hero-content1 {
    background-color:orange;
    font-size: clamp(2rem, 6vw, 5rem);
    transform: translateX(-50%);
    line-height: 1.2;
}

.inline-text.here, .inline-text.bottom-text.here {
    opacity: 1;
    transform: translateX(0);
}



.about {
    min-height: 75px;
    background-color: #0e0f17;
    text-align: center;
}

.about p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 800px;
    color: white;
    margin: 0 auto;
    line-height: 80px;
}

.sponsors {
    background-color: #0e0f17;
    padding: 5% 2%;
    text-align: center;
}

.sponsors h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 1rem;
}

.sponsors h2 {
    font-size: clamp(1rem, 4vw, 1.2rem);
    color:white;
    margin-bottom:0.5rem;
   
}

.sponsors p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgb(54, 54, 54);
    margin-bottom: 1rem;
}

.images {
    background-color: #0e0f17;
    padding: 5% 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

.images img {
    max-width: 100%;
    height: auto;
}

.images img:first-child {
    width: 30%;
}

.images img:last-child {
    width: 15%;
}

.scroll-img {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-img.left {
    transform: translateX(-50%);
}

.scroll-img.right {
    transform: translateX(50%);
}

.scroll-img.visible {
    opacity: 1;
    transform: translateX(0);
}

.services {
    min-height: 100vh;
    text-align: center;
    background-color: #0e0f17;
    padding-bottom:10vh
}

.services h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: white;
}

.discord {
    min-height: 40vh;
    width: 100%;
    background: url('DiscordGiveawaysPS.png') center/contain no-repeat;
    background-color: #5d76f5;
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 2.5s ease;  
    margin-bottom:10%;
}

.discord.visible {
    opacity: 1;
}


.accordion {
    width: 50%;
    display:block;
    background-color: #1c1e2e;
    color: white;
    padding: 1rem 2rem;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    position: relative;
    margin-left:25%;
    margin-top:5%;
    margin-bottom:1%;
    transition: background-color 0.3s;
   
}

.accordion:hover {
    background-color: #333;
}

.accordion::after {
    content: "▼";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.accordion.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.panel {
    position:relative;
    padding:5px 20px;
    max-height: 0;
    width:50%;
    margin-left:25%;
    overflow: hidden;
    background-color: #2a2d45;
    color: white;
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    transition: max-height 0.4s ease-out;
    border-radius: 0 0 8px 8px;
}




.dropdown-content p,
.dropdown-content a, 
.dropdown-content2 p,
.dropdown-content2 a {
    margin-bottom: 1rem;
}

.panel a {
    color: #43bff9;
    text-decoration: underline;
}


.graphs {
    height:110vh;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    background-color:#1d2129;
    text-align:center;
    color:white;
}

.graphs h1{

    padding-bottom:3%;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}


.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2%;
    justify-items: center; 
    align-items: center;
    height: 70%; 
    width: 80%; 
    margin: 0 auto; 
}

.image-grid img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 1s ease;
}




.image-grid img:nth-child(3) {
  /*grid-column: 1 / 3;  */
  max-width:60%; 
  justify-self:center;
}

.left-grid-img {
  justify-self: start;
}

.right-grid-img {
  justify-self: end;
}

.bottom-grid-img {
  grid-column: 1 / 3;
  justify-self: center;
}
.hidden {
  opacity: 0;

  transition: opacity 1s ease, transform 1s ease;
}

/* Animate in */
.show-left {
  opacity: 1;
  transform: translateX(0);
}

.show-right {
  opacity: 1;
  transform: translateX(0);
}

.show-bottom {
  opacity: 1;
  transform: translateY(0);
}

/* Starting offsets for grid animations */
.left-grid-img.hidden { opacity:0; transform: translateX(-20vh); }
.right-grid-img.hidden { opacity:0;transform: translateX(20vh); }
.bottom-grid-img.hidden { opacity:0;transform: translateY(20vh); }


.donors {
  min-height: 100vh;
  text-align: center;
  padding: 5% 2%;
  color: white;
}

.donors-title {
  font-size: 3rem;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.donors-title.visible {
  transform: translateX(0);
  opacity: 1;
}

.donor-separator {
  border: none;
  height: 2px;
  background: white;
  width: 70%;
  margin: 2rem auto;
  opacity: 0.5;
}

.donor-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.donor-list li {
  opacity: 0;
  transform: translateY(20px); 
  transition: opacity 0.6s ease, transform 0.6s ease;
  margin: 0.5rem 0;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.donor-list li.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact {
    padding: 2rem 1rem;
    background-color: #181a1f;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
}

.contact p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 1rem;
    width: 100%;
}

