@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap");

.containerdivcards {
    width: 100%;
    height: 100%;
}

.divTitle {
    display: flex;
    width: 100%;
    text-align: left;
    padding-bottom: 1%;
}

.rowtitle {
    padding-left: 2%;
    width: 100%;
    text-align: left;
}

.titlePortafolio {
    display: flex;
    text-align: left;
}

.titulo {
    text-align: center;
    padding-top: 3%;
    font-size: 47px;
    font-family: "Montserrat";
    color: rgb(21, 16, 88);
    font-weight: bolder;
}

.titulo2 {
    text-align: left;
    padding-left: 3%;
    padding-top: 3%;
    font-size: 40px;
    font-family: "Montserrat";
    color: rgb(21, 16, 88);
    font-weight: bolder;
}

.imiconP {
    padding-left: 2%;
    padding-top: 4%;
    width: 4%;
    height: 4%;
}

.descip {
    font-size: 20px;
    font-family: "Montserrat";
    font-weight: lighter;
    padding-left: 5%;
}

.div-cardsportafolio {
    width: 100%;
    height: 100%;
    font-family: "Montserrat";
    padding-top: 3%;
    padding-bottom: 3%;
    overflow: auto;
    padding-left: 10%;
    padding-right: 10%;
}

.cardproject {
    float: left;
    margin-left: 3%;
    width: 28rem;
    height: 28rem;
    background-color: rgba(139, 163, 216, 0.185);
}

.imgcard {
    height: 60%;
    background-position-y: center;
    filter: saturate(150%);
    object-fit: cover;
}

.bodycard {
    height: 40%;
    margin: auto;
    justify-content: center;
    text-align: center;
}

.titlecard {
    font-size: 18px;
    font-family: "Montserrat";
    font-weight: bold;
    text-align: center;
}

.btnopenemodal {
    color: #ffffff;
    background-color: #1d1bbd;
    border-color: #f2f2f2;
    border-radius: 50px;
    padding-left: 15%;
    padding-right: 15%;
    font-family: "Montserrat";
    margin-top: 5%;
}

.btnopenemodal:hover,
.btnopenemodal:focus,
.btnopenemodal:active,
.btnopenemodal.active,
.open .dropdown-toggle.btnopenemodal {
    color: #ffffff;
    background-color: #2a738c;
    border-color: #f2f2f2;
}

.btnopenemodal:active,
.btnopenemodal.active,
.open .dropdown-toggle.btnopenemodal {
    background-image: none;
}

.btnopenemodal.disabled,
.btnopenemodal[disabled],
fieldset[disabled] .btnopenemodal,
.btnopenemodal.disabled:hover,
.btnopenemodal[disabled]:hover,
fieldset[disabled] .btnopenemodal:hover,
.btnopenemodal.disabled:focus,
.btnopenemodal[disabled]:focus,
fieldset[disabled] .btnopenemodal:focus,
.btnopenemodal.disabled:active,
.btnopenemodal[disabled]:active,
fieldset[disabled] .btnopenemodal:active,
.btnopenemodal.disabled.active,
.btnopenemodal[disabled].active,
fieldset[disabled] .btnopenemodal.active {
    background-color: #1d1bbd;
    border-color: #f2f2f2;
}

.btnopenemodal .badge {
    color: #1d1bbd;
    background-color: #ffffff;
}

.modal-dialog {
    margin-top: 15%;
}

.modal-body {
    color: black;
    text-align: justify;
}

.descripcard {
    font-family: "Montserrat";
    font-size: 15px;
    padding-left: 5%;
    padding-right: 5%;
}

.titlemodal {
    font-size: 18px;
    font-family: "Montserrat";
    font-weight: bold;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 2%;
    padding-bottom: 2%;
}

.footermodal {
    font-size: 15px;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 3%;
    padding-bottom: 3%;
    justify-content: center;
}

.btnclosemodal {
    color: #ffffff;
    background-color: #1d1bbd;
    border-color: #f2f2f2;
    border-radius: 50px;
    padding-left: 5%;
    padding-right: 5%;
    font-family: "Montserrat";
}

.btnclosemodal:hover,
.btnclosemodal:focus,
.btnclosemodal:active,
.btnclosemodal.active,
.open .dropdown-toggle.btnclosemodal {
    color: #ffffff;
    background-color: #2a738c;
    border-color: #f2f2f2;
}

.btnclosemodal:active,
.btnclosemodal.active,
.open .dropdown-toggle.btnclosemodal {
    background-image: none;
}

.btnclosemodal.disabled,
.btnclosemodal[disabled],
fieldset[disabled] .btnclosemodal,
.btnclosemodal.disabled:hover,
.btnclosemodal[disabled]:hover,
fieldset[disabled] .btnclosemodal:hover,
.btnclosemodal.disabled:focus,
.btnclosemodal[disabled]:focus,
fieldset[disabled] .btnclosemodal:focus,
.btnclosemodal.disabled:active,
.btnclosemodal[disabled]:active,
fieldset[disabled] .btnclosemodal:active,
.btnclosemodal.disabled.active,
.btnclosemodal[disabled].active,
fieldset[disabled] .btnclosemodal.active {
    background-color: #1d1bbd;
    border-color: #f2f2f2;
}

.btnclosemodal .badge {
    color: #1d1bbd;
    background-color: #ffffff;
}

@media screen and (min-width: 400px) and (max-width: 600px) {
    .titulo {
        padding-top: 9%;
        font-size: 30px;
    }

    .titulo2 {
        font-size: 22px;
    }

    .descip {
        font-size: 18px;
    }

    .imiconP {
        width: 6%;
        height: 6%;
        padding-top: 6%;
    }

    .div-cardsportafolio {
        text-align: center;
        justify-content: center;
    }

    .cardproject {
        margin: auto;
        margin-bottom: 7%;
        float: left;
        width: 100%;
    }

    .btnopenemodal {
        margin-top: 1%;
    }

    .bodycard {
        font-size: 12px;
    }
}
