.profile-head { display: flex; flex-direction: row; justify-content: center; } .profile-head img { border: 1px solid var(--span-color-back); border-radius: 3px !important; transition: 0.3s; } .profile-head img:hover { box-shadow: 0 0 15px rgba(0,0,0,0.5); transition: 0.3s; } .block-infopovod { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 30%; } .blochancskiy { display: flex; flex-direction: row; align-items: center; border: 1px solid var(--span-color-back); background: linear-gradient(45deg, var(--sidebar-gradient-1), var(--sidebar-gradient-2)); box-shadow: 0 0 10px rgba(0,0,0,0.5); margin-right: 1rem; margin-bottom: 1.25rem; font-size: .9rem; font-weight: 550; color: var(--default-text-color); width: 80%; border-radius: 5px; } .blochancskiy div { display: flex; justify-content: center; padding: .5rem 0; width: 48%; } .borderepta { border-right: 2px solid var(--span-color-back); } .nickname-style { display: flex; justify-content: center; font-size: 1.6rem; font-weight: 600; padding-bottom: .8rem; margin-bottom: .8rem; color: var(--default-text-color); animation: pulse 1.5s infinite ease-in-out; } @media (max-width: 1024px) { .profile-head img { max-width: 60%; margin-bottom: 1.2rem; } .profile-head a { display: flex; flex-direction: column; justify-content: center; align-items: center; } .nickname-style { font-size: 1.1rem; } .profile-head { display: block; } .block-infopovod { width: 100%; flex-direction: unset; } } @media (max-width: 600px) { .block-infopovod { flex-direction: column; } .blochancskiy { font-size: .6rem; } } @keyframes pulse { 0% { text-shadow: 0 0 10px var(--span-color-back); } 50% { text-shadow: 0 0 10px var(--span-color); } 100% { text-shadow: 0 0 10px var(--span-color-back); } } .accordion { background-color: var(--sidebar-color); color: var(--default-text-color); cursor: pointer; padding: 18px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px; transition: 0.4s; } .active, .accordion:hover { background-color: var(--navbar-color); } :root { --panel-color: #171717; } .panel { background-color: var(--panel-color); max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out; } .accordion:after { content: '\002B'; color: #777; font-weight: bold; float: right; margin-right: 30px; } .accordion .active:after { content: "\2212"; } .panel th { border: none; }