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

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: sans-serif;
}

/* Contenedores laterales */
.sidebar {
  position: absolute;
  top: 10%;
  left: 10%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 50px;
  z-index: 10;
}

.sidebar img {
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* Navegación derecha */
.RsidebarInicio {
  position: absolute;
  top: 25%;
  left: 72%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 50px;
  z-index: 10;
}

.RsidebarInicio img {
  width: 100%;
  height: auto;
  cursor: pointer;
 
}
.section {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.section.visible {
  display: block;
}

/* Boton Inicio */

.botoninicio {
  position: absolute;
  top: 1%;
  left: 42%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 50px;
  z-index: 10;
}

.botoninicio img {
  width: 100%;
  height: auto;
  cursor: pointer;
 
}
.section {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.section.visible {
  display: block;
}

.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Imagen de texto en sección sobre */

.textosobresm {
position: absolute;
  top: 15%;
  left: 25%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 50px;
  z-index: 10;
}

.textosobresm img {
  width: 100%;
  height: auto;
  cursor: pointer;
 
}
.section {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.section.visible {
  display: block;
}

/* Formulario */
.formulario {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f5f5dc; /* beige claro */
  padding: 40px;
  border-radius: 12px;
  z-index: 5;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.formulario button {
  padding: 12px;
  font-size: 16px;
  background-color: #000080;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.formulario button:hover {
  background-color: #0000aa;
}
