@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root{
    --Green_one: #223621ff;
    --Green_two: #374C38ff;
    --Green_three: #4B6A46ff;
    --Green_four: #5F865Eff;
    --Green_five: #E4EAE1ff;
}

.seccion_tres{
    width: 100%;
    height: 80vh;
    min-height: 500px;
    max-height: 800px;
    color: #fff;
    background-color: var(--Green_five);
}
.contenedor_descripcion{
    display: grid;
    grid-template-columns:  1fr 2fr;
    place-items: center;
    height: 80vh;
    color: #000;
}
.imagen_descripcion{
    width: 450px;
    height: 390px;
    border-radius: 50%;
    margin: 0 3rem;
    box-shadow: -1px 60px 72px -2px rgba(0,0,0,0.52);
    opacity: 0;
    transition: 1.2s;
}
.imagen_descripcion--visible{
    opacity: 1;
}
.parrafo_descripcion{
    font-family: "Saira Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 65px;
    padding: 20px;
    opacity: 0;
    transition: 1.2s;
}
.parrafo_descripcion--visible{
    opacity: 1;
}

/*Footer*/
.footer{
    width: 100%;
    min-height: 200px;
    max-height: 800px;
    color: #fff;
    background-color: rgba(34, 54, 35, 0.8);
}
.footer_titulo{
    margin-bottom: 20px;
    font-size: 35px;
    letter-spacing: 5px;
    text-align: center;
    opacity: 0;
    transition: 1.2s;
}
.footer_titulo--visible{
    opacity: 1;
}
.footer_subtitulo{
    font-size: 15px;
    letter-spacing: 2px;
    text-align: center;
    opacity: 0;
    transition: 1.2s;
}
.footer_subtitulo--visible{
    opacity: 1;
}
.footer_redes{
    display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
    padding: 20px;
}
.copyright{
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255, 0.5);
    padding: 15px;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 550;
    opacity: 0;
    transition: 1.2s;
}
.copyright--visible{
    opacity: 1;
}
.iconos_redes{
    display: flex;
	align-items: center;
	justify-content: center;
    width: 20px;
	height: 20px;
	padding: 12px;
	border-radius: 50%;
	color: #fff;
	user-select: none;
    opacity: 0;
    transition: 1.2s;
}
.iconos_redes--visible{
    opacity: 1;
}

/*ventan amodal*/
.modalmask {
    position: fixed;
    font-family: Arial, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.modalmask:target {
    opacity:1;
    pointer-events: auto;
}

/*Formato de la ventana*/
.modalbox{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 500px;
    height: 30vh;
    position: relative;
    padding: 5px 20px 13px 20px;
    background: #fff;
    border-radius: 15px;
    -webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    transition: all 500ms ease-in;
}

.modalbox-wa{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 500px;
    height: 65vh;
    position: relative;
    padding: 5px 20px 13px 20px;
    background: #fff;
    border-radius: 15px;
    -webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    transition: all 500ms ease-in;
}
.modalbox h2{
    font-family: "Saira Condensed", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 35px;
    text-align: center;
}
.modalbox p{
    font-family: "Saira Condensed", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    text-align: center;
}
/*Movimientos*/
.movedown {
    margin: 0 auto;
}
.rotate {
    margin: 10% auto;
    -webkit-transform: scale(-5,-5);
    transform: scale(-5,-5);
}
.resize {
    margin: 10% auto;
    width:0;
    height:0;
 
}
.modalmask:target .movedown{       
    margin:10% auto;
}
.modalmask:target .rotate{     
    transform: rotate(360deg) scale(1,1);
        -webkit-transform: rotate(360deg) scale(1,1);
}
 
.modalmask:target .resize{
    width:400px;
    height:200px;
}

/*Boton de cerrar*/
.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: 8px;
    text-align: center;
    top: 5px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius:50%;
    transition: .6s;
}
 
.close:hover {
    background: #a80000;
    color:#fff;
}

@media screen and (max-width: 768px) {
    .toggle-btn {
        display: block;
        z-index: 3;
        background: transparent;
    }
    .contenedor_nav {
        display: none;
        flex-direction: column;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background-color: #333;
        height: 900px;
        animation: initial;
        transition: opacity 0.3s ease;
    }
    .imagen_descripcion {
        width: 250px;
        height: 250px;
    }
    .parrafo_descripcion {
        font-size: 40px;
    }
    .seccion_tres {
        min-height: 400px;
        height: 0vh;
    }
    .contenedor_descripcion {
        height: 0vh;
    }
    .modalbox img{
        width: 300px;
    }
    .modalbox-wa h2{
        font-size: 25px;
        text-align: center;

    }
    .modalbox-wa img{
        width: 250px;
    }
   
    @media screen and (max-width: 400px){
        .seccion_tres {
            min-height: 300px;
            height: 0vh;
        }
        .contenedor_descripcion {
            height: 20vh;
        }
        .imagen_descripcion {
            width: 100px;
            height: 100px;
        }
        .parrafo_descripcion {
            font-size: 20px;
        }
        .tarjeta {
            margin: 0px; 
        }
        .modalbox {
            width: 300px;
            height: 30vh;
        }
        .modalbox h2{
            font-size: 20px;
        }
        .modalbox img{
            width: 300px;
        }
        .modalbox-wa{
            width: 300px;
        }
        .modalbox-wa h2{
            font-size: 20px;
            text-align: center;

        }
        .modalbox-wa img{
            width: 250px;
        }
    }
}