@font-face {
  font-family: phantombold; 
  src: url(https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Bold.woff); 
}
@font-face {
  font-family: wack;
  src: url(https://assets.hackclub.com/fonts/Wack_Club_Sans/Regular.woff);
}
@font-face {
    font-family: phantomregular;
    src: url(https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Regular.woff);
}
@font-face {
    font-family: phantomsemibold;
    src: url(https://assets.hackclub.com/fonts/Phantom_Sans_0.8/Semibold.woff);
}

body {
    background-image: url("https://github.com/katetriestocode/buildguildoxford/blob/main/assets/background.png?raw=true");
    background-size: 40vw;
    background-repeat: repeat;
    text-align: center;
    font-family: phantomregular;
    color: white;
    position: relative; 
    min-height: 100vh;
    padding-top: 6vw; 
}

h1 {
    font-size: 7vw;
    font-weight: bold;
    font-family: phantombold;
}

h2 {
    font-size: 7vw;
    font-family: wack;
    color: #ebb12a;
}

h1, h2 {
    margin: 0; 
}

h1 {
    margin-bottom: 0.5vw; 
}
h2 {
    margin-bottom: 3vw
}

.corner-left {
    left: 2vw;         /* Distance from the left */
    position: absolute; /* Pins them to the page */
    top: 0;          /* Distance from the top */
    width: 20vw;        
}

.corner-right {
    right: 2vw;        /* Distance from the right */
    position: absolute; /* Pins them to the page */
    top: 2vw;          /* Distance from the top */
    width: 22vw;        
}

.external-card-link {
    text-decoration: none;
    display: inline-flex;    /* Elements sit in a row */
    align-items: center;     /* Centers arrows vertically with the box */
    justify-content: center; 
    gap: 2.5vw;               /* Space between arrows and the box */
    margin: 1vw auto;
    position: relative; /* Needed for absolute positioning of arrows */
}

.external-card {
    background-color: #ebb12a; /* Dark grey background */
    padding: 1vw 2vw; /* More padding for a larger card */
    border-radius: 0.4vw; /* Slightly rounded corners */
    text-align: center;
    font-size: 3.5vw;
    line-height: 1;
    font-family: wack;
    color: white;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    box-shadow: 0 0.4vw 1.5vw rgba(0, 0, 0, 0.2);
    display: flex;          /* This puts everything in a row */
    align-items: center;    /* Vertically centers arrows and text */
    justify-content: center; /* Horizontally centers the group */
    gap: 1.5vw;              /* Adds space between the arrows and the text */
}

.outer-arrow {
    position: absolute;    /* Removes them from the document flow */
    top: 50%;              /* Move to middle of the parent */
    transform: translateY(-50%); /* Perfectly centers them vertically */
    width: 8vw;
    height: auto;
    pointer-events: none;
}

.external-card-link:hover .outer-arrow {
    transform: translateY(-60%) scale(1.2);
}

/* Position the left arrow outside the left edge */
.left-arrow {
    right: 100%;           /* Starts at the left edge of the button */
    margin-right: 3vw;    /* Pushes it further away */
    rotate: 15deg;
}

/* Position the right arrow outside the right edge */
.right-arrow {
    left: 100%;            /* Starts at the right edge of the button */
    margin-left: 3vw;     /* Pushes it further away */
    rotate: -15deg;
}

.external-card h3 {
    margin: 0;         /* Removes the default browser spacing */
    font-size: inherit; /* Forces the text to be exactly 3.5vw (the parent size) */
}

.external-card:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}


h4 {
    font-family: wack;
    color: #ebb12a;
    font-size: 2.5vw;
    margin-top: 4vw;
    margin-bottom: 2vw;
}

h5 {
    font-family: wack;
    color: #ebb12a;
    font-size: 2vw;
    margin-top: 0.5vw;
    margin-bottom: 0vw;
}

p {
    font-family: phantomregular;
    color: white;
    font-size: 1.2vw;
    margin-top: 0;
    margin-bottom: 0.5vw;
}

.sponsors-section {
    margin: 8vw auto;
    max-width: 110vw;
    padding: 0 2vw;
}

.sponsors-row {
    display: flex;
    justify-content: space-between;
    gap: 2vw;
}

.sponsor-card {
    flex: 1; /* Makes all three cards equal width */
    display: flex;
    align-items: center; /* Vertically centers logo with text */
    background: rgba(255, 255, 255, 0.05); 
    padding: 1vw;
    border-radius: 0.8vw;
    border: 0.1vw solid rgba(235, 177, 42, 0.3); /* Faint gold border */
}

.sponsor-logo {
    width: 5vw; /* Adjust based on your logo shapes */
    height: auto;
    margin-right: 1.5vw;
}

.sponsor-logo2 {
    width: 5vw; /* Adjust based on your logo shapes */
    height: auto;
    margin-right: 1.5vw;
}

.sponsor-logo3 {
    width: 5vw; /* Adjust based on your logo shapes */
    height: auto;
    margin-right: 1.5vw;
}

.sponsor-details {
    text-align: left;
    font-size: 0.9rem;

}

.sponsor-details strong {
    display: block;
    color: #ebb12a;
    font-family: wack;
}






.split-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4vw; /* Space between image and text */
    max-width: 800px; /* Keeps it from getting too wide on big screens */
    margin: 60px auto; /* Centers the whole block and adds space above/below */
    padding: 0 20px;
    text-align: left; /* Overrides the body's center alignment for this section */
}


