@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,700;1,300&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
header{
    max-width: 1350px;
    height: 5rem;
    margin: 0 auto;
    background: white;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 100%;
}
.brand{
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:#e24d93;
    margin-top: 20px;


}
.brand h1{
    color: #052659;
}
.brand span{
    color: #e24d93;
}
.menuContainer{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
}
.first a{
    color: black;
    text-decoration: none;
    margin: 10px;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.1s;
}
.first a:hover{
    color: #5a67d8;
}
.second button{
    font-weight: bold;
    cursor: pointer;
    padding: 10px 15px;
    margin: 5px;
    border: none;
}
.second button:first-child{
    background-color: white;
}
.second button:last-child{
 border-radius: 10%;
 transition: 0.2s;   
}
.second button:last-child:hover{
    box-shadow: 10px 10px 20px rgba(0,0,0,0.1);
    background: white;
}
.burgerContainer{
    display: none;
}

.ham{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
    /*transform: scale(6);*/
}
.ham:hover{

    box-shadow: 0 0 10px rgba(0,0,0,0.2);

}
.bur{
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.ger{
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background: rgb(109,109,109);
    transition: 0.5s ease-in-out;
}
.q{
    transform-origin: 0 0;
}
.e{
    transform-origin: 0 100%;
}
.q.a{
    transform: rotate(46.5deg) translate(0, -2px);
    width: 28px;
}
.w.b{
    opacity: 0;
    transform: scale(0);
}
.e.c{
    transform: rotate(-45deg) translate(0.5px,1.5px);
    width: 28px;
}
@media(max-width:992px){
    .first a{
        font-size: 0.8rem;
    }
    .second button:last-child{
        background-color: #5a67d8;
        color: white;
    }
    .second button:last-child:hover{
        color: black;
    }

}
@media(max-width:768px){
    body{
        background: #f7f7f7;
    }
    header{
        grid-template-columns: 4fr 0.5fr;
        box-shadow: o 10px 10px rgba(0,0,0,0.1);
    }
    .brand{
        justify-content: flex-start;
        padding-left: 12%;
        
    }
    .burgerContainer{
        display: flex;
        justify-content: center;
        align-items: center;

    }
    .menuContainer{
        position: absolute;
        width: 100%;
        height: fit-content;
        margin: 0 auto;
        padding: 30px 0 30px 0;
        box-sizing: border-box;
        background: white;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        z-index: -1;
        transition: 0.3s;
        transform: translate(0,-250px);

    }
    .menuContainer.show{
        transform: translate(0.29%);

    }
    .first , .second{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        
    }
    
}
@media(max-width:768px){
    .brand{
        justify-content: center;
    }
}

.search__container {
    margin: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.search__input {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.second {
    display: flex;
    gap: 10px; /* Espacio entre botones */
    align-items: center;
    justify-content: flex-end; /* Alineación derecha, opcional */
    flex-wrap: wrap; /* Por si en resoluciones pequeñas se quiere que bajen ordenadamente */
  }
  
  .second button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
  }
  
