@font-face {
    font-family: 'Minecraft';
    src: url('assests/fonts/Minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes bgFadeToDark {
    0% {
        background-color: white;
    }

    100% {
        background-color: #151515;
    }
}

@keyframes fadeOutWhite {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotateEntrance {
    0% {
        transform: rotate(-360deg) scale(0.5);
        opacity: 0;
    }

    100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}


html {
    font-size: 18px;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: #151515;
    color: ghostwhite;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    animation: bgFadeToDark 0.6s ease-out forwards;
}

header {
    background: linear-gradient(to right, rgb(21, 21, 21), #808080);
    width: 100%;
    padding: 0.5rem;
    text-align: left;
    position: relative;
    z-index: 100;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: -1;
    pointer-events: none;
    animation: fadeOutWhite 0.6s ease-out forwards;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    padding: 10px;
    z-index: 1;
}

.image img {
    width: 80px;
    height: auto;
    border-radius: 5px;
    margin-right: 1rem;
    object-fit: contain;
    opacity: 0;
    animation: rotateEntrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s forwards;
}

.logo-text {
    font-family: 'Minecraft';
    font-size: 3rem;
    letter-spacing: 0.15rem;
    color: ghostwhite;
    margin-right: 1rem;
    position: relative;
    top: 6px;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.7s forwards;
}

.image img:hover {
    animation: rotate 1.2s forwards;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icons>div {
    position: relative;
    flex-shrink: 0;
    opacity: 0;
}

@media (min-width: 769px) {
    .social-icons>div {
        animation: slideInDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    .social-icons>div:nth-child(1) {
        animation-delay: 1.1s;
    }

    .social-icons>div:nth-child(2) {
        animation-delay: 1.2s;
    }

    .social-icons>div:nth-child(3) {
        animation-delay: 1.3s;
    }

    .social-icons>div:nth-child(4) {
        animation-delay: 1.4s;
    }

    .social-icons>div:nth-child(5) {
        animation-delay: 1.5s;
    }
}

.social-icons>div a {
    position: relative;
    display: block;
    width: 75px;
    height: 75px;
    padding: 5px;
    box-sizing: content-box;
}

.social-icons img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.social-text {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    color: rgb(255, 255, 255);
    padding: 5px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 5;
}

.social-icons>div:hover .social-text {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.social-icons>div::before,
.social-icons>div::after,
.social-icons>div a::before,
.social-icons>div a::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: none;
}

.social-icons>div a::before {
    background-image: url('assests/images/header/L_corner_of_the_selected.webp');
    top: 0;
    left: 0;
    transform: translate(0, 0) scale(0.5);
}

.social-icons>div a::after {
    background-image: url('assests/images/header/L_corner_of_the_selected.webp');
    top: calc(100% - 15px);
    left: calc(100% - 15px);
    transform: translate(0, 0) scale(0.5) rotate(180deg);
}

.social-icons>div::before {
    background-image: url('assests/images/header/R_corner_of_the_selected.webp');
    top: 0;
    left: calc(100% - 15px);
    transform: translate(0, 0) scale(0.5);
}

.social-icons>div::after {
    background-image: url('assests/images/header/R_corner_of_the_selected.webp');
    top: calc(100% - 15px);
    left: 0;
    transform: translate(0, 0) scale(0.5) rotate(180deg);
}

.social-icons>div:hover a::before {
    opacity: 1;
    top: -5px;
    left: -5px;
    transform: translate(0, 0) scale(1);
}

.social-icons>div:hover a::after {
    opacity: 1;
    top: calc(100% - 10px);
    left: calc(100% - 10px);
    transform: translate(0, 0) scale(1) rotate(180deg);
}

.social-icons>div:hover::before {
    opacity: 1;
    top: -5px;
    left: calc(100% - 10px);
    transform: translate(0, 0) scale(1);
}

.social-icons>div:hover::after {
    opacity: 1;
    top: calc(100% - 10px);
    left: -5px;
    transform: translate(0, 0) scale(1) rotate(180deg);
}

.Fiverr:hover,
.Patreon:hover,
.Discord:hover,
.Paypal:hover,
.Youtube:hover {
    transform: translateY(-10px);
}

main {
    flex: 1;
    padding: 2rem 1rem;
    text-align: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.mobile-social-container {
    display: none;
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: -2rem;
}

.website-navigation {
    width: 100%;
    margin-top: -2.5rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.5rem 0.5rem;
    gap: 0.75rem;
    flex-wrap: wrap;
    border-radius: 0 0 5px 5px;
}

.website-navigation>div {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    flex-shrink: 0;
    opacity: 0;
    animation: slideInRight 0.6s ease-out forwards;
}

.website-navigation>div:nth-child(1) {
    animation-delay: 1.4s;
}

.website-navigation>div:nth-child(2) {
    animation-delay: 1.5s;
}

.website-navigation>div:nth-child(3) {
    animation-delay: 1.6s;
}

.website-navigation>div:nth-child(4) {
    animation-delay: 1.7s;
}

.website-navigation>div:nth-child(5) {
    animation-delay: 1.8s;
}

.website-navigation>div:nth-child(6) {
    animation-delay: 1.9s;
}

.website-navigation>div:nth-child(7) {
    animation-delay: 2.0s;
}

.website-navigation>div:nth-child(8) {
    animation-delay: 2.1s;
}

.website-navigation h3 {
    font-size: 0.9rem;
    margin: 0;
}

.website-navigation a {
    padding: 0.3rem 0.7rem;
    text-decoration: none;
    color: #ffffff;
    border-radius: 1.5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    display: block;
    position: relative;
    z-index: 0;
}

.website-navigation a:hover {
    background-color: #ffffff;
    color: #000000;
}

.website-navigation a::before,
.website-navigation a::after,
.website-navigation>div::before,
.website-navigation>div::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
}

.website-navigation a::before,
.website-navigation a::after {
    background-image: url('assests/images/header/L_corner_of_the_selected.webp');
}

.website-navigation>div::before,
.website-navigation>div::after {
    background-image: url('assests/images/header/R_corner_of_the_selected.webp');
}

.website-navigation a::after,
.website-navigation>div::after {
    transform: translate(-50%, -50%) scale(0.5) rotate(180deg);
}

.website-navigation>div:hover a::before {
    opacity: 1;
    top: -5px;
    left: -5px;
    transform: translate(0, 0) scale(1);
}

.website-navigation>div:hover a::after {
    opacity: 1;
    top: calc(100% - 10px);
    left: calc(100% - 10px);
    transform: translate(0, 0) scale(1) rotate(180deg);
}

.website-navigation>div:hover::before {
    opacity: 1;
    top: -5px;
    left: calc(100% - 10px);
    transform: translate(0, 0) scale(1);
}

.website-navigation>div:hover::after {
    opacity: 1;
    top: calc(100% - 10px);
    left: -5px;
    transform: translate(0, 0) scale(1) rotate(180deg);
}

.CUBIC_news {
    position: relative;
    margin-bottom: 4rem;
    margin-top: -3rem;
}

.CUBIC_news h1 {
    font-size: 2.1rem;
    color: rgb(0, 140, 255);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    z-index: 5;
    opacity: 0;
    animation: slideInDown 0.8s ease-out 1.7s forwards;
}

.latest-upload-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-width: none;
    overflow: hidden;
    opacity: 0;
    animation: slideInDown 1s ease-out 1.9s forwards;
}

.latest-upload-wrapper a {
    position: relative;
    display: block;
}

.latest-upload-wrapper img.Latest.Thumbnail {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgb(0, 0, 0) 10%);
    mask-image: linear-gradient(to top, transparent 0%, rgb(0, 0, 0) 10%);
}

.latest-overlay {
    position: absolute;
    top: 0;
    right: 0;
    height: 18% !important;
    width: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    z-index: 10;
    pointer-events: none;
}

.latest-title-overlay {
    position: absolute;
    top: 30%;
    left: 5%;
    max-width: 50%;
    z-index: 15;
    pointer-events: none;
    text-align: left;
}

.latest-title-text {
    font-family: 'Minecraft', sans-serif;
    color: white;
    font-size: 3rem;
    letter-spacing: 5px;
    display: inline-block;
}

.swiper-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    z-index: 5;
}

.card-item:hover .swiper-hover-overlay {
    opacity: 1;
}

.swiper-video-title {
    color: white;
    font-size: 0.9rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.swiper-video-duration {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 1px;
    font-size: 0.75rem;
    z-index: 6;
}


.swiper-section {
    margin-top: -25vw;
    margin-bottom: 4rem;
    padding: 0 1rem;
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

.container.swiper {
    position: relative;
    width: 100%;
    z-index: 0;
    padding-top: 80px;
    padding-bottom: 2.5rem;
    padding-left: 20px;
    padding-right: 20px;
}

.card-list .card-item {
    height: auto;
    padding: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.card-list .card-item:hover {
    transform: translateY(-10px);
}

.card-list .card-item a {
    display: block;
    position: relative;
}

.card-list .card-item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card-list .card-item a::before,
.card-list .card-item a::after,
.card-list .card-item::before,
.card-list .card-item::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    z-index: 20;
}

.card-list .card-item a::before,
.card-list .card-item a::after {
    background-image: url('assests/images/header/L_corner_of_the_selected.webp');
}

.card-list .card-item::before,
.card-list .card-item::after {
    background-image: url('assests/images/header/R_corner_of_the_selected.webp');
}

.card-list .card-item a::after,
.card-list .card-item::after {
    transform: translate(-50%, -50%) scale(0.5) rotate(180deg);
}

.card-list .card-item:hover a::before {
    opacity: 1;
    top: -5px;
    left: -5px;
    transform: translate(0, 0) scale(1);
}

.card-list .card-item:hover a::after {
    opacity: 1;
    top: calc(100% - 10px);
    left: calc(100% - 10px);
    transform: translate(0, 0) scale(1) rotate(180deg);
}

.card-list .card-item:hover::before {
    opacity: 1;
    top: -5px;
    left: calc(100% - 10px);
    transform: translate(0, 0) scale(1);
}

.card-list .card-item:hover::after {
    opacity: 1;
    top: calc(100% - 10px);
    left: -5px;
    transform: translate(0, 0) scale(1) rotate(180deg);
}

.slider-wrapper .swiper-pagination-bullet {
    background: #fff;
    height: 15px;
    width: 40px;
    opacity: 0.5;
    border-radius: 0%;
    border: 2px solid #000000;
}

.slider-wrapper .swiper-pagination-bullet:hover {
    opacity: 0.7;
    border-radius: 0px;
}

.slider-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
    border-radius: 1px;
}

.welcome-section {
    max-width: 900px;
    margin: 0 auto 5rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.welcome-section h1 {
    font-size: 2.1rem;
    color: rgb(0, 140, 255);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.welcome-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: ghostwhite;
    margin-bottom: 1.5rem;
}

.horizontal-line-container {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 80px 0;
    margin-bottom: 40px;
    max-width: 100vw;
}

.blue-line-segment {
    height: 5px;
    background-color: rgb(0, 140, 255);
    position: relative;
}

.blue-line-segment.left {
    flex-grow: 0;
    width: 10%;
}

.blue-line-segment.left::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 100vw;
    height: 100%;
    background-color: rgb(0, 140, 255);
}

.blue-line-segment.right {
    flex-grow: 1;
}

.blue-line-segment.right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100%;
    background-color: rgb(0, 140, 255);
}

.line-text {
    color: rgb(0, 140, 255);
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0 10px;
    background-color: #151515;
    white-space: nowrap;
}

.milestone-wrapper {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-width: none;
    min-height: 750px;
    margin-bottom: 5rem;
    position: relative;
    display: flex;
    align-items: center;
    overflow-x: hidden;
}

.progress-bar-container-horizontal {
    width: 100%;
    height: 25px;
    background-color: #2a2a2a;
    position: relative;
    z-index: 10;
}

.progress-bar-fill-horizontal {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgb(0, 100, 200), rgb(0, 140, 255));
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.progress-bar-fill-horizontal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.15) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.15) 75%,
            transparent 75%,
            transparent);
    background-size: 20px 20px;
    animation: moveStripes 2s linear infinite;
}

