/*Tipografías uasadas */
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

*{ 
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Estilos y diseño de Scroll */
html {
  scroll-behavior: smooth;
}

/* Esilo de Banner */
.banner{
    background-color: #1211ab;
}

/* Estilos de Formulario */
.form-container{
  background-color: #0707bbbb;
  border-radius: 10px;
  margin-bottom: 50px;
}

.form-title{
  margin-top: 15px;
  font-size: 18px;
  font-weight: bolder;
  color: #fcfcfc;
}

.form-p{
  font-size: 15px;
  color: #fcfcfc;
}

.btn-primary{
  width: 25vh;
}


.euro{
  color: #fcfcfc;
  font-weight: bolder;
  
}

/* Estilos de Scroll*/
#formcontacto{
  scroll-margin-top: 80px;
}

#nuestroscursos {
  scroll-margin-top: 80px;
}

#comments{
  scroll-margin-top: 250px;
}

#vis-trab{
  scroll-margin-top: 90px;
}

/*-----------------------------------------------*/
/* Estilos de flotantes */
.float{
  position:fixed;
  width:60px;
  height:60px;
  bottom:40px;
  right:20px;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  z-index:100;
}

.my-float{
  margin-top:16px;
}

.float2{
  position:fixed;
  width:60px;
  height:60px;
  bottom:120px;
  right:20px;
  background-color:#ffffff;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  z-index:100;
}

.my-float2{
  margin-top:16px;
  color:#fff;
}
/*-----------------------------------------------*/

/* Estilos Sidebar */
.offcanvas-body{
  background-color: #344CB7;
}

.img-sidebar {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 180px; 
  text-align: center;
}

/* Estilo de imagen de fondo*/
.bg-img {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../Images/img-bg.webp) no-repeat;
  background-size: cover;
  height: auto;
  background-position: 70%;
  position: relative;
}

/* Sección de Metodología */
.contenido h4 {
  color: #1211AB;
  margin-top: 40px;
  font-size: 30px;
  line-height: 45px;
}

.container-fluid-text-center {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
  max-width: 1770px;
}

.list-curs {
  margin-left: 30px;
  counter-reset: li;
  display: flex;
  flex-wrap: wrap;
}

.list-curs li {
  counter-increment: li;
  margin-top: 70px;
  padding-left: 160px;
  text-align: left;
  position: relative;
  flex: 1 1 100%;
  list-style: none;
}

.list-curs li:before {
  content: counter(li, decimal);
  position: absolute;
  left: 6px;
  top: 12px;
  display: inline-block;
  height: 112px;
  width: 112px;
  font-size: 50px;
  line-height: 112px;
  text-align: center;
  background: #344CB7;
  color:#fff;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .list-curs li {
      flex: 1 1 calc(50% - 20px);
      margin: 10px;
  }
}

/* Sección de imagen central */
.cent-img {
  margin-top: 35px;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)),url(../Images/img-3.webp) no-repeat;
  background-size: cover;
  height: 120vh;
  background-position: 60%;
  position: relative;
}

.txt-c1 {
  margin-top: 18%;
  color: white;
}

@media (max-width: 768px) {
  .txt-c1 h1 {
    margin-top: 105%;
    font-size: 40px;
  }

  .txt-c1 h2 {
    font-size: 30px;
  }
}

@media (min-width: 769px) {
  .txt-c1 h1 {
    font-size: 60px;
  }

  .txt-c1 h2 {
    font-size: 75px;
  }
}

