/* style.css */

/* Main Section */

#main-body {
    font-family: 'Press Start 2P', cursive;
    margin: 0;
    padding: 0;
    background-color: black;
    margin: 0;
    overflow-x: hidden;
    overflow: hidden; /* Hide scrollbars */
}

.bg {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200vh;
    background: transparent url('http://assets.iceable.com/img/noise-transparent.png') repeat 0 0;
    background-repeat: repeat;
    animation: bg-animation .2s infinite;
    opacity: .9;
    visibility: visible;
}

@keyframes bg-animation {
    0% { transform: translate(0,0) }
    10% { transform: translate(-5%,-5%) }
    20% { transform: translate(-10%,5%) }
    30% { transform: translate(5%,-10%) }
    40% { transform: translate(-5%,15%) }
    50% { transform: translate(-10%,5%) }
    60% { transform: translate(15%,0) }
    70% { transform: translate(0,10%) }
    80% { transform: translate(-15%,0) }
    90% { transform: translate(10%,5%) }
    100% { transform: translate(5%,0) }
}

#main-header {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 30px;
    font-size: 35px;
}

.upper {
    text-align: center;
    font-size: 25px;
}

.glitch {
    margin-top: 30px;
    color: var(--color);
    font-size: 35px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.right {
    font-size: 25px;
    text-align: center;
    width: 100%;
}

.stack {
    display: grid;
    grid-template-columns: 1fr;
}

.stack span {
    font-weight: bold;
    grid-row-start: 1;
    grid-column-start: 1;
    font-size: 4rem;
    --stack-height: calc(100% / var(--stacks) - 1px);
    --inverse-index: calc(calc(var(--stacks) - 1) - var(--index));
    --clip-top: calc(var(--stack-height) * var(--index));
    --clip-bottom: calc(var(--stack-height) * var(--inverse-index));
    clip-path: inset(var(--clip-top) 0 var(--clip-bottom) 0);
    animation: stack 340ms cubic-bezier(.46,.29,0,1.24) 1 backwards calc(var(--index) * 120ms), glitch 2s ease infinite 2s alternate-reverse;
}

.stack span:nth-child(odd) { --glitch-translate: 8px; }
.stack span:nth-child(even) { --glitch-translate: -8px; }

@keyframes stack {
    0% {
        opacity: 0;
        transform: translateX(-50%);
        text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
    }
    60% {
        opacity: 0.5;
        transform: translateX(50%);
    }
    80% {
        transform: none;
        opacity: 1;
        text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
    }
    100% {
        text-shadow: none;
    }
}

@keyframes glitch {
    0% {
        text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
        transform: translate(var(--glitch-translate));
    }
    2% {
        text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
    }
    4%, 100% {  text-shadow: none; transform: none; }
}

#main-nav {
    background-color: white;
    padding: 10px 0;
}

#main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

#main-nav ul li {
    display: inline;
    margin-right: 40px;
}

#main-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    color: black;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#main-nav ul li a:hover {
    background-color: black;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    margin-left: -2px;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

/* Hover Effect */
.me-links a:hover {
    background-color: white;
    color: black;
    border-radius: 5px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    #me-header {
        font-size: 24px;
    }

    .div-about {
        font-size: 16px;
    }

    .me-links a {
        font-size: 16px;
        padding: 8px 16px;
    }
}


/* Tech Pioneers Section */

#tp-header {
    margin: 20px;
    padding: 20px;
}

#tp-about {
    margin: 20px;
    font-size: 20px;
    padding: 20px;
}

#tp-events {
    margin: 20px;
    font-size: 20px;
    padding: 20px;
}

#tp-body {
    font-family: 'Press Start 2P', cursive;
    background-color: black;
    color: white;
    overflow: hidden;
    overflow-y: scroll;
}

#tp-header {
    text-align: center;
    font-size: 35px;
}

#tp-slogan {
    margin: 0 auto;
    font-size: 20px;
}

#tp-team {
    padding: 10px;
    margin: 15px;
    min-height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}

.tp-section-heading {
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    font-size: 46px;
    color: white;
    margin: 0 0 70px;
}

.tp-container {
    display: flex;
    justify-content: center;
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
}

#tp-memberss {
    margin-top: 100px;
    text-align: center;
}

/* Member Section Styles */
#fos-members {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.fos-divider {
    border-top: 2px solid #333;
    margin-bottom: 40px;
}

.member-card {
    width: 600px;
    height: 500px;
    perspective: 1000px;
    margin-bottom: 90px;
}

.fos-button1 {
    font-size: 18px;
}

.member-card .card-front, .member-card .card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    transition: transform 0.5s;
    backface-visibility: hidden;
}

.member-card .card-front {
    color: black;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.member-card .card-back {
    background-color: black;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.member-card:hover .card-front {
    transform: rotateY(-180deg);
}

.member-card:hover .card-back {
    transform: rotateY(0);
}

.fos-button1 {
    text-align: center;
}

.fos-button1 button {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    padding: 10px 20px;
    margin-right: 10px;
    background-color: white;
    color: black;
    border: none;
    cursor: pointer;
    margin-top: 30px;
}

.fos-button1 button:hover {
    background-color: black;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.fuckoff-image {
    text-align: center;
}

.fuckoff-content {
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.fuckoff-content .text {
    margin-bottom: 20px;
    margin-top: 50px;
    font-size: 30px;
    text-align: left;
}

.fos-image {
    opacity: 100%;
    height: auto;
    width: auto;
}


#fon-body {
    font-family: 'Press Start 2P', cursive;
    margin: 0;
    padding: 0;
    background-color: black;
    margin: 0;
    overflow-x: hidden;
}

body, p, .text, .upper, .glitch, .right, .main-content, #main-header, #me-body, .div-about, .me-links a, #tp-header {
    line-height: 1.5; /* Adjust the value as needed for readability */
}