@font-face {
    font-family: "former";
    src: url("../assets/fonts/Formula_1.ttf");
    font-weight: normal;
    font-style: normal;
}

ul {
    margin-left: 0; /* Elimina el margen izquierdo */
    padding-left: 0; /* Elimina el espacio reservado para los marcadores */
}

li {
    list-style-type: none;
}

.detalle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid black;
    margin: 0px 20px;
}

.former-black {
    font-family: "former", serif;
    font-weight: 900;
    font-style: normal;
}



/******************************************************************/
/******************************************************************/

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url("../images/Fondos/fondo_index_2.jpg"); /* URL de tu imagen */
    background-size: cover; /* La imagen cubre todo el fondo */
    background-repeat: no-repeat; /* No se repite */
    background-attachment: fixed; /* Imagen fija al hacer scroll */
    background-position: center; /* Centra la imagen */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    /* background-color: #111; */
    /* min-height: 100vh; */
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700; /* Golden color */
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #ffd700;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url("https://via.placeholder.com/1920x1080") no-repeat center
        center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    color: #fff;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: #ffd700;
    color: #000;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #e0c200;
}

/* Features Section */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 4rem 2rem;
    /* background: #1b1b1b; */
}

.feature {
    flex: 1;
    max-width: 500px;
    text-align: center;
    padding: 1rem;
    background: #222;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.feature img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #ffd700;
}

/* Contenedor de la cuadrícula */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas iguales */
    grid-gap: 20px; /* Espacio entre cuadros */
    width: 80%; /* Ancho del contenedor */
    max-width: 800px;
    margin: 0 auto;
}

/* Cuadros de texto */
.grid-item.text {
    background-color: #ffffff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Cuadros de imagen */
.grid-item.image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/***********************************/
/***********************************/

/* Contenedor de la cuadrícula */
.grid-container1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas iguales */
    width: 100%; /* Ancho del contenedor */
    max-width: 1500px;
    /* margin: 0 auto; */
    background-color: #222;
    /* padding: 10px; */
}

/* Cuadros de texto */
.grid-item1.text {
    background-color: #222;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Cuadros de imagen */
.grid-item1.image img {
    width: 100%;
    height: auto;
}

/***********************************/
/***********************************/

/* Footer */
footer {
    max-width: 1200px;
    text-align: center;
    padding: 2rem;
    background: #000;
    color: #fff;
}

/******************************************************************/
/******************************************************************/
