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

:root {
  --Dark-Blue: hsl(217, 19%, 35%);
  --Desaturated-Blue: hsl(214, 17%, 51%);
  --Grayish-Blue: hsl(212, 23%, 69%);
  --Light-Blue: hsl(210, 46%, 95%);

  --fnt-Size: 0.8125rem;
}

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  9. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

/**/
body {
  font-family: "Manrope";
  color: var(--Dark-Blue);
  background-color: var(--Light-Blue);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
article {
  display: flex;
  max-width: 45.625rem;
  max-height: 17.5rem;
  background-color: white;
  border-radius: 0.625rem;
}
.imgDrawer {
  border-bottom-left-radius: 0.625rem;
  border-top-left-radius: 0.625rem;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.content {
  position: relative;
  margin: 2rem 2rem 1.5rem 2rem;
}

.content h1 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
  letter-spacing: 0.015625rem;
  margin-bottom: 1rem;
}

.text {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25rem;
  margin-bottom: 1.5rem;
}

.profile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.container-user_informations {
  display: flex;
  gap: 1rem;
}

.user_informations_name {
  font-size: 0.8125rem;
  font-weight: 700;
}
.user_informations_date {
  font-size: 0.8125rem;
  font-weight: 500;
}

.profile picture img {
  width: 2.5rem;
  border-radius: 50%;
}

.button {
  background-color: var(--Light-Blue);
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.buttonActive {
  background-color: var(--Desaturated-Blue);
}

.social_links {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  background-color: var(--Dark-Blue);
  width: 15.5rem;
  height: 3.5rem;
  border-radius: 0.625rem;
  gap: 0.9375rem;
  left: 16rem;
  bottom: 4rem;
}
.squad {
  width: 20px;
  height: 20px;
  background-color: var(--Dark-Blue);
  position: absolute;
  left: 7.5rem;
  bottom: -0.6rem;
  transform: rotate(45deg);
}

.social_links p {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: var(--Grayish-Blue);
}

/* Settings */
.display_none {
  display: none;
}

.button_icon_Dark_Blue {
  fill: var(--Dark-Blue);
}
.button_icon_Light_Blue {
  fill: var(--Light-Blue);
}
/* Settings */
@media screen and (max-width: 600px) {
  article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color: white; */
    max-width: 45.625rem;
    max-height: none;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  .imgDrawer {
    border-top-right-radius: 0.625rem;
    border-top-left-radius: 0.625rem;
    border-bottom-left-radius: 0;
  }

  .social_links {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: var(--Dark-Blue);
    width: 15.5rem;
    height: 3.5rem;
    border-radius: 0.625rem;
    gap: 0.9375rem;
    left: 16rem;
    bottom: -5rem;
  }
  .squad {
    width: 25px;
    height: 25px;
    background-color: var(--Dark-Blue);
    position: absolute;
    left: 11.8rem;
    bottom: 2.7rem;
    transform: rotate(45deg);
  }
}

@media screen and (max-width: 475px) {
  .social_links {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: var(--Dark-Blue);
    width: 20.5rem;
    height: 4.5rem;
    border-radius: 0 0 0.625rem 0.625rem;
    gap: 0.9375rem;
    left: -2rem;
    bottom: -1.6rem;
  }
}
