/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
	background-color: #073c56;
}

p{
	color:white;
	font-size: 18px;
}

span{
    color:black;
}

 .mobile-menu {
        display: none; /* Oculta el menú en la versión de escritorio */
    }
	
/* Encabezado */
.header {
    background-color: black;
    color: #ffffff;
    padding: 10px 0 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    margin-left: 20px;
    font-weight: bold;
}

.logo a {
	text-decoration: none;
    color: #ffffff;
	padding: 0px;
    display: block;
}

.logo a:hover {
	color: #dbca85;
}

.logo img{
    max-width: 35%;
    width: 35%;
    --max-height: 20%;
    --height:  20%;
}

.nav-list {
    list-style: none;
    display: flex;
    margin-right: 20px;
}

.nav-list li {
    margin: 0 10px;
}

.nav-list a {
    text-decoration: none;
    color: #ffffff;
	padding: 10px;
    display: block;
}

.nav-list a:hover {
    --font-weight: bold ; /* Cambia el color de fondo al pasar el mouse */
	color:   #dbca85   ;
	--text-decoration: underline; /* Agrega subrayado al pasar el mouse */
	--border-bottom: 1px solid white; /* Ajusta el grosor y color de la línea */
}

/* Secciones */
.section-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
	color: #dbca85;
}

.test-section {
    background-color: #073c56;
    padding: 140px 0 80px 0;
    text-align: center;
}

.test-title {
    font-size: 36px;
    margin-bottom: 20px;
	color: #dbca85;
}

.test-subtitle {
    font-size: 18px;
    color: white;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #dbca85;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0px 2px 5px black;
    transition: background-color 0.3s ease;
	cursor:pointer;
}

.cta-button:hover {
    background-color: white;
}

.feature-section {
    padding: 20px 15% 0 15%;
    background-color: #073c56;
    --background-color: #f5f5f5;
	display: flex;
    justify-content: space-between;
}

.feature {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
	color: #dbca85;
}

.feature p {
    font-size: 18px;
    --color: #666666;
    color: white;
}

.feature img {
    max-width: 50%;
    height:  40%;
 }

.basic-section {
    padding: 80px 0 0 0;
	
}

.how-it-works-section {
    --background-color: #ffffff;
    background-color: #073c56;
    padding: 80px 0;
    text-align: left; /* Centra el contenido */
	color: #dbca85;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
	width: 45%;
	margin: auto;
	--justify-content: center; /* Centra horizontalmente los elementos en el contenedor */
}

.step-icon {
    --background-color: #007bff;
    background-color:#dbca85;
    color: black;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.step p {
    font-size: 18px;
    --color: #333333;
    color: white;
}

.contact-section {
    text-align: center;
    padding: 80px 0;
	--background-color: #f5f5f5;
	background-color: #073c56;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #dbca85;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: white;
}


/* Chiste */
.chiste-section {
    padding: 20px 25%;
    text-align: center;
    --background-color: white;
	background-color: #073c56;
}

.chiste-content {
    font-size: 24px;
    color: white;
    margin-bottom: 40px;
	padding: 0%;
}

#copyMessage {
    display: none;
    color: green;
    font-weight: bold;
}

.volver-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.volver-button:hover {
    background-color: #0056b3;
}

/* Pie de página */
.footer {
    background-color: #073c56;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: white;
}

.footer p {
    font-size: 14px;
}

.footer a {
	text-decoration: none;
    color: #ffffff;
	--padding: 10px;
}

.footer a:hover {
	color:   #dbca85   ;
}

/* Estilos para las etiquetas de los parámetros */
label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #dbca85;
	font-weight: bold;
    --text-transform: uppercase;
    --letter-spacing: 1px;
}

/* Estilos para los selectores */
select {
    width: 15%;
    padding: 8px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background-color: #ffffff;
    font-size: 14px;
    color: #333333;
    margin: 0 auto 20px; /* Centro vertical y horizontalmente, con margen inferior */
    display: block; /* Asegura que los selectores sean bloques */
}

/* Estilos para los campos de entrada */
input[type="number"],
input[type="text"] {
    width: 15%;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333333;
    margin: 0 auto 20px; /* Centro vertical y horizontalmente, con margen inferior */
    display: block; /* Asegura que los campos de entrada sean bloques */
}


        .qa-section {
            padding: 80px 0; /* Centro horizontalmente */
			text-align: center;
			font-size: 20px;
        }

        .qa {
            --border: 1px solid #ccc;
            padding-top: 20px;
            margin-bottom: 20px;
            cursor: pointer;
        }
		
		.qa-section a {
			text-decoration: none;
			color: #ffffff;
			--padding: 10px;
		}

		.qa-section a:hover {
			color:   #dbca85   ;
		}

        .question {
            font-weight: bold;
			color: white;
        }

        .answer {
            margin-top: 10px;
            display: none;
			color: #dbca85;
        }

/* Estilos para el indicador de carga */
        .loader-container {
            display: none; /* Comienza oculto */
            justify-content: center;
            align-items: center;
            --position: fixed;
            --top: 0;
            --left: 0;
            --width: 40%;
            --height: 30%;
            --background-color: rgba(255, 255, 255, 0.9);
            --background-color: white;
            --z-index: 9999;
			margin-top: 5px;
			--display: block; /* Comienza oculto */
        }

        .loader {
            border: 8px solid #f3f3f3;
            border-top: 8px solid #3498db;
            border-radius: 50%;
            width: 50px;
            height: 50px;
			align-items: center;
            animation: spin 2s linear infinite;
        }
		
		.loader-container p {
			color: white;
			font-size: 26px;
			font-weight: bold;
		    padding: 10px 20px 10px 20px;
        }


        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        
