*,
*::before,
*::after {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: sans-serif;
  background-color: rgba(233, 219, 142, 0.449);
}

.h1 {
  padding: 20px;
  background-color: rgb(233, 219, 142);
  width: 650px;
  margin: 20px auto;
  border: rgba(103, 81, 20, 0.34) 2px solid;
  border-radius: 3px 3px 3px 3px;
  text-align: center;
  font-size: 40px;
}

.contenedor1 {
  margin-top: 200px;
  margin: 20px auto;
  width: 650px;
  box-sizing: border-box;
}

#contenedor input {
  height: 32px;
  visibility: hidden;
}

#contenedor label {
  float: left;
  cursor: pointer;
  font-size: 20px; /* Tamaño del texto de las pestañas */
  line-height: 30px;
  height: 70px;
  padding: 0px 20px;
  display: block;
  color: rgb(0, 0, 0); /* Color del texto de las pestañas */
  text-align: center;
  border-radius: 0px 10px 0 0;
  border: rgba(103, 81, 20, 0.34) 2px solid;
  background: rgb(233, 219, 142); /* Fondo de las pestañas */
  font-weight: bold;
}

#contenedor input:hover + label {
  background: rgba(108, 87, 48, 0.748); /* Fondo de las pestañas al pasar el cursor por encima */
  color: white; /* Color del texto de las pestañas al pasar el cursor por encima */
}

#contenedor input:checked + label {
  background: rgba(221,148, 12, 0.748); /* Fondo de las pestañas al presionar */
  color: rgb(243, 232, 217); /* Color de las pestañas al presionar */
  z-index: 6;
  line-height: 45px;
  height: 45px;
  position: relative;
  top: -8px;
}

.content {
  background: rgb(233, 219, 142); /* Fondo del contenido */
  position: relative;
  width: 100%;
  height: 350px; /* Alto del contenido */
  padding: 30px;
  z-index: 5;
  border-radius: 0 5px 5px 5px;
  border: rgba(103, 81, 20, 0.34) 2px solid;
}

.content div {
  position: absolute;
  z-index: -100;
  opacity: 0;
  transition: all linear 0.1s;
}

#contenedor input.tab-selector-1:checked ~ .content .content-1,
#contenedor input.tab-selector-2:checked ~ .content .content-2,
#contenedor input.tab-selector-3:checked ~ .content .content-3,
#contenedor input.tab-selector-4:checked ~ .content .content-4 {
  z-index: 100;
  opacity: 1;
}
