/* Estilos de toda la pagina */
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Verdana;
}

body{
    background-color: #FFFDE7;
    min-width: 400px;
}

/* Estilos de la barra de navegacion */

.header{
    background-color: #F57C00;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    padding: 5px 2%;
    box-shadow: 0px 0px 15px 0px #0007;
}

.header .logo{
    cursor: pointer;
    margin-right: auto;
}

.header .logo img{
    height: 82px;
    width: auto;
    transition: all 0.3s;
}

.header .logo img:hover{
    transform: scale(1.2);
}

.header .nav-links{
    list-style: none;
}

.header .nav-links li{
    display: inline-block;
    padding: 0 6px;
    justify-content: space-between;
}

.header .nav-links li:hover,
/**/.overlay a:hover{
    transform: scale(1.1);
    transition: all 0.3s;
}

.header .nav-links a{
    font-size: 20px;
    color: #eceff1; 
    justify-content: space-between;
}

.header .nav-links a:hover{
    color: #1b3039;
}

/**/.menu {
    display:none;
}

.header .btn button,
/**/.header .menu button{
    margin-left: 20px;
    font-weight: 700;
    color: #1b3039;
    font-size: 18px;
    padding: 9px 25px;
    background: #eceff1;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.header .btn button:hover,
/**/.header .menu button:hover{
    background-color: #e2f1f8;
    color: #F57C00;
    transform: scale(1.1);
}


/**/@media screen and (max-width: 800px){
    .nav-links, .btn {
        display: none;
    }
    .menu {
        display: inherit;
    }
}

/*estilos de la barra de navegacion adaptada a moviles*/
.header a{
    text-decoration: none;  
}

.header .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgba(33, 49, 63, .95);
    overflow: hidden;
    transition: all 0.3s ease 0s;
}

.header .overlay .overlay-content{
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
}

.header .overlay a{
    padding: 15px;
    font-size: 36px;
    display: block;
    transition: all 0.3s ease 0s;
    font-weight: 700;
    color: #eceff1;
}

.header .overlay a:hover, 
.header .overlay a:focus{
    color: #ffbc0e;
}

.header .overlay .close{
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 65px;
}

@media screen and (max-height:450px) {
    .header .overlay a{
        font-size: 20px;
    }
    .header .overlay .close{
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

/* Estilos de los botones */
.btnc button{
    margin-left: 7px;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    padding: 10px 8px;
    background: #F57C00;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.btnc button:hover{
    background-color: #ffffff;
    color: #F57C00;
    transform: scale(1.1);
}

/* Estilos del contenido principal */
.flexbox {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    margin:auto;
    color: red;
    max-width: 800px;
}

.imagen-tema {
    width: 100%;
    height: auto;
    border-radius: 18px;
    padding: 0.5em;
}

.box {
    align-items: center;
    text-align: left;
    font-family: Verdana, sans-serif;
    color: #000080;
    display: flex;
    flex-wrap: wrap;
    padding-inline: 20px;
    flex-direction: column;
}

.flexbox .box .parrafo1 p{
    text-align: left;
}

h1 {
    font-size: 1.2em;
    color: #000000;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 2px 0 5px;
    text-align: center;
    padding: auto;
    padding-top: 1em;
}

ul {
    padding-left: 20px;
}

.box p {
    animation: autoShowAnimation both;
    animation-timeline: view(60% 5%);
    transition: transform 0.3s ease;
}

/* animacion de aparicion adaptada a moviles */
@media screen and (max-width: 800px){
    .box p {
        animation: autoShowAnimation both;
        animation-timeline: view(85% 5%);
        transition: transform 0.3s ease;
    }
}


/* animacion de aparicion */
@keyframes autoShowAnimation{
    from{
        opacity: 0;
        transform: translateY(50px) scale(0.5);
    }to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Estilos del boton flotante de whatsapp */
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:30px;
	right:30px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
    font-size:30px;
	box-shadow: 2px 2px 3px #999999;
    z-index:100;
}
.float:hover {
	text-decoration: none;
	color: #FFF;
    background-color:#1ab152;
    animation: pulse-animation 1s;
    animation-iteration-count: infinite;
    transform: scale(1.1);
    transition: all 0.35s;
}

.my-float{
	margin-top:16px;
}

/* Estilos del pie de pagina */
.pie-pagina{
    width: 100%;
    background-color: #FFFDE7;
    box-shadow: 0px 0px 5px 0px #0007;
    font-family: Verdana;
}
.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap:20px;
    padding: 10px 0px;
}
.pie-pagina .grupo-1 .box-footer figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .grupo-1 .box-footer figure img{
    width: 100px;
    transition: all 0.3s ease 0s;
}

.pie-pagina .grupo-1 .box-footer figure img:hover{
    transform: scale(1.2);
    transition: all 0.35s;
}

.pie-pagina .grupo-1 .box-footer h2{
    color: #F57C00;
    margin-bottom: 10px;
    font-size: 16px;
}
.pie-pagina .grupo-1 .box-footer p, a{
    color: #43A047;
    margin-bottom: 1px;
    text-align: left;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease 0s;
}

.pie-pagina .grupo-1 .box-footer p:hover{
    transform: scale(1.05);
    transition: all 0.35s;
}

.pie-pagina .grupo-1 .box-footer a:hover{
    color: #25d366;
}

.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    margin-right: 10px;
    background-color: #F57C00;
    text-align: center;
    transition: all 300ms ease;
    border-radius: 8px;
}
.pie-pagina .grupo-1 .red-social a:hover{
    background-color: #ffffff;
    color: #F57C00;
    transform: scale(1.2);
}
.pie-pagina .grupo-2{
    background-color: #FFFDE7;
    padding: 0px 5px 3px;
    text-align: center;
    color: #43A047;
    box-shadow: 0px 0px 5px 0px #0007; 
}
.pie-pagina .grupo-2 small{
    font-size: 12px;
}

/* Estilos del pie de pagina adaptada a moviles */
@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 54%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:15px;
        padding: 20px 0px;
    }
}
