@import url('https://fonts.cdnfonts.com/css/akrobat');

*, html{
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}
body{
    padding-top: 100px;
	background-color: #ffffff;
}
html, body {
    height: 100%;
    margin: 0;
}
header{
    position: absolute;
    top: 0;
    width: 100%;
    background-color: #fff;
}
header div{
    width: 50%;
}
section, footer{
    width: 100%;
    padding: 0 10%;
    position: relative;
}
section{
    padding-top: 100px;
    padding-bottom: 100px;
}
    header img{
        width: 219px;
    }
    section img{
        width: 80%;
        height: auto;
        border-style: solid;
        border-width: 1px 1px 1px 1px;
        border-color: #e4007d;
    }
h2{
    font-family: 'Akrobat Bold', sans-serif;
    font-size: 50px;
    font-weight: 700;
}
p{
    font-family: 'Akrobat Bold', sans-serif;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 20px;
    text-align: justify;
}
.c50{
    width: 50%;
}
.c100{
    width: 100%;
}
.flex{
    display: flex; 
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}
.h2center{
    display: block;
    text-align: center;
    font-size: 20px;
}
.titulo{
    display: block;
    width: 100%;
    text-align: center;
    color: #e4007d;
    border-bottom: 1px solid #e4007d;
    padding-bottom: 60px;
    font-size: 60px;
}
.qr{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.qr img{
    width: 200px;
}
.nombre_persona{
    display: block; 
    text-align: center; 
    color: #545a62;
}
.fechas_persona{
    display: block; 
    text-align: center; 
    color: #e4007d; 
    font-size: 25px;
}
#remembranza{
    width: 100%;
    height: 100vh;
}
    #remembranza video{
        position: absolute; 
        top: 50%; 
        left: 50%;
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
        transform: translate(-50%, -50%); 
        z-index: -1;
        max-width: none;
    }
#nombre {
    background-image: url('https://jardindekolibries.com/wp-content/uploads/2021/08/mb-03-scaled.jpg');
    background-position: center center;
    background-size: cover;
}
    #nombre div img{
        width: 80%;
        height: auto;
    }
#recuerdos {
    background-image: url('https://jardindekolibries.com/wp-content/uploads/2021/08/PATRON_07.jpg');
    padding-top: 0;
    padding-bottom: 0;
}
.recuerdos{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
}
    .recuerdos div{
        width: 30%;
        margin: 15px;
        background-color: #f5f5f5;
    }
        .recuerdos div img{
            width: 100%;
            border: 0;
        }
        .recuerdos div span{
            display: block;
            width: 100%;
            text-align: center;
            font-size: 14px;
            font-family: 'Akrobat Bold', sans-serif;
            padding: 10px;
            font-style: oblique;
            color: #7A7A7A;
        }
        .recuerdos div p{
            font-family: 'Akrobat Bold', sans-serif;
            color: #7A7A7A;
            display: block;
            width: 100%;
            text-align: justify;
        }
.frase{
    background-image: url('https://jardindekolibries.com/wp-content/uploads/2021/08/mb-02-scaled.jpg');
    background-position: center bottom;
    background-size: auto;
    height: 50%;
}
    .frase p{
        display: block;
        width: 100%;
        font-family: 'Akrobat Bold', sans-serif;
        font-size: 20px;
        text-align: center;
        color: #ffffff;
    }
    .frase span{
        display: block;
        width:100%;
        font-family: 'Akrobat Bold', sans-serif;
        font-size: 30px;
        text-align: center;
        color: #ffffff;
    }
.mensajes{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: #e7e7e7;
}

.tab-flotante {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    transition: all 0.3s ease;
}

