/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

header {
  z-index: 1;
  height: auto;
  background: #2a2829;
  width: 100%;
  left: 0;
  top: 0;
  position: sticky;
  position: -webkit-sticky;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.divheader {
  float: right;
  margin-right: 20px;
  height: 100%;
}

ul li {
  display: inline-block;
  margin: 10px;
  font-family: 'Courier New';
  font-weight: 1000;
  font-size: 19px;
  color: white;
}

ul li:hover {
  color: rgb(79, 79, 145);
  -webkit-transition: color 0.4s;
  -o-transition: color 0.4s;
  transition: color 0.4s;
}

body {
  background-color: #b9d7d9;
  min-height: 100vh;
  margin: 0 auto;
}

footer p {
  color: rgba(0,0,0,.7);
  text-shadow: 0 1px rgba(255, 255, 255, 0.1);
  text-align: center;
}

.sect {
  margin: 50px auto;
  -ms-flex-line-pack: center;
      align-content: center;
  width: 50%;
  font-family: Arial;
}

.sect h1 {
  font-family: 'Courier New';
  font-weight: 1000;
  font-size: 24px;
}

a {
  color:inherit;
  text-decoration: none;
}

.inicio {
  background-color: #668284;
  height: 92.5vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.center {
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.center h1 {
  text-align: center;
  font-size: 300%;
  font-family: Helvetica;
}

.perfil {
  margin: auto;
  width: 33%;
  height: auto;
  border-radius: 50%;
  -webkit-box-shadow: 2px 2px 20px 1px rgba(0, 0, 0, 1);
          box-shadow: 2px 2px 20px 1px rgba(0, 0, 0, 1);
}

.sub {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 15px;
}

.sub h1 {
  font-family: Arial !important;
  font-size: 22px !important;
  font-weight: bold;
}

.subizq {
  text-align: right;
  width: 49%;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.subder {
  text-align: left;
  width: 49%;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.subder h1 {
  margin-bottom: 0px;
}

.submini {
  margin-top: 0px;
  font-family: Arial !important;
  font-size: 15px;
}

hr {
  width: 50%;
  border-style: outset;
  border-color: black;
  border-radius: 5px 5px 5px 5px;
}

.subcaja {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.subcaja img {
  width: 20%;
  margin-bottom: 1%;
  border-radius: 10px;
  cursor: pointer;
}

/* Responsive */
@media screen and (max-width: 1300px) {
	.subcaja {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

/* Personalización de la barra de desplazamiento para todo el documento */
body::-webkit-scrollbar {
  width: 12px;  /* Ancho de la barra de desplazamiento */
  height: 12px; /* Ancho del scroll horizontal */
}

/* Personalización del fondo de la barra de desplazamiento */
body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

/* Personalización de la parte que se mueve de la barra de desplazamiento */
body::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

/* Efecto hover para el pulgar de la barra de desplazamiento */
body::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* Personalización del scroll horizontal */
body::-webkit-scrollbar-horizontal {
  height: 10px;
}

.modal-wrapper {
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  height: 100%;
  left: 0;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: auto;
  opacity: 1;
  z-index: 100;
  overflow-y: auto;
  padding: 50px 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 15px;
  display:none;
  opacity:0;
  -webkit-transition:0.5s;
  -o-transition:0.5s;
  transition:0.5s;
}

.modal-container {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #2a2829;
  border-radius: 5px;
  margin: auto;
  max-width: 700px;
  min-width: 300px;
  position: relative;
  padding: 20px;
  color: #fff;
  text-align: center;
}

.modal-container h3 {
  font-family: 'Courier New';
}

.modal-close {
  background: none;
  border: none;
  color: #62f5c8;
  cursor: pointer;
  outline: none;
  padding: 0;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10;
}