@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --clr-prin: #1E458B;
  --clr-prin: #0D6EFD;
  --clr-nav: #212529;
  --clr-red: #861d2a;
  --clr-dark-red: #531e25;
  --clr-blue: #1E458B;
  --clr-purple: #431f43;
  --clr-cadet: #222050;
  --clr-green: #198754;
  --clr-brightgreen: #25d366;
  --clr-btn: #0D6EFD;
  --clr-btn-h: #2492DB;
  --clr-btn-alt: #222050;
  --clr-btn-alt-h: #323080;
  --clr-fnt: #1f1f1f;
  --clr-bright: #fafafa;
  --clr-liner: #1f1f1f;
  --clr-dark: #1f1f1f;
  --clr-darkb: #1f1f2f;
  --clr-tit: #1E458B;
  --clr-footer: #1e458b;
  --clr-wp: #25d366;
  --padx: 20%;
  --pady: 4rem;
  --pad-sec: 2rem 12%;
  --iso: 60px;
  --ff-btn: "Roboto", Arial, sans-serif;
  --ff-title: "Roboto", Arial, sans-serif;
  --ff-alttitle: "Roboto", Arial, sans-serif;
  --ff-p: "Roboto", Arial, sans-serif;
  --fnt-h1: clamp(1.8rem, 2.5vw, 2.2rem);
  --fnt-h2: clamp(2.4rem, 4vw, 3.8rem);
  --fnt-h3: clamp(2.0rem, 3.2vw, 2.6rem);
  --fnt-h4: clamp(1.6rem, 2.8vw, 2.2rem);
  --fnt-h5: clamp(1.2rem, 2.1vw, 1.4rem);
  --fnt-p: clamp(1.0rem, 2.0vw, 1.4rem);
  --fnt-btn: clamp(1rem, 1.8vw, 1.4rem);
  --btn-pad: 1rem 1.5rem;
  --brad: 8px;
  --fz: 16px;
  --gap: 2rem;
  --minigap: 1rem;
}

::selection {
  background: var(--clr-blue);
  color: white;
}

@media (max-width: 1080px) {
  :root {
    --padx: 10%;
    --btn-pad: 1rem;
  }
}

@media (max-width: 768px) {
  :root {
    --padx: 8%;
  }
}

html, body {
  background: var(--clr-bright);
  color: var(--clr-fnt);
  font-size: var(--fz);
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

*, ::before, ::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.scroll-padding-top {
  scroll-padding-top: 60px;
}

a, button {
  cursor: pointer;
}

ul, li, a {
  text-decoration: none;
  list-style-type: none;
  color: inherit;
}

h1 {
  font-size: var(--fnt-h1);
  font-weight: 600;
  font-family: var(--ff-title);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--fnt-h2);
  font-weight: 600 !important;
  margin-bottom: 1rem;
  color: var(--clr-blue);
}

h3 {
  font-size: var(--fnt-h3);
  margin-bottom: 1rem;
}

h4 {
  font-size: var(--fnt-h4);
  font-weight: 800;
  margin-bottom: .75rem;
  /* text-transform: uppercase; */
  letter-spacing: 1.2;
  color: var(--clr-blue);
}

h5 {
  font-weight: 400;
  font-size: var(--fnt-h5);
  /* text-transform: uppercase; */
  /* letter-spacing: 1.2px; */
}

p, li, div {
  font-size: var(--fnt-p);
}

h2, h3, h4, h5 {
  font-family: var(--ff-alttitle);
}

p, li, ul, a, div {
  font-family: var(--ff-p);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 1rem;
}

.fs-h2 {
  font-size: var(--fnt-h2);
}

.fs-h3 {
  font-size: var(--fnt-h3);
}

.fs-h4 {
  font-size: var(--fnt-h4);
}

.fs-h5 {
  font-size: var(--fnt-h5);
}

.txtc {
  text-align: center;
}

.txtr {
  text-align: right;
}

.txt-shadow {
  text-shadow: 0 0 12px #000000aa;
}

