.nav-container {
    position: relative !important;
    max-width: 2000px;
    width: 100%;
    margin: 0 auto;
}

body{
    background-color: rgb(19, 19, 19);
    animation: wipe-in-up 1s ease-in;

}

.projects-container {
    max-width: 2000px;
    width: 100%;
    margin: 100px auto 0 auto;
    padding: 0 25px;
}


.projects-link {
    color: rgb(134, 199, 255) !important;
}

.projects-title-container {
    display: flex;
    justify-content: center;
}

.projects-title {
    font-size: clamp(30px, 5vw ,50px);
    font-weight: 300;
    align-items: center;
    text-align: center;
    color: rgb(199, 199, 199);

}

.projects-content-container {
    margin-top: 50px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    grid-gap: 30px;

}

.projects-content-container p {
    color: rgb(199, 199, 199)
}

.cajita {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    color:rgb(199, 199, 199);
    width: 300px;
    height: 350px;
    border: 1px solid rgb(199, 199, 199);
    border-radius: 10px;
    padding: 20px;
    grid-gap: 10px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2), 
                -4px -4px 10px rgba(255, 255, 255, 0.5);

    transition: box-shadow 0.3s ease-in-out;
}
.cajita:hover {
    box-shadow: 8px 8px 20px rgba(229, 94, 94, 0.2), 
                -8px -8px 20px rgba(229, 94, 94, 0.797);

    cursor: pointer;

    
}

.cajita-title {
    font-size: 25px;
    font-weight: bold;
    color:rgb(252, 164, 164);
}

.cajita-subtitle {
    margin-bottom: 10px;
}

.cajita img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* On top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  }

  /* Modal content */
  .modal-content {
    background-color: #fff;
    margin: 15% auto; /* Center vertically and horizontally */
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  /* Close button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }

  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
  }



.modal-content h2 {
    margin-bottom: 20px;
}

.modal-content p {
    color:rgb(116, 116, 116);
    margin-bottom: 20px;
}

.modal-content a {
    color: rgb(134, 199, 255);
    text-decoration: none;
}

.final-container {
    margin-top: 50px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: rgb(199, 199, 199);
}

.final-text {
    font-weight: 50;
}