* {
    font-family: 'Roboto', sans-serif;
}

.body-robos {
    background-color: black;
    margin: 0;
}

#foto-fundo-robos {
  position: fixed;
  top: 70px;
  
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  -webkit-tap-highlight-color: transparent;

  filter: 
  brightness(0.8)
  saturate(1.1)
}

#main-block {
  position: relative;
  z-index: 2;
  background-color: #6e61617c;
  backdrop-filter: blur(4px);
    transform: translateZ(0);
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.35);

  border-radius: 20px 20px 0px 0px;
  padding: 30px;
  margin: 350px 0px 0px;
  /* max-width: 1200px;  */
  
  display: flex;
  flex-direction: column;
}

#title-robos {
    font-weight: bold;
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 1.25rem;
    /* color: #ff7e00; */
    color:white;
    text-align: center;
}

.filter-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: none;
    background-color: white;
    color: #ff7e00;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.filter-button:hover {
    background-color: #ff7e00;
    color: white;
}

#robo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    order:4;
}

.robo-card {
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 15px;
    -webkit-tap-highlight-color: transparent;
    contain: layout;
    backface-visibility: hidden;
}

.robo-photo-wrapper {
  width: 240px;
  height: 150px;
  margin: 0 auto 10px auto;
  overflow: hidden;
  background-color: #e6e6e6; 
  flex-shrink: 0;
  border-radius: 10px;
}

.robo-card > * {
    position: relative;
    z-index: 1;
}

.robo-card h3 {
    margin: 0.75rem 0 0.5rem;
    font-size: 1.4rem;
    text-align: left;
}

.robo-card p {
    margin-bottom: 0.25rem;
    text-align: left;
    font-size: 0.95rem;
}

.robo-foto {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;  
    object-position: center;
}

.robo-icon {
    position: absolute;
    width: clamp(155px, 10vw, 200px);
    top: 60%;
    left: 63%;
    z-index: 0;
    opacity: 0.6;
}

@media (max-width: 430px) {
    #foto-fundo-robos{
        top:0;
    }

    .robo-icon {
        top: 60%;
        left: 63%;
        width: clamp(150px, 10vw, 200px);
    }

    #robo-container{
        padding: 1rem 0;
        justify-items: center;
    }

    .filter-button {
        position: relative;
        margin-bottom: 1rem;
        font-size: 0.85rem;
        top: 0;
        right: 0;
    }

    #main-block {
        padding: 1rem;
        align-items: center;
    }
}
