/* colors */

.bgc-textil{
    background-color: var(--color-textil);
}

.bgc-barro{
    background-color: var(--color-barro);
}

.bgc-agro{
    background-color: var(--color-agro);
}

.bgc-recontruction{
    background-color: var(--color-recontruction);
}

.bgc-comunication{
    background-color: var(--color-comunic);
}

/* head */
.program-head-contain{
    display: grid;
    grid-template-columns: 1fr .8fr;
    margin: 5rem 0 ;
}

.program-head-logo{
    display: grid;
    line-height:normal; 
    grid-gap: 3rem;
	margin-bottom:2rem;
}

.program-head-img{
    background-size: cover;    
    background-repeat: no-repeat;
}

.program-head-logo span{
    display: grid;
    font-family: 'EB Garamond', serif;
    font-style: italic;
    justify-self: start;
    align-self: start;
    font-size: 9vw;
    line-height: 100%;
}

.program-head-text{
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.program-head-text p{
    text-align: end;
    justify-self: end;
    align-self: end;
    width: 51%;
    line-height:normal; 
}

.program-head-img{
    width: 100%;
    height: calc(10rem + 41vw);
}

.program-comunication-text{
    color:var(--bgc);
}


/* content */
.program-main-contain{
    display: grid;
    /* grid-template-rows: repeat(3, 1fr); */
    margin: 5rem 0rem;
    padding: 1rem 2rem;
    grid-gap: 5rem;
	padding-bottom: 5rem;
    
}

.program-main-row{
    display: grid;
    grid-template-columns: 1fr 1fr ;
}

.program-main-number-big{
    line-height: normal;
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: calc(5rem + 8.5vw);
    align-self: center;
}

.program-main-text{
    line-height: normal;
    font-size: 50px;
    width: 50%;
    align-self: center;
}

.program-main-text-big{
	width:auto !important;
}

.program-main-btn{
    justify-self: end;
    align-self: end;
    margin-bottom: 3.5rem;
    margin-right: 2rem;
}

.right{
    text-align: end;
    width: 80%;
    text-align: end;
    justify-self: end;

    align-self: end;
    padding-bottom: 2.4rem;
}

.full{
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.grid-end{
	grid-column:3;
}

/* body */
.program-text-contain{
    display: grid;
    grid-template-columns: .5fr 1fr;
    margin: 5rem 0;
    line-height: normal;
}

.program-text-left{
    display: grid;
    justify-content: start;
    align-content: center;
}

.program-text-lateral{
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 120px;    
    line-height: normal;    
    width: 100%;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

.program-text-right{
    display: grid;
    grid-row-gap: 2rem;
    line-height: normal;
    width: 100%;
    justify-content: center;
    align-content: center;
}

.program-text-titles{
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    line-height: normal;
}

.program-text-btn{
    grid-column: 1 / -1 ;
    display: grid;
    justify-content: end;    
    align-content: end;
    margin: 5rem;
}

/* Card */

.program-card-contain{
    display: grid;
    grid-template-columns: .55fr 1fr;
    margin: 5rem 0rem;
    line-height: normal;    
}

.program-card-content{
    display: grid;
    grid-row-gap: 4rem;
    padding: 4rem 2rem;
}

.program-card-side-left{
}

.program-card-frase{
    display: grid;
    grid-row-gap: 1rem;
}

.program-card-frase p{
    font-size: 22px;
    line-height: normal;
	text-align:center;
}


.program-card-frase span{
    font-size: 13px;
    line-height: normal;
    justify-self: end;
    align-self: end;
}

.program-card-footer{
    display: grid;
    grid-row-gap: 2rem;
}

.program-card-title{
    font-size: 33px;
    line-height: normal;
	text-align:center;
}

.program-card-btns{
    display: grid;
    grid-template-columns: 1fr 1fr;    
}

.program-card-btns a{
    justify-self: center;
    align-self: center;
}

.program-card-side-right{
}

.program-card-img{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.program-iframe{
    width: 100%;
    height: 10rem;
}

.position-agro{
    background-position-y: 16% !important;
}

@media (max-width: 1000px) {

	.program-main-text {
    	font-size: 2.5rem;
	}
    .program-main-contain{
        margin: 5rem 0;
        padding: 2rem 0;
    }

    .right{
        align-self: center;
        padding-bottom: 0;
    }
    
    .program-main-btn{
        justify-self: center;
        margin: 0;
    }

    .program-main-number-big {
        text-align: center;
    }

    .row-media-2{
        grid-row: 2;
        justify-self: center !important;
    }

    .full {
        display: grid;
        padding-bottom: 2rem;
    }
    
    .program-main-text{
        width: 100%;
        align-self: center;
        justify-self: center;
        text-align: center;
    }

    .program-main-row {
        grid-template-columns: auto;
		justify-content: center;
    }

    .program-head-contain{
        grid-template-columns: 1fr;
        margin: 5rem 0;
    }


    .program-head-text p{
        width: 100%;
    }

    .program-head-logo{
        grid-gap: 0rem;
    }
    
    .program-head-contain{        
        line-height:normal; 
    }

    .program-head-text {
        grid-template-rows: 1fr;
    }

    .program-head-logo span{        
        line-height:normal; 
    }

    .program-text-contain{
        grid-template-columns:1fr;
    }   
    
    .program-text-left{
        display: none;
    }
    
    .program-text-titles {
    	font-size: 2.5rem;
    }
    
    .viernes{
        font-size: 32px;
    }

    .program-text-btn {
        justify-content: center;
        align-content: center;
    }

    .program-card-contain{
        margin: 5rem 0px;
        grid-template-columns:  1fr;
    }

    .program-card-content{
        padding: 4rem 1rem;
    }
    
    .program-card-side-right{
        grid-row: 1;
    }

    .program-card-img {
        height: 30rem;
    }

    .program-card-btns {
        margin: -.7rem;
    }
}

@media (max-width: 500px) {
	.program-main-text {
		font-size: 35px;
	}
	.viernes{
		font-size: 1.5rem;
    }
	
	.program-text-btn {
		margin: 5rem 2rem;
	}

}