Russia has become one of the most infamous places on earth with regards to the way in which it treats its LGBT+ population. Russia has a very chequered past when it comes to recognising homosexuality.
It was first decriminalised in 1917. It was re-criminalised in 1933 and remained that way until 1993. 2013 when President Putin enshrined a law which made it illegal to effectively speak about homosexuality to anyone under the age of 18, a harsh international spotlight was shone upon the country. However, it is not actually against the law to have same-sex relationships.
However other rights afforded to LGBT+ people are pretty thin on the ground. There is no recognition of same-sex relationships. Article 12 of the Family Code explicitly states that marriage is a union of a man and a woman.