@import url('https://fonts.cdnfonts.com/css/montserrat');

body {
	font-family: montserrat;
}

body {
  margin: 0;
  background: white;
  background-image: radial-gradient(circle at 10% 20%, #f0f0f0 1px, transparent 0),
					radial-gradient(circle at 80% 70%, #f0f0f0 1px, transparent 0);
  background-size: 100px 100px;
  background-repeat: repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
}

.bckg {
	position: absolute;
	top: 0;
	left:0;
	width: 100%;
	height: 100%;
	z-index: -1;
}
.bckg img {
	width: 100%;
	height: 100%;
	opacity: 0.15;
}
.title {
	height: 20%;
	margin-top: 20px;
	text-align: center;
}
.title p {
	font-weight: 500;
}
.container {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
}

h1 {
  color: #333;
}

.container h1 {
  margin-bottom: 30px;
  font-size: 20px;
}

.button {
  display: block;
  width: 300px;
  margin: 10px auto;
  padding: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 18px;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  text-wrap: nowrap;
}

.electronica {
	background-color: #ffb335;
}
.herramientas {
	background-color: #0195ff;
}

.button:hover {
  background-color: #0056b3;
}

    .local {
      position: relative;
      width: 250px;
      height: 300px;
      cursor: pointer;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
	  margin: 20px;
    }

    .local:hover {
      transform: scale(1.05);
    }

    .local img {
      width: 100%;
      height: 100%;
	  max-width: 250px;
      object-fit: cover;
      display: block;
    }

    .label {
      position: absolute;
      bottom: 0;
      width: 100%;
      padding: 12px 0;
      background: rgba(0, 0, 0, 0.5);
      color: white;
      text-align: center;
      font-size: 20px;
      font-weight: bold;
      backdrop-filter: blur(2px);
    }
	
	
@media (max-width: 600px) {
.title {
	height: 10%;
	margin-top: 20px;
}
	
	
  .container {
	flex-direction: column;
	gap: 20px;
	padding: 10px;
	background-color: transparent;
	box-shadow: unset;
	width: 100%;
  }
  
  .local {
      position: relative;
      width: 95%;
      height: 250px;
	  margin: 10px;
	  margin-top: 0px;
    }

    .local img {
      width: 100%;
      height: 100%;
	  max-width: unset;
      object-fit: cover;
      display: block;
    }
}