@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

* {
    box-sizing: border-box;
  }
  body
  { 
    margin: 0%;


  }
  main
  {
    margin: 5%;
  }


video {
max-width: 1080px;
max-height: 720px;

}
header
{
    background-color: rgb(19, 19, 58);
    justify-content: space-between;
    align-items: center;
    display: flex;
    padding: 2rem;
    }

/*footer*/

footer
{
  padding: 0.5em;
    background-color: rgb(19, 19, 58);
   
}

footer div
{
  width: 10rem;
  margin: 1em;
  padding-bottom: 5px;
}

footer ul a, footer ul
{
  text-decoration: none;
  color: white;
  list-style: none;
  
}

section
{    /*margin: 5%;
      margin-top: 1rem;*/
     margin-bottom: 1rem;
     padding: 1rem;
     border-radius: 1rem;
     background-color: rgb(207, 201, 201);
}

h1,h2,h3,h4
{
    font-family: "Merriweather", serif;
    font-weight: 700;
    font-style: normal;
}
h1
{
  font-size: 32px;
}

h2
{
  font-size: 24px;
}

h3
{  font-size: 20px;
    color: green;
}

h4 {
margin-top: 1rem;
margin-bottom: 0.5rem;
}

p
{
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  font-size: 16px;
  text-align: start;
}
.p
{ font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  font-size: 16px;
  text-align: start;

}

/*boton*/

.boton

{ margin-bottom: 1em;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal; 
  text-align: center;
   color: white;
    padding: 1rem;
    border-radius: 1rem;
    background-color:rgb(178, 93, 37);
    margin-left: 75%
    
}
.boton2
{
  margin-bottom: 1em;
  font-family: "Roboto", sans-serif;
  padding: 1rem;
  border-radius: 1rem;
  background-color: rgb(10, 71, 10);
  color: white;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;

}

.boton3
  { 
    margin-bottom: 1em;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal; 
    text-align: center;
    color: white;
    padding: 1rem;
    border-radius: 1rem;
    background-color:rgb(17, 30, 148);
    margin-left: 75%;
    list-style-type: none;
  }

  .boton4
  { 
    flex-direction: column;
    align-items:center;

    margin-bottom: 1em;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal; 
    text-align: center;
    color: white;
    padding: 1rem;
    border-radius: 1rem;
    background-color:rgb(10, 71, 10);
    margin-left: 75%;
    list-style-type: none;
  }

  .boton5
  { 
    align-items:baseline;
    margin-bottom: 1em;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal; 
    text-align: center;
    color: white;
    padding: 1rem;
    border-radius: 1rem;
    background-color:rgb(160, 7, 7);
    list-style-type: none;
    cursor: pointer;
  
  }

  .boton6
  { 
    align-items:baseline;
    margin-bottom: 1em;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal; 
    text-align: center;
    color: white;
    padding: 1rem;
    border-radius: 1rem;
    background-color:rgb(10, 71, 10);
    list-style-type: none;
    cursor: pointer;
  
  }

/*registro*/

.registro 
{
  color: black;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  font-size: 16px;
  color: rgb(4, 4, 15);
 }

.registrarme {
  color: black;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  font-size: 14px;
  text-align: start;
}

.registro label {
  
  font-weight: bold;
  margin-bottom: 5px;
  display: block;

}

/*  campos de entrada */
.registro input[type="text"] {
  width: 100%; 
  padding: 10px;
  margin-bottom: 10px;
  border: 2px solid #ccc; 
  border-radius: 10px; 
  
}

.destacados
{ display: flex;
 overflow-x: auto;
 gap: 10px;
 padding: 5px;
 scroll-snap-type: x mandatory;
 background-color: rgb(145, 31, 15);

  
}

.destacados img {
  width: 200px;
  height: auto;
  scroll-snap-align: start;
  object-fit: cover;

}
.white
{
  color: whitesmoke;
}


/*iniciarte*/

.iniciarte
{
display: flex;
flex-direction: row;
row-gap: 5rem;
column-gap: 2rem;
text-align: center;
margin: 0%;
align-items: center;
}

.iniciarte img {
width: 500px;
height: auto;
}

.iniciarte h4 {
font-size: 30px;
padding: 0;
margin: 1rem;

}

.iniciarte h4 b {
color: green;
}

.iniciarte a {
font-size: 20px;
}

/*iniciarte fin*/

h2, p
{color: rgb(19, 19, 58);
}


/*header*/

 header nav ul
{ font-family: roboto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0%;
  
}

header nav a
{ text-decoration: none;
  padding-block: 10px;
  text-align: center;
  border-radius: 2rem;
  display: block;
  color: rgb(249, 242, 233);
  background-color: rgb(63, 63, 91);
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 8px;
  
}

.indicedestacado
{
  text-decoration: none;
  padding-block: 10px;
  text-align: center;
  border-radius: 2rem;
  display: block;
  color: black;
  background-color: rgb(217, 174, 33);
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 8px;

}

.datos
{
  color: rgb(122, 120, 120);
  border: 1px solid rgb(122, 120, 120);
  background-color: rgb(242, 236, 236);
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  border-radius: 10%;
}

.iniciarse
{ text-decoration: none;
  color: antiquewhite;
  list-style: none;
  text-align: center;
  
}

.pcontainer
{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  margin: 0%;
}

.pcontainer img
{
  border-radius: 100%;
  width: 500px;
  height: auto;
}

summary
{ margin-block: 1em;
  padding: 1rem;
  border-radius: 1rem;
  background-color:rgb(10, 71, 10);
  color: whitesmoke;
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-style: normal;
}

summary:hover
{
  background-color: rgb(178, 93, 37);
}
details[open] summary
{
  background-color: rgb(178, 93, 37);
}

.pregunta
{
   padding: 1rem;
    border-radius: 1rem;
    background-color:rgb(10, 71, 10);
    color: whitesmoke
}

.noback
{
  background-color: white;
  margin: 0%;
  padding: 0%;
}

.coverimg
{

width: 100%;
height: 100px;
overflow: hidden;
}
.coverimg img
{ 
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svacia
{
margin: 0%;
background-color: white;
padding: 0;
}

.nomargen
{
  margin: 0%;
}

.back
{
  background-color:rgb(12, 12, 36);
}

.contenedorsecciones{
    display: flex;
    flex-direction: column;
}

.contentsection{
  display: flex;
  flex-direction:column;
  align-items: center;
  margin: 0%;
  margin-bottom: 1em;
}

/*perfil msjes*/
.mensajes
{
  background-color: rgb(19, 19, 58);
}
/*perfil publicaciones*/

.publicaciones{
  display: flex;
  flex-direction:column;
  align-items: flex-start;
  margin: 0%;
  margin-bottom: 1em;
  background-color: rgba(10, 71, 10, 0.418);
}
.boton:hover,.boton2:hover, i:hover,.publicacion
{
  transform: scale(1.05);
}


/* Nosotros */
.portada
{
  width: 100%;
  height: 40%;
  background-image:url(../fotos/estudiante-universitario_Mesa\ de\ trabajo\ 1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0%;
}
.lb
{
  color: rgb(21, 124, 184);
}
.verde
{
  color: green;
}
.yellow
{
  color: rgb(217, 174, 33);
}
.red 
{
  color: rgb(145, 31, 15);
}
.nosotros
{
  padding: 10%;
}
.nosotros1
{
  background-color: rgb(217, 174, 33);
  margin: 0%;
  padding: 10%;
  padding-top: 10%;
  padding-bottom: 10%;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.nosotros2
{
  background-color:rgb(10, 71, 10);
  margin: 0%;
  padding: 10%;
  
}
.nosotros2 p,
.nosotros2 h2
{
  color: white;
}
.nosotros1 h2
{
  background: none;
  color: black;
  padding: 0%;
}
.imgconteiner, .textcontainer
{
  flex: 1;
}
.imgconteiner img
{
  width: 100%;
  max-width: 300%;
  height: auto;
  border-radius: 1%;
}

.boton2 a
{
  color: antiquewhite;
  text-decoration: none; 
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  
}

#logofooter img {
  width: 1px;
  margin: -1em;
  padding-bottom: .25em;
}

#logo img {
  width: 20rem;
  margin: -1em;
  padding-bottom: .25em;
}

img {
  max-width: 100%;
  height: auto;
}

.nav-list {
display: flex;
list-style-type: none;
gap: 1rem;
}

.abrir-menu , .cerrar-menu {
  display: none;
}

/* Categorias muestras */


.categorias
{
  display: flex;
  align-items: center;
  list-style: none;
  text-align: start;
  align-content: space-between;

}

.categorias li a
{
 text-decoration: none;
 
}

.categorias li
{
  padding: 1em; 
  border-radius: 1em;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal; 
  text-align: center;
}

.categorias li a:hover,
.categorias li a:focus
{
  border-bottom: 2px solid;
}
.selected
{
  color: white;
  background-color:rgb(10, 71, 10);
  padding: 1em;
  margin: 1em;
  border-radius: 1rem;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal; 
  text-align: center;
}

.img-desktop
{
  display: none;
}

/* Galeria de imagenes */

.publicacion:hover,.publicacion img:hover 
{
  background-color: rgb(122, 120, 120);
  transform: scale(1.05);
}

.galeria
{
  
    display: grid;
    grid-template-columns: 1fr; 
    gap: 20px;
    
}

.publicacion {
  border: 5px solid rgb(207, 201, 201); 
  border-radius: 10px;
  overflow: hidden;
  text-align: center; 
  background-color: rgb(207, 201, 201);
  margin: 1rem;
}

.publicacion img {
  width: 100%; 
  height: auto;
  display: block;
}

.publicacion .autor {
  margin: 10px 0; 
  font-size: 16px;
 
  
}


/*Destacadas */

.destacada:hover,.destacada img:hover
{
  background-color: rgb(122, 120, 120);
  transform: scale(1.05);
}

.imagenes-destacadas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px; 
  padding: 20px;
  background-color: rgb(217, 174, 33);
}


