@font-face {
    font-family: 'A-Space';
    src: url('../fonts/A-Space\ Black\ Demo.otf') format('truetype');
}
body {
    font-family: 'Orbitron', sans-serif;
    margin: 20px;
    background: radial-gradient(ellipse at center, #000010 0%, #000000 100%);
    color: #e0e0ff;
    min-height: 100vh;
    font-family: 'A-Space';
}
#logo4 {
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
  height: auto;
  z-index: 1;
  background: none;
  border-radius: 17px;
  margin-top: 5px;
  box-shadow: 0 0 0;
  border: none;
}
.falling-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}
.star {
    position: absolute;
    top: -10px;
    background: linear-gradient(45deg, white, rgb(255, 231, 231));
    border-radius: 50%;
    filter: drop-shadow(2px 2px 10px white);
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.star.default {
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, white, rgba(255, 255, 255, 0));
    border-radius: 50%;
    filter: drop-shadow(0 0 8px white);
    animation-name: fall, twinkle;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-duration: inherit, 3s;
}
.star.small {
    width: 1.5px;
    height: 1.5px;
    background: white;
    border-radius: 50%;
    filter: drop-shadow(0 0 5px white);
    animation-name: fall, twinkle;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-duration: inherit, 2s;
}
.star.sparkle {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, white, rgba(255, 255, 255, 0));
    border-radius: 50%;
    filter: drop-shadow(0 0 8px white);
    animation-name: fall, twinkle;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-duration: inherit, 3s;
}
@keyframes fall {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translate(110vw, 110vh) rotate(45deg);
        opacity: 0.6;
    }
}
@keyframes fallDown {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translate(100vw, 100vh) rotate(45deg);
        opacity: 0.6;
    }
}
@keyframes twinkle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}
@keyframes fall {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translate(100vw, 100vh) rotate(45deg);
        opacity: 0.6;
    }
}
h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #a0c8ff;
    text-shadow: 0 0 10px #a0c8ff;
    text-decoration: none;
}
a{
    text-decoration: none;
}
section {
    margin-bottom: 50px;
    padding: 10px;
    background: none;
    border-radius: 12px;
    box-shadow: 0 0 15px #304080;
}
h2 {
    border-bottom: 2px solid #5070a0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #a0c8ff;
    text-shadow: 0 0 5px #5070a0;
}
.media-item {
    margin-bottom: 30px;
    background: rgba(20, 20, 50, 0.6);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px #5060a0;
    transition: transform 0.3s ease;
}
.media-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #80a0ff;
}
video, img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
    border: 2px solid #5070a0;
    border-radius: 8px;
    box-shadow: 0 0 8px #5070a0;
}
a.pdf-link {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #80a0ff;
    text-decoration: none;
    text-shadow: 0 0 5px #5070a0;
}
a.pdf-link:hover {
    text-decoration: underline;
    color: #a0c8ff;
}
a.website-link{
    display: inline-block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #80a0ff;
    text-decoration: none;
    text-shadow: 0 0 5px #5070a0;
}
a.website-link:hover {
    text-decoration: underline;
    color: #a0c8ff;
}
.caption {
    font-size: 0.9em;
    color: #a0a8c0;
    text-align: center;
    text-shadow: 0 0 3px #304080;
}
@media (min-width: 600px) {
    .media-item {
        max-width: 600px;
    }
}
#carousel {
    text-align: center;
    margin-bottom: 50px;
}
#moodboards{
    text-align: center;
}
#images{
    text-align: center;
}
.carousel-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
#carouselImage {
    width: 100%;
    height: auto;
    border: 2px solid #5070a0;
    border-radius: 8px;
    box-shadow: 0 0 10px #5070a0;
}
#prevBtn, #nextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(80, 100, 160, 0.7);
    border: none;
    color: white;
    font-size: 2em;
    padding: 0 12px;
    cursor: pointer;
    border-radius: 3px;
    user-select: none;
    transition: background-color 0.3s ease;
}
#prevBtn {
    left: 0;
}
#nextBtn {
    right: 0;
}
#prevBtn:hover, #nextBtn:hover {
    background-color: rgba(120, 140, 200, 0.9);
}
section:not(#videos) > .media-item {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    box-sizing: border-box;
}
@media (min-width: 600px) {
    section:not(#videos) > .media-item {
        width: calc(50% - 20px);
        margin: 10px;
    }
}
@media (min-width: 900px) {
    section:not(#videos) > .media-item {
        width: calc(33.333% - 20px);
        margin: 10px;
    }
}
section#videos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
section#videos > .media-item {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
    margin: 0;
}