@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/*ESTILOS GENERALES DE TODA LA PAGINA*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

:root {
    --crl0: #FFFFFF;
    --crl1: #222328;
    --crl2: #0052A4;
    --crl3: #0052A4;
}

body {
    background: var(--crl1);
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/*ESTILOS DEL CONTENEDOR DEL HEADER*/
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/*ESTILOS PARA LA IMAGEN DE FONDO EN EL HEADER*/
.header {
    background-image: url(HB_Desarrollador.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

/*ESTILOS PARA EL MENU Y LA BARRA DE NAVEGACIÓN*/
.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #FFBF00;
    font-size: 25px;
    font-weight: 700;
    margin-top: 35px;
}

.logo:hover {
    color: #0404B4;
}



.menu .navbar ul li {
    position: relative;
    float: left;
}



.menu .navbar ul li a:hover {
    color: #0404B4;
}

#menu {
    display: none;
}


/*ESTILOS PARA EL HEADER O CABECERA DE LA PAGINA*/
.header-content {
    text-align: center;
    margin-top: 50px;
}

.header-content h1 {
    font-size: 75px;
    line-height: 80px;
    color: #F9FAFC;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.header-content p {
    font-size: 16px;
    color: #C5C5C5;
    padding: 0 250px;
    margin-bottom: 25px;
}

/* SECCIÓN CONTENIDO DEL BLOG */
.Historia {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.Historia h3 {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin-top: 30px;
}

.Historia .text-historia {
    width: 80%;
}

.Historia .text-historia p {
    margin-top: 20px;
    text-align: justify;
}


/*ESTILOS PARA EL SLIDER AUTOMATICO*/
.slider-content{
    text-align: center;
    padding: 40px 15px;
    margin-top: 0px;
    margin-bottom: 15px;
}

.slider-content .titulo{
    font-size: 2rem;
}

.slider-content span{
    color: #C5C5C5;
    font-weight: 300;
}

.slider-box{
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 50px auto 0;
    overflow: hidden;
    margin-top: 20px;
}

.slider-box ul{
    display: flex;
    padding: 0;
    width: 400%;
    animation: slide 16s infinite alternate ease-in-out;
}

.slider-box li{
    width: 100%;
    list-style: none;
    position: relative;
}

.slider-box img{
    width: 100%;
}

.Historia .imgbx{ 
    padding: 0;
    width: 20%;
}

.Historia .txt{
    margin-top: 20px;
    text-align: justify;
}

.ir-descargas {
    text-align: center;
    padding: 20px 0;
    margin-top: -50px;
}

.btn-todo{
    display: inline-block;
    padding: 11px 35px;
    background-color: #0489B1;
    color: #F9FAFC;
    text-transform: uppercase;
    text-decoration: none; 
    margin-bottom: 20px;
}

.btn-todo:hover{
    background-color: #58D3F7;
    color: #000000;
}

/*ANIMACIÓN PARA EL SLIDER*/
@keyframes slide{
    0%{
        margin-left: 0;
    }
    20%{
        margin-left: 0;
    }
    25%{
        margin-left: -100%;
    }
    45%{
        margin-left: -100%;
    }

    50%{
        margin-left: -200%;
    }
    70%{
        margin-left: -200%;
    }
    75%{
        margin-left: -300%;
    }
    100%{
        margin-left: -300%;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 50px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*ESTILOS PARA SECCIÓN IR-CONTACTO*/
.ir-contacto {
    text-align: center;
    padding: 20px 0;
    margin-top: -25px;
}

.ir-contacto h1 {
    justify-content: center;
    text-align: center;
    margin-bottom: 17px;
}

.btn-contacto {
    display: inline-block;
    padding: 11px 35px;
    background-color: #0489B1;
    color: #F9FAFC;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 20px;
}

.btn-contacto:hover {
    background-color: #58D3F7;
    color: #000000;
}

/*ESTILOS PARA EL FOOTER*/
.footer{
    padding: 30px 15px;
    background-color: #151515;
    color: #fff;
    text-align: center;
}

.footer-content{
    display: flex;
    flex-direction: column;
    text-align: center;
}

.footer p {
    margin: 10px 0 0;
    color: #fff;
}

.footer .social-icons a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.social-icons ion-icon {
    font-size: 24px;
}

/*RESPONSIVE DESIGN*/
@media (max-width: 991px) {
    .logo {
        color: #FFBF00;
        font-size: 25px;
        font-weight: 700;
        margin-top: -10px;
    }
    

    .menu {
        padding: 30px;
    }

    .header {
        min-height: 0vh;
    }

    .header-content {
        padding: 100px 30px;
    }

    .header-content p {
        padding: 0;
    }

    .Historia .imgbx{ 
        padding: 0;
        width: 60%;
    }

    .Historia .txt{
        margin-top: 20px;
        margin-bottom: 30px;
        text-align: justify;
    }

    .footer {
        padding: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer {
        padding: 30px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

}