*{/**simbolo universal para poner el estilo a todo*/
    padding: 0;
    margin: 0;
}
body{
    background-color: white;
    font-family: sans-serif;
    font-weight: bold;
    margin-top: 0%;
}
header nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 98vw; /*viewport width es el ancho de la 
    ventana al navegador en porcentaje 98%*/
    height: 80px;
    font-size: 16px;
    padding: 0px 16px;
    position: fixed; /*posicion fija aunque se scrolee*/
    z-index: 1;
    background-color: white;
}
header nav img#pinterest-icon{
    width: 35px;
    width: 35px;
    padding: 4px;
}
header nav img#pinterest-icon:hover{
    background-color: #e9e9e9;
    border-radius: 150px;
}
.first-list{
    display: flex;
}
.first-list a{
    text-decoration: none;
    color: black;
}
.first-list li{
    list-style: none;
    padding: 0px 12px;
}
.first-list li #inicio{
    background-color: black;
    color: white;
    padding: 14px 12px;
    border-radius: 25px;
}

/*estilos barra de busqueda*/
.search{/*con punto se ponen todas las clases*/
    flex-grow: 1;/*llena el tamaño de su contenido en relacion a la pantalla, de acuerdo al espacio disponible para el contenido*/
    height: 48px;
    background-color: #e9e9e9;
    border-radius: 30px;  
}
.search:hover{
    /*hover es el cambio de color cuando el cursor se pone sobre el objeto*/
    background-color: #e1e1e1;
}
.search:focus-within{/*color resaltado para borde cuando hay un input*/
    border: 4px solid #7fc1ff;
}
.barra{
    display:flex;
    align-items: center;
    height: 48px;
}
#lupa{
    padding:13px;
    color: #767676;
    font-size: 20px;
    font-weight: bolder;
}
.barra input{
    border: none;
    outline: none;
    background-color: inherit;/*heredó el mismo color del objeto en el que está*/
    padding: 0px 8px 0px 0px; /*se asignan espacios en el orden de las manecillas del reloj*/
    font-size: 16px;
    flex-grow: 1;
}

/*estilos iconos derecha*/
.right-items span{
    padding: 8px;
    color: #767676;
    font-size: 28px;
}
.right-items span:hover{
    background-color: #e9e9e9;
    border-radius: 150px;
    cursor: pointer;/*para que el cursor se vuelva un pointer al ponerse sobre ello*/
    
}
/*estilos para las cards*/
.contenido{
    position: absolute;
    margin-top: 80px;
}

.imagenes{
    columns: 5 240px;
    margin: auto;
}

.imagenes .card-image{
    position: relative;
    padding: 6px;
}

.imagenes .card-image img{
    border-radius: 15px;
    min-width: 240px;
    max-width: 240px;
}

.card-image:hover > :first-child{/*al pasar el raton sobre cada elemento card image, este se va a oscurecer a 60% de su brillo*/
    filter: brightness(60%);
}
.card-image:hover >*{
    /*para que todos los elementos dentro de estas imágenes sean visibles*/
    visibility: visible;
    display: inline;
}
.button{
    position: absolute;
    left: 55%;
    top: 5%;
    padding: 13px 15px; 
    background-color: #e60022;
    border-radius: 30px;
    border: none;
    visibility: hidden;
    display: none;
}
.imagenes .card-image button a{
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
}
.oculto-1{
    position: absolute;
    left: 60%;
    bottom: 8%;
    background-color: white;
    font-size: 30px;
    border-radius: 50px;
    color: black;
    font-weight: bold;
    padding: 4px;
    visibility: hidden;
    display: none;
}
.oculto-2{
    position: absolute;
    left: 78%;
    bottom: 8%;
    background-color: white;
    font-size: 30px;
    border-radius: 50px;
    color: black;
    font-weight: bold;
    padding: 4px;
    visibility: hidden;
    display: none;
}
