*{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}


body  {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}


.header {
    display: inline;
    justify-content: center;
    align-items: center;

}

.navbar {
    display:display-box;
    background-color:#0f1e39;
    overflow: hidden;
    align-items: center;
    z-index: 100%;
    position: fixed;
    width: 100%;
    z-index: 100%;
    position: fixed;
}

.navbar a {

    float: inline-start;
    color: #ffffff;
    text-align: right;
    padding: 20px 30px;
    text-decoration: none;
    font-size: 20 px;
    margin-top: 10px;

}

.navbar a:hover {
    background-color: #275dbd;
    color: black;
}

.navbar a.active {
    background-color: #00092f;
    color: white;

}

.hero-text {
    text-align: left;
    position: absolute;
    top: 20%;
    left: 40%;
    transform: translate(-60%, -20%);
    color: rgb(255, 255, 255);
    line-height: 4em;

}

.hero-text button {
    border: none;
    outline: 10 px;
    display: inline-block;
    padding: 10px 20px;
    color: rgb(255, 255, 255);
    background-color: #0f1e39;
    text-align: center;
    cursor: pointer;
}


.hero-text button:hover {
    background-color: #555;
    color: white;

}

.position {
    position: fixed;
    top: 42%;
    left: 40%;
    transform: translate(-40%, -35%);

}

.slider {
    background-image: url(imagenes/fondo.jpg.jpg);
    height: 100%;
    width: 100%;
    border-radius: 20 px;
    animation: animate 8s infinite;
    
}

@keyframes animate {
    20% {
        background-image: url(imagenes/fondo.jpg.jpg);

    }

    40% {
        background-image: url(imagenes/fondo2.jpg);

    }

    60% {
        background-image: url(imagenes/fondo3.jpg);

    }
}

