:root {
  /* https://github.com/features/codespaces
      Style inspiration rgb(8, 8, 9)*/
  --color-background: black;
  --color-dark-panel: rgb(14, 15, 15);
  --color-borders: rgb(57, 57, 57);
  --color-blue: rgb(66, 107, 243);
  --color-purple: rgb(171, 125, 248);
  --color-peach: rgb(255, 126, 95);
  --color-orange: rgb(254, 180, 123);
  --shiny-duration: 6s;
}

.threeD {
  box-shadow:
    inset .5px 1px 1px rgba(125, 147, 176, 0.2),
    inset .5px 2px 2px rgba(125, 147, 176, 0.05),
    inset 0 3px 3px rgba(21, 27, 35, 0.05),
    inset 0 4px 4px rgba(21, 27, 35, 0.1),
    0px 5px 10px rgba(0, 0, 0, 1),
    -15px -20px 20px rgba(255, 255, 255, .02);

  background-color: var(--color-dark-panel) !important;
  border-radius: 6px !important;
  border: 1px solid black !important;
}

/* Custom scrollbar styles for webkit-based browsers */
::-webkit-scrollbar {
  width: 5px;
  /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
  background: transparent;
  /* Color of the scrollbar track */
}

::-webkit-scrollbar-thumb {
  background: var(--color-light-panel);
  /* Color of the scrollbar thumb */
  border-radius: 10px;
  /* Optional: Rounded corners for the scrollbar thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
  /* Color of the scrollbar thumb when hovered */
}

html,
body {
  background-color: black;
  color: white;
  height: 100%;
  width: auto;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

header {
  width: 100%;
  border-bottom: 1px solid grey;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  position: absolute;
  background: rgba(134, 134, 134, 0.1);
  -webkit-backdrop-filter: blur(10px);
  /* For Safari */
  backdrop-filter: blur(10px);
  z-index: 100;
}

header img {
  width: 30px;
}

header p {
  width: 290px;
  font-size: 140%;
  margin-left: 10px;
}

header p span {
  color: var(--color-peach);
  /* Gradient text for supported browsers */
  background: linear-gradient(45deg, var(--color-peach), var(--color-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Standard property */
  text-fill-color: transparent;
  /* Safari? */
}

main {
  margin-top: 100px;
}

.bannerText {
  font-size: 50%;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

main h1,
main p {
  margin: auto;
}

.userContainer,
.resultsContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  margin: auto;
  margin-top: 25px;
  padding: 20px;
}

.userContainer p,
.resultsContainer p {
  font-size: 1.8rem;
  padding: 15px;
  border-radius: 20px;
  border-bottom: 1px solid rgba(255, 126, 95, .3);
}

.userUploads,
.results {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.userUploads img {
  border-radius: 20px;
  width: 30%;
  min-width: 250px;
  height: auto;
  margin: 15px auto;
}

footer {
  position: relative;
  width: 100%;
  margin-top: 100px;
}

.xLink {
  text-decoration: none;
  border-top-left-radius: 15px;
  border: 2px solid rgb(26, 140, 216);
  height: 15px;
  font-size: .75rem;
  text-align: center;
  font-weight: 800;
  padding: 10px;
  position: absolute;
  bottom: -4px;
  right: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.xLink:hover {
  opacity: .6;
}

.xLink span {
  color: var(--color-peach);
  /* Gradient text for supported browsers */
  background: linear-gradient(90deg, rgb(26, 140, 216), rgb(254, 180, 123));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Standard property */
  text-fill-color: transparent;
  /* Safari? */
}

.landingContainer {
  height: 100%;
  max-height: 100%;
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.blueShadow {
  position: fixed;
  top: 30%;
  left: -40%;
  width: 80%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, rgba(0, 0, 255, 0) 70%);
}

.orangeShadow {
  position: fixed;
  top: 40%;
  right: -40%;
  width: 80%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.1) 0%, rgba(0, 0, 255, 0) 50%);
}

/* BANNER */

.bannerContainer {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: auto;
  z-index: 1;
}

.bannerLeftContent {
  width: 100%;
  height: 100%;
  margin-top: -75px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 5%;
  z-index: 1;
}

.bannerLeftContent h1 {
  font-size: 3rem;
  margin: 0;
}

.bannerLeftContent p {
  font-size: 1.5rem;
  margin: 0;
  margin-bottom: 10px;
}

.bannerRightContent {
  height: calc(100vh - 70px);
  z-index: -1;
  position: relative;
}

.bannerPhotoGrid {
  rotate: -20deg;
  position: absolute;
  top: -300px;
  right: -200px;
  width: 700px;
}

.bannerHouseImg {
  border-radius: 20px;
  opacity: .5;
  margin: 5px;
  box-shadow: -10px 5px 50px rgba(255, 255, 255, .15);
  height: 200px;
  width: 200px;
}

/* .test_img {
  height: 200px;
  width: auto;
} */

.shiny-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 301px; /* Determins size of "border */
  height: 301px; /* Determins size of "border */
  margin: auto;
  margin: 15px auto;
}

.shiny-wrapper::before {
  content: '';
  position: absolute;
  height: 50%;
  margin: auto;
  /* z-index: 1; */
  width: 200%;
  margin-right: -10%;
  /* Center pseudo in the parent */
  background: linear-gradient(0deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  /* Adjust to match the button's border-radius */
  animation: shiny var(--shiny-duration) linear infinite;
}

.shiny-wrapper:hover::before {
  --shiny-duration: 2s;
  /* Change the duration on hover */
}

.shiny-wrapper>* {
  /* Img inside wrapper */
  height: auto;
  width: 300px;
  /* Size of img */
  position: relative;
  background-color: black;
  border: none;
  border-radius: 20px;
}

.shiny-wrapper:hover{
  transform: scale(1.05);
}

@keyframes shiny {
  0% {
    rotate: 90deg;
  }

  100% {
    rotate: -90deg;
  }
}
