* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --Very-Dark-Grayish-Blue: hsl(217, 19%, 35%);
    --Desaturated-Dark-Blue: hsl(214, 17%, 51%);
    --Grayish-Blue: hsl(212, 23%, 69%);
    --Light-Grayish-Blue: hsl(210, 46%, 95%);
}

body {
    display: block;
    justify-items: center;
    align-content: center;
    min-height: 100vh;
    background-color: var(--Light-Grayish-Blue);
}

.grand-container {
    margin: 0 auto;
    position: relative;
}

.container {
    display: flex;
    width: 45rem;
    font-family: "Manrope", sans-serif;
    background-color: white;
    border-radius: 0.6rem;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.block-wrapper {
    display: grid;
    gap: 1rem;
    margin: 2rem;
    margin-right: 2rem;
    margin-left: 5rem;
    margin-bottom: 1.2rem;
}

.picture {
    width: 120%;
    height: 100%;
}

.header {
    font-size: 1.3rem;
    color: var(--Very-Dark-Grayish-Blue);
    font-weight: bold;
}

.paragraph {
    font-size: 0.8rem;
    color: var(--Desaturated-Dark-Blue);
    font-weight: 600;
}

.profile {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.avatar {
    width: 2.4rem;
    border-radius: 2rem;
}

.info {
    display: grid;
    row-gap: 0.2rem;
}

.name-profile {
    font-weight: bold;
    font-size: 0.8rem;
    color: var(--Very-Dark-Grayish-Blue);
}

.data-upload {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--Grayish-Blue);
}

.footer {
    display: flex;
    align-items: center;
    column-gap: 10rem;
}

#share-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    background-color: var(--Light-Grayish-Blue);
    border-radius: 2rem;
    cursor: pointer;
}


.color-icon {
    filter: brightness(0) invert(1);
}

.popUpButton-visible {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 8px;
  position: absolute;
  top: 51%;
  left: 79%;
  width: 12rem;
  height: 2.8rem;
  background-color: var(--Very-Dark-Grayish-Blue);
}

.block-icons > p {
    letter-spacing: 0.3rem;
    font-size: 0.7rem;
    color: var(--Grayish-Blue);
}

.block-icons {
    display: flex;
    column-gap: 1rem;
    align-items: center;
}

.icons {
    width: 1rem;
}

.popUpButton-visible::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 15px solid var(--Very-Dark-Grayish-Blue);
  position: absolute;
  left: 43%;
  top: 100%;

}

@media screen and (max-width: 75rem) {
    .grand-container {
        position: none;
        display: flex;
        justify-items: center;
    }
    
    .container {
        display: block;
        width: 25rem;
        height: 20%;
    }

    .block-wrapper {
        margin: 2rem;
        margin-right: none;
        margin-left: none;
        margin-bottom: 0.9rem;
    }

    .picture {
        height: 20%;
    }

    .popUpButton-visible {
        top: 89%;
        left: 0%;
        width: 100%;
        height: 11%;
        justify-content: left;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    

    .popUpButton-visible::after {
        all: unset;
    }

    .header {
        font-size: 1.2rem;
    }

    .paragraph {
        font-size: 0.9rem;
    }

    #share-button {
        border-radius: 10rem;
        width: 2.3rem;
    }
}