@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@500&display=swap");

:root {
  --font: "Work Sans", sans-serif;
  --bgColor: #000;
  --accentColor: linear-gradient(315deg, #f7ce68 0%, #97d9e1 100%);
  /* --accentColor: hsl(0, 100%, 81%); */
  --largeDeviceBg: url("beach_bg.jpg");
  --smallDeviceBg: url("beach_bg_small.jpg");
  --grad: linear-gradient(
    rgb(10, 10, 10),
    rgb(53, 41, 46),
    rgb(162, 118, 131),
    rgb(205, 155, 164),
    rgb(250, 195, 197)
  );
}

.shadow {
  -moz-box-shadow: inset 0 0 10px #000000;
  -webkit-box-shadow: inset 0 0 10px #000000;
  box-shadow: inset 0 0 10px #000000;
}

.links {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--smallDeviceBg);
  background-repeat: no-repeat;
  background-size: cover;
}

.container {
  margin: auto;
  padding: 15px;
  display: block;
  width: 80vw;
}

@media only screen and (min-width: 600px) {
  body {
    background-color: #97d9e1;
    background-image: var(--largeDeviceBg);
    background-size: cover;
    box-sizing: border-box;
    box-sizing: 100%;
  }

  .container {
    width: 15vw;
  }
}

.photo {
  margin: auto;
  background-color: #97d9e1;
  width: 200px;
  height: 200px;
  display: grid;
  border-radius: 50%;
  outline-color: black;
  border: black;
  margin: auto;
}

.name {
  display: grid;
  text-decoration: none;
  color: var(--bgColor);
  margin: auto;
  text-align: center;
  font-family: var(--font);
  font-size: 1.7rem;
  font-weight: bold;
}

.link {
  background: var(--accentColor);
  padding: 0.5em;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--bgColor);
  border-radius: 10px;
  text-align: center;
  width: 100%;
  /* background-color: var(--accentColor); */
  background-size: 400% 400%;
  box-shadow: var(--normal-shadow);
  animation: gradient 5s ease infinite reverse;
  transition: 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2em;
  font-family: var(--font);
  /* font-weight: bold; */
}

.link:hover {
  background: var(--bgColor);
  color: #97d9e1;
}