.list-style li {
  list-style-type: disc;
  margin-left: 1.2rem;
}

.fw-600 {
  font-weight: 600;
}

.resp {
  max-width: 100%;
  height: auto;
}

.resph {
  width: auto;
  max-height: 100%;
}

.flexo {
  display: flex;
}

.unouno > * {
  flex: 1;
}

.gap {
  gap: var(--gap);
}

.minigap {
  gap: var(--minigap);
}

.spacer {
  height: 2rem;
}

.minispacer {
  height: 1rem;
}

.jccenter {
  justify-content: center;
}

.jcstart {
  justify-content: flex-start;
}

.jcend {
  justify-content: flex-end;
}

.jcsb {
  justify-content: space-between;
}

.aicenter {
  align-items: center;
}

.aistart {
  align-items: flex-start;
}

.aiend {
  align-items: flex-end;
}

.aisb {
  align-items: space-between;
}

.liner {
  width: 100%;
  height: 2px;
  background-color: var(--clr-liner);
  margin: 1rem 0;
}

.relative {
  position: relative;
}

.underhover {
  position: relative;
  display: inline-block;
}

.underhover::after {
  content: '';
  /* position: absolute; */
  display: block;
  background: transparent;
  margin: auto;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  transform-origin: center;
  transition: width 150ms ease-out, background 150ms ease-in-out;
}

.underhover:hover::after {
  width: 100%;
  background: white;
}

.underline {
  position: relative;
  /* margin-bottom: 2rem; */
}

.underline::after {
  content: '';
  position: absolute;
  bottom: -.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--clr-bright);
}

.underline.unctr::after {
  left: 50%;
  transform: translateX(-50%);
}

.underh1 {
  position: relative;
}

.hide {
  display: none !important;
}

.pady {
  padding-top: var(--pady);
  padding-bottom: var(--pady);
}

.padx {
  padding-left: var(--padx);
  padding-right: var(--padx);
}

.pad-1 {
  padding: 1rem;
}

.pad-2 {
  padding: 2rem;
}

.fade-in {
  transition: opacity ease-in .6s, transform ease-out .6s, filter ease-out .6s;
}

.fopa {
  opacity: 0;
}

.fadeUp {
  transform: translate(0, 80px);
}

.left {
  transform: translate(80px, 0);
}

.right {
  transform: translate(-80px, 0);
}

.fblur {
  filter: blur(18px);
}

.inView {
  opacity: 1;
  transform: translate(0, 0);
  filter: blur(0px);
}

.fade-in1b {
  animation: fadeInB 1200ms;
}

.delay1 {
  animation: delay 1s;
}

.delay2 {
  animation: delay 2s;
}

.delay3 {
  animation: delay 3s;
}

.delay4 {
  animation: delay 4s;
}

.boxhover:hover, .boxhover:focus {
  box-shadow: 0 0 24px var(--clr-sec);
  transition: box-shadow 350ms ease-out;
}

@keyframes fadeInB {
  0% { opacity: 0; transform: translate(0, 150px); }
  /* 36% { opacity: 0; transform: translate(0, 150px); } */
  100% { opacity: 1; transform: translate(0, 0); }
}

