.mainrev{
    width: 50%;
    height: fit-content;
    padding: 35px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 100px;
    background-color: rgb(246, 246, 246);
    border: 1px solid rgb(239, 239, 239);
    box-shadow: 0 0 5px rgba(227, 227, 227, 0.593),
                0 0 15px rgba(0, 0, 0, 0.11);
}
.upper{
    display: flex;
    text-align: left;
}
.pers{
    width: 100px;
    height: 100px;
    background-image: url("user.png");
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
}
.pozrew{
    height: 70px;
    width: 40%;
    margin-top: 15px;
    margin-bottom: 20px;
    background-image: url("5star.png");
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
}
.mainrev h2{
    font-size: 90%;
    color: rgb(76, 76, 76);
    margin-left: 105px;
}
.butonrev{
    margin: auto;
    margin-top: 30px;
    padding: 15px;
    width: 70%;
    border: 3px solid rgb(0, 43, 70);
    border-radius: 20px;
    text-align: center;
}



.facebook{
    width: 55%;
    height: 40px;
    text-align: center;
    border: 3px solid rgb(0, 43, 70);
    margin: auto;
    margin-top: 30px;
    color: rgb(0, 43, 70);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background-color: transparent;
}
.facebook::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgb(0, 43, 70);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
  }
  .facebook:hover::before {
    width: 300%;
    height: 1000%;
  }
  #ontop{
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    line-height: 0%;
    transform: translate(-50%, -50%);
  }
  
  .facebook:hover {
    color: rgb(255, 255, 255);
    opacity: 100%;
  }
  @media(max-width: 800px){
    .mainrev{
        width: 80%;
    }
    .pers{
        width: 60px;
        height: 60px;
        margin-right: 20px;
        background-size: contain;
    }
    .facebook{
        width: 70%;
    }
    .mainrev h2{
        margin-left: 0;
        margin-top: 0;
    }
    .pozrew{
        margin-top: -20px;
    }
  }
  @media(max-width: 699px){
    .mainrev{
        width: 90%;
    }
    .pers{
        width: 50px;
        height: 50px;
        margin-left: -10px;
        margin-top: -10px;
        margin-bottom: 0;
    }
    .facebook{
        width: 80%;
        height: 50px;
    }
  }
