.prmaster {
    display: block;
    background: #ffffffa1;
    width: 90%;
    margin: 0 auto;
    margin-top: 30px;
    border-radius: 10px;
}
.profilepage {
    padding: 0 30px;
}

.profile-img {
    width: 275px;
    height: 430px;
    float: left;
}

.profile-img img {
    width: 250px;
    height: 430px;
}
.nonesoc {
    opacity: 0.2;
}

.profile-soc {
    display: block;
    margin: 0 0 10px 0;
}

.gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 15px;
padding: 20px;
}
.gallery img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 10px;
cursor: pointer;
transition: transform 0.3s;
}
.gallery img:hover {
transform: scale(1.05);
}
/* Модальное окно */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
justify-content: center;
align-items: center;
}
.modal-content {
max-width: 80%;
max-height: 80%;
border-radius: 12px;
box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.close {
position: absolute;
top: 20px;
left: 30px;
font-size: 40px;
font-weight: bold;
color: white;
cursor: pointer;
transition: 0.3s;
}
.close:hover {
color: #ff4444;
}

/*erg*/

.blposters-profile a {
    color: rgb(0, 0, 0);
    text-transform: none;
    font-weight: 400;
    text-decoration: none;
}

.image-container-profile {
  padding: 5px;
  border-radius: 10px;
}

.image-container-profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 260px!important;
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  background-size: 400% 400%;
  animation: gradient-animation 5s ease infinite;
  border-radius: 18px;
  z-index: -1;
}

.image-container-profile img {
  border-radius: 15px;
}

.image-container-zero {
  padding: 5px;
  border-radius: 10px;
}

.image-container-zero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 194px!important;
  background: linear-gradient(45deg, #000, #000, #000, #545454, #000, #000, #000, #000, #000);
  background-size: 400% 400%;
  animation: gradient-animation 5s ease infinite;
  border-radius: 18px;
  z-index: -1;
}

.image-container-zero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* Анимация для градиента */
@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.blposters-profile {display: flex;flex-wrap: wrap;margin: 0 auto;width: 85%;margin-top: 30px;}

.blkpos-profile {
	position: relative;
    margin: 5px;
	z-index: 1;
}

.blkpos-profile img {
}

.blkpos-profile img:hover {
    filter: saturate(120%);
}
.profile-map {
    border: 10px solid #8dd0ff;
}

/* адаптивность */
@media (max-width: 768px) {
	
}

@media (max-width: 480px) {
	.profile-img {
	width: 325px;
    height: 560px;
    float: none;
	}
	.profile-img img {
    width: 325px;
    height: 560px;
}
.image-container-profile::before {
  width: 335px!important;
	}
}