@import url('https://fonts.googleapis.com/css2?family=Grand+Hotel&family=Varela+Round&display=swap');

@keyframes spin-in {
  0% {
    opacity: 0;
    transform: rotate(-36deg);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: rotate(0);
  }
}

@keyframes shimmer {
  from {
    background-position: -1200px;
  }
  to {
    background-position: 1200px;
  }
}

html,
body {
  padding: 0;
  margin: 0;
}

body {
  background-color: #fae0ea;
  color: #4d301f;

  font-family: 'Varela Round', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-align: center;

  background-image: radial-gradient(transparent, #ffd3de40), url('img/bg.png');
  background-size: 100%, 256px;
  background-position: 50% 0%;
}

section {
  max-width: 520px;
  box-sizing: border-box;
  margin: 2rem auto;
}

section.profile {
  margin-top: 0;
  padding: 1rem;

  background-color: #fae0ea94;
  backdrop-filter: blur(2px);
  box-shadow: 0 0 1rem #0004;
  border-bottom-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
}

img.portrait {
  height: 172px;
  margin: 0 auto;
  display: block;
  animation: spin-in 1800ms;
  animation-delay: 400ms;
  animation-fill-mode: both;
  animation-timing-function: linear(
    0,
    0.0506,
    0.1142,
    0.1887,
    0.2718,
    0.3612,
    0.4547,
    0.5505,
    0.6464,
    0.7409,
    0.8322,
    0.919,
    1,
    1.0743,
    1.1411,
    1.1998,
    1.25,
    1.2915,
    1.3242,
    1.3483,
    1.3641,
    1.372,
    1.3724,
    1.366,
    1.3536,
    1.3357,
    1.3132,
    1.2868,
    1.2575,
    1.2259,
    1.1928,
    1.1589,
    1.125,
    1.0916,
    1.0593,
    1.0287,
    1,
    0.9737,
    0.9501,
    0.9294,
    0.9116,
    0.8969,
    0.8854,
    0.8768,
    0.8713,
    0.8685,
    0.8683,
    0.8706,
    0.875,
    0.8813,
    0.8893,
    0.8986,
    0.909,
    0.9201,
    0.9318,
    0.9438,
    0.9558,
    0.9676,
    0.979,
    0.9899,
    1,
    1.0093,
    1.0176,
    1.025,
    1.0313,
    1.0364,
    1.0405,
    1.0435,
    1.0455,
    1.0465,
    1.0466,
    1.0458,
    1.0442,
    1.042,
    1.0391,
    1.0359,
    1.0322,
    1.0282,
    1.0241,
    1.0199,
    1.0156,
    1.0115,
    1.0074,
    1.0036,
    1,
    0.9967,
    0.9938,
    0.9912,
    0.989,
    0.9871,
    0.9857,
    0.9846,
    0.9839,
    0.9836,
    0.9835,
    0.9838,
    0.9844,
    0.9852,
    0.9862,
    0.9873,
    0.9886,
    0.99,
    0.9915,
    0.993,
    0.9945,
    0.996,
    0.9974,
    0.9987,
    1,
    1.0012,
    1.0022,
    1.0031,
    1.0039,
    1.0046,
    1.0051,
    1.0054,
    1.0057,
    1.0058,
    1.0058,
    1.0057,
    1.0055,
    1.0052,
    1.0049,
    1.0045,
    1.004,
    1.0035,
    1.003,
    1.0025,
    1.002,
    1.0014,
    1.0009,
    1.0004,
    1,
    0.9996,
    0.9992,
    0.9989,
    0.9986,
    0.9984,
    0.9982,
    0.9981,
    0.998,
    0.9979,
    0.9979,
    0.998,
    0.998,
    0.9981,
    0.9983,
    0.9984,
    0.9986,
    0.9988,
    0.9989,
    0.9991,
    0.9993,
    0.9995,
    0.9997,
    0.9998,
    1,
    1.0001,
    1.0003,
    1.0004,
    1
  );
}

h1 {
  font-family: 'Grand Hotel', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 3.5rem;
  margin: 0 0 -1.5rem;
  color: #ff72b2;
  text-shadow:
    0 1px 0 #d25b8f,
    0 -0.5px 0 #f3c4d8,
    0 0 1rem #fb85c8;
}

a {
  text-decoration: none;
}

ul.stores,
ul.socials {
  list-style: none;
  padding: 0;
  margin: 1rem;
}

ul.stores li {
  margin: 0 0 1rem;
}

ul.stores li a {
  display: block;
  background-color: #f4d4e1;
  color: #4d301f;
  font-weight: bolder;
  text-decoration: none;
  padding: 1rem;
  border: 2px solid#f48d9d;
  box-shadow: 0px 4px 0 #f48d9d;
  border-radius: 100px;
  transition: all 0.1s ease;
}
ul.stores li a em {
  font-weight: normal;
  font-size: small;
}

li a.shimmer {
  background-image: linear-gradient(135deg, #fff0 5%, #fff8 25%, #fff0 35%);
  background-repeat: no-repeat;
  background-size: 800px;
  animation: shimmer 3600ms ease-in-out infinite;
}

li a:hover {
  filter: brightness(1.05);
}

li a:active {
  transform: scale(0.98);
}

ul.socials li {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 1rem 0.8rem;
  transition: all 0.1s ease;
}
ul.socials li a:hover img {
  filter: brightness(1.2);
}
ul.socials li a:active img {
  transform: scale(0.98);
}

hr {
  background: transparent;
  height: 0;
  border: none;
  border-top: 1px dashed #f7b5c3;
  border-bottom: 1px dashed #fbe7eb;
  margin: 2rem;
}

section.gallery img {
  max-width: 160px;
  box-sizing: border-box;
  padding: 4px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 0 1rem #0004;
  transition: all 0.1s ease;
}

section.gallery a:hover img {
  filter: brightness(1.05);
}

section.gallery a:active img {
  transform: scale(0.98);
}

footer {
  margin: 0 auto 1rem;
  font-size: 10px;
  color: #82356940;
  text-shadow: 0 0.5px 0 #fff8;
}

@media (min-width: 520px) {
  section.profile {
    margin-top: 2rem;
    border-radius: 3rem;
    box-shadow:
      inset 0 1px 0 #fff8,
      0 0 1rem #0004;
  }
}

@media (min-width: 1000px) {
  main {
    display: flex;
    flex-direction: row;
    align-items: center;
    /*justify-content: space-evenly;*/
    justify-content: center;
  }
  section {
    flex-grow: 1;
    max-width: 480px;
    margin: 2rem 0 !important;
  }
  section.gallery img {
    max-width: 216px;
  }
}

main.notfound {
  display: block !important;
}
main.notfound section {
  margin-left: auto !important;
  margin-right: auto !important;
}