.title h1{
  color: #1211AB;
  font-size: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Sección de apartado de cursos - imágenes */
.img-container {
  position: relative;
  display: inline-block;
}

.img-us {
  height: 290px;
  width: 300px;
  border-radius: 50%;
}

.img-mini {
  position: absolute;
  top: -20px;
  right: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.cursos-txt a{
  text-align: left;
  text-decoration: none;
}

.cursos-txt p{
  font-size: 18px;
  text-align: justify;
  text-align: left;
}

.img-text-container {
  margin-bottom: 20px;
  display: flex;
}
.img-text-container h2 {
  margin-bottom: 15px;
}
.img-text-container img {
  margin-bottom: 20px;
  margin-right: 0;
}
.img-text-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.img-text-content a:hover {
  color: #344CB7;
} 

/* Animaciones de textos */
.img-text-content a{
  transition: transform 0.5s ease
}

.img-text-content a{
  transform: translateY(-2px);
}

.img-text-content a:not(:hover) {
  transform: translateY(0);
}

/* Imagen central abajo  */
.end-img {
  position: relative;
  margin-top: 35px;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url(../Images/fondo-1.webp) no-repeat;
  background-size: cover;
  background-position: 66%;
}

/* texto 2 de imagen  */

.txt-c2 {
  margin-top: 18%;
  color: white;
}

@media (max-width: 768px) {
  .txt-c2 h1 {
    font-size: 30px;
  }

  .txt-c2 h2 {
    margin-top: 90%;
    font-size: 30px;
  }

  .txt-c2 p {
    font-size: 14px;
  }
}

@media (min-width: 769px) {
  .txt-c2 h1 {
    font-size: 60px;
  }

  .txt-c2 h2 {
    font-size: 65px;
  }

  .txt-c2 p {
    font-size: 20px;
  }
}

/* Testimonios */
.testimonios{
  margin-bottom: 40px;
}

.text-test h1 {
  font-size: 33px;
  padding: 40px 20px;
}

.test p {
  margin-left: 10px;
  text-align: center;
}

.test h5 {
  font-weight: bold;
}

.card1, .card2, .card3 {
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 400px;
  border: 1px solid #ddd;
}

.card img {
  margin: 15px auto;
  border-radius: 50%;
  width: 100px; 
  height: 100px;
  object-fit: cover;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
}

.sec-btn {
  background-color: #ecc500;
  padding: 70px;
}

.txt-come {
  margin-bottom: 20px;
  color: white;
}


/* Estilo de botón */
.btn-conv {
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background-color: rgb(0 107 179);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffff;
  gap: 10px;
  font-weight: bold;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
  
}

.btn-conv:hover {
  transform: scale(1.05);
  border-color: rgba(0, 251, 255, 0.6);
}

.btn-conv:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.btn-conv::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }
  60% {
    left: 100%;
  }
  to {
    left: 100%;
  }
}

/* Estilo de sección */
.sec-btn {
  padding: 120px 0;
}

.txt-come {
  margin-bottom: 25px;
}

/* Apartado final */
.sec-char button{
  color:#1211AB ;
  border-color: transparent;
  background-color: #fff;
  margin-top: 30px;
}

.apar-f{
  margin-top: 30px;

}

.trab h2{
  font-size: 30px;
  margin-right: 50px;
  text-align: center;
  padding: 20px;
}

.card{
  margin-bottom: 50px;
}

/* Footer */
.footer{
  color: white;
  background-color: #1211ab;
  padding: 60px;
}

.img-star{
  margin-left: 20px;
  max-width: 40px;
}

.img-euro{
  margin-bottom: 30px;
}

.footer h4{
  margin-top: 12px;
  font-weight: bold;
  text-align: center;
  font-size: 19px
}

.footer p{
  font-size: 14px;
}

.txt-red{
  font-size: 17px;
  padding: 10px;
}

/* Animaciones de iconos Footer - Media */
ul {
  list-style: none;
}

.example-2 {
  margin-left: -30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.example-2 .icon-content a:hover {
  color: white;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"] ~ .tooltip {
  background-color: #0866FF;
}
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}
.example-2 .icon-content a[data-social="tiktok"] .filled,
.example-2 .icon-content a[data-social="tiktok"] ~ .tooltip {
  background-color: #000000;
}

/* Derechos © */
.container-der{
  margin-top: 30px;
}

.txt-dr{
  color: #ffffff7c;
  font-size: 14px;
}