:root {
  --viewport-height: calc(var(--vh, 1vh) * 100);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}

body,
html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  background-color: rgb(33, 32, 32);
  /* background: url(../img/bg.jpg); */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  color: #fff;
  font-family: "Roboto", sans-serif;
}

.bg-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 0;

  display: none;
}

.video-bg {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: fixed;

  /* display: none; */
}

.overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100%;
  min-width: 100%;
  background-color: black;
  opacity: 0.4;
  z-index: 1;
}

.welcome-overlay {
  display: flex;
  width: 100vw;
  height: var(--viewport-height);
  position: fixed;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  text-align: center;
  z-index: 3;
  background: rgba(47, 46, 46, 0.7);

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);

  transition: all 0.2s;
}

.welcome-icon {
  width: 7rem;
  height: 7rem;
}

.welcome-heading {
  font-size: 2.5rem;
}

.welcome-subheading {
  font-weight: 300;
  font-size: 1.5rem;
}

.welcome-btn {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 1rem 3rem;
  border: 0.2rem solid #fff;
  border-radius: 5rem;
  cursor: pointer;
  background-color: transparent;
}

.container {
  display: flex;
  position: inherit;
  width: 100%;
  z-index: 2;
  justify-content: center;

  /* width: 60rem; */
}

/* .blur {
  filter: blur(10px);
} */

main {
  width: 60rem;
  height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  /* gap: 1.5rem; */
}

.social-icons {
  display: flex;
  /* height: 3rem; */
  padding: 0.5rem 0;
  width: 100%;
  gap: 1rem;
  justify-content: flex-start;
}

.icon {
  width: 3rem;
  height: 3rem;
  /* filter: brightness(0) saturate(100%) invert(99%) sepia(21%) saturate(5474%)
    hue-rotate(199deg) brightness(135%) contrast(74%); */

  background-color: rgb(33, 32, 32);
  padding: 0;
  border-radius: 100%;
}

.profile--image {
  width: 10rem;
  height: 10rem;
  object-fit: cover;
  border-radius: 100%;
}

.username {
  text-align: center;
  padding: 1rem 0;
  font-size: 1.2rem;
}

.offers {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  flex-grow: 2;
  align-items: center;
  justify-content: center;
}

.headline {
  font-size: 3rem;
  text-transform: uppercase;
  line-height: 0.5;
}

.subheading {
  font-weight: 300;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 75%;
}

.btn {
  display: flex;
  padding: 0.5rem;
  min-width: 100%;
  background-color: bisque;
  text-decoration: none;
  align-items: center;
  border-radius: 5rem;
}

.btn-img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  flex-shrink: 3;
  border-radius: 5rem;
}

.btn-text {
  flex-grow: 2;
  font-weight: 600;
  color: rgb(33, 32, 32);
  margin-left: -3rem;
}

.btn:hover {
  background-color: beige;
}

.shake {
  animation: shake 3s;

  animation-delay: 2s;
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  2% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  4% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  6% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  8% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  10% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  12% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  14% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  16% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  18% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  20% {
    transform: translate(1px, -2px) rotate(-1deg);
  }

  22% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0.5rem;
    min-height: var(--viewport-height);
  }

  main {
    height: 85vh;
    gap: 0;
  }

  .profile--image {
    width: 7rem;
    height: 7rem;
  }

  .social-icons {
    gap: 0.5rem;
  }

  .icon {
    width: 2.3rem;
    height: 2.3rem;
  }
  .offers {
    gap: 1rem;
    flex-grow: 2;
    justify-content: flex-end;
    padding-bottom: 1rem;
  }

  .buttons {
    width: 95%;
  }

  .headline {
    font-size: 1.6rem;
  }

  .subheading {
    font-size: 1rem;
  }

  .welcome-heading {
    font-size: 2rem;
  }

  .welcome-subheading {
    font-weight: 300;
    font-size: 1.2rem;
  }

  .welcome-btn {
    font-size: 1.3rem;
  }
}
