.body {
    font-family: 'open sans';
}

.flex{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal{
    display: none;
    position: fixed;
    z-index: 1;
    overflow: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.507);
}

.modal1{

    position: fixed;
    z-index: 1;
    overflow: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.507);
}

.contenido-modal{
    position: relative;
    background-color: #fefefe;
    margin: auto;
    width: 75%;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.308);
    animation-name: modal;
    animation-duration: 1.5s
}



@keyframes modal{
    from{top:-330px; opacity:0;}
    to{top:0; opacity:1;}
}

.close{
    color: #f2f2f2;
    font-size: 30px;
    font-weight: bold;
}

.close:hover{
    color: #7f8c8d;
    text-decoration: none;
    cursor: pointer;
}

.modal-header{
    padding: 8px 16px;
    background: #2C3E50;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #4CA1AF, #2C3E50);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #4CA1AF, #2C3E50); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #f2f2f2;
}

.footer{
    padding: 8px 16px;
    background: rgba(44, 62, 80, 0.712);  /* fallback for old browsers */
    color: #f2f2f2;
}
p{
    text-align: justify;
}

.modal-body{
    padding: 15px 16px;
}

.modal-body > img{
    height: 390px;
    float: right;
}

.modal-img > img{
    height: 450px;
    float: right;
}

.modal-img1 > img{
    height: 390px;
    float: right;
}
.modal-img2 > img{
    height: 400px;
    float: right;
}
.modal-img3 > img{
    height: 350px;
    float: right;
}
.modal-img4 > img{
    height: 320px;
    float: right;
}
.modal-img5 > img{
    height: 480px;
    float: right;
}
.colorp > p{
    color: rgb(189, 16, 16);
}