@import url(https://fonts.googleapis.com/css?family=Montserrat);
*, img{
    margin: 0;
    padding: 0;
}

.background {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  height: 120vh;
  position: fixed;
  width: 100%;
  transform: translateY(30vh);
  transition: all 1.2s cubic-bezier(0.22, 0.44, 0, 1);
}
.background:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
}
.background:first-child {
  background-image: url("sections/sp3.webp");
  transform: translateY(-15vh);
}
.background:first-child .content-wrapper {
  transform: translateY(15vh);
}
.background:nth-child(2) {
  background-image: url("sections/sp2.webp");
}
.background:nth-child(3) {
  background-image: url("sections/Blueprint_Gridless.png");

}
.background:nth-child(4) {
  background-image: url("sections/s5.jpg");
}
.background:nth-child(5) {
background-image: url("https://i.postimg.cc/kXq9Qmnj/bgd1.jpg");
}

/* Set stacking context of slides */
.background:nth-child(1) {
  z-index: 5;
}
.background:nth-child(2) {
  z-index: 4;
}
.background:nth-child(3) {
  z-index: 3;
}
.background:nth-child(4) {
  z-index: 2;
}
.background:nth-child(5) {
  z-index: 1;
}

body{
    font-size: 3vh;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* Header Container */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0,0,0,0.5);
    height: 60px;
    color: white;
    flex-wrap: wrap; /* Allows items to wrap on small screens */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}
/* Logo */
.logo img {
    flex: 1;
    width: 120px;
    height: auto;
    margin-left: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-right: 2rem;
}
.social-links img{
    width: 20px;
    height: auto;
}
.social-links a {
    text-decoration: none;
}

.content-wrapper {
  height: 100vh;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-flow: column nowrap;
  color: #fff;
  font-family: Oswald;
  transform: translateY(40vh);
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transition: all 1.7s cubic-bezier(0.22, 0.44, 0, 1);
  width: 80%;
  background-color: rgba(0,0,0,0.4);  
  margin: auto;
}

.content-title {
  font-size: 4vh;
  text-transform: uppercase;
}

.content-subtitle{
    margin: 10px auto;
}
/*  start of content edit to fit the about us grid  */
.content-subtitle-wrapper{
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
/* Left Section - 50% width */
.left-section {
    flex: 2;
    padding: 0px;
}

/* Middle Section - 25% width */
.middle-section {
    flex: 1;
    padding: 10px;
    text-align: center;
    min-height: 100px;
}
.middle-section img{
    width: 250px;
    height: auto;
    border: 5px solid;
    border-image: linear-gradient(45deg, green, purple) 1;
    background-color: aliceblue;
    padding: 5px;
}

/* Right Section (Grid Area) - 25% width */
.right-section {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    justify-content: center;
    align-content: start;
    padding: 10px;
}
/* Grid Items - 80px x 80px */
.team-member, .team-member img {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid;
    border-image: linear-gradient(45deg, green, purple) 1;
    background-color: aliceblue;
    padding: 5px;
}
.team-member, .single-team-member{
    position: relative;
}
div.team-member a, div.single-team-member a {
    text-decoration: none;
    color: black;
    cursor: default;
    font-weight: normal;
}

.boys{border: 3px solid rgba(0,186,2,1.00);}
.girls{border: 3px solid rgba(236,0,171,1.00);}


div.team-member a span, div.single-team-member a span {
    visibility: hidden;
    position: absolute;
    left: 50%;
    top: 100%;
    background: #333;
    width: 120px;
    margin-left: -70px;
    font-size: 0.7em;
    padding: 0.5em;
    cursor: default;
    line-height: 1.4;
    z-index: 10;
    color: aliceblue;
}

div.team-member a:hover span, div.single-team-member a:hover span {
    visibility: visible;
}
.discord{
    width: 320px;
    height: auto;
    margin: 20px auto;
    }

.software{
    width: 50px;
    height: auto;
    padding: 5px;
    margin-bottom: 30px;
}
.odd-height{
    height: 50px !important;
}

.container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  margin-top: 10px;
    margin-bottom: 10px;
}

.container-text{
    font-size: inherit;
}

.column {
  flex: 1; /* Each column takes equal width */
  /*background-color: rgba(51,0,51,0.4);*/
  background: linear-gradient(45deg, #111, #222, #000, #222, #111);
  background-size: 200% 200%;
  animation: gradient 15s ease infinite;
  padding: 10px;
  text-align: center;
  border: 5px solid;
  border-image: linear-gradient(45deg, green, purple) 1;  
}
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* Responsive Layout */
@media (max-width: 768px) {
    .container {
    flex-direction: column;
    align-items: center;
}
    body{ font-size: 2vh;}
    .main-logo {
        display: none;
        z-index: -30;
    }
    .middle-section img{
    width: 80px;
    height: auto;
    border: 2px solid;
    border-image: linear-gradient(45deg, green, purple) 1;
    background-color: aliceblue;
    padding: 5px;
}
    .content-title {
      font-size: 3vh;
      text-transform: uppercase;
    }
    
.software{
    width: 30px;
    height: auto;
    padding: 5px;
    margin-bottom: 20px;
}
.odd-height{
    height: 30px !important;
}
    .discord{
    margin: 20px 0;
    }

    .left-section, .middle-section, .right-section {
    width: 100%;
    text-align: center;
}

    .right-section {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    }
    
}
/*  end of content edit  */

.background.up-scroll {
  transform: translate3d(0, -15vh, 0);
}
.background.up-scroll .content-wrapper {
  transform: translateY(15vh);
}
.background.up-scroll + .background {
  transform: translate3d(0, 30vh, 0);
}
.background.up-scroll + .background .content-wrapper {
  transform: translateY(30vh);
}
.background.down-scroll {
  transform: translate3d(0, -130vh, 0);
}
.background.down-scroll .content-wrapper {
  transform: translateY(40vh);
}
.background.down-scroll + .background:not(.down-scroll) {
  transform: translate3d(0, -15vh, 0);
}
.background.down-scroll + .background:not(.down-scroll) .content-wrapper {
  transform: translateY(15vh);
}



/* Responsive: Stack columns on smaller screens */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .column {
      max-width: 350px;
      margin: auto;/* Make each column take full width */
  }
  .container-text{
    font-size: 1.6vh;
}
}

/* Responsive Layout */
        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .social-links {
                margin-top: 0;
            }
            .content-wrapper{
                width: 90%;
            }
            .content-subtitle-wrapper{
              display: flex;
              justify-content: center;
              text-align: center;
              flex-flow: column nowrap;
            }
        }