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

body,html { width: 100%; height: 100%;}

body {
  background-color: hsl(210, 46%, 95%);
  color: hsl(212, 23%, 69%);
  display: flex;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
}

.main-container {
  background-color: white;
  border-radius: 10px;
  height: 70%;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 80%;
    min-width: 310px;
    max-width: 470px;
}

 #img1 {
   height: 38%;
   object-fit: cover;
   object-position: 50% 10%;
   width: 100%;
 }

.second-container{
  display: flex;
  flex-direction: column;
  height: 60%;
  padding: 8%;
  width: 100%;
}

h1 {
  color: hsl(217, 19%, 35%);
  font-size: 16px;
  font-weight: 700;
}

#p {
  margin-top: 3%;
}

.profil-container{
  box-sizing: content-box;
  display: flex;
  flex-direction: row;
  margin-top: auto;
  position: relative;
  width: 100%;
}

#avatar {
  border-radius: 50%;
  margin-right: 5%;
  width: 12%;
    min-width: 42px;
}

h2 {
  color: hsl(217, 19%, 35%);
  font-size: 13px;
  font-weight: 700;
}


#share-btn{ /* ARROW ICON */
  border-radius: 50%;
  border: none;
  bottom: 0px;
  position: absolute;
  padding: 10px;
  right: 0;
  z-index: 3;
}



#share{ /* TEXT */
  letter-spacing: 2px;
  text-transform: uppercase;
}

#icons img {
  height: 20px;
  width: 20px;
}

#twitter-icon {
  padding-right: 30%;
}

.hidden{
  display: none;
}

.is-visible{
  background-color: hsl(217, 19%, 35%);
  box-sizing: border-box;
  display: flex;
  height: 100px;
  justify-content: space-around;
    align-items: center;
    position: absolute;
      left: 0px;
      bottom: 0px;
  padding: 10%;
  width: 100%;
  z-index: 2;
}



.attribution {
  font-size: 11px;
  text-align: center;
  position: absolute;
    bottom: 0px;
  width: 100%;
}
.attribution a { color: hsl(217, 19%, 35%); }


@media only screen and (min-width: 700px) {


  .main-container {
    height: 40%;
    width: 90%;
    min-width: 700px;
    max-width: ;
    display: flex;
  }

  #img1 {
    height: 100%;
    object-fit: cover ;
    object-position: 0% 50%;
    width: 40%;
  }

  .second-container{
    padding: 0px 5%;
    margin: auto;
  }

  .profil-container{
    margin-top: 10%;
  }

  .is-visible{
      left: auto;
      right: -10px;
      bottom: 100px;
    height: 50px;
    padding: 2%;
    width: 200px;
  }

  #twitter-icon {
    padding-right: 0%;
  }

}
