@font-face {
  font-family: 'Soleil';
  src: url('https://partners.rebelmouse.com/brit/SoleilRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
    font-family:'Soleil';
    font-weight:700;
    font-style:normal;
    font-display:swap;
    src:url('https://partners.rebelmouse.com/brit/SoleilBold.woff2') format('woff2')
}

#page {
    padding-top: 0 !important;
}

body {
    background: #f2f2f2 !important;
	color: #272c30;
	font-family: 'Soleil', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

main {
    display: block;
}

.user {
  max-width: 1100px;
  margin: 80px auto 0 auto;
}

.user .user-profile {
  position: relative; 
  background: #FFFFFF;
  border-top: 6px solid rgb(204 235 230 / 90%);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  overflow: hidden;
  padding: 20px 10px ;
}

@media (min-width: 768px) {
   .user .user-profile {
        flex-direction: row;
        padding: 20px 30px 6px 53px;
   }
}

.user .user-profile::before,
.user .user-profile::after {
  content: "";
  position: absolute;
  top: 0; 
  width: 6px;
  height: calc(100% - 6px);
  background: linear-gradient(to bottom, rgba(204, 235, 230, 0.9), transparent);
}

.user .user-profile::before {
  left: 0;
}

.user .user-profile::after {
  right: 0;
}

.user .user-profile .avatar-badge-wrapper {
    border-radius: 50%;
    flex-shrink: 0;
    height: 144px;
    margin: 0 auto;
    overflow: hidden;
    width: 144px;
}

@media (min-width: 768px) {
    .user .user-profile .avatar-badge-wrapper {
        margin: 0;
    }
}

.user .user-profile .avatar-badge-wrapper img {
    object-fit: cover;  
    width: 100%
}

.user .user-profile .user-bio {
    margin: 10px 0 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
.user .user-profile .user-bio {
    margin: 10px 0 0;
    padding: 0 0 0 1rem;
    text-align: left;
    width: calc(100% - 300px);
}
}

.user .user-profile .user-bio h1 {
	font-family: 'Soleil', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 3px 0;
}

.user .user-profile .user-bio p {
    margin: 0;
}

.user .user-profile .user-bio a {
    color: #666666;

}

.user .user-profile .user-status {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    max-width: 730px;
}

.user .user-profile .user-status a {
    color: #000000;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1;
    margin: 0 5px;
}

.user .user-stories {
    background-color: rgba(255, 255, 255, 1);
    padding: 20px 30px;
    box-shadow: 0 0 3px 0 #ccc;
}

.user .user-stories h2 {    
    font-family: 'Soleil';
    font-size: 22px;
    font-weight: 400;
    margin:0;
    padding-bottom: 20px;
    text-align: center;
}

.user .user-stories .user-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px; 
    width: 100%;
}

/* Apply 2 columns on medium screens */
@media (min-width: 768px) {
    .user .user-stories .user-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Apply 3 columns on large screens (1024px and up) */
@media (min-width: 1024px) {
    .user .user-stories .user-posts {
        grid-template-columns: repeat(3, 1fr);
    }
}


.user .user-stories .user-posts a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
}

.user .user-stories .user-posts .user-post-image {
    aspect-ratio: 1/1;
    display: block;
    overflow: hidden;
}

.user .user-stories .user-posts .user-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user .user-stories .user-posts .user-post-meta {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #B3B3B3;
}

.user .user-stories .user-posts .user-post-title {
    font-size: 14px;
    font-size: 14px;
    color: rgba(0, 0, 0, 1);
    background-image: linear-gradient(180deg, #fff06b, #fff06b);
    background-repeat: no-repeat;
    background-position: 4px top;
    background-size: 100% 0;
    transition: background-position 0.2s ease;
}

.user .user-stories .user-posts a:hover .user-post-title {
    background-position: 4px bottom;
    background-size: 100% 10px;
}

.user .user-stories .user-posts .user-post-author {
    font-size: 14px;
}

.user .user-stories .user-posts .user-post-author {
    color: #B3B3B3;
    font-size: 14px;    
}

.user .user-stories .see-all {
    margin: 30px 0 50px auto;
    text-align: right;
}