@import url('https://fonts.googleapis.com/css2?family=Manrope&display=swap');

:root {
  --Grayish-Blue1: hsl(217, 19%, 35%);
  --Grayish-Blue2: hsl(214, 17%, 51%);
  --Grayish-Blue3: hsl(212, 23%, 69%);
  --Grayish-Blue4: hsl(210, 46%, 95%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  background-color: var(--Grayish-Blue4);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  display: flex;
  max-width: 650px;
  width: 100%;
  align-items: stretch;
  height: 250px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  border-radius: 10px;
}


.left img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px 0 0 10px;
}


.right {
  background-color: white;
  padding: 30px;
  flex: 1;
  border-radius: 0 10px 10px 0;
}


.title {
  font-weight: 700;
  color: var(--Grayish-Blue1);
  font-size: 18px;
}


.desc {
  font-weight: 500;
  color: var(--Grayish-Blue2);
  padding: 10px 0;
}


.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}


.footer .profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
}


.name {
  line-height: 1.4;
}

.person {
  font-weight: 700;
  font-size: 12px;
  color: var(--Grayish-Blue1);
}

.date {
  font-weight: 500;
  font-size: 12px;
  color: var(--Grayish-Blue2);
}


.footer .profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}



.circle {
  position: relative;
  width: 30px;
  height: 30px;
  background-color: var(--Grayish-Blue4);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle img {
  width: 15px;
  height: 15px;
}


.circle button {
  all: unset;
}








.social-box {
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--Grayish-Blue1);
  padding: 12px 25px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  z-index: 10;
  font-size: 14px;
}

.social-box::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--Grayish-Blue1);
}


.hidden {
  display: none;
}

.social-box span {
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--Grayish-Blue3);
  font-size: 12px;
}

.social-box a img {
  width: 15px;
  height: 15px;
}








@media (max-width: 600px) {
  .container {
    flex-direction: column;
    height: auto;
    gap: 0;
    align-items: center;
    width: 100%;
    /* overflow: hidden; */
  }

  .left img {
    width: 100%;
    border-radius: 10px 10px 0 0;
    height: auto;
    display: block;
  }

  .container .right {
    width: 100%;
    /* height: auto; */
    border-radius: 0 0 10px 10px;
    /* padding: 30px; */
  }


  .container .right,
  .container .left {
    margin: 0;
    padding: 0;
  }

  .social-box {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    border-radius: 0;
    justify-content: flex-start;
    padding-left: 2rem;
    height: 60px;
  }

  .social-box::after {
    display: none;
  }

  .footer {
    position: relative;
  }

  .circle {
    z-index: 20;
  }
}