/* Colors */
/* White theme color */
/* Backgrounds */
/* MediaQuery */

* {
  margin: 0;
  padding: 0;
  font-family: DM-Sans;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

/* FONT FAMILY ///////////////////////////////////////////////////*/
h1,
h2,
h3 {
  font-family: "Gugi", cursive;
}

h1 {
  font-size: 20px;
}

h2,
h3 {
  font-size: 18px;
}

li,
a,
p {
  font-family: "Jaldi", sans-serif;
}

p,
a,
li {
  font-size: 18px;
}

/* HEADER ///////////////////////////////////////////////////*/

header {
  background-color: rgb(26, 25, 25);
}

.navbar .logo img {
  height: 3rem;
}

.navbar .logo img:hover {
  filter: invert(52%) sepia(45%) saturate(2627%) hue-rotate(326deg) brightness(78%) contrast(109%);
}

.navbar .logo {
  display: flex;
  align-items: center;
}

.navbar {
  display: flex;
  justify-content: space-around;
  padding: 18px;
}

.navbar .menu ul {
  display: flex;
  justify-content: center;
  margin: 5px;
}

.navbar .menu ul li {
  display: flex;
  align-items: center;
  padding: 10px;
}

.navbar .menu ul li a {
  height: 47px;
  font-size: 20px;
  color: #dbdddf;
  font-weight: bold;
}

.navbar .menu ul li a:hover {
  color: rgb(205, 65, 64);
  border-bottom: 2px solid rgb(205, 65, 64);
}

/* FOOTER ///////////////////////////////////////////////////*/

footer {
  width: 100%;
  background-color: #1a1919;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation-name: footeranimation;
  animation-duration: 1s;
}

footer .textfooter {
  height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
}

footer .textfooter div {
  padding: 20px;
  text-align: center;
}

footer .textfooter h2 {
  padding-bottom: 15px;
  color: rgb(205, 65, 64);
}

footer .textfooter a {
  color: #aeb0b1;
}

footer .textfooter a:hover {
  color: #dbdddf;
}

footer .textfooter .siguenos ul {
  display: flex;
  justify-content: center;
}

footer .textfooter .siguenos ul li {
  padding: 0px 10px;
}

footer .textfooter .siguenos ul li img {
  width: 25px;
}

footer .textfooter .siguenos ul li img:hover {
  transform: scale(1.05);
}

footer .textfooter .mfooter img {
  width: 4rem;
}

footer .textfooter .mfooter img:hover {
  filter: invert(51%) sepia(92%) saturate(1666%) hue-rotate(325deg) brightness(78%) contrast(110%);
}

footer .textfooter .contacto li {
  font-size: 16px;
  color: #aeb0b1;
}

span {
  text-align: center;
  color: #dbdddf;
  padding-bottom: 10px;
}

/* MAIN INDEX ///////////////////////////////////////////////////*/

.mainindex {
  background-color: #061C25;
  display: flex;
  height: 80vh;
}

.mainindex p {
  font-size: 24px;
}

.cont-left {
  width: 50%;
  height: 100%;
  padding: 15px;
}

.cont-right {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.top-right,
.bottom-right {
  width: 100%;
  height: 50%;
  padding: 15px;
}

.cont-left img,
.top-right img,
.bottom-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cont-left,
.top-right,
.bottom-right {
  position: relative;
  display: inline-block;
}

.texto-descriptivo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
  color: white;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
}

.overlay:hover img {
  transition: 0.3s;
  filter: brightness(25%);
}

.overlay:hover .texto-descriptivo {
  opacity: 1;
}

/* MAIN PORYECTO ///////////////////////////////////////////////////*/

.mainp {
  background-image: url("../img/Grafitty_bg.png");
  background-size: cover;
  text-align: center;
  border-bottom: #ffffff solid 2px;
}

.Doc_titulo {
  width: 100%;
  height: 30vh;
  overflow: hidden;
  background-image: url("../img/imgtop_Doc.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 5rem;
  text-align: left;
  border-bottom: #ffffff solid 2px;
  border-top: #ffffff solid 2px;
}

.Doc_titulo h1 {
  color: #ffffff;
  background-color: #000000ca;
  padding: 20px 30px;
  border-radius: 30px;
}

.proyectodoc {
  background-color: #1a1919;
  margin-left: 4rem;
  margin-right: 4rem;
  padding-top: 1rem;
  box-shadow: -30px 0 30px rgba(0, 0, 0, 0.696), 30px 0 30px rgba(0, 0, 0, 0.696);
}

.proyectodoc h2 {
  padding: 10px 30px 10px 30px;
  color: #D9AB3A;
  text-align: center;
}

.proyectodoc h3 {
  padding: 10px 30px 10px 30px;
  color: #D9AB3A;
  text-align: left;
}

.proyectodoc p {
  padding: 0px 30px 30px 30px;
  color: #FFFFFF;
  text-align: left;
}

.proyectodoc li {
  list-style: disc;
  list-style-position: inside;
  padding: 0px 30px 20px 30px;
  color: #FFFFFF;
  text-align: left;
}

.preguntap {
  padding-top: 20px;
  padding-bottom: 20px;
}

.preguntap h2 {
  color: #dc7272;
  border-bottom: rgb(205, 65, 64) solid;
  border-top: rgb(205, 65, 64) solid;
}

.proyectodoc2 {
  display: flex;
  border-bottom: rgb(205, 65, 64) solid;
  margin-bottom: 20px;
}

.proypleft,
.proyprigth {
  padding-top: 20px;
  padding-bottom: 20px;
  width: 50%;
}

/* NOSOTROS ///////////////////////////////////////////////////*/


.nosotrosimg {
  background-image: url("../img/Grafitty_bg.png");
  background-size: cover;
  text-align: center;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px;
  height: 700px;
}

.nosotrosimg img {
  width: auto;
  height: 500px;
  margin: 20px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.76);
}

.nosotrosimg p {
  color: #ffffff;
  font-size: 22px;
  font-weight: 100;
  background-color: #000000df;
  border-radius: 30px;
}

/* DOCUMENTACION ///////////////////////////////////////////////////*/

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.grid-item {
  position: relative;
  overflow: hidden;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlaydoc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlaydoc p {
  font-size: 25px;
  font-weight: bold;
}

.grid-item:hover .overlaydoc {
  opacity: 1;
}

/* SEMESTRES ///////////////////////////////////////////////////*/

.semestreh2 {
  background-color: #348B83;
  padding: 10px;
  display: flex;
  justify-content: center;
}

.semestreh2 h2 {
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
  padding: 15px;
}

.arrow {
  position: relative;
}

.arrow img {
  width: 60px;
}

.fixed-imageR {
  position: absolute;
  right: 20px;
  transform: translateY(10%);
  padding: 5px;
  opacity: 0.8;
}

.fixed-imageR:hover {
  opacity: 0.4;
  transition: 0.2s;
}

.fixed-imageL {
  position: absolute;
  left: 20px;
  transform: translateY(10%);
  padding: 5px;
  opacity: 0.8;
}

.fixed-imageL:hover {
  opacity: 0.4;
  transition: 0.2s;
}

/* SEMESTRE 1 ///////////////////////////////////////////////////*/

.mainS {
  background-color: #1a1919;
}

.mainS h2 {
  font-size: 20px;
  color: #348B83;
  padding: 20px;
}

.contS {
  background-color: #1a1919;
  display: grid;
  grid-template-columns: 2fr 1fr;
  border-bottom: solid white 1px;
}

.gridS {
  padding: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.gridS img {
  padding: 10px;
  width: 75%;
}

.cont2S {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  background-image: url(../img/fondo_poster.png);
  background-size: cover;
}

.cont2S img {
  width: 50%;
  padding-bottom: 20px;
}

.ContArchivos {
  padding: 15px;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #FFF6EB;
}

.ContArchivos h2 {
  font-size: 20px;
  color: #000000;
  padding: 10px;
}

.bgdoc {
  width: 90%;
  height: 80%;
  background-color: #1a1919fb;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.documento {
  padding: 20px;
}

.documento img {
  width: 30px;
  height: auto;
  vertical-align: middle;
}

.documento span {
  margin-left: 5px;
  font-size: 15px;
  vertical-align: middle;
  color: #ffffff;
}

/* SEMESTRE 2 ///////////////////////////////////////////////////*/

.mainS2 {
  background-color: #1a1919;
}

.mainS2 h1 {
  font-size: 20px;
  color: #348B83;
  padding: 20px;
  text-align: center;
  border-bottom: #348B83 solid 2px;
}

.mainS2 h2 {
  font-size: 20px;
  color: #348B83;
  padding: 20px;
}

.contS2 {
  background-color: #1a1919;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: solid white 1px;
}

.gridS2 {
  padding: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  justify-content: center;
}

.gridS2 img {
  padding: 10px;
  vertical-align: middle;
}

.imgS2 img {
  width: 80%;
}

.logoS2 img {
  width: 45%;
}

/* SEMESTRE 3 ///////////////////////////////////////////////////*/

.mainS3 {
  background-color: #1a1919;
}

.mainS3 h1 {
  font-size: 20px;
  color: #348B83;
  padding: 20px;
  text-align: center;
  border-bottom: #348B83 solid 2px;
}

.mainS3 h2 {
  font-size: 20px;
  color: #ffffff;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
}


.contS3 {
  background-color: #1a1919;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: solid white 1px;
}

.gridS3 {
  padding: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  justify-content: center;
}

.gridS3 img {
  padding: 10px;
  vertical-align: middle;
  width: 80%;
}

.cont2S3 {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  background-color: #D9AB3A;
}

.cont2S3 img {
  width: 80%;
  padding: 20px;
}

.ContArchivos {
  padding: 15px;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #FFF6EB;
}

.ContArchivos h3 {
  font-size: 20px;
  color: #000000;
  padding: 10px;
}

.contdoc {
  width: 90%;
  height: 80%;
  background-color: #1a1919fb;
  border-radius: 10px;
}

.rowdoc {
  display: flex;
}

.documento {
  padding: 20px;
  text-align: center;
  flex: 1;
}

.documento img {
  width: 30px;
  height: auto;
  vertical-align: middle;
}

.documento span {
  margin-left: 5px;
  font-size: 15px;
  vertical-align: middle;
  color: #ffffff;
}