/********** Template CSS **********/
:root {
    --primary: #16D5FF;
    --secondary: #999999;
    --light: #F2F8FE;
    --dark: #111111;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 60px;
    z-index: 99;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    
}


.navbar .navbar-brand {
    height: 75px;
    
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--light);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
     
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

}



.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


/*** Header ***/
.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}
.hero-header{
    background-image: url(../img/banner-header.png) ;
    height: 699px;
}

.hero-header .homeErick {
    height: 695px;
    margin-top: -93px;
}

.hero-header .coursesErick {
    height: 695px;
    margin-top: -93px;
}

.hero-header .experiencia {
    height: 695px;
    margin-top: -93px;
}

@media only screen and (max-width: 600px) {
    .hero-header {
        background-image: url(../img/banner-header.png);
        height: 513px;
        font-size: 20px;
    }
    
    .hero-header img {
        height: 0px;
    margin-top: 0px;
    margin-left: 0px;
    }
}

@media only screen and (max-width: 600px) {
    .hero-header .homeErick {
        font-size: 20px;
        height: 0px;
        margin-top: 0px;
        margin-left: 0px;

    }
    .hero-header .coursesErick{
        font-size: 20px;
        height: 0px;
        margin-top: 0px;
        margin-left: 0px;
    }
    
}

@media only screen and (max-width: 365px) {
    .hero-header .homeErick {
        font-size: 20px;
        height: 0px;
        margin-top: 0px;
        margin-left: 0px;

    }
    .hero-header .coursesErick{
        font-size: 20px;
        height: 0px;
        margin-top: 0px;
        margin-left: 0px;
    }

    .hero-header .experiencia {
        height: 0px;
        margin-top: 0px;
        margin-left: 0px;
    }
    
}

@media only screen and (min-width: 360px) and (max-width: 375px)  {
    .hero-header {
        background-image: url(../img/banner-header.png);
        height: 592px;
        font-size: 18px;
    }
    
    .hero-header img {
        height: 0px;
        margin-top: 0px;
        margin-left: 0px;
    }
}

@media only screen and (min-width: 390px) and (max-width: 412px) {
    .hero-header {
        background-image: url(../img/banner-header.png);
        height: 630px;
        font-size: 20px;
    }
    
    .hero-header img {
        height: 0px;
        margin-top: 0px;
        margin-left: 0px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 820px) {
    .hero-header {
        background-image: url(../img/banner-header.png);
        height: 604px;
        font-size: 25px;
    }
    
    .hero-header img {
        height: 0px;
        margin-top: 0px;
        margin-left: 0px;
    }
}

@media only screen and (width: 912px) {
    .hero-header {
        background-image: url(../img/banner-header.png);
        height: 608px;
    }
    .hero-header .homeErick {
        height: 375px;
        margin-top: -172px;
        margin-left: 411px;
    }
    .texthome{
        font-size: 25px;
    }
    .hero-header .courseText {
        font-size: 25px;
    }
    .hero-header .coursesErick{
        height: 475px;
        margin-top: -132px;
        margin-left: 411px; 
    }
    .hero-header .experienciatext{
        font-size: 45px;
    }

    .hero-header .experience{
        font-size: 35px;
    }

    .hero-header .experiencia{
        height: 527px;
        margin-top: -211px;
        margin-left: 326px;
    }

}

@media only screen and (width: 430px) {
    .hero-header {
        background-image: url(../img/banner-header.png);
        height: 608px;
    }
   

    .hero-header .experience{
        font-size: 35px;
    }

    .hero-header .experiencia{
        height: 0px;
        margin-top:0px;
        margin-left: 0px;
    }

}

@media only screen and (width: 540px) {
    .hero-header {
        background-image: url(../img/banner-header.png);
        height: 608px;
    }
    .hero-header .homeErick {
        height: 375px;
        margin-top: -200px;
        margin-left: 211px;
    }
    .texthome{
        font-size: 25px;
    }
    .hero-header .courseText {
        font-size: 25px;
    }
    .hero-header .coursesErick{
        height: 475px;
        margin-top: -132px;
        margin-left: 111px; 
    }
    .hero-header .experienciatext{
        font-size: 45px;
    }

    .hero-header .experience{
        font-size: 35px;
    }

    .hero-header .experiencia{
        height: 427px;
        margin-top: -111px;
        margin-left: 156px;
    }

}

@media only screen and (max-width: 280px) {
    .hero-header {
        background-image: url(../img/banner-header.png);
        height: 608px;
        font-size: 10px;
    }
   
    
    .hero-header img {
        height: 250px;
        margin-top: -41px;
        margin-left: 50px;
    }
    .experienciatext{
        font-size: 35px;
    }
    .coursesText{
        font-size:35px;
    }
}





@media only screen and (max-width: 412px) {
    .hero-header {
        background-image: url(../img/banner-header.png);
        height: 511px;
        font-size: 25px;
    }
    
    .hero-header .experiencia {
        height: 0px;
        margin-top: 0px;
        margin-left: 0px;
    }
}

@media only screen and (max-width:414px) {
    .hero-header {
        background-image: url(../img/banner-header.png);
        height: 608px;
    }
    .hero-header .homeErick {
        height: 0px;
        margin-top: 0px;
        margin-left: 0px;
    }
    .texthome{
        font-size: 25px;
    }
    .hero-header .courseText {
        font-size: 25px;
    }
    .hero-header .coursesErick{
        height: 0px;
        margin-top:0px;
        margin-left: 0px; 
    }
    .hero-header .experienciatext{
        font-size: 45px;
    }

    .hero-header .experience{
        font-size: 35px;
    }

    .hero-header .experiencia{
        height: 0px;
        margin-top: 0px;
        margin-left:0px;
    }
}




/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -80px;
    right: -80px;
    border: 0px solid;
    transform: rotate(45deg);
    opacity: 1;
    transition: .5s;
}

.service-item.bg-white::after {
    border-color: transparent transparent var(--light) transparent;
}

.service-item.bg-light::after {
    border-color: transparent transparent #FFFFFF transparent;
}

.service-item:hover::after {
    opacity: 0;
}


/*** experiencias ***/
.experiencias-carousel {
    position: relative;
}

.experiencias-carousel::before {
    position: absolute;
    content: "";
    height: 0;
    width: 100%;
    top: 20px;
    left: 0;
    border-top: 2px dashed var(--secondary);
}


.experiencias-carousel .experiencias-item .experiencias-point {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 6px;
    left: 50%;
    margin-left: -15px;
    background: #FFFFFF;
    border: 2px solid var(--primary);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.experiencias-carousel .experiencias-item .experiencias-point span {
    display: block;
    width: 18px;
    height: 18px;
    background: var(--primary);
}

.experiencias-carousel .experiencias-item {
    position: relative;
    padding-top: 150px;
    text-align: center;
}

.experiencias-carousel .experiencias-item::before {
    position: absolute;
    content: "";
    width: 0;
    height: 115px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-right: 2px dashed var(--secondary);
}

.experiencias-carousel .experiencias-item::after {
    position: absolute;
    content: "";
    width: 14px;
    height: 14px;
    top: 111px;
    left: 50%;
    margin-left: -7px;
    transform: rotate(45deg);
    background: var(--primary);
}

.experiencias-carousel .owl-nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.experiencias-carousel .owl-nav .owl-prev,
.experiencias-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 22px;
    color: var(--light);
    background: var(--primary);
    transition: .5s;
}

.experiencias-carousel .owl-nav .owl-prev:hover,
.experiencias-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: var(--dark);
}


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.footer .btn.btn-square:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(17, 17, 17, .1);
}

.footer .copyright a {
    color: var(--primary);
}

.footer .copyright a:hover {
    color: var(--dark);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary);
}


/* Estilos para el modo claro (predeterminado) */
.light-mode  {
  background-color: white;
  color: black;
}

/* Estilos para el modo oscuro */
.dark-mode {
  background-color: #000000; /* Fondo oscuro */
  color: #fff; /* Texto claro */
}
.dark-mode h1{
    color: white;
}
.dark-mode h5{
    color: white;
}
h5{
    color: #000;
}
.dark-mode p{
    color: white;
}
.dark-mode .services-content-icon p{
    color: black;
}


/* ================================================= */
/* ---------------- Portfolio Style ---------------- */
/* ================================================= */

#portfolio {
    position: relative;
    padding: 50px 0 60px 0;
}

.port-item {
	overflow: hidden;
	padding: 0px;
}

.port-item img{
	height: 100%;
	width: 100%;
}

.modal .modal-header button {
    margin: 0 auto;
    padding: 0px 8px 5px 8px;
    font-size: 25px;
    border-radius: 20px;
    background: #3cb1c6;
    color: #fff;
}

.modal .modal-body img {
    height: 100%;
    width: 100%;
}

.modal .modal-body h2 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.modal .modal-body .download-content {
    font-size: 14px;
}

.custom-control-label:before{
    background: #36a4bc;
    border: none;
}

.custom-radio .custom-control-input:checked~.custom-control-label::before,
.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background: #222222;
    border: none;
}

.custom-radio .custom-control-input:focus~.custom-control-label::before,
.custom-checkbox .custom-control-input:focus~.custom-control-label::before {
    box-shadow: none;
    border: none;
}

.modal .modal-body .download-content button {
    display: inline-block;
    padding: 8px 15px;
    background: #76b7c5;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    border: none;
}

.modal .modal-body .download-content button:hover {
    color: #119bb3;
    background: #222222;
}

.modal .modal-body .download-content button i {
    margin-right: 5px;
}

.modal .port-slider-nav .slick-track {
    padding: 30px 0 15px 0;
}

.modal .port-slider-nav .slick-center img {
    -ms-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.box7:before {
    background: rgba(000,000,000,.5);
}

.box7:after {
    background: rgba(255,255,255,.5);
    border: 2px solid #3793af;
}

.box7 .post {
    font-weight: normal;
    font-style: normal;
}

.box7 .icon li a {
    background: #2790a3;
}


.dark-mode h4{
    color: #fff;
}

body,
canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}


@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-webkit-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-moz-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-ms-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
.estrellas {
   
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}


