* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/*baner rebote*/


/*Portada*/

.container-portada {
    width: 100%;
    height: 400px;
    position: relative;
    background-image: url('../img/m4.JPG');
    background-size: 200%;
    animation: movimiento 20s infinite linear alternate;
}

@keyframes movimiento {
    from {
        background-position: bottom left;
    }
    to {
        background-position: top right;
    }
}

.capa-gradient {
    width: 100%;
    height: 100%;
    position: absolute;
    background: -webkit-linear-gradient(left, black, #c71d50);
    opacity: 0.5;
}

.container-details {
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin: auto;
}

.details {
    width: 100%;
    max-width: 500px;
    position: relative;
    top: 20px;
    color: white;
}

.details h1 {
    font-size: 40px;
    font-weight: 100;
    margin-left: 10px;
}

.details p {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 100;
    margin-left: 10px;
}

.details button {
    padding: 10px 20px;
    font-size: 16px;
    background: none;
    border-style: none;
    border: 1px solid white;
    color: white;
    margin-top: 20px;
    transition: background 300ms;
    cursor: pointer;
    margin-left: 10px;
}

.details button:hover {
    background: white;
    color: black;
}

.cta {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    color: rgb(255, 248, 248);
    letter-spacing: 4px;
    font-size: 24px;
    text-decoration: none;
    overflow: hidden;
    transition: 0.2s;
}

.cta:hover {
    background: #d11a1a;
    box-shadow: 0 0 10px #dd2a24, 0 0 40px #d41f1f, 0 0 80px #db3434;
    transition-delay: 1s;
}

.cta span {
    position: absolute;
    display: block;
}

#span1 {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #da0c0c);
}

.cta:hover #span1 {
    left: 100%;
    transition: 1s;
}

#span3 {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #e20808);
}

.cta:hover #span3 {
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
}

#span2 {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #dd1414);
}

.cta:hover #span2 {
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
}

#span4 {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #dd1010);
}

.cta:hover #span4 {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
}


/*Articulo*/

main {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

article {
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
    padding-right: 20px;
}

article h1 {
    font-size: 40px;
    font-weight: 100;
    margin-left: 10px;
}

article hr {
    max-width: 500px;
    height: 4px;
    border-style: none;
    background: -webkit-linear-gradient(left, black, #d00606);
    margin-top: 10px;
    margin-left: 10px;
}

article p {
    font-size: 20px;
    margin-top: 20px;
    font-weight: 100;
    margin-left: 10px;
}

@media screen and (max-width: 500px) {
    .details p {
        font-size: 18px;
    }
}