*,
*::after,
*::before {
  box-sizing: border-box;
}
:root{
    --gallery-padding: 0 8em;
    --profile-width: 10em;
}
body {
  margin: 0 auto;
  width: 100vw;
  overflow-x: hidden;
  font-family: Poppins, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header {
  display: flex;
  flex-flow: nowrap column;
  align-items: center;
  justify-content: center;
  margin: 2em auto;
}
.profile{width: var(--profile-width);border-radius: 1em;}
h1{font-size: 1.5em;margin: 0;}
address{font-style: normal;font-size: .9em;color: rgba(0, 0, 0, .8);}
.social {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
@supports (gap: 1em) {
  header{gap: .5em}
  .social{gap: 1em;}
}
.social__box {
  display: inline-flex;
  flex-direction: column;
  background-color: rgba(200, 200, 200, 1);
  text-align: center;
  padding: 0.2em 1em;
  border-radius: 5px;
}
.label{color: rgba(0, 0, 0, .6);font-size: .8em}

main.gallery{
    display: grid;
    width: 100%;
    padding: var(--gallery-padding);
    grid-template-areas:
    "photo1 photo2 photo2"
    "photo3 photo3 photo4"
    "photo6  photo5 photo4";
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-rows: repeat(3, 33vh); */
    grid-gap: 1em;
}
.photo-container{margin: 0;padding: 0;border-radius: 1em;}
.photo-container:nth-child(1){grid-area: photo1;}
.photo-container:nth-child(2){grid-area: photo2;}
.photo-container:nth-child(3){grid-area: photo3;}
.photo-container:nth-child(4){grid-area: photo4;}
.photo-container:nth-child(5){grid-area: photo5;}
.photo-container:nth-child(6){grid-area: photo6;}
.photo{width: 100%;height: 100%;border-radius: 1em;margin: 0;padding: 0;filter: drop-shadow(0 0 3px rgba(0, 0, 0, .2))}

footer{
    text-align: center;
    font-size: .9em;
    margin: 2em 0;
    padding-top: 1em;
    color: rgba(100, 100, 100, 0.9);
    border-top: 2px solid black;
}
@media screen and (min-width: 968px){
  :root{--gallery-padding: 0 12em}
}
@media screen and (max-width: 968px){
    :root{--gallery-padding: 0 6em}
}
@media screen and (max-width: 768px){
    :root{--gallery-padding: 0 5em}
}
@media screen and (max-width: 552px){
    :root{--gallery-padding: 0 3em;--profile-width: 8em;}
}
@media screen and (max-width: 442px){
    :root{--gallery-padding: 0 .5em;--profile-width: 6em;}
}
@media screen and (max-width: 300px){
    header{font-size: .6em;}
    h1{font-size: 1em}
}
