/** Media Queries **/
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: "Raleway" sans-serif;
  font-size: 1.6rem;
}

p {
  font-size: 2rem;
  color: #000;
}

.contenedor {
  width: 95%;
  max-width: 120rem;
  margin: 0 auto;
}

a {
  text-decoration: none;
  font-size: 2.4rem;
}

h1, h2, h3 {
  margin: 0 0 5rem 0;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 3.1rem;
}

h3 {
  font-size: 2.4rem;
}

img,
picture {
  width: 100%;
  display: block;
}

.seccion {
  margin: 4rem auto;
}

.header {
  background-color: #162b61;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%), url(/kardex/img/header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.header__contenido {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header__barra {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .header__barra {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .header__barra .header__logo {
    width: 20rem;
  }
}

.header__navegacion a {
  display: block;
  color: #fff;
  text-align: center;
  padding-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .header__navegacion a {
    margin-right: 3rem;
    padding-bottom: 0;
  }
  .header__navegacion a:last-of-type {
    margin-right: 0;
  }
}
.header__navegacion a:hover {
  color: #e3b007;
}
@media (min-width: 768px) {
  .header__navegacion {
    display: flex;
  }
}

.mision h1 {
  text-align: center;
  color: #fff;
  font-weight: 700;
  margin: 0;
  padding-top: 5rem;
}
.mision p {
  text-align: justify;
  color: #fff;
}
.mision__enlace {
  background-color: #fff;
  color: #000;
  font-weight: 700;
  padding: 0.5rem 2rem;
  text-align: center;
  margin-top: 1rem;
  display: block;
  border: none;
  border-radius: 0.5rem;
  margin: 2rem;
}
.mision__enlace:hover {
  background-color: #b3b3b3;
  cursor: pointer;
}
@media (min-width: 768px) {
  .mision__enlace {
    display: inline-block;
  }
}
@media (min-width: 768px) {
  .mision h1 {
    text-align: left;
    padding-top: 15rem;
  }
  .mision p {
    max-width: 36rem;
  }
}

@media (min-width: 768px) {
  .oferta__carreras {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .oferta__carreras {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(3, 1fr);
  }
}

.oferta h2 {
  text-align: center;
  margin-top: 3rem;
}

.oferta__carrera {
  text-align: center;
}
.oferta__carrera img {
  width: 20rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .oferta__carrera img {
    width: 15rem;
  }
}
.oferta__carrera p {
  font-size: 3rem;
  display: inline-block;
  margin-top: 2rem;
  color: #162b61;
}
@media (min-width: 768px) {
  .oferta__carrera p {
    margin-top: 0;
  }
}
.oferta__carrera p::after {
  content: "";
  background-color: #9dcff8;
  height: 1rem;
  width: calc(100% + 2rem);
  display: block;
  margin: -1.4rem 0 0 0;
}
@media (min-width: 768px) {
  .oferta__carrera {
    display: flex;
  }
}

.becas {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  row-gap: 7rem;
  background-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 50%), url(/kardex/img/beca.jpg);
  background-size: 65rem;
  background-position: center, center bottom;
  background-repeat: no-repeat;
}
.becas .becas__contenido {
  color: #fff;
  padding: 5rem;
  width: auto;
}
.becas__texto {
  color: #fff;
}
.becas__enlace {
  background-color: #fff;
  color: #000;
  font-weight: 700;
  padding: 0.5rem 2rem;
  text-align: center;
  margin-top: 1rem;
  display: block;
  border: none;
  border-radius: 0.5rem;
}
.becas__enlace:hover {
  background-color: #b3b3b3;
  cursor: pointer;
}
@media (min-width: 768px) {
  .becas__enlace {
    display: inline-block;
  }
}
@media (min-width: 768px) {
  .becas {
    grid-template-rows: unset;
    background-image: linear-gradient(to right, #000 0%, #000 45%, transparent 55%), url(/kardex/img/beca.jpg);
    background-size: cover;
    background-position: top;
  }
  .becas .becas__contenido {
    padding: 5rem;
    width: 50%;
  }
}

.footer {
  background-color: #313131;
}
.footer p {
  color: #fff;
  text-align: center;
  margin: 0;
  padding-bottom: 2rem;
}

.footer__navegacion {
  padding: 2rem 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}
.footer__navegacion a {
  color: #fff;
}

.footer__columna {
  display: flex;
  flex-direction: column;
}
.footer__columna .navegacion__enlace {
  padding: 0.5rem;
}

.credencial {
  color: #fff;
  margin: 7rem auto;
  padding: 2rem;
  border-radius: 1rem;
  background-color: #3b4862;
  width: 70%;
  min-width: 25rem;
  max-width: 50rem;
}
.credencial fieldset {
  color: rgba(195, 196, 196, 0.8509803922);
  border: 1px solid rgba(195, 196, 196, 0.8509803922);
}
.credencial h2 {
  text-align: center;
}

.credencial__formulario {
  margin: 0;
}
.credencial__formulario label {
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}
.credencial__formulario input:not([type=submit]),
.credencial__formulario select {
  padding: 1rem;
  display: block;
  width: 100%;
  background-color: #fff;
  border: 1px solid rgba(195, 196, 196, 0.8509803922);
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}
.credencial__formulario .credencial__boton {
  background-color: #fff;
  color: #000;
  font-weight: 700;
  padding: 0.5rem 2rem;
  text-align: center;
  margin-top: 1rem;
  display: block;
  border: none;
  border-radius: 0.5rem;
  margin-top: 2rem;
}
.credencial__formulario .credencial__boton:hover {
  background-color: #b3b3b3;
  cursor: pointer;
}

.alerta {
  padding: 0.5rem;
  text-align: center;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}
.alerta.error {
  background-color: rgb(66, 7, 7);
}
.alerta.exito {
  background-color: rgb(1, 82, 1);
}

.estudiante {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}
@media (min-width: 768px) {
  .estudiante {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

.estudiante__detalles {
  margin: 1rem;
}

.estudiante__nombre .estudiante__foto {
  border-radius: 50%;
  width: 17rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .estudiante__nombre {
    display: flex;
    flex-direction: row;
    align-items: self-start;
  }
  .estudiante__nombre .estudiante__foto {
    margin: 0;
    height: 12rem;
  }
}

.estudiante__carrera .estudiante__plan {
  width: 17rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .estudiante__carrera {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: self-end;
  }
  .estudiante__carrera .estudiante__plan {
    margin: 0;
    width: 12rem;
  }
}

.estudiante__menu {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%), url(/kardex/img/cinta.png);
  background-position: cover;
  padding: 0;
  margin-bottom: 2rem;
}

.estudiante__navegacion {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.estudiante__navegacion a {
  color: #fff;
  padding: 1.5rem;
}
.estudiante__navegacion a:hover {
  color: #e3b007;
}
@media (min-width: 768px) {
  .estudiante__navegacion {
    flex-direction: row;
    justify-content: space-evenly;
  }
}

.heading-nivel2 {
  text-align: center;
  margin: 0;
}

.calificaciones {
  margin: 3rem 0;
  width: 100%;
  border-spacing: 0;
}
.calificaciones thead {
  background-color: #162b61;
}
.calificaciones thead th {
  color: #fff;
  padding: 1rem 0.5rem;
}
.calificaciones tbody {
  text-align: center;
}
.calificaciones tbody .izquierda {
  text-align: left;
}
.calificaciones tbody .derecha {
  text-align: right;
}
.calificaciones tbody .aLaMitad {
  width: 50%;
  padding: 0.5rem 2rem;
}

/* MODULO DE SINTESIS */
span {
  font-weight: bold;
}