@import url('fonts.css');

html,body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body{
  background-image: url(../../assets/Backgrounds/fondoBlanco.png);
  display: flex;
  flex-direction: row;
  overflow-y: hidden;
}

/* Agrega estos estilos al final de tu CSS */
#loadingContainer {
  width: 100%;
  text-align: center;
  padding: 2rem 0;
}

.spinner-border {
  color: #4A6CF7; /* Color azul similar al de Bootstrap */
}

#loadingContainer p {
  color: #555;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.texto{
  font-family:'Montserrat-Bold';
  color: #2b2c61;
}

.card-img-top{
  background-color: transparent;
}

.bodyContent {
  width: 100%;
  padding: 20px;
}

.title {
  font-family: 'Montserrat-Bold';
  text-align: center;
  font-size: 60px;
  margin: 20px 0;
  color: #30235c;
  font-weight: 700;
}

.sub_tittle{
    font-family: 'Montserrat-Bold';
    text-align: center;
    font-size: 20px;
    margin: 20px 0;
    color: #30235c;
    font-weight: 700;
}

.header {
    width: 100%;
    border-bottom: 3px solid white;
  }

.projectCards {
  padding: 10px 0 0 40px;
  height: 69vh;
  overflow-y: auto;
}

.card{
  align-items: center;
  height: 90% !important;
  width: 90%;
  padding: 10px 10px;
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
}

.img {
  width: 45vh !important;
  height: 28vh;
  border-radius: 8px;
  /* object-fit: contain; */
  background-color: #f0f0f0;
  border: none;
  outline: none;/* Quita cualquier contorno al hacer clic */
  top: -2rem;
  position: relative;
  display: block;
}

img {
  width: 50px; 
  height: 80px;
  border-radius: 8px;
  object-fit: contain; 
  background-color: #f0f0f0; 
  border: none; /* Asegura que no tenga borde */
  outline: none; /* Quita cualquier contorno al hacer clic */
}

img:focus, 
img:active {
  outline: none; 
  border: none; 
}

.btn_close{
  width:59px;
  position: absolute;
  top: -16px;
  background-color: transparent;
  left: 82%;
}

.btn-remove-image {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ff4d4d;
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
}

.row{
  display: flex !important;
}

.name_proy {
  width: 100%;
  border: 1px solid #7A54FF; 
  border-radius: 5px;
  padding: 5px;
  background-color: #b1aecc3d ;
}


::-webkit-scrollbar {
    width: 11px;
}

::-webkit-scrollbar-track {
    background: #e2d9ff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #9678ff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7458da;
}

::-webkit-scrollbar-thumb:active {
    background: #6141d2;
}

@media (max-width: 768px) {
  .row > * {
    padding-right: calc(var(--bs-gutter-x)* 1.5);
}

.text_btn { 
   padding: 0 1.3rem 0 0;
}
  .title {
    font-size: 2rem;
  }
  
  .modal-titulo {
    font-size: 1.5rem;
  }
  
  .projectCards {
    grid-template-columns: repeat(2, 1fr);
  }

  .col-3{
    flex: 0 0 auto;
    width: 50% !important;
  }
}

@media (max-width: 480px) {
  .row{
    /* flex-shrink: 0; */
    /* width: 100%; */
    /* max-width: 100%; */
    padding-right: calc(var(--bs-gutter-x)* 1.5);
    /* padding-left: calc(var(--bs-gutter-x)* 0.5); */
    /* margin-top: var(--bs-gutter-y); */
}
.text_btn { 
  padding: 0 1.3rem 0 0;
}
  .texto {
    flex-wrap: nowrap;
    justify-content: center;
  }
  
  .modal-titulo {
    font-size: 1.2rem;
  }
  
  .projectCards {
    grid-template-columns: repeat(1, 1fr);
  }

  .col-3{
    flex: 0 0 auto;
    width: 100% !important;
  }

  .card{
    width: 100%;
  }
   .card-img-top{
    width: 150px !important;
   }
}

.nombre_proy{
  padding: 5px;
  font-family: 'Montserrat-Bold';
  color: #423e71;
}