/*Ver modelos*/
.models-nav{
    max-width: 1200px;
}
.models-nav > li{
    margin: 1.5rem;
}
.models-nav a{
    padding: 0.5rem;
    border-radius: 2px;
    color: rgb(182, 84, 84)!important;
    font-weight: bold;
}
.models-nav a:hover{
    background-color: rgb(182, 84, 84);
    color: white!important;
}

.tab-pane > div{
    display: flex!important;
    justify-content: center;
}
.tab-pane img{
    width: 98%;
    max-width: 1000px;
    object-fit:cover;
}

@media only screen and (max-device-width: 768px) {

    .models-nav > li{
        margin: 0.5rem;
    }
    .models-nav a{
        font-size: 1rem;
    }
}

/*Galeria*/
.slider{
    background-color: #b65454;
}
.slider-container{
    display: flex;
    margin: 1.5rem;
    max-width: 1000px;
}
.slider-container > div{
    padding:3px;
}
.show-image{
    display: flex;
    align-items: center;
    max-height: 300px;
    padding:5px;
    aspect-ratio: 3/2;
}
.show-image:hover{
    border-radius: 3px;
    padding: 0px;
    background-color: black;
    cursor: pointer;
}
.show-image > img{
    border-radius: 3px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.show-image > img:hover{
    opacity:0.6;
}

#myImg {
    border-radius: 5px;
    transition: 0.3s;
}  
#myImg:hover {
    opacity: 0.7;
}
  
  
/*image modal*/
.image-modal{
    display: none; /* Hidden by default */
    justify-content: center;
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
    width: 80%;
    max-width: 700px;
    max-height: 80%;
    border-radius: 5px;
    border: none;
    background-color: transparent;
    object-fit: contain;
}

  .modal-content{    /* Add Animation */
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  @media only screen and (max-width: 700px){
    .modal-content{
      width: 100%;
    }
  }
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  .close-modal{
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  .close-modal:hover, .close-modal:focus{
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }