@charset "utf-8";

*{box-sizing:border-box;}


body {font-family: Arial, Helvetica, sans-serif;
     color: hsl(0%,0%,50%);
    margin: 0;
    background-color: hsla(34, 100%, 97%, 0.871);
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-width: 100%;
}

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


p,li {text-wrap: pretty;
text-align: start;
}

h1,h2,h3,h4 {color: hsla(0, 66%, 17%, 0.547);
line-height: 1.1;
text-wrap: balance;
text-align: start;}

a {text-decoration: none;
color: hsla(0, 66%, 17%, 0.547);
font-weight: bold;}

ul,ol {
 list-style: none;   
  padding: 0;}

header {background-color: hsla(0, 66%, 17%, 0.547);
color: hsl(0%,0%,50%);}

footer {
    padding: 1rem;
    background-color: hsla(0, 66%, 17%, 0.547);
    color:  hsla(34, 100%, 97%, 0.871);
}


header {
    box-shadow: 0 4px 4px 
    hsl(0, 0%, 0% / 20% );
    position: sticky;
  top: 0;
  z-index: 8000;
}
img.img-logo {
  max-width: 80%;
  height: auto;
  align-content: center;
}

#logodgpc {
    display: block;
    border-radius: 0;
    width: 8rem;
    padding: .1rem .1rem;
    background-color: hsla(34, 100%, 97%, 0.871);
    border: solid 3px hsl(0, 0%, 95%)
}

/*HEADER---------------------------*/

header .contenedora {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
  }
  
  #boton-nav {
    background-color: transparent;
    border: none;
  }
  
  #botonNav img {
    width: 100%;
  }
  
  
  nav ul li a:hover {
    background-color: hsla(0, 66%, 17%, 0.547);
    border: solid 3px hsla(34, 100%, 97%, 0.871);
    color: hsl(0, 28%, 66%);
  }
  /*MENU ----------------------------------*/

nav {
    position: relative;
  }
  
  .menu-btn,
  .menu-fondo {
    border-radius: 0.5em;
    padding: 1em;
    width: 3.5em;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.3s ease-out;
    position: fixed;
    top: 1em;
    right: 1em;
    z-index: 9000;
  }
  
  .menu-fondo {
    background: hsla(0, 66%, 17%, 0.547);
    z-index: 8000;
  }
  
  .menuVisible .menu-fondo {
    background: hsla(0, 66%, 17%, 0.547);
    width: 45vw;
    height: 200vw;
    inset: 0vw 0 auto auto;
    border-radius: 0em;
  }
  
  .menu-btn .btn-linea {
    width: 25px;
    height: 3px;
    margin: 4px 0 4px 0;
    background: hsla(34, 100%, 97%, 0.871);
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 9000;
  }
  
  .menuVisible .menu-btn .btn-linea {
    transform: rotate(180deg);
  }
  
  .menuVisible .menu-btn .btn-linea:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
  }
  
  .menuVisible .menu-btn .btn-linea:nth-child(2) {
    opacity: 0;
  }
  
  .menuVisible .menu-btn .btn-linea:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
  }
  
  nav ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    right: 0.25em;
    top: calc(100% + 4rem);
    z-index: 9999;
    transition: all .5s ease;
  }
  
  .menuVisible ul {
    visibility: visible;
    opacity: 100%;
    transition: all .5s .2s ease;
  }
  
  nav ul li a {
    display: block;
    color: hsla(34, 100%, 97%, 0.871);
    margin-block-end: .5em;
    width: min(40vw, 15rem);
    text-align: center;
    padding: 1em 0.5em 1em 2em;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
  }
  
  nav ul li a:hover {
    background-color: hsla(34, 100%, 97%, 0.871);
    transition: all .3s;
  }

.titulos {
    border-block-end: 5px solid rgb(64, 42, 65);
    padding-block-end: .35rem;
    border-bottom: .1em solid hsla(0, 66%, 17%, 0.547);
    color: hsla(300, 5%, 22%, 0.547);
    text-transform: uppercase;
}
img.yo {
  background-color: hsla(0, 66%, 17%, 0.547);
  margin-block-start: 2rem;
  padding: 1rem;
  border-radius: 1em;
}

.sobremi {
    text-align: center;
    border: solid 3px hsla(0, 66%, 17%, 0.547);
    max-width: 100%;
    margin: 2em auto 0em auto;
    padding: 0.5em;
    background-color: hsla(0, 66%, 17%, 0.547);
    border-radius: 0.25em;
}

h1 {
    text-align: left;
    }


section.contenedora {
    padding-block: 2em;
}

.contenedora {
    max-width: 65rem;
    margin-inline: auto;
    padding: 1rem;
}

.equipo {
        justify-content: space-evenly;
        align-items: flex-start;
        flex-direction: column;
}

.comitente {font-size: 1.25em;}

.comitente figure {
    margin: 0;
    width: clamp(10rem, 8rem + 25vw, 30rem);
    margin-inline-end: 1rem;
}

.comitente img {
    border-radius: .25rem;
    display: flex;
    align-items: center;
}

.equipo img {
    background-color: hsla(0, 66%, 17%, 0.547);
    width: 300px;
    max-width: 100%;
    margin-right: 20px;
    border: 5px solid hsla(0, 66%, 17%, 0.547);
    border-radius: 50%;
    box-shadow: 0 4px 4px hsl(0, 0%, 0% / 20%);
}

.equipo_textos h3 {
    margin-block-start: 0;
}

.equipo_articulos {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
gap: 1rem;
}

.equipo_articulos article {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 4rem;
}

.equipo_textos {
    display: grid;
    grid-template-rows: auto auto 1fr;
    margin-inline-start: auto;
    gap: 1.25em;
    margin: 0;
}

.bocetos a {
    text-align: center;
    border: solid 3px hsla(0, 66%, 17%, 0.547);
    max-width: 90%;
    margin: 2em auto 0em auto;
    padding: 2em;
    background-color: hsla(0, 66%, 17%, 0.547);
    border-radius: 0.90em;
}

.bocetos > ul > li {
    margin: 2em auto 0em auto;
    padding: 2em;
}


.academicos > ul > li:not(:last-of-type) {
    border-bottom: .2rem solid;
    padding-bottom: .9em;
    margin-bottom: .9em;
}

.academicos img {
    display: block;
    margin: 0;
    width: 12em;
    height: auto;
    gap: 3em;
    margin-right: 50px;
}



.academicos > ul > li*:first-child {
    margin-right: 2em;
    height: auto;
}


.logos {
    margin: 0 auto 0em 1em;
}

.logos img {
    text-align: center;
    margin: 1em 1em 1em 0;
}

.logos ul li {
    margin: 0 1em 2em auto;
    padding: 0 0 0 1em;
    border-left: solid;
    border-radius: 0.25em;
}


footer p {margin-block-end: 0;}

body {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr;
}


.equipo_textos a {
    margin-inline-start: auto;
}

.academicos > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
    gap: 3em;
}

.academicos > ul > li {
    display: flex;
    flex-wrap: wrap;
    text-align: start;
    gap: 3em;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
}



footer .contenedora p {
    margin-block: 0;
}

/*RESPONSIVE-TABLET*/

@media screen and (min-width: 768px) {

    /*NAV---------------------------*/
    #nav-desplegable ul {
     display: flex;
     justify-content: space-between;
      gap: 0.5em;
    }
  
    #boton-nav {
     display: none;
    }
}
/*RESPONSIVE-DESKTOP*/

@media screen and (min-width: 992px) {

    /*HEADER----------------------------*/
  
    header nav {
      margin-bottom: 0.5em;
      width: 100%;
  }
  
  .menu-btn {
      display: none;
  }
  
  header nav ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: right;
      align-items: center;
      margin-top: .5em;
      position: inherit;
      padding-top: 0;
      width: 100%;
      transition: none;
      visibility: visible;
      opacity: 1;
  }
  
  header nav ul li {
      min-width: 4em;
      margin: .25em;
  }
  
  header nav ul li a {
      border: solid 3px hsla(0, 66%, 17%, 0.547);
      border-radius: .25em;
      font-size: 1rem;
      width: auto;
      padding: .35em 1em;
  }
    
    /*NAV
    -------------------------------------*/
  
    .img-logo {
      margin: 0 0 0 2em;
    }
  
    #nav-desplegable ul {
      margin: 0 2em;
    }
  
    header .contenedora{
      margin: 2em auto 2em auto
  
    }
}


