* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}


/*NAVIGATION STYLE*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 1rem;
    color: white;
    border-bottom: black 2px solid;
}

.menu-icon {
    font-size: 2rem;
    cursor: pointer;
    color: black;
}

.brand-title a {
    font-size: 2rem;
    font-variant: small-caps;
    color: black;
    font-weight: 700;
    text-decoration: none;
}

.blue{
color:#47a0ff;
}

/* The side navigation menu */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 16px 15px;
    text-decoration: none;
    font-size: 1.5rem;
    font-variant: small-caps;
    text-align: center;
    color: black;
    display: block;
    transition: 0.3s;
    font-weight: 500;
}

#special{
  background: #1c89ff;
  color: white;
  width: 60%;
  margin: 0 auto;
  padding: 15px;
  border-radius: 5px;
  transition: all 1s;
}

#special:hover{
   background: #124c86;
}

.sidenav a:hover {
    color: #027bfd;
}

.sidenav .closebtn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    background: transparent;
    border: none;
}

/* overlay */
.overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
    display: none;
}


/*Banner Style*/
.banner {
    display: flex;
    overflow: hidden;
    justify-content: center;
    padding-top: 50px;
    background-color: #f5f5f5;
}

video {
    border: 5px solid black;
}

#mobileb{
    display: none;
    width: 100%;
    height: auto;
 }

/* Introduction Style*/
.intro{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f5f5;
}

h1,h2{
    font-size: 2em;
    letter-spacing: 1px;
    font-variant: small-caps;
    text-align: center;
    width: 40%;
}

p,.work-para {
    font-size: 1.3em;
    border-radius: 10px;
    text-align: justify;
    font-family: 'Tahoma', sans-serif;
    width: 70%;
}

.work-para{
 margin: 0 auto;
 padding-bottom: 20px;
 text-align: center;
}

/*-----Universes Style---------*/
/*Choose Universe*/
    .universe {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      padding-top: 1%;
      width: 70%;
      margin: 0 auto;
     }
      
    .box {
      width: 200px;
      height: 200px;
      background-color: #f0f0f0;
      border: 1px solid #ccc;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 20px;
      transition: transform 0.4s ease;
     }
    
    .box:hover{
      transform: scale(1.10);
      box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2), 0 6px 20px 0 rgba(255, 255, 255, 0.19);
    }
      
    .box h3 {
       margin: 0;
    }


    .one{
      background-image: url('images/one.png');
      background-size: cover;
     }
  
     .two{
      background-image: url('images/two.png');
      background-size: cover;
     }
  
     .three{
      background-image: url('images/three.png');
      background-size: cover;
     }
  
     .four{
      background-image: url('images/four.png');
      background-size: cover;
     }
  
     .five{
      background-image: url('images/five.png');
      background-size: cover;
     }
  
     .six{
      background-image: url('images/six.png');
      background-size: cover;
     }
  
     .seven{
      background-image: url('images/seven.png');
      background-size: cover;
     }
  
     .eight{
      background-image: url('images/eight.png');
      background-size: cover;
     }
  
     .nine{
      background-image: url('images/nine.png');
      background-size: cover;
     }
  
     .ten{
      background-image: url('images/ten.png');
      background-size: cover;
     }
  
     .eleven{
      background-image: url('images/eleven.png');
      background-size: cover;
     }
  
     .twelve{
      background-image: url('images/twelve.png');
      background-size: cover;
     }
  
     .thirteen{
      background-image: url('images/thirteen.png');
      background-size: cover;
     }
  
     .fourteen{
      background-image: url('images/fourteen.png');
      background-size: cover;
     }
  
     .fifteen{
      background-image: url('images/fifteen.png');
      background-size: cover;
     }
  
     .sixteen{
      background-image: url('images/sixteen.png');
      background-size: cover;
     }
  
     .seventeen{
      background-image: url('images/seventeen.png');
      background-size: cover;
     }
  
     .eighteen{
      background-image: url('images/eighteen.png');
      background-size: cover;
     }   


/*Popular Calisthenics / Weights*/
.weight,
.calisthenics {
  position: relative;
  overflow: hidden;
  padding: 20px;
}


.blue{
  color: #027bfd;
}

.uni-header,
.weights-header,
.cali-header{
  font-size: 2.3em;
  letter-spacing: 1px;
  margin: 0 auto; 
  padding-bottom: 10px; 
}


.uni-header{
  padding-top:50px;
}

.weights-header{
  padding-top: 30px;
}

.cali-header{
  padding-top: 30px;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: 100%;
 
}

.character {
  flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.character:hover{
  transform: scale(1.04);
}
.character img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 0px 0px 10px 10px;
  margin-bottom: 10px;
}

.name {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  background-color: black;
  padding: 7px;
  width: 100%;
  margin: 0 auto;
  border-radius: 10px 10px 0px 0px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color:white;
  border: none;
  padding: 0.5em 0.8em;
  font-size: 2rem;
  cursor: pointer;
  z-index: 5;
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}


.buttonw{
  background-color: #027bfd;
  border: none;
  color: white;
  padding: 15px 40px;
  font-weight: 600;
  margin: 20px;
  font-size: 1.1em;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #027bfd;
}

.buttonw:hover{
  background-color: transparent;
  color: #027bfd;
  border: 2px solid #027bfd
}

/*-------Gel--------*/
.mid-image{
  padding: 25px;
}

.gel{
 padding-bottom: 10px;
 background-image: url('../images/gel.png');
 background-repeat: no-repeat;
 background-position: center;
 height: 350px;
}



/*--------Challenge---------*/
.challenges{
  background-color: #f5f5f5;
  padding: 40px;
 
}

.ch-header{
  padding-top: 20px;
  margin: 0 auto;
}

.challenges p{
  padding-top: 20px;
  text-align: left;
  margin: 0 auto;
  width: 80%;
}

.Chall2 {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px;
}

.panel-chall {
  background: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 30px 0;
  overflow: hidden;
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.panel-image,
.panel-imagetwo {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  max-width: 300px;
  flex-shrink: 0;
}

.panel-image {
  background-image: url('images/PullUps.png');
}

.panel-imagetwo {
  background-image: url('images/Saiyan.png');
}

.panel-chall h3 {
  text-align: center;
  font-size: 24px;
}

.panel-chall p {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  font-size: 20px;
}

.panel-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.but-cen{
  display: flex;
  justify-content: center;
}

.buttonc{
  background-color: #027bfd;
  border: none;
  color: white;
  padding: 15px 40px;
  font-weight: 600;
  margin: 20px;
  font-size: 1.1em;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #027bfd;
}

.buttonc:hover{
  background-color: transparent;
  color: #027bfd;
  border: 2px solid #027bfd
}

/*footer*/
footer{
    background-color: white;
    height: auto;
  }

  .footer-content{
   display: flex;
   justify-content: center;
   flex-direction: column;
   padding-top: 10px;
  }


  .socials{
   list-style: none;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 2rem 0 2rem 0;
  }

  .socials li a i{
   margin: 0 15px;
   text-decoration: none;
   color: black;
   font-size: 2rem;
   transition: color .4s ease;
  }

  .footer-bottom{
   background: #000;
   padding: 5px 0;
   text-align: center;
   font-family:'Tahoma', sans-serif;
  }

  .footer-bottom p {
    color:white;
    text-align: center;
    font-size: 16px;
    margin:0 auto;
    padding: 10px;
  }

  .footer-bottom p:hover{
    text-decoration: underline;
  }
  

/* -------Media Query for mobile view------- */

/*nav icon*/
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }
}

/*Logo Nav*/
@media (max-width: 700px) {
  .brand-title a {
    font-size: 1.7rem;
  }
}


/*Banner*/

@media screen and (max-width:1300px){
    .banner{
      width: 100%;
      margin: 0 auto;
    }
    
}

@media screen and (max-width:930px){
    video{
        display: none;
        border: 2px solid black;
      }
    
      .banner{
        padding: 0px;
      }
    
      #mobileb{
        display:block;
    }
}

/*intro*/
@media screen and (max-width: 740px) {
   
    h2{
        width: 80%;
    }
}

/*calisthenics & weights*/
@media (min-width: 760px) {
  .carousel-track {
    flex-wrap: wrap;
    justify-content: center;
    transform: none !important;
  }

  .character {
    flex: 0 0 auto;
    max-width: 300px;
    margin: 0 10px;
  }
  
  .carousel-btn {
    display: none;
  }
}

@media (max-width: 760px) {
  .name{
    display: none;
  }

  .character{
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 auto; 
  }
}

@media (max-width:800px) {

    .cali-header,
    .weights-header{
        font-size: 30px;
    }

    .work-para{
    width: 100%;
    padding: 8px;
    }

    .challenges p {
    width: 100%;
     }
    
    .box{
        width: 140px;
        height: 140px;
    }
    
}

@media (max-width:1200px){
 .gel1{
  display: none;
 }
 
 .gel{
  background-image: url('../images/mobilegel.png');
  background-size: cover;
  height: 340px;
 }

 .mid-image {
  padding: 0px;
}

}

/*challenge*/
@media (max-width: 734px) {
 
  .panel-image,
  .panel-imagetwo {
   display: none;
    
  }

}
@media (max-width:850px) {
   .universe{
      width: 100%;
    }
  }