html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  letter-spacing: 3px;
  font-size: 15px;
  line-height: 1.5;
  background-color: #fff;
}

header {
  top: 0;
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
  -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
}

/* FOOTER */
footer {
  margin: 1%;
}

footer .site-name {
  font-size: 1.1rem;
  color: #cfb734;
  font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
}

.logo img {
  height: 100%;
  width: 150px;
  object-fit: contain;
  display: flex;
  align-items: left;
}

a {
  color: #474234;
  text-decoration: none!important; 
}

.text-center{
  text-align: center!important;
}

.text-justify{
  text-align: justify!important;
}

.text-justify > p{
  padding-bottom: 1.5%;
}

#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 24px;
  border: none;
  background: #29323c;
  color: white;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 50%;
}

nav {
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 1;
}

.nav {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar{
  position: relative;
  display: flex;
  flex-direction: row;
  margin-bottom: 0px !important;
  min-height: 50px;
  margin-bottom: 20px;
  
}

.top-nav {
  position: fixed;
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;  
  margin: 0;  
  align-items: left;
  background-color: #cfb734;
  border-bottom: 1px solid #696356;
}

.menu_item_logo img{
  height: 50px;
  width: 105px;
  object-fit: contain;
  display: flex;
  align-items: left;
}

.menu_item{
  width: 35%;
  padding: 2%;
  /*
  padding: 3%;
  padding-top: 3.5%;
  margin-right: 2%;
  margin-left: 2%;
  */
  text-align: center;
  align-items: center;
  font-size: var(--font-medium);
  font-size: 100%;
  color: #474234;
}

.menu_border_item{
  border-right: 1px solid #696356;
}

ul{
  display: flex;
  flex-direction: row;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
  margin-top: 0;
  margin-bottom: 10px;
}

.nav>li {
  position: relative;
  display: block;
}

a>li {
  text-decoration: none !important;
  display: list-item;
  text-align: center;
}

.menu_item:hover,
.dropdown-item:hover {
  background-color: #696356;
  color: #b0a587;
}

.menu_item:hover,
.dropdown-item:hover {
  font-size: var(--font-large);
}


/*

.top-nav .menu_item a {
  background-color: #4d4a45;
  width: 30%;
  padding-top: 4.5%;
  text-align: center;
  align-items: center;
  font-size: var(--font-medium);
}



.menu_item{
  font-size: 100%;
  color: #474234;
  padding: 1.8%;
  height: 100%;
  width: 35%;
}

.top-nav .menu_item {
  color: #f1f1f1;
  font-size: 20px;
  display: flex;
  width: 35%;
  height: 100%;
  
}

.top-nav .menu_item a,
.top-nav .logo a {
  transition: var(--transition-fast);
  font-family: "Roboto", sans-serif;
}
*/











.nav-links{
  background-color: #cfb734;
  width: 100%;
}

.nav-container .logo p {
  font-size: var(--font-large);
}

.top-nav .nav-links a:hover {
  background-color: #696356;
  color: #b0a587;
}

.top-nav .nav-links a:hover,
.top-nav .logo a:hover {
  font-size: var(--font-large);
}

.nav-container .nav-links .language{
  color: #4d4a45;
  text-align: right;
  align-items: right;
}

.mobile-button {
  display: none;
}

.mobile-links {
  background: #485563;
  background: -webkit-linear-gradient(to right, #29323c, #485563);
  background: linear-gradient(to right, #29323c, #485563);
  height: 100%;
  width: 0;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  top: 0;
  left: 0;
  overflow-x: hidden;
  transition: var(--transition-fast);
  padding-top: 20px;
}

.mobile-links a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  display: block;
  transition: 0.3s;
  text-align: center;
  color: rgb(153, 255, 187);
}

.mobile-links .closebtn {
  font-size: var(--font-2x-large);
  color: rgb(153, 255, 187);
  padding: 0;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: 20px;
  margin-top: 20px;
  border: 5px solid rgb(153, 255, 187);
  position: absolute;
  right: 0;
  top: 0;
}

.slide-section{
  background: #485563;
  width: 100%;
  min-height: 600px;
  height: 800px;
}

/*Slides*/

.mySlides {
  display: none;
  text-align: center;
}

.mySlides img{
  width: 100%;
  min-height: 600px;
  height: 800px;
  opacity: 0.5;
  display: inline-block;
  object-fit: fill;
  text-align: center;
  filter: grayscale(80%);
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 20%;
  width: auto;
  margin-top: 200px;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.prev{
  position: absolute;
  left: 0;
}

.next {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* The dot/bullet/indicator container */
.dot-container {
  width: 100%;
  top: 820px;
  align-items: center;
  position: absolute;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  /*background-color: rgba(153, 255, 187, 0.2);*/
  background-color: rgba(207, 183, 52, 0.2);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Add a background color to the active dot/circle */
.active,
.dot:hover {
  background-color: rgba(207, 183, 52, 1);
}

.welcome-text{
  font-family: Lucida Console, sans-serif;
  font-size: 40px;
  color: #cfb734;
  width: 60%;
  padding-left: 20%;
  text-align: center;
  position: absolute;
  top: 30%;
}

.welcome-text .welcome-logo{
  width: 30%;
}

/* CONTAINERS */
.content-container{
  background: radial-gradient(circle, rgba(207,183,52,1) 0%, rgba(207,200,124,1) 100%, rgba(207,183,52,1) 100%);
  display: inline-grid;
  width: 100%;
  border-top: 2px solid #696356;
  border-bottom: 2px solid #696356;
  align-content: center;
}

.content-container .noticias-container{
  height: 500px;
}

.contacto{
  height: 500px;
}

.proyecto-container{
  display: inline-grid;
  grid-template-rows: 10% 90%;
  height: 730px;
  align-items: center!important;
}

.grid-item-header{
  grid-column-start: 1;
  grid-column-end: 4;
  padding: 1%;
}

/*****************************************************************/
/*************************** NOTICIAS ***************************/
.news-container-r{
  display: inline-grid;
  width: 100%;
  heigth: 400px;
  background-color: #cfb734;
  /*align-content: center;*/
  -webkit-box-shadow: inset -400px 0px 1000px 0px #f5e698;
  -moz-box-shadow: inset -400px 0px 1000px 0px #f5e698;
  box-shadow: inset -400px 0px 1000px 0px #f5e698;
}

.news-container-l{
  display: inline-grid;
  width: 100%;
  heigth: 400px;
  background-color: #cfb734;
  /*align-content: center;*/
  -webkit-box-shadow: inset 400px 0px 1000px 0px #f5e698;
  -moz-box-shadow: inset 400px 0px 1000px 0px #f5e698;
  box-shadow: inset 400px 0px 1000px 0px #f5e698;
}

.news-grid-items-l{
  display: inline-grid;
  width: 100%;
  grid-template-rows: 100%;
  grid-template-columns: 40% 60%;
  align-content: center;
}

.news-grid-items-r{
  display: inline-grid;
  width: 100%;
  grid-template-rows: 100%;
  grid-template-columns: 60% 40%;
  align-content: center;
}

.noticias-image-container{
  height: 100%;
  width: 100%;
}

.noticias-image{
  height: 100%;
  width: 100%;
  object-fit: cover;
  /*max-height: 100%;*/
}

.noticias-image:hover {
  transform: scaleX(-1);
}

.noticias-text-container{
  padding: 2%;
  grid-template-rows: 30% 70%;
}

.news-title{
  font-family: Geneva, Verdana, sans-serif;
  font-size: 30px;
  text-align: center;
  color: #696356;
}




/*****************************************************************/
/* RESOURCES */
.content-container-res{
  display: inline-grid;
  width: 96%;
  margin: 2%;
  border: 2px solid #000000;
  border-radius: 15px;
  align-content: center;

  -webkit-box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.75);

}

.grid-item-header-res{
  grid-column-start: 1;
  grid-column-end: 3;
  padding: 1%;
}

.grid-items-res{
  display: inline-flex;
  text-align: justify;
  height: 450px;
  margin: 5%;
  padding: 1%;
  vertical-align: middle;
}

.download-button-item{
  margin-top: 5%;
  margin-left: 40%;
}

.res-img{
  width: 100%;
  height: 100%;
}

.download-button{
  height: 50px;
  width: 20%;
  border-radius: 10px;
  background-color: #cfb734;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.download-button:hover {
  background-color: rgba(207, 183, 52, 0.4);
  font-size: 18px;
}

/*****************************************************************/
/* PROYECTO */ 
.yt {
  height: 90%;
  position: relative;
}

.yt iframe, .yt object, .yt embed {
  height: 100%;
  width: 60%;
  margin: 20%;
  margin-top: -2%;
}

/************************************************/
/* CONTAINER GRUPO */
.content-container .grupo-container{
  display: inline-grid;
  flex-wrap: wrap;
  grid-template-rows: 50% 50%;
}


.team-container{
  display: inline-grid;
  width: 100%;
  heigth: 150px;
  grid-template-rows: 40% 60%;
  grid-template-columns: 25% 25% 25% 25%;
  align-content: center;
  border-bottom: 1px solid #696356;;
}

.team-grid-item{
  align-content: center;
  margin: 10%;
  padding-top: 0;
}

.team-image{
  margin-left: 25%;
  height: 100%;
  width: 50%;
  border-radius: 20%;
}

.team-text-container{
  padding-top: 10%;
  text-align: center;
}

.team-text-container > p{
  padding-top: 5%;
}


.frase{
  top: 50px;
  display: relative;
}

/* BOTÓN SABER MÁS */
.mas-button{
  height: 100%;
  width: 30%;
  border-radius: 10px;
  background-color: #cfb734;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.mas-button:hover {
  background-color: rgba(207, 183, 52, 0.4);
  font-size: 18px;
  width: 35%;
}




/*
/* FORMULARIO CONTACTO 
form {
  /* Centrar el formulario en la página *
  margin: 0 auto;
  width: 100%;
  /* Esquema del formulario *
  padding: 1em;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

form li + li {
  margin-top: 1em;
}

label {
  /* Tamaño y alineación uniforme *
  display: inline-block;
  width: 200px;
  text-align: right;
}

input,
textarea {
  /* Para asegurarse de que todos los campos de texto tienen la misma configuración de letra
     Por defecto, las áreas de texto tienen un tipo de letra monoespaciada *
  font: 1em sans-serif;

  /* Tamaño uniforme del campo de texto *
  width: 400px;
  height: 26px;
  box-sizing: border-box;

  /* Hacer coincidir los bordes del campo del formulario *
  border: 1px solid #999;
}

input:focus,
textarea:focus {
  /* Destacado adicional para elementos que tienen el cursor *
  border-color: #000;
}

textarea {
  /* Alinear los campos de texto multilínea con sus etiquetas *
  vertical-align: top;

  /* Proporcionar espacio para escribir texto *
  height: 15em;
  width: 80%;
}

li .send-button-li{
  /* Alinear los botones con los campos de texto *
  padding-left: 90px; /* mismo tamaño que los elementos de la etiqueta *
  height: 30%;
  align-items: center;
}

button {
  /* Este margen adicional representa aproximadamente el mismo espacio que el espacio
     entre las etiquetas y sus campos de texto *
  margin-left: .5em;
}

.send-button{
  height: 50px;
  width: 80px;
  border-radius: 10px;
  background-color: #cfb734;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.send-button:hover {
  background-color: rgba(207, 183, 52, 0.4);
  font-size: 18px;
}
*/