.split-text {
    flex: 1; /* Makes the text take up the remaining space */
}

.split-text h6 {
    font-family: wack;
    color: #ebb12a;
    font-size: 3vw;
    margin-top: 0;
}

p2 {
    font-family: phantomregular;
    color: white;
    font-size: 1.4vw;
    margin-top: 1vw;
    margin-bottom: 1vw;
}

p3 {
    font-family: phantomsemibold;
    color: white;
    font-size: 1.6vw;
    margin-top: 1vw;
    margin-bottom: 1vw;
}

h6 {
    font-family: wack;
    color: #ebb12a;
    font-size: 3vw;
    margin-top: 0;
    margin-bottom: 15px;
}   


.mapslink {
    text-decoration: none;
    justify-content: center; 
    margin: 1px auto;
    display: inline-block;
    margin-top: 15px;
}

.maps {
    background-color: #ebb12a; /* Dark grey background */
    padding: 10px 10px; /* More padding for a larger card */
    border-radius: 4px; /* Slightly rounded corners */
    text-align: center;
    font-size: 2vw;
    line-height: 1;
    font-family: wack;
    color: white;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;          /* This puts everything in a row */
    align-items: center;    /* Vertically centers arrows and text */
    justify-content: center; /* Horizontally centers the group */
}

.maps:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}


.project-ticker {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.ticker-move {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 25s linear infinite;
}

.project-card {
    text-decoration: none;
    flex-shrink: 0;
    width: 320px;
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 0 12px;
    border-radius: 16px; 
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.project-card:hover {
    transform: scale(1.06) rotate(1deg);
    filter: brightness(1.1);
}

.project-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    object-fit: contain;
}

.project-details {
    text-align: left;
    color: white; 
}

.project-details h5 {
    font-family: wack;
    font-size: 1.4rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.project-details p {
    font-family: phantomregular;
    font-size: 0.9rem;
    margin: 4px 0 0 0;
    line-height: 1.2;
    white-space: normal; 
    opacity: 0.95;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-wrap:hover .ticker-move {
    animation-play-state: paused;
}



.schedule-container {
    max-width: 600px;
    margin: 40px auto;
    text-align: left; 
    padding: 0 20px;
}

.schedule-note {
    font-family: phantomsemibold;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 25px;
    line-height: 1.4;
    opacity: 0.9;
}

.schedule-grid {
    display: grid;
    grid-template-columns: auto 1fr; /* Two columns: Time (auto width) and Event (fills rest) */
    column-gap: 30px; /* Space between the two columns */
    row-gap: 15px;    /* Space between each row */
    align-items: baseline;
}

.time {
    font-family: phantomsemibold;
    color: #ebb12a; 
    font-size: 1.2rem;
    white-space: nowrap; /* Prevents times from wrapping to a second line */
}

.event {
    font-family: phantomregular;
    color: white;
    font-size: 1.2rem;
}

.contacts {
    width: 100%;
    background: rgba(0, 0, 0, 0.2); /* Subtle background contrast */
    padding: 20px 0;
    margin: 40px 0;
}

h8 {
    font-family: wack;
    color: #ebb12a;
    font-size: 3vw;
    margin-top: 0;
    margin-bottom: 0px;
}   

h9 {
    font-family: wack;
    color: white;
    font-size: 2vw;
    margin-top: 5px;
    margin-bottom: 0vw;
}