@keyframes moveStripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 20px;
    }
}

.lines-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.connector-line {
    stroke: #ccc;
    stroke-width: 2px;
    fill: none;
    vector-effect: non-scaling-stroke;
}

.connector-line.active {
    stroke: #00BFFF;
    stroke-width: 3px;
    filter: drop-shadow(0 0 3px #00BFFF);
}

#milestone-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.milestone-marker-item {
    position: absolute;
    transform: translateX(-50%);
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: auto;
}

.marker-above {
    bottom: 75%;
    justify-content: flex-end;
    padding-bottom: 0px;
}

.marker-below {
    top: 75%;
    justify-content: flex-start;
    padding-top: 0px;
}

.marker-label {
    padding: 4px 8px;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.2;
    text-shadow: 0 0 3px #151515;
    transition: color 0.3s, text-shadow 0.3s;
}

.marker-extra {
    font-size: 0.7rem;
    font-weight: 800;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marker-images {
    margin-top: 5px;
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

.marker-images img {
    width: 160px;
    height: auto;
    display: block;
}

.milestone-marker-item.completed .marker-label {
    color: #ccc;
}

.milestone-marker-item.shiny-blue .marker-label,
.milestone-marker-item.shiny-blue .marker-extra {
    color: #00BFFF;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.8), 0 0 15px rgba(0, 191, 255, 0.4);
}

.milestone-marker-item.gold .marker-label,
.milestone-marker-item.gold .marker-extra {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8), 0 0 15px rgba(255, 215, 0, 0.4);
}

#progress-status {
    color: ghostwhite;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-family: 'Arial', sans-serif;
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: opacity 0.5s;
    text-shadow: none;
    z-index: 20;
}

