@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;700&display=swap');
p {
  margin-top: 0px;
}
body {
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  margin: 65px 60px;
}
.title {
  font-size: 48px;
  margin-bottom: 0px;
}
.red-text {
  color: #ff3232;
}
h2 {
  font-size: 24px;
  padding-left: 2px;
  margin-bottom: 10px;
  margin-top: 35px;
  padding-left: 5px;
}

.container {
  display: flex;
  width: 1024px;
  background-color: #fff;
  /* margin: 40px auto; */
}
.aside-info {
  margin-bottom: 40px;
  margin-top: 10px;
}
.aside {
  background-color: #1a142d;
  width: 310px;
  box-sizing: border-box;
  padding: 18px;
  margin-bottom: 90px;

  margin-left: 0px;
  margin-right: 67px;
  margin-bottom: 78px;
  color: white;
  text-align: center;
  font-weight: lighter;
}
.socials {
  margin-top: 20px;
  margin-bottom: 45px;
  text-align: center;
}
.socials-link {
  text-decoration: none;
}
.socials-link:hover {
  position: relative;
  top: -5px;
}
.content {
  width: 467px;
}
.avatar {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid white;
  background-position: center;
  margin: 0px 0px 0px 0px;
}
.section {
  margin-bottom: 30px;
  margin-top: 0px;
}
ul {
  padding: 5px 20px;
  margin: 0px;
}
.gallery {
  display: flex;
  margin: 0;
}

.gallery-item {
  width: 206px;
  height: 206px;
  position: relative;
  margin-right: 30px;
}
.gallery-label {
  display: none;
  background-color: #1a142d;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  font-style: normal;
  font-weight: bold;
  font-size: 12px;
  line-height: 130%;
  padding: 5px 12px;
  margin: 0;

  position: absolute;
  top: 180px;
  bottom: 0;
  left: 0;
}
.gallery-item:hover .gallery-label {
  display: block;
}