.tab-flotante img {
  width: 60px; /* ajusta según necesites */
  height: 60px;
  border-radius: 50%; /* o usa border-radius: 15px para redondeado */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Cuando se fija al top */
.tab-flotante.fixed {
  position: fixed;
  top: 20px;
  right: 20px;
}

/* Cuando llega al final de la sección */
.tab-flotante.bottom {
  position: absolute;
  top: auto;
  bottom: 20px;
  right: 20px;
}
.mensaje{
    width: 50%;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
    .mensaje p{
        display: block;
        width: 100%;
        text-align: center;
        color: #7A7A7A;
        font-family: 'Akrobat Bold', sans-serif;
        font-size: 20px;
    }
    .mensaje div{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
        .mensaje div .persona{
            width: 30%;
        }
            .mensaje div .persona img{
                width: 60px;
                height: 60px;
                border: 0;
                border-radius: 50%;
            }
        .mensaje div .nombrepersona{
            width: 70%;
        }
            .mensaje div .nombrepersona h2{
                display: block;
                width: 100%;
                font-family: 'Akrobat Bold', sans-serif;
                font-size: 25px;
                text-align: left;
                color:#e4007d;
            }
            .mensaje div .nombrepersona span{
                display: block;
                width: 100%;
                font-family: 'Akrobat Regular', sans-serif;
                font-size: 20px;
                text-align: left;
                color:#7A7A7A;
            }
.video{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 20px 0 0 0;
}
    .video .vid{
        width: 40%;
    }
    .video .videsc{
        width: 60%;
        padding: 100px 20px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        align-content: center;
    }
        .video .videsc h2{
            display: block;
            width: 100%;
            text-align: left;
            font-family: 'Akrobat Bold', sans-serif;
            color: #7A7A7A;
            font-size: 30px;
        }
        .video .videsc p{
            display: block;
            width: 100%;
            text-align: justify;
            font-family: 'Akrobat Regular', sans-serif;
            color: #54595F;
            font-size: 18px;
            line-height: 20px;
        }
.memorial{
    background-color: #e4007d;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-top: solid 20px #e7e7e7;
    border-bottom: solid 20px #797b79;
}
    .memorial div{
        width: 50%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
        .memorial div img{
            width: 20%;
        }
        .memorial div h2{
            display: block;
            width: 100%;
            color: #ffffff;
            font-family: 'Akrobat Bold', sans-serif;
            font-size: 20px;
            text-align: center;
        }
        .memorial div hr{
            display: block;
            width: 40%;
            border: none;
            height: 1px;
            background-color: white;
            margin-top: 40px;
        }
footer{
    background-color: #1b1b1b;
}
    footer div{
        text-align: center;
        color: #4A4A4A;
        font-family: 'Akrobat Regular', sans-serif;
        font-size: 12px;
        padding: 10px;
    }

/*MODAL*/
	/* The Modal (background) */
	.modal {
		display: none; /* Hidden by default */
		position: fixed; /* Stay in place */
		z-index: 1000; /* Sit on top */
		padding-top: 100px; /* Location of the box */
		left: 0;
		top: 0;
		width: 100%; /* Full width */
		height: 100%; /* Full height */
		overflow: auto; /* Enable scroll if needed */
		background-color: rgb(0,0,0); /* Fallback color */
		background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	}

	/* Modal Content */
	.modal-content {
		position: relative;
		background-color: #fefefe;
		margin: auto;
		/*padding: 20px;*/
		border: 1px solid #888;
		width: 80%;
		height: 80%;
		overflow: auto;
		
		box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
		-webkit-animation-name: animatetop;
		-webkit-animation-duration: 0.4s;
		animation-name: animatetop;
		animation-duration: 0.4s
    }

	.modal-header{
		border: 0px !important;
	}

	/* Add Animation */
	@-webkit-keyframes animatetop {
		from {top:-300px; opacity:0} 
		to {top:0; opacity:1}
	}
	
	@keyframes animatetop {
		from {top:-300px; opacity:0}
		to {top:0; opacity:1}
	}
	
	/* The Close Button */
	.closse {
		color: #FFF;
		font-size: 28px;
		font-weight: bold;
	}

	.closse:hover,
	.closse:focus {
		color: #000;
		text-decoration: none;
		cursor: pointer;
	}
	
	.modal-header {
		padding: 2px 16px;
		background-color: #a0c7c5;
		color: #606060;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
		.modal-header h2{
			color: #FFF;
			display: block;
			padding: 15px;
			width: calc(100% - 30px);
		}
	
	.modal-body {
        padding: 16px; 
		height: 100%;
		font-family: 'Roboto', sans-serif;
		display: flex;
		flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: center;
    }
	
	.modal-footer {
		padding: 2px 16px;
		background-color: #39657d;
		color: #ffffff;
	}

/*Video memorial*/
.form-contrasenna{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}
    .form-contrasenna form{
        width: 100%;
        padding: 20px 20%;
    }
        .l_form {
            display: block;
            width: 100%;
            font-size: 16px;
            padding: 10px 13px;
        }
    /*inputs*/
    input[type="password"]{
        width: 100%;
        height: 35px;
        font-family: 'Roboto', sans-serif;
        font-size: 13px;
        color: #e4007d;
        font-weight: bold;
        background: #ffffff;
        padding-left: 10px;
        border-radius: 5px;
        border: 1px solid #e4007d;
    }
    input[type="button"], input[type="submit"] {
        width: 100%;
        background-color: #e4007d;
        border: none;
        color: #ffffff;
        padding: 15px 32px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        font-weight: 600;
        margin-top: 20px;
        margin-bottom: 20px;
        transition: 0.5s;
        transition-property: background;
    }

/*responsivos*/
@media only screen and (max-width:760px){
    .qr{
        display: none;
    }
    .c50{
        width: 100%;
    }
    .nombre div img{
        width: 100%;
    }
    .recuerdos div {
        width: 100%;
    }
    #nombre div{
        margin: 20px;
    }
    .nombre_persona{
        text-shadow: 
            -1px -1px 0 white,
            1px -1px 0 white,
            -1px  1px 0 white,
            1px  1px 0 white;
        padding-bottom: 20px;
    }
    .fechas_persona{
        text-shadow: 
            -1px -1px 0 white,
            1px -1px 0 white,
            -1px  1px 0 white,
            1px  1px 0 white;
        padding-bottom: 20px;
    }
        .fechas_persona span{
            display: block;
            width: 100%;
            text-align: center;
        }
    .mensaje{
        width: 100%;
        margin-bottom: 20px;
    }
    .tab-flotante {
        display: block;
    }
}
@media only screen and (max-width:450px){
    .mensaje {
        width: 100%;
        margin-bottom: 20px;
    }
}
