*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
           margin: 0;
            padding: 0;
            background-image: url('tu-imagen.jpg'); /* Cambia 'tu-imagen.jpg' por tu imagen */
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            height: 100vh;

}
.contenedor{
    padding: 60px 0;
    width:90% ;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo{
    color: rgb(125, 83, 8);
    font-size: 30px;
    text-align: center;
    margin-bottom : 60px;

}

header{
    width:100% ;
    height: 600px; ;
    background: url(principal.jpg);
    background-size:cover ;
    background-attachment: fixed;
    position: relative;
    z-index: 10 ;
    background: url(Compañeros.jpg);
    background-size:cover;
    background-position; center center;

}





nav{
    text-align: left;
    padding: 30px 50px 0 0;
    margin-left: 3%;

}

nav> a{
    color:rgb(249, 212, 6);
    font-weight: 300;
    text-decoration: none;
   margin-right: 10px;

}

nav> a:hover{
    text-decoration: underline;
    width: 100%;
    visibility: visible;
   }



   

.Ola{
    position: absolute;
    bottom: 0;
    width: 100%;

}

header .texto-header{
    display: flex;
    height: 430px;
    width: 100%;
    align-items: center ;
    justify-content: center;
    flex-direction: column;
    
}

.texto-header h1{
    font-size: 50px;
    color: rgb(253, 250, 250);
}


.texto-header h2{
      font-size: 30px;
      font-weight: 300;
      color: rgb(242, 242, 238);
      text-align: center;
}

.banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    color: white;
    border-bottom: 3px solid yellow;
}

.banner h1 {
    font-size: 2.5em;
    margin: 0.5em 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.banner p {
    font-size: 1.2em;
    margin: 0.5em 0;
}

.banner .contact {
    margin-top: 1em;
    font-size: 1.2em;
    padding: 10px 20px;
    background: yellow;
    color: black;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.banner .contact:hover {
    background: #ffd700;
}

@media (max-width: 768px) {
    .banner h1 {
        font-size: 2em;
    }

    .banner p, .banner .contact {
        font-size: 1em;
    }
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 18px;
    max-width: 1500px;
    margin: 0 auto;
}

.card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.card-text {
    font-size: 1em;
    color: #777;
    margin-bottom: 20px;
}

.card-button {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    text-align: center;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.card-button:hover {
    background-color: #218838;
}

@media (max-width: 600px) {
    .card img {
        height: 150px;
    }
}



button{
    width: 200px;
    height: 100px;
    background-color: rgb(238, 228, 228);
    color:rgb(22, 22, 21);
    font-size: 14px;
    padding: 8px 20px;
    text-decoration: none;
    transition: 0.03s backgroud-color;
}

button:hover{
    background-color: rgb(243, 188, 8);
}