/* Estilos del popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
.popup p{
    color:black;
}
.popup a {
    display: inline-block;
    background-color: #073c56;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.popup a:hover {
    background-color: #2980b9;
}

/* customizable snowflake styling */
.snowflake {
    color: #fff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px #000;
  }
   
  .snowflake,.snowflake .inner{animation-iteration-count:infinite;animation-play-state:running}@keyframes snowflakes-fall{0%{transform:translateY(0)}100%{transform:translateY(110vh)}}@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-5%;z-index:9999;-webkit-user-select:none;user-select:none;cursor:default;animation-name:snowflakes-shake;animation-duration:3s;animation-timing-function:ease-in-out}.snowflake .inner{animation-duration:10s;animation-name:snowflakes-fall;animation-timing-function:linear}.snowflake:nth-of-type(0){left:1%;animation-delay:0s}.snowflake:nth-of-type(0) .inner{animation-delay:0s}.snowflake:first-of-type{left:10%;animation-delay:1s}.snowflake:first-of-type .inner,.snowflake:nth-of-type(8) .inner{animation-delay:1s}.snowflake:nth-of-type(2){left:20%;animation-delay:.5s}.snowflake:nth-of-type(2) .inner,.snowflake:nth-of-type(6) .inner{animation-delay:6s}.snowflake:nth-of-type(3){left:30%;animation-delay:2s}.snowflake:nth-of-type(11) .inner,.snowflake:nth-of-type(3) .inner{animation-delay:4s}.snowflake:nth-of-type(4){left:40%;animation-delay:2s}.snowflake:nth-of-type(10) .inner,.snowflake:nth-of-type(4) .inner{animation-delay:2s}.snowflake:nth-of-type(5){left:50%;animation-delay:3s}.snowflake:nth-of-type(5) .inner{animation-delay:8s}.snowflake:nth-of-type(6){left:60%;animation-delay:2s}.snowflake:nth-of-type(7){left:70%;animation-delay:1s}.snowflake:nth-of-type(7) .inner{animation-delay:2.5s}.snowflake:nth-of-type(8){left:80%;animation-delay:0s}.snowflake:nth-of-type(9){left:90%;animation-delay:1.5s}.snowflake:nth-of-type(9) .inner{animation-delay:3s}.snowflake:nth-of-type(10){left:25%;animation-delay:0s}.snowflake:nth-of-type(11){left:65%;animation-delay:2.5s}


/* --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

/* Estilos para dispositivos móviles */

@media (max-width: 768px) {
    body {
        font-size: 14px; /* Reducir el tamaño de fuente para dispositivos móviles */
    }

    /* Estilos específicos para el formulario en dispositivos móviles */
    .chiste-form {
        width: 90%; /* Ancho del formulario */
        margin: 0 auto; /* Centro horizontalmente */
    }
	.step {
		width: 90%;
	}
	 
	.step-icon {
		margin: 5%;
		padding: 5px;
		height: 25px;
	}
	
	.navbar{
		display: none;
	}
	
	.test-section {
		margin: auto 10%; /* Centro horizontalmente */
	}
	.feature-section {
		margin: 0 10%; /* Centro horizontalmente */
		padding: 0 0;
		display: block;
		justify-content: space-between;
	}
	
	.feature img {
		max-width: 25%;
		height: 25%;
	}
	
	/* Chiste */
	.chiste-section {
		padding: 0%;
	}
	
	.loader {
        width: 30px;
		height: 20px;
    }
	
	.loader-container p {
		font-size: 22px;
		padding: 0px 10px 0px 10px;
    }
		
	    /* Estilos para el menú desplegable */
    .mobile-menu {
		display: block; /* Muestra el menú solo en dispositivos móviles */
        text-align: right;
		background-color: black; /* Fondo de la barra del menú */
        color: white;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
		--margin: 0 10px 0 10px;
    }

	/* Estilos para el logotipo y el icono en la barra del menú móvil */
	.menu-icon {
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: space-between; /* Espacio entre el logotipo y el icono */
		padding: 10px 30px 0 30px;
		background-color: black; /* Fondo de la barra del menú */
		color: #dbca85;
		font-size: 24px;
	}

	.menu-icon img {
		width: 200px; /* Ajusta el tamaño del logotipo */
	}

    .menu-items {
        list-style: none;
        padding: 0;
        margin: 0;
        display: none;
    }

    .menu-items li {
        margin-bottom: 10px;
    }

    .menu-items a {
        color: white;
        text-decoration: none;
        padding: 5px 10px;
        display: block;
		font-size: 20px;
    }


    /* Muestra el menú cuando el checkbox está marcado */
    #menu-toggle:checked + .menu-icon + .menu-items {
        display: block;
        position: absolute;
        background-color: black;
        width: 100%;
        text-align: center;
    }


	/* Estilos para los selectores */
	select {
		width: 80%;
	}

	/* Estilos para los campos de entrada */
	input[type="number"],
	input[type="text"] {
		width: 80%;
	 
	}
	
	.popup-content {
        width: 80%;
    }
}