:root{
    --primario: #8B4513;
    --secundario: #ff9800;
    --gris: #484349;
    --blanco: #fff;
}
/*globales*/
html {
    font-size: 62.5%;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
}
  
header {
    background-color: #333;
    color: var(--blanco);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contenedor {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    max-width: 100px;
}
.botones {
    display: flex;
}
.boton {
    padding: 8px 15px;
    background-color: #ff9800;
    color: var(--blanco);
    text-decoration: none;
    border-radius: 5px;
    margin-left: 10px;
}
  
.titulo-central {
    font-size: 36px;
    margin-bottom: 20px;
    color: #8B4513; 
}
.titulo2 {
    font-size: 20px;
    color: var(--gris);
}
  
.flex-container {
    display: flex;
    background-image: url('../img/tolerancia-e1552503776139.jpg');
    background-size: cover;
    color: var(--blanco);
}
  
.flex-1 {
    width: 50%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center; 
    justify-content: center; 
}
  
.flex-2 {
    width: 50%;
    padding: 20px;
    background: rgba(216, 216, 216, 0.19);
}
.ejemplo-desktop{
    display: none;
}
.ejemplo1 {
    padding: 10px;
    text-align: center; }
  
.ejemplo1 h2 {
    color: var(--primario); 
}
 
.ejemplo1 img {
    width: 100%; 
}

.persona-tolerante{
    display: flex;
}
.persona-tolerante2{
    display: none;
}

.sermejor {
    display: flex;
    justify-content: space-around; 
    align-items: center;
    margin-top: 20px;
}
  
.hijo-mejor{
    text-align: center;
    margin-right: 15px;
    margin-bottom: 10px;
}
  
.hijo-mejor img {
    max-width: 100%; 
}
.sermejor2{
    display: none;
}
.ayuda{
    width: 100%;
    height: 200px;
    background-image: linear-gradient(
        to right bottom,
        hsla(22, 89%, 18%, 0.702), 
        #eabd8fb3
    ),
    url("../img/help.avif");

    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.btn {
    text-transform: uppercase;
    text-decoration: none;
    padding:  15px 40px;
    display: inline-block;
    border-radius: 100px;
    background-color:  #fff;
    color: #777;
    box-shadow:  2px 2px 4px rgba(0, 0, 0, 0.2);
}
.ayuda h2{
    text-align: center;
    color: var(--blanco);
    font-size: 23px;
}
.item-ayuda{
    padding-top: 26px;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
  }
  
  label {
    display: block;
    margin-bottom: 8px;
  }
  
  input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  select {
    width: 100%;
  }
  
button {
    background-color: #4caf50;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
}
  
button:hover {
    background-color: #45a049;
}

.footer-padre{
    display: flex;
    gap: 2rem;
    justify-content: space-between;

}
.hijo{
    display: flex;
    flex-direction: column;

}
.gia{
    display: flex;
}
.sin-azul{
    text-decoration: none;
    color: var(--gris);
}
.primer-flex{
    display: none;
}
.qr{
    width: 30%;
}

@media (min-width: 768px) {
    .boton {
        padding: 13px 40px;
        background-color: #ff9800;
        color: var(--blanco);
        text-decoration: none;
        border-radius: 5px;
        margin-left: 10px;
        font-size: 19px;
    }
    .flex-1{
        width: 50%;
        height: 200px;
        font-size: 35px;
        
    }
    .flex-2{
        width: 50%;
        font-size: 25px;
        text-align: center;
        padding-top: 45px;
    }
    .flex-container{
        background-position: center;
    }
    .sermejor2 {
        display: flex;
        justify-content: space-around; 
        align-items: center;
        margin-top: 20px;
    }
      
    .hijo-mejor{
        text-align: center;
        margin-right: 15px;
        margin-bottom: 10px;
    }
    .hijo-mejor p{
        font-size: 17px;
    }
    .hijo-mejor img {
        max-width: 100%; 
    }
    .titulo2{
        font-size: 25px;
    }
    .titulo-central{
        font-size: 55px;
    }
    .ayuda{
        width: 100%;
        height: 250px;
        background-image: linear-gradient(
            to right bottom,
            hsla(22, 89%, 18%, 0.702), 
            #eabd8fb3
        ),
        url("../img/help.avif");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .item-ayuda{
        padding-top: 50px;
    }
    .primer-flex{
        display: flex;
    }
    .ejemplo1{
        width: 25%;
        margin: 0 auto;
    }
    .segundo-flex{
        display: flex;
    }
    .qr{
        width: 10%;
    }
}