body, html{
    overflow-x: hidden;
    background-color:#392467;
    color:white;
    font-family: helvetica;
    width: 100%;
}


/*  nav bar*/
/* color code #392467 #5d3587 #a367b1 #ffd1e3 */ 
.nav{
  margin: 0;
    padding: 0;
    font-family: sans-serif;
    letter-spacing: 1px;
    height: 6rem;
    width: 100vw;
  color:white;
    background-color: #392467;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    position: fixed;
    z-index: 10;
}

/*Styling logo*/
.logo{
    padding:1vh 1vw;
    text-align: center;
}
.logo img {
    height: 5rem;
    width: 5rem;
}

/*Styling Links*/
.nav-links{
    display: flex;
    list-style: none; 
    width: 88vw;
    padding: 0 0.7vw;
    justify-content: space-evenly;
    align-items: center;
    text-transform: uppercase;
}
.nav-links li a{
    text-decoration: none;
    margin: 0 0.7vw;
    color:#ffd1e3;
}
.nav-links li a:hover {
    color: #a367b1;
}
.nav-links li {
    position: relative;
}
.nav-links li a::before {
    content: "";
    display: block;
    height: 3px;
    width: 0%;
    background-color: #a367b1;
    position: absolute;
    transition: all ease-in-out 250ms;
    margin: 0 0 0 10%;
}
.nav-links li a:hover::before{
    width: 80%;
}

/*Styling Buttons*/
.login-button{
    background-color: transparent;
    border: 1.5px solid #f2f5f7;
    border-radius: 2em;
    padding: 0.6rem 0.8rem;
    margin-left: 2vw;
    font-size: 1rem;
    cursor: pointer;

}
.login-button:hover {
    color: #131418;
    background-color: #f2f5f7;
    border:1.5px solid #f2f5f7;
    transition: all ease-in-out 350ms;
}
.join-button{
    color: #131418;
    background-color: #61DAFB;
    border: 1.5px solid #61DAFB;
    border-radius: 2em;
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
    cursor: pointer;
}
.join-button:hover {
    color: #f2f5f7;
    background-color: transparent;
    border:1.5px solid #f2f5f7;
    transition: all ease-in-out 350ms;
}

/*Styling Hamburger Icon*/
.hamburger div{
    width: 30px;
    height:3px;
    background: #f2f5f7;
    margin: 5px;
    transition: all 0.3s ease;
}
.hamburger{
    display: none;
}

/*Stying for small screens*/
@media screen and (max-width: 800px){
    nav{
        position: fixed;
        z-index: 3;
    }
    .hamburger{
        display:block;
        position: absolute;
        cursor: pointer;
        right: 5%;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
    }
    .nav-links{
        position: fixed;
        background: #131418;
        color:white;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        clip-path: circle(50px at 90% -20%);
        -webkit-clip-path: circle(50px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
    }
    .nav-links.open{
        clip-path: circle(1000px at 90% -10%);
        -webkit-clip-path: circle(1000px at 90% -10%);
        pointer-events: all;
    }
    .nav-links li{
        opacity: 1;
    }
    .nav-links li:nth-child(1){
        transition: all 0.5s ease 0.2s;
        opacity: 1;
    }
    .nav-links li:nth-child(2){
        transition: all 0.5s ease 0.4s;
        opacity: 1;
    }
    .nav-links li:nth-child(3){
        transition: all 0.5s ease 0.6s;
        opacity: 1;
    }
    .nav-links li:nth-child(4){
        transition: all 0.5s ease 0.7s;
        opacity: 1;
    }
    .nav-links li:nth-child(5){
        transition: all 0.5s ease 0.8s;
        opacity: 1;
    }
    .nav-links li:nth-child(6){
        transition: all 0.5s ease 0.9s;
        margin: 0;
        opacity: 1;
    }
    .nav-links li:nth-child(7){
        transition: all 0.5s ease 1s;
        margin: 0;
        opacity: 1;
    }
    li.fade{
        opacity: 1;
    }
}
/*Animating Hamburger Icon on Click*/
.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
    transition: all 0.7s ease;
    width:0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
}










.header {
  position:relative;
  background: black;
  color:white;
}
.headimg{
    width: 10%;
    margin-top: -0.5%;
    margin-left: 1;
    border-radius: 150px;
    box-shadow: 10px 5px 5px gray;
    background-color: black;
    position:absolute
}
.headimg2{
    width: 12%;
    margin-top: -0.5%;
    border-radius: 150px;
    /* margin-top: 0%; */
    background-color: black;
    margin-left: 11.5%;
    box-shadow: 10px 5px 5px gray;
    position:absolute
}
.headimg3{
    width: 10%;
    margin-top: 0%;
    margin-left: 25.5%;
    border-radius: 25px;
    box-shadow: 10px 5px 5px gray;
    position:absolute
}
.headimg4{
    width: 12%;
    margin-top: 0%;
    margin-left: 38%;
    border-radius: 30px;
    box-shadow: 10px 5px 5px gray;
    position:absolute
}
.listentext{
    font-size: 24px;
    letter-spacing: 3px;
    box-shadow: 10px 10px 5px gray;
}

.videosection{
    width:100%;
    height: 300px;
}

.waves {
  position:relative;
  width: 100%;
  height:15vh;
    margin-top: -10%;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}
.waves3 {
  position:relative;
  width: 100%;
  height:15vh;
    margin-top: -10%;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

@media (max-width: 768px) {
    .header {
        width: 110%;
    }
    .listentext{
        font-size: 10px;
        letter-spacing: 0px;
    }
    .headimg{
        width: 14%;
        margin-top: 4%;
    }
    .headimg2{
        width: 14%;
        margin-top: 4%;
        margin-left: 15%;
    }
    .headimg3{
        width: 14%;
        margin-top: 4%;
        margin-left: 32%;
    }
    .headimg4{
        width: 16%;
        margin-top: 4%;
        margin-left: 48%;
    }
    .videosection{
        width:100%;
        height: 200px;
    }
    .py-3{
        margin-left: 5%;
    }
    .waves3 {
        margin-top: -30%;
    }
}





.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: black;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }
}



/* gallery */
.container4 {
    max-width: 90%;
    margin: 0 auto;

/* 	padding: 0 2rem 2rem; */
}

.heading {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    padding: 3.5rem 0;
    color: #1a1a1a;
}

.heading span {
    display: block;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    /* Compensate for excess margin on outer gallery flex items */
    margin: -1rem -1rem;
}

.gallery-item {
    /* Minimum width of 24rem and grow to fit available space */
    flex: 1 0 24rem;
    /* Margin value should be half of grid-gap value as margins on flex items don't collapse */
    margin: 1rem;
    box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease-out;
}

.gallery-image:hover {
    transform: scale(1.15);
}

/*

The following rule will only run if your browser supports CSS grid.

Remove or comment-out the code block below to see how the browser will fall-back to flexbox styling. 

*/

@supports (display: grid) {
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
        grid-gap: 2rem;
    }

    .gallery,
    .gallery-item {
        margin: 0;
    }
}
