* {
    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;
}

/*----------CHALLENGES--------*/
.challenges{
   padding: 10px;
}

.header{
  text-align: center;
  font-size: 2em;
  letter-spacing: 1px;
  font-variant: small-caps;
}

.header2{
   text-align: center;
  font-size: 2em;
  letter-spacing: 1px;
  font-variant: small-caps;
  padding-top: 50px;
  margin: 0px;
}

.challenges p{
  font-size: 1.2em;
  text-align: justify;
  font-family: 'Tahoma', sans-serif;
  width: 70%;
  margin: 0 auto;
}

/*challegne and pararaph*/
.chall-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  
}

.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-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.panel-info h3 {
 text-align: center;
  font-size: 24px;
}

.panel-info p {
   width: 100%;
  max-width: 250px;
  margin: 0 auto;
  font-size: 20px;
}

.panel-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  max-width: 300px;
  flex-shrink: 0;
}

.panel-imageone {
  background-image: url('../images/PullUps.png');
}

.panel-imagetwo {
  background-image: url('../images/Saiyan.png');
}

.panel-imagethree{
background-image: url('../images/IronWill.png');
max-width: 340px;
}

.panel-imagefour{
  background-image: url('../images/LegBurn.png');
  max-width: 340px;
}

.panel-chall {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s ease-out forwards;
}


.para-info p{
    width: 50%;
    margin: 0 auto;
    padding-bottom: 50px;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*------FOOTER-----*/
footer{
    background-color: white;
    height: auto;
  }

  .footer-content{
   display: flex;
   justify-content: center;
   flex-direction: column;
   padding-top: 10px;
   background-color: #f5f5f5;
  }


  .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;
    }
}
@media (max-width:800px) {

    .header{
        font-size: 27px;
    }
    
}

@media (max-width: 734px) {
 
  .panel-image,
  .panel-imagetwo {
   display: none;
  }

  .panel-info p{
   font-size: 17px;
  }

}

@media (max-width:1400px) {
   .para-info p{
      width: 70%;
    }
}

@media (max-width:1000px) {
   .para-info p{
      width: 80%;
    }
}

@media (max-width:900px) {
   .para-info p{
      width: 90%;
    }

    .challenges p{
      width: 90%;
    }
}