.destacada {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}


.destacada img {
  width: 100%; 
  height: auto; 
  display: block;
 
}


.texto-destacada {
  position: absolute; 
  bottom: 0; 
  left: 0;
  width: 100%; 
  background: rgba(252, 252, 252, 0.5);
  padding: 10px; 
  font-size: 16px;
}

/* Audiovisual */
.video:hover
{
  background-color: rgb(122, 120, 120);
  transform: scale(1.05);
}

.galeria-audiovisual {
  margin: 2rem auto;
  padding: 1rem;
}


.videos-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.video {
  text-align: center;
  background-color: rgb(207, 201, 201);
  padding: 1rem;
  border-radius: 10px;
}

.video iframe {
  width: 100%;
  height: 315px;
  border-radius: 10px;
}

.video p {
  margin-top: 0.5rem;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  color: black;
}

/*Escrito*/
.txtdestacado
{

  background-color: rgb(217, 174, 33);
  margin-block: 2rem;
  padding: 5%;
  padding-top: 6%;
  padding-bottom: 6%;
  border-radius: 10px;
}




/*crl f para abrir el buscado*/

/* Vista en Celular */
@media screen and (max-width: 751px) {
.abrir-menu, .cerrar-menu {
 display: block;
 border: 0;
 font-size: 1.25rem;
 background-color: transparent;
 cursor: pointer;
}

.abrir-menu {
  color: yellow;
  }

.cerrar-menu { 
  color: red;
}

.nav {
  opacity: 0;
  visibility: hidden;

  display: flex;
  flex-direction: column;
  z-index: 1;
  align-items: end;
  gap: 1rem;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(4, 4, 36);
  padding: 2rem;

}

.nav.visible {
opacity: 1;
visibility: visible;
}

.nav-list {
  flex-direction: column;
  align-items: end;
}

header nav a
{
  text-decoration: none;
  padding-block: 10px;
  text-align: center;
  border-radius: 2rem;
  display: block;
  color: rgb(249, 242, 233);
  background-color: rgb(4, 4, 36);
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 8px;
}

.categorias {
  display: block;
  padding: 0rem;
}

.pcontainer
{
  flex-direction: column;
}

/*buscador*/
.busquedatags {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  column-gap: 1rem;
  align-items: center;
  justify-content: center;
  background-color: white;
  }

/*video*/

video {
  width: 21rem;
  height: auto;
}

/*foto*/

.fotocont {
display: flex;
flex-direction: column;
justify-content: center;
gap: 20px;
margin: 5px;
margin-bottom: 5px;
padding: 20px;
}

.fotografiaejemplo {
  width: 350px;
  height: auto;
}

/*iniciarte*/
.iniciarte
{
display: flex;
flex-direction: column;
row-gap: 1rem;
column-gap: 1cap;
text-align: center;
margin: 0%;
align-items: center;
}

.iniciarte img {
width: 500px;
height: auto;
}

.iniciarte h4 {
font-size: 30px;
padding: 0;
}

.iniciarte h4 b {
color: green;
}

.iniciarte a {
font-size: 20px;
padding-bottom: 1rem;
}
/*iniciarte fin*/

/* botones inicio */
.buttonrow {
  display: flex;
  flex-direction: column;
  row-gap: 0rem;
  column-gap: 0rem;
  justify-content: center;
  gap:1px;
  
}

}




/**/
/**/
/**/
/* Vista en desktop */

@media(min-width: 60em) {

  main{
    margin-inline-start: 5em;
  }

  .contenedorsecciones{
    flex-direction: row;
}

  .contentsection {
    flex-direction: column;
  /*margin-inline-end: 1rem;
  margin-inline-start: 1rem;*/ 
}

.publicaciones {
  flex-direction: column;
}

.nosotros1, .nosotros2 {
  display: flex;
  flex-direction: row;
  align-items: flex-start; 
  gap: 20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* texto  de nosotros */
.text-container {
  flex: 1; 
  display: flex;
  flex-direction: column;
  padding-inline: 10em;
}

/* imagen de nosotros */
.img-desktop {
  display: block;
  width: 40%; 
  max-width: 300px; 
  object-fit: cover; 
  border-radius: 10%;
}
 .nosotros
 {
  padding-inline: 10em;
 }
 
 .margin
 {
  margin-inline: 15em;
 }

/* Galeria de imagenes */
 .galeria {
  grid-template-columns: repeat(3, 1fr);
 
}
/* img destacada */
.imagenes-destacadas {
  grid-template-columns: repeat(3, 1fr); 
}

.texto-destacada {
  font-size: 18px;
}

.videos-container {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.video iframe {
  height: 250px;
}

.fotografiaejemplo {
  width: 450rem;
  height: auto;
}

.destacadoamarillo {
  display: flex;
  flex-direction: row;
  align-items: flex-start; 
  gap: 20px;
  border-radius: 10px;
}


/*buscador pantalla escritorio*/
.busquedatags {
  display: flex;
  flex-direction: row;
  row-gap: 1rem;
  column-gap: 1rem;
  align-items: center;
  justify-content: center;
  background-color: white;
  }

/* botones inicio */
.buttonrow {
  display: flex;
  justify-content: center;
  gap: 15px;
  
}


}

/* botones inicio */
.buttonrow {
  display: flex;
  justify-content: center;
}

/* comentario */

.comentario {
background-color: white;
border-radius: 1em;
padding: 1rem;
margin: 1rem;
text-size-adjust: 1em;
}

.comentario2
{
  color: black;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  font-size: 16px;
  color: rgb(4, 4, 15);
 }


/* escrito */

.escrito .escritoautor {
  margin: 10px 0; 
  font-size: 16px;
  text-align: center; 
}

.escrito h2 {
text-align: center;
}

/* icono en escrito */
.h3perfil {
  display: flex;
  flex-direction: column;
 /* row-gap: 1rem;
  column-gap: 1rem;*/
  align-items: center;
  justify-content: center;
  margin-top: 0rem;
  margin-bottom: 0rem;
  background-color: white;
  }

  .h3perfil h3 {
  margin: 0.1rem;
  color: black;
  }
  
  h3 img {
  width: 70px;
  height:70px;
  border-radius: 100%;
  }
  
  /*fotografia ejemplo */
  
  .imagen {
  display:flex;
  align-items: center;
  justify-content:center;
  gap: 20px;
  padding: 20px;
  margin: 0%;
  background-color: grey;
  text-align: left;
  }
  
  .fotocont
  {
    display: flex;
    align-items: top;
    justify-content: center;
    gap: 20px;
    margin: 5px;
    margin-bottom: 5px;
    padding: 20px;
  
  }
  
  .fotocont div
  {
    width: 450rem;
    height: auto;
  }
  

  .piedefoto {
    margin-bottom: 5%;
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: top;
    justify-content: center;
    gap: 20px;
    margin: 5px;
    margin-bottom: 5px;
    padding: 20px;
  }

  /*galeria escritos*/

  .destacadoamarillo
{
  background-color: rgb(217, 174, 33);
  margin: 0%;
  padding: 10%;
  padding-top: 10%;
  padding-bottom: 10%;
  border-radius: 10px;
}

.destacadoamarillo h2
{
  background: none;
  color: black;
  padding: 0%;
}



.centrartexto{
text-align: center;
background-color: white;
margin-bottom: 0.0rem;
}

/*buscador*/
.form-busqueda {
  display: flex
;
  align-items: center;
  background-color: #2935433b;
  padding: 0.2rem;
  border-radius: 3rem;
  max-width: 400px;
}

.form-busqueda button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.form-busqueda input[type="text"] {
  flex: 1;
  padding: 0.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  background: none;
}

.label-oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0; 
  }

  .busquedatags {
    background-color: white;
    }

    .contentsectionana {
      display: flex;
      flex-direction:column;
      align-items: flex-start;
      margin: 0%;
      margin-bottom: 1rem;
    }