:root
{
    background: #393d42;
}

.navbar-brand{
    background:black;
    
}
.navbar-menu
{
    background: black;
}
.navbar-burger{
    color: white !important;
}
.navbar-burger.is-active{
    color: white;
}
.container-general, .modal-card-body{
     display: grid;
    grid-template-rows: auto auto; 
    gap: 15px; 
    
}
.card, .gallery-item{
    max-width: 90% !important;
    box-shadow: 0 .5em 1em -.125em #ffffff;
    min-width: 20% !important;
    opacity: 0.94;
    background: #fff;
    width: 300px !important;
    height: 720px !important;
    margin: 0px !important;
    padding: 0px !important;
}
.card:hover{
    box-shadow: 0 .5em 2em 0.3em #ffeb00;
    opacity: 1;
    transition: all 2 ease-in-out;
}
.card-title{
    padding-bottom: 6%;
}
.title{
    color: black !important;
    font-weight: bold !important;
}
p{
    color: black !important;
}
.content{
    margin-top: 5%;
}
.fundadores {   
    margin: 0px 20px 20px 20px;
    padding: 0px 10px 0px 10px;
    border-radius: 2.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100% !important;
  }

  .profesores, .gallery-container{  
      margin: 0px 20px 20px 20px;
    padding: 0px 10px 0px 10px;
    border-radius: 2.125rem;
    display: flex; 
    align-items: center;
    justify-content: center;
    gap: 10px; 
    flex-wrap: wrap;

  }
 
@media (max-width: 768px) {
    .fundadores {
        flex-direction: column;
    }

    .profesores,.gallery-container {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 10px;
    }

    .card,.gallery-item {
        max-width: 100% !important; 
    }
}

.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    text-align: center;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover {
    color: red;
  }

  
.gallery-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 20px;
    padding: 20px;
    background-color: #393d42; 
}

.gallery-item {
    display: flex;
    justify-content: center; 
    height: auto !important; 
    overflow: hidden; 
    
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}