.ahorros{
	width: 16%;
	margin: 2px;
	padding: 2px;
	float: left;
	transition: transform 1s ease;
    box-shadow:inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255), 0.3em 0.3em 1em rgba(10,93,102.3);
}
        /* Clase que aplica la rotación */
        .girar {
            transform: rotate(360deg);
        }

.ahorros img{
	width: 100%;
	border: solid 1px;
	border-color: rgb(10,93,102) ;
}

.ahorros:hover{
	padding: 0;
}

#degradado{
    box-shadow:inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255), 0.3em 0.3em 1em rgba(10,93,102.3);  border-radius: 15px;
}
#encabezados{
background-color: rgb(10,93,102);
border-top-right-radius: 10px;
border-top-left-radius: 10px;
}

#degradado #encabezados h1{
    color: white;
}

#degradado #encabezados h6{
    color: white;
    text-justify: inter-word;
}

/* Estilo para el fondo oscuro */
.overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Color oscuro semi-transparente */
    z-index: 1; /* Detrás del popup */
}

/* Estilos para el popup */
.info-popup {
    display: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: slideDown 0.5s ease forwards;
    z-index: 2; /* Delante del overlay */
}

/* Animaciones */
@keyframes slideDown {
    from {
        top: -50px;
        opacity: 0;
    }
    to {
        top: 50px;
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        top: 50px;
        opacity: 1;
    }
    to {
        top: -50px;
        opacity: 0;
    }
}

.close{
    cursor: pointer;
    color: red;
}

       .form-container {
            background-color: #fff;
            padding: 20px 30px;
            width: 100%;
            max-width: 400px;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            border: solid 5px;
            border-color: rgb(10,93,102);
        }

        /* Título */
        h2 {
            margin-bottom: 20px;
            color: rgb(100, 100, 105);
            text-align: center;
        }

        /* Estilos para cada input */
        .form-group {
            margin-bottom: 15px;
        }

        label {
            display: block;
            margin-bottom: 5px;
            color: #555;
        }

        input[type="text"],
        input[type="email"],
        input[type="number"],
        select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            outline: none;
            transition: border-color 0.3s;
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        input[type="number"]:focus,
        select:focus {
            border-color: #5a9fd4;
        }

        /* Botón de envío */
        .submit-btn {
            width: 100%;
            padding: 10px;
            background-color: #5a9fd4;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .submit-btn:hover {
            background-color: #4a8dc4;
        }

#vendes{
    background-color: rgb(10,93,102);
    color: white;font-size: 30px;
    border-radius: 5px; 
    text-align: center;
}

@media (max-width: 700px){
	.ahorros{
		width: 45%;
		margin: 2px;
		padding: 2px;
	}
	.ahorros:hover{
	padding: 2px;
    }
}