

/* Add responsiveness - on screens less than 580px wide, display the navbar vertically instead of horizontally */
@media screen and (max-width: 580px) {

    .pop-up{
        max-width: 70%;
        /*right: 35%;*/
    }
    
  #navbar {
    flex-wrap: wrap;
    padding: 16px 18px;
  }
  
  .company-name{
    width: 100%;
    font-size: 1.7rem;
  }

  .nav-toggle {
    display: block;
  }

  #navbar-right {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0;
    transition: max-height 0.32s ease, opacity 0.32s ease;
    opacity: 0;
  }

  #navbar.open #navbar-right {
    max-height: 620px;
    opacity: 1;
    padding-top: 0.75rem;
  }

  #navbar-right a,
  .user-button {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    /* height: 50px; */
  }

  .popuptext {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 0.2rem;
    border: 2px solid red;
  }

  .popuptext a {
    width: 100%;
  }

  .slideshow{
    width:95%;
    height: 310px;
  }

  .slideshow img{
    width: 100%;
    height: 310px;
  }

  .intro{
    padding: 10px;    
    min-height: 270px;
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: 1px;
  }

  .feature-grid{
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 0.1rem;
    padding: 15px;
  }

  .features h2{
    font-size: 1.4rem;  
    margin: 0.1rem;
    /* border: 2px solid red; */
  }

  .features p{
    font-size: 0.9rem;
    line-height: 20px;
    word-spacing: 0.5px;
    letter-spacing: 1px;
  }

  .experience-cont{
    width: 90%;
    height: 570px;
  }

.circle-container{
    top: -20%;
    left: 170px;
}

  .plan-container{
    width: 100%;
    margin-top: 1.5rem;
  }

  .testimonial{
    line-height: 1.3rem;
  }

  .profile-pic img{
    object-fit: cover;
  }
  
  .join h1{
    font-size: 1.6rem;
  }

  .join .user a{
    display: block;
    width: 200px;
    margin: 20px auto;
   }

  .crypto-news-container{
    margin: 20px 10px;
  }

  #activity-popup{
    padding: 10px 13px;
  }
  
  .scroll-to-top{
    bottom: 15%;
  
}

.form-section {
    width: 90%;
}

  .dashboard{
    margin: 10px;
    min-height: 700px;
  }

  .dashboard-grid{
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }


  .dashboard-card{
    /* border: 2px solid blue; */
    text-align: left;
  }

  .dashboard-card a{
    width: 43%;
  }
  
  .transactions-grid{
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .investment-grid, .transactions-card{
    margin: 3rem 10px;
  }

.transactions-card h2{
  text-align: center;
}

.deposit, .proof-of-payment, .withdrawal, .investment-details{
    width: 95%; 
}

.company-info span, .company-info ul{
  font-size: 0.9rem;
}

.form-section {
    width: 90%;
}

form input, select, textarea, label, .form-redi-links{
    width: 100%;
}


.form-redi-links a{
  font-size: 0.9rem;
}

.about-hero{
  margin: 10px;
}

}