@keyframes delay {
  0% { opacity: 0; }
  66% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeInBg {
  0% { opacity: 0; }
  100% { opacity: .8; }
}

.mow {
  height: 1.2rem;
  transition: opacity 150ms;
}
.mow:hover {
  opacity: .8;
}

.column {
  flex-direction: column;
}

.button {
  font-family: var(--ff-btn);
  font-size: var(--fnt-btn);
  color: var(--clr-bright);
  font-weight: 700;
  padding: var(--btn-pad);
  border-radius: var(--brad);
  background-color: var(--clr-btn);
  transition: background-color ease-out 100ms, box-shadow 100ms ease-out;
  letter-spacing: 1.2px;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.button.alt {
  background-color: #fafafa;
  color: var(--clr-fnt);
  border: 1px solid var(--clr-fnt);
  transition: outline ease-out 100ms, background-color ease-out 100ms;
}

.button:hover, .button:focus {
  background-color: var(--clr-btn-h);
}

.button.alt:hover, .button.alt:focus {
  background-color: #ddd;
}

.button.alt2, .button.alt3 {
  padding: .5rem;
  font-size: clamp(.81rem, 2vw, 1rem);
  font-weight: 500;
}

.button.alt2 {
  background-color: var(--clr-green);
}

.button.alt3 {
  background-color: var(--clr-cadet);
}

.button.alt2:hover {
  background-color: var(--clr-brightgreen);
}

.button.alt3:hover {
  background-color: var(--clr-blue);
}

.brad {
  border-radius: var(--brad);
  overflow: hidden;
}

.hf {
  height: 100%;
}

.opacity-hover {
  transition: opacity 100ms ease-out;
}

.opacity-hover:hover {
  opacity: .7;
}

.outline {
  outline: solid 2px var(--clr-btn);
  outline-offset: -2px;
}

.outline-glow {
  box-shadow: 0 0 18px var(--clr-btn-h);
}

.hover-glow {
  transition: box-shadow 100ms;
}

.hover-glow:hover {
  box-shadow: 0 0 18px var(--clr-btn);
}

.pointer {
  cursor: pointer;
}

.bg-card {
  background: linear-gradient(to right, #D8D8D8, #fafafa);
}

.bg-card.alt {
  background: linear-gradient(to right, var(--clr-blue), var(--clr-btn));
  color: var(--clr-bright);
}

.bg-blue {
  background-color: var(--clr-blue);
}

.bg-white {
  background-color: white;
}

.label {
  font-family: var(--ff-p);
  margin-bottom: .5rem;
}

.input {
  outline: solid 1px #ccc;
  outline-offset: -2px;
  border: 0;
  padding: 1rem;
  color: var(--clr-fnt);
  border-radius: var(--brad);
  width: 100%;
  margin-bottom: 1rem;
}

.clr-red {
  color: var(--clr-tit);
}

.clr-blue {
  color: var(--clr-blue);
}

.clr-prin {
  color: var(--clr-prin);
}

.clr-white {
  color: white;
}

.cards-cont {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.card {
  flex: 0 1 280px;
  border-radius: var(--brad);
  /* box-shadow: 0 0 16px var(--clr-dark); */
  /* padding: 1.5rem; */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.card > * {
  padding: 1rem;
}

.cards-cont > div:empty {
  height: 0;
  padding: 0;
  margin: 0;
}

.card .button {
  align-self: center;
}

.p-spacer p {
  margin-bottom: 1.2rem;
}

.card.green {
  background: #198754;
}

.card.blue {
  background: #0D6EFD;
}

.tabla {
  border: 1px solid lightgray;
  border-radius: var(--brad);
  overflow: hidden;
}

.tabla .card-header {
  background: #ddd;
  padding: 1rem;
}

.table-cont {
  padding: 1rem;
}

.table-cont.alt td {
  padding: 1rem;
}

.table-cont.alt th {
  background-color: #252525;
  color: white;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  /* border: 1px solid lightgray; */
  padding: .75rem;
  text-align: left;
}

td {
  padding: 0 .75rem;
  /* border: 1px solid lightgray; */
}

tbody {
  padding: 1rem;
}

tbody tr:nth-child(odd) {
  background: lightgray;
}

@media (max-width: 480px) {
  .to-column-480 {
    flex-direction: column;
  }
  .to-column-reverse-480 {
    flex-direction: column-reverse;
  }
}

.counter {
  font-size: var(--fnt-h1);
}

.banner {
  padding: var(--pady) var(--padx);
  background-color: var(--clr-blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.banner.h1 {
  padding-top: calc(var(--pady) + 80px);
  color: white;
  text-align: center;
  font-weight: 600;
}

.banner h2,
.banner h1 {
  color: white;
}

.box-shadow {
  box-shadow: 0 0 16px var(--clr-dark);
}



#ccrc .brad.box-shadow {
  width: 120px;
  margin-bottom: 1rem;
}

#mediadores {
  background: 
    linear-gradient(to right, #121212aa, #12121222),
    url('../img/resized/curso-basico-ccrc.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

#mediadores > div:last-child {
  background-color: #121212aa;
  padding: 1rem;
  width: max-content;
}

.docentes-cont {
  display: flex;
  flex-direction: column;
}

.docente {
  display: flex;
  margin-bottom: 2rem;
  gap: 2rem;
  align-items: center;
}

.round-img {
  position: relative;
  min-width: 120px;
  max-width: 120px;
  height: 120px;
  border-radius: 90px;
  overflow: hidden;
  outline: 4px solid var(--clr-blue);
}

.round-img img {
  position: absolute;
  height: 120px;
  top: 0;
  left: 0;
}


.logo-socio {
  max-width: 280px;
}


#wp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  height: 68px;
  width: 68px;
  cursor: pointer;
  background-color: var(--clr-wp);
  border-radius: 100px;
  transition: box-shadow 250ms;
  z-index: 998;
}

#wp:hover {
  box-shadow: 0 0 12px black;
}

#wp:hover .wp-button {
  transform: scale(.8);
}

.wp-button {
  width: 100%;
  height: 100%;
  padding: 1rem;
  border-radius: 100px;
  background-position: center;
  background-size: cover;
  z-index: 990;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 100ms ease-out;
}

.wp-button img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  transition: opacity 150ms;
}

.wp-button span {
  opacity: 0;
  position: absolute;
  height: 6px;
  width: 2rem;
  background-color: white;
  transform: rotate(-45deg);
  border-radius: 8px;
  transition: opacity 150ms;
}

.wp-button span:last-child {
  transform: rotate(45deg);
}
.numeros-cont {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 1rem;
  width: max-content;
  overflow: hidden;
  position: absolute;
  bottom: calc(100% + 1rem);
  right: 0;
  opacity: 0;
  visibility: none;
  transform: translateX(250px);
  transition: height 150ms, opacity 150ms, transform 150ms;
}

.numeros-cont a {
  color: white;
  font-weight: 600;
  background-color: var(--clr-wp);
  padding: .5rem 3rem .5rem 1rem;
  border-radius: var(--brad);
  position: relative;
}

.numeros-cont a:hover {
  background-color: #11aa94;
}

.numeros-cont a::after {
  content: '';
  position: absolute;
  right: .6rem;
  top: .45rem;
  width: 1.6rem;
  height: 1.6rem;
  background: url('../img/logos/whatsapp.svg');
  background-size: cover;
}


#wp.active {
  background-color: #11aa94;
  box-shadow: 0 0 12px black;
}

#wp.active .numeros-cont {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

#wp.active .wp-button {
  transform: scale(.8);
}

#wp.active .wp-button img {
  opacity: 0;
}

#wp.active .wp-button span {
  opacity: 1;
}

.slider-cont {
  position: relative;
  width: 100vw;
  /* height: 340px; */
  background-color: gray;
  overflow: hidden;
}

.slider-element {
  width: 100%;
  height: 100%;
  display: none;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* .slider-element.active { */
/*   display: flex; */
/*   flex-direction: column; */
/*   gap: 2rem; */
/*   justify-content: center; */
/*   align-items: center; */
/* } */

.dot {
  height: .8rem;
  width: .8rem;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active {
  background-color: var(--clr-blue);
}

.fade {
  animation-name: fade;
  animation-duration: 2.5s;
}

@keyframes fade {
  from  { opacity: .4; }
  to  { opacity: 1; }
}

.login-cont {
  background: #ddd;
  height: 100vh;
}

.card.login {
  background: #fff;
  box-shadow: 0 0 24px #aaa;
  margin: 0 auto;
  padding: 1rem;
  max-width: 480px;
}