.hidden-status {
    opacity: 0 !important;
    pointer-events: none;
}

.subscribe-wrapper {
    position: absolute;
    top: auto;
    bottom: 250px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.subscribe-cta {
    display: block;
    position: relative;
    background-color: #FF0000;
    color: white;
    padding: 10px 20px;
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.subscribe-cta:hover {
    background-color: #cc0000;
    color: white;
}

.subscribe-cta::before,
.subscribe-cta::after,
.subscribe-wrapper::before,
.subscribe-wrapper::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    filter: invert(14%) sepia(94%) saturate(4593%) hue-rotate(355deg) brightness(92%) contrast(115%);
}

.subscribe-cta::before,
.subscribe-cta::after {
    background-image: url('assests/images/header/L_corner_of_the_selected.webp');
}

.subscribe-wrapper::before,
.subscribe-wrapper::after {
    background-image: url('assests/images/header/R_corner_of_the_selected.webp');
}

.subscribe-cta::after,
.subscribe-wrapper::after {
    transform: translate(-50%, -50%) scale(0.5) rotate(180deg);
}

.subscribe-wrapper:hover .subscribe-cta::before {
    opacity: 1;
    top: -5px;
    left: -5px;
    transform: translate(0, 0) scale(1);
}

.subscribe-wrapper:hover .subscribe-cta::after {
    opacity: 1;
    top: calc(100% - 10px);
    left: calc(100% - 10px);
    transform: translate(0, 0) scale(1) rotate(180deg);
}

.subscribe-wrapper:hover::before {
    opacity: 1;
    top: -5px;
    left: calc(100% - 10px);
    transform: translate(0, 0) scale(1);
}

.subscribe-wrapper:hover::after {
    opacity: 1;
    top: calc(100% - 10px);
    left: -5px;
    transform: translate(0, 0) scale(1) rotate(180deg);
}

.team-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 5rem auto;
    display: flex;
    flex-direction: column;
}

.team-member {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member:nth-child(even) {
    flex-direction: row-reverse;
}

.member-image {
    flex: 0 0 350px;
}

.member-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.member-content {
    flex: 1;
    text-align: left;
}

.member-name {
    font-family: 'Minecraft', 'Arial', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.member-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cccccc;
}

.color-blue {
    color: #00BFFF;
}

.color-cyan {
    color: #00FFFF;
}

.color-red {
    color: #FF3333;
}

.color-split {
    background: linear-gradient(to right, #0044ff 50%, #ff0e0e 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.closing-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    text-align: center;
    position: relative;
}

.closing-brand-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.closing-brand h3 {
    font-size: 2rem;
    color: ghostwhite;
    margin-bottom: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
    padding-left: 20px;
}

.closing-brand h1 {
    font-family: 'Minecraft', sans-serif;
    font-size: 4rem;
    color: ghostwhite;
    margin: 0;
    line-height: 0.8;
    letter-spacing: 4px;
}

.closing-brand img {
    width: 250px;
    height: auto;
    display: block;
    margin: 0;
}

.closing-brand h2 {
    font-family: 'Minecraft', sans-serif;
    font-size: 4rem;
    color: ghostwhite;
    margin: 0;
    line-height: 1;
    letter-spacing: 4px;
}

footer {
    background: rgb(21, 21, 21);
    color: whitesmoke;
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-top: auto;
    position: relative;
}

.footer-text {
    width: 100%;
    text-align: center;
    margin-right: 0;
    margin-left: 0;
}

.version-link {
    position: absolute;
    right: 1.5rem;
    bottom: 1rem;
    text-align: right;
}

.version {
    color: rgb(124, 124, 124);
    margin-left: 0;
    margin-top: 0;
}

a {
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #151515;
}

::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #888;
}

@media (max-width: 1440px) {
    .latest-title-text {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

}

@media (max-width: 1024px) {
    .website-navigation h3 {
        font-size: 0.8rem;
    }

    .website-navigation a {
        padding: 0.3rem 0.6rem;
    }

    .latest-title-text {
        font-size: 1.6rem;
        letter-spacing: 3px;
    }

    .swiper-video-duration {
        padding: 2px 6px;
        font-size: 0.7rem;
    }

    .swiper-video-title {
        font-size: 0.7rem;
    }

    .swiper-section {
        margin-top: -30vw;
        margin-bottom: 1rem;
    }

    #progress-status {
        top: 0%;

    }

    .subscribe-wrapper {
        bottom: 305px;
    }

}

@media (max-width: 1000px) {

    .logo-text {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {

    .social-icons {
        display: none;
    }

    .website-navigation {
        justify-content: center;
    }

    .mobile-social-container {
        display: flex;
    }

    .social-icons.mobile-only {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0px;
        opacity: 1;
    }

    .social-icons.mobile-only>div {
        opacity: 1;
        animation: none;
    }

    .header-content {
        flex-direction: column;
    }

    .image img {
        width: 60px;
        height: auto;
    }

    .logo-text {
        font-size: 2.5rem;
    }

    .social-icons img {
        width: 60px;
        height: auto;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .CUBIC_news h1 {
        font-size: 2rem;
    }

    .latest-title-overlay {
        top: 30%;
        left: 5%;
        max-width: 90%;
    }

    .swiper-video-duration {
        padding: 2px 6px;
        font-size: 0.5rem;
    }

    .swiper-video-title {
        font-size: 0.5rem;
    }

    .swiper-section {
        margin-top: -35vw;
        margin-bottom: 1rem;
    }

    .marker-above {
        top: 25%;
        transform: translate(-50%, -100%);
        padding-bottom: 5px;
    }

    .marker-below {
        top: 10%;
        transform: translate(-50%, 70%);
        padding-bottom: 40px;
    }

    #progress-status {
        top: 0%;
    }

    .subscribe-wrapper {
        top: auto;
        bottom: 240px;
        left: 50%;
    }

    .team-member {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .member-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
    }

    .member-content {
        text-align: center !important;
    }

    .member-name {
        font-size: 2rem;
    }

    .closing-brand h1 {
        font-size: 3rem;
    }

    .closing-brand h2 {
        font-size: 3rem;
    }

    .closing-brand img {
        width: 120px;
    }

    .closing-brand-horizontal {
        gap: 1rem;
    }

    .milestone-wrapper {
        min-height: 600px;
    }

    .marker-above {
        bottom: 60%;
    }

    .marker-below {
        top: 60%;
    }

    .milestone-marker-item {
        width: 150px;
        font-size: 0.8rem;
    }

    .marker-images img {
        width: 100px;
    }

    #progress-status {
        font-size: 1.2rem;
    }

    .subscribe-cta {
        font-size: 0.8rem;
    }

    footer {
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer-text {
        width: 100%;
        text-align: center;
        margin: 0.2rem 0;
    }

    .version-link {
        position: static;
        right: auto;
        bottom: auto;
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .image img {
        width: 40px;
        height: auto;
    }

    .logo-text {
        font-size: 2.6rem;
    }

    .website-navigation a {
        padding: 0.3rem 0.7rem;
    }

    .website-navigation a::before,
    .website-navigation a::after,
    .website-navigation>div::before,
    .website-navigation>div::after {
        width: 10px;
        height: 10px;
    }

    .website-navigation>div:hover a::before,
    .website-navigation>div:hover::before {
        top: -3px;
    }

    .website-navigation>div:hover a::before {
        left: -3px;
    }

    .website-navigation>div:hover::before {
        left: calc(100% - 7px);
    }

    .website-navigation>div:hover a::after,
    .website-navigation>div:hover::after {
        top: calc(100% - 7px);
    }

    .website-navigation>div:hover a::after {
        left: calc(100% - 7px);
    }

    .website-navigation>div:hover::after {
        left: -3px;
    }

    .CUBIC_news h1 {
        font-size: 1.6rem;
    }

    .latest-title-text {
        font-size: 1.2rem;
    }

    .swiper-section {
        margin-top: -50%;
    }

    .slider-wrapper .swiper-pagination-bullet {
        height: 10px;
        width: 30px;
    }

    .welcome-section p {
        font-size: 1rem;
    }

    .welcome-section .line-text {
        font-size: 1.4rem !important;
        white-space: normal;
    }

    .milestone-wrapper {
        min-height: 750px;
        position: relative;
    }

    .marker-above {
        top: 25%;
        padding-left: 10px;
        transform: translate(-50%, -100%);
        padding-bottom: 5px;
    }

    #progress-status {
        top: auto !important;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .subscribe-wrapper {
        top: auto !important;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .subscribe-cta {
        padding: 10px 10px;
        font-size: 0.8rem;
    }

    .closing-brand h3 {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }

    .closing-brand h1 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .closing-brand img {
        width: 100px;
        height: auto;
    }

    .closing-brand h2 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .social-icons.mobile-only a {
        width: 40px;
        height: 40px;
        padding: 3px;
    }

    .social-icons.mobile-only {
        gap: 20px;
    }

    .social-icons.mobile-only img {
        width: 100%;
        height: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 375px) {
    .subscribe-cta {
        padding: 10px 10px;
        font-size: 0.7rem;
    }
}

body.intro-finished {
    animation: none;
    background-color: #151515;
}

body.intro-finished header::before {
    display: none;
}

body.intro-finished .image img,
body.intro-finished .logo-text,
body.intro-finished .social-icons>div,
body.intro-finished .website-navigation>div,
body.intro-finished .CUBIC_news h1,
body.intro-finished .latest-upload-wrapper {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: all 0.3s ease;
}

/* Bubby Was Here */