@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --main-text-color: #2558a9;
  --second-text-color: #53a1b8;
}

.user-info-box * {
  font-family: "Inter";
  font-style: normal;
}

/* border radius */
.sb-comments-box {
  border-radius: 15px;
}

/* header */
.user-info-box {
  z-index: inherit;
}
.ufb-header-box {
  position: relative;
}
.hb-phon {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 80%;
  background-color: #eaffff;
}

.hb-header {
  display: flex;
  padding: 20px 40px;
}

.h-user-avatar {
  border: var(--main-text-color) solid 10px;
  border-radius: 52px;
  overflow: hidden;
  min-width: 332px;
  height: 332px;
}
.h-user-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ui-user-name {
  font-weight: 700;
  font-size: clamp(1rem, 5vw, 62px);
  line-height: 75px;
  color: var(--main-text-color);
}
.ui-user-status {
  background-color: #f9f9f9;
  padding: 20px 40px;
  margin: 20px 0;
  border-radius: 12px;
  font-weight: 500;
  font-size: clamp(1rem, 5vw, 32px);
  line-height: 39px;
  color: var(--main-text-color);
}

.h-user-info {
  padding: 20px;
}

/* body */
.ufb-body {
  display: flex;
  gap: 40px;
  margin: 50px;
  margin-right: 0;
}

.b-statistics-box {
  z-index: inherit;
}
.sb-comments-box {
  background-color: #cdf6f0;
  padding: 10px 28px 90px;
}
.sb-comments-box span {
  font-weight: 800;
  font-size: clamp(1rem, 5vw, 36px);

  color: var(--main-text-color);
}

.sb-comments-box h5 {
  font-weight: 400;
  font-size: clamp(1rem, 5vw, 32px);
  letter-spacing: -0.04em;
  color: var(--second-text-color);
  margin: 0;
}

.sb-videos-box {
  z-index: inherit;
}
.sb-videos-box img {
  width: 66px;
  position: relative;
  top: 18px;
}
.sb-videos-box span {
  font-weight: 600;
  font-size: clamp(1rem, 5vw, 22px);
  color: var(--main-text-color);
}

/* right side */
.b-user-content-box {
  flex: 1;
}
.uc-titles-box {
  z-index: inherit;
}
.uc-titles-box hr {
  border-width: 2px;
  color: #adacaa;
}
.tb-titles {
  display: flex;
  gap: 10px;
}
.tb-titles span {
  font-weight: 400;
  font-size: 24px;
  color: #adacaa;
  margin-right: 40px;
}

.ucb-content-box {
  display: grid;
  gap: 30px;
}
.video-box {
  display: flex;
  background-color: #e3e3e3;
  padding: 10px;
}

.vb-poster-box {
  width: 245px;
  height: 138px;
}
.vb-poster-box img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.vb-video-info {
  display: grid;
  flex: 1;
}
.vi-video-title {
  margin: 0 0 10px 10px;
  padding: 20px;
  background-color: #fff;
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vi-video-statistics {
  justify-self: end;
  align-self: end;
}

.vs-views,
.vs-likes,
.vs-dislikes {
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.06em;
  margin-left: 23px;
}
.vs-views {
  color: var(--main-text-color);
}

.load-more {
  width: 20vw;
  justify-self: center;
}

/* MEDIA */
@media screen and (max-width: 1200px) {
  .h-user-avatar {
    min-width: 232px;
    height: 232px;
  }

  .ufb-body {
    display: grid;
    margin: 0 0 50px;
  }

  .b-statistics-box {
    display: flex;
    gap: 20px;
    justify-self: center;
  }
}

@media screen and (max-width: 848px) {
  .h-user-avatar {
    justify-self: center;
    width: 232px;
    height: 232px;
  }

  .ui-user-status {
    margin: 0;
  }

  .hb-header {
    display: grid;
    padding: 20px 40px;
  }

  .sb-videos-box img {
    position: inherit;
  }
  .sb-videos-box h1 {
    margin: 0;
  }

  .video-box {
    display: grid;
    gap: 20px;
  }
  .vb-poster-box {
    justify-self: center;
  }
  .vi-video-title {
    margin: 0 0 10px;
    font-size: clamp(1rem, 4vw, 36px);
  }

  .vs-views,
  .vs-likes,
  .vs-dislikes {
    font-size: clamp(1rem, 3vw, 26px);
  }

  .load-more {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
}

