* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  background-color: #f9f9f9;
}

header {
  height: 100px;
  background: linear-gradient(to right, #293a4d, #374655);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
  justify-content: center;
}

h1 {
  margin: 10px 0 20px;
}

h3 {
  margin: 10px 0;
}

p {
  margin: 10px 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.container {
  display: flex;
  min-height: calc(100vh - 200px);
}

.sidebar {
  width: 200px;
  background-color: #eee;
  padding: 20px;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 15px;
}

.sidebar a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: 0.5s;
}

.sidebar a:hover {
  color: #999;
}

.content {
  flex: 1;
  background-color: #fff;
  display: flex;
}

.content a{
  text-decoration: none;
  color: #f47c48;
  transition: .5s;
}

.content a:hover{
  color: #77ccf4;
}

.content-left {
  max-width: 400px;
  background-color: #e3f6ff;
  padding: 20px;
}

.content-left h1 {
  text-align: justify;
}
.content-right {
  max-width: calc(100% - 400px);
}

.content-full {
  width: 90%;
  padding: 20px;
}

#form-pedido {
  max-width: 400px;
  text-align: center;
}

#opciones-pedido {
  min-height: 175px;
}

#opcion-aluminio, #opcion-resina {
  display: none;
}

#opcion-resina {
  padding-top: 50px;
}

select, input { margin: 10px 0; padding: 5px; width: 300px; border-radius: 5px; border: 1px solid #aaa;}
#results { max-width: 300px;}
.result-item { padding: 5px; cursor: pointer; border-bottom: 1px dotted gray; }
.result-item:hover { background-color: #eee; }

#order-buttons {
  max-width: 400px;
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

#activar-promo {
  font-weight: bold;
  color: #f47c48;
  cursor: pointer;
  transition: 0.5s;
}

#activar-promo:hover {
  filter: brightness(1.2);
  text-decoration: underline;
}

.price {
  visibility: hidden;
}

.stroke {text-decoration: line-through; font-weight: normal;}

#error-text {color: red; font-size: 12px; margin-top: -10px;}

button {
  display: inline-block;
  margin: 0 20px 10px 0;
  padding: 10px 20px;
  font-size: 12px;
  border-radius: 5px;
  border: 0;
  cursor: pointer;
  color: white;
  font-weight: bold; 
  transition: filter 0.5s ease;
  width: 250px;
  background-color: #999;
}

button:hover {
  filter: brightness(1.1);
}

.button {
  background-color: #f47c48;
}

.wa-button {
  background-color: #25D366;
}

footer {
  text-align: center;
  padding: 10px 0;
}

footer a {
  color: #999;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

#texto-promo {
  color: #f47c48;
  cursor: pointer;
  font-weight: bold;
}

#promo:hover {
  text-decoration: underline;
}


#videoCarcasas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: none;
  }

  .sidebar.open {
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  .container {
    min-height: calc(100vh - 193px);
  }

  .content-left h1 {
    text-align: center;
    font-size: 31px ;
  }
  
  .content-left {
    max-width: none;
    width: 100%;
  }
  
  .content-right {
    display: none;
  }

  select, input {
    font-size: 20px;
  }
}


