*, ::before, ::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    font-family: Gabarito,'Helvetica Neue', sans-serif;
    background-image: url(../Images/fondo.png);
    background-size: cover;
    background-position: center;
    display: grid;
}

.input {
    border: none;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.button {
    border: none;
    color: whitesmoke;
    background-color: #ce0000;
    border-radius: 5px;
    padding: 7px 30px;
    font-size: 18px;
    transition: all 0.3s;
}


.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 10%;
    align-self: center;
  }
  
  .container .box {
    width: 25%;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
  }
  
  .container .box::before {
    content:' ';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    text-decoration: none;
    border-radius: 8px;
    transform: scaley(0.2);
    transition: all 1s;
  }

    .container .box::after {
        content: '';
        position: absolute;
        top: 0;
        width: 10%;
        height: 100%;
        border-radius: 8px;
        transform: scaley(0);
        transition: 1s;
        justify-self: center;
        text-align: center;
        filter: blur(30px);
    }
  
  .container .box:hover:before,
  .container .box:hover:after {
    transform: scaley(1);
    width: calc(100% - 90px);
  }
  
  .container .box::before,
  .container .box::after {
    background: linear-gradient(315deg, #9e0000, #1f0000)
  }
  
  .container .box .content {
    height: 90%;
    padding: 20px 40px;
    background: rgba(24, 24, 24, 0.336);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    z-index: 1;
    transition: 0.3s;
    color: #fff;
    display: grid;

  }
  
  .container .box .content p {
    font-size: 20px;
    color: #f3f3f3;
    font-weight: 10;
  }

.p1 {
    font-size: 20px;
    color: #f3f3f3;
    font-weight: 10;
}
  
  .container .box .content .a {
    background-color: #ff0808;
    width: 30%;
    border-radius: 3px;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
    justify-self: center;
    text-align: center;
    min-width: 50%;
  }
  
  .container .box .content .a:hover
  {
    color: #ff0808;
  }

@media screen and (max-width: 900px) {
    .container .box {
        width: 90%;
        position: relative;
        height: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
    }

        .container .box::before {
            content: ' ';
            position: absolute;
            top: 0;
            width: 10%;
            height: 100%;
            text-decoration: none;
            border-radius: 8px;
            transform: scaley(0.2);
            transition: all 1s;
        }
}  