.main-content {
    background-color: #3d3e3f;
}

.arrow-container {
    border-style: none !important;
    background-color: transparent !important;
}

.centered-title-imgs {
    text-align: center;
}

.centered-title-imgs h5 {
    font-size: 30px;
    font-weight: bold;
    text-decoration: underline;
}

.img-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;

    padding-left: 30%;
    padding-right: 30%;
    padding-bottom: 30px;
}

.img-grid-container img {
    width: 150px;
    cursor: pointer;

    transition: scale 0.5s, rotate 0.5s;
}

.img-grid-container img:hover {
    scale: 0.97;
    rotate: 3deg;
}

.img-grid-container img:active {
    scale: 0.95;
}

.img-with-title {
    text-align: center;
}

.img-with-title h5 {
    font-size: 30px;
    font-weight: bold;
    text-decoration: underline;
    border-radius: 10px;
}

/* PARTE 2*/ 

#background {
    background-image: url("../../../../assets/images/course/modulo3/m3-2/tree_bg.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 700px;
}

#image-container {
    display: grid;
    align-content: center;
    justify-items: center;
    grid-template-columns: 1fr 1fr;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    width: 90%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    height: 60%;
}

#image-column {
    display: grid;
}

#image-column > div {
    width: 160px;
}

#adaptacion-img{
    padding-top: 15px;
    margin-left: auto;
    margin-right: 15%;
}

#escenariocc-img{
    padding-top: 10px;
    margin-left: auto;
    margin-right: 15%;
}

.img-container :hover {
    cursor: pointer;
    /* animation: hoveran 1s infinite; */
}

.text-card{
    display: flex;
    z-index: 10;
    width: 800px;
    /* height: 70%; */
    /* background-color: white; */
    display: none;
    position: absolute;
    top: 20%;
    left: 30%;
    border-radius: 10px;
}

#adaptacion-parrafo > p {
    font-size: 18px;
    font-weight: 600;
    padding: 15px;
}

#escenariocc-parrafo > p {
    height: fit-content;
    font-size: 18px;
        font-weight: 600;
        padding: 15px;
}

#escenariocc-parrafo {
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../../../../assets/images/course/modulo3/m3-2/desert_bg.jpg");
}

#adaptacion-parrafo {
    background-image: url(../../../../assets/images/course/modulo3/m3-2/world_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.close {
    width: 50%;
    justify-content: right;
    padding-top: 5px;
}

#title-acciones{
    font-size: 80px;
    color: white;
    padding-left: 20%;
    /* width: 20%; */
    /* position: absolute; */
    /* transform: translate(50%, 0); */
    font-weight: 700;
}

.close :hover {
    cursor: pointer;
}

.modal-header button{
    width: auto;
}

@keyframes open {
    0% {
        opacity: 0;;
    }
    100%{
        opacity: 100%;
    }
}

@keyframes hoveran {
    0% {
        width:100%;
    }
    50%{
        width: 98%;
    }
    100%{
        width: 100%;
    }
}


@media only screen and (max-width: 767px) {
    .container-fluid .card-title {
        font-size: 30px !important;
    }

    .img-grid-container {
        padding-left: 10%;
        padding-right: 10%;
        column-gap: 15px;
    }

    .text-card{
        display: flex;
        z-index: 10;
        /* width: 800px; */
        width: calc(100% - 30px);
        /* height: 70%; */
        /* background-color: white; */
        display: none;
        position: absolute;
        top: 20%;
        /* left: 30%; */
        right: 0;
        left: 0;
        margin-left: auto;
        margin-right: auto;
        border-radius: 10px;
    }

    .card-block {
        padding-top: 3px !important;
    }

    #image-container {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    #title-acciones{
        text-align: center;
        font-size: 40px;
        color: white;
        padding-left: 0%;
        /* width: 20%; */
        /* position: absolute; */
        /* transform: translate(50%, 0); */
        font-weight: 700;
    }

    #image-column {
        grid-template-columns: 1fr 1fr;
    }
    
}