html {
  scroll-behavior: smooth;
}
body {
  background-image: url("https://www.freevector.com/uploads/vector/preview/18390/DD-Blue-Sky-Background-02138-Preview.jpg");
  background-repeat: inherit;
  background-size: auto;
}
text {
  align-items: center;
}
* {
  font-family: "Kanit";
}

h1 {
  font-weight: bold;
  font-size: 35px;
  margin: 0;
}

ul {
  list-style: none;
}

#Matt {
  display: flex;
  width: 480px;
  height: 320px;
  margin: auto;
}

ul {
  display: inline block;
  padding: 10px, 20px;
  justify-content: space-around;
}

nav {
  display: flex;

  justify-content: space-evenly;
  margin: 20px;
  flex-wrap: wrap;
}

nav a {
  background-color: white;
  font-weight: bold;
  font-size: 15px;
  border-radius: 10px;
  display: inline-block;
  scroll-behavior: smooth;
}

.nav-link {
  font-weight: bold;
}

nav a:hover {
  box-shadow: 0px 0px 100px 0px grey;
}

h2 {
  white-space: break-spaces;
}

#clickText {
  display: none;
}

#Project-1 {
  background-position: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#contact-head {
  display: flex;
  justify-content: center;
  margin: 10px;
  padding: 10px;
}

#Contact-list {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

#Contact-list > a:hover {
  font-weight: bold;
  cursor: grab;
  color: black;
}

#btnText:focus {
  height: fit-content;
  width: fit-content;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 583px) {
  body {
    width: fit-content;
    background-color: black;
  }

  img {
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
  #button-main {
    display: none;
  }
}

header h1 {
  width: 100%;
  text-align: center;
}

header nav ul {
  width: 100%;
  justify-content: center;
  flex-direction: row;
}

.drop {
  display: none;
  background-color: red;
}
#Contact-Link {
  width: auto;
}

.stage {
  width: 25px;
  height: 25px;
  display: inline-block;
  margin: 5px;
  perspective: 100px;
  perspective-origin: 50% 50%;
  position: relative;
  right: 30px;
}
.circle .shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0) 50%
  );
  transform: rotateX(90deg) translateZ(-150px);
  z-index: -1;
}

.circle:hover {
  transform-style: preserve-3d;
  animation: spin 10s infinite;
  transform: rotateZ(180deg);
  cursor: grab;
}

:root {
  --body-bg: #f5f5f5;
  --card-bg: #e0e0e0;
  --card-bd-col: #bdbdbd;
  --text-color: #252525;
}

.footer {
  background-image: url("https://img.freepik.com/free-photo/fertile-loam-soil-suitable-planting-soil-texture-background_38663-327.jpg?size=626&ext=jpg");
}
.clouds {
  height: 85px;
  transform: scale(1.5);
  position: relative;
}

.clouds + svg {
  display: none;
  position: relative;
  bottom: 20px;
}

.clouds:hover + .animation {
  display: block;
  width: auto;
  height: auto;
}
.cloud-2:hover + .rainbow {
  display: block;
  width: auto;
  height: auto;
}

.circle {
  animation: rotation 5s infinite ease-in;
  display: block;
  background: black;
  border-radius: 50%;
  height: 75px;
  width: 75px;
  margin: 0;
  background: radial-gradient(circle at 25px 25px, #fa8607, #ffff00);

  box-shadow: inset -25px -25px 40px orangered;
  background-image: -webkit-linear-gradient(
    -45deg,
    yellow 0%,
    transparent 100%
  );
  background-image: -moz-linear-gradient(-45deg, yellow 0%, transparent 100%);
  background-image: -o-linear-gradient(-45deg, yellow 0%, transparent 100%);
  background-image: -ms-linear-gradient(-45deg yellow 0%, transparent 100%);
}
.circle:before {
  position: absolute;
  top: 1%;
  right: 1px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 0px,
    #ffffff,
    rgba(236, 214, 14, 0) 58%
  );
  filter: blur(1px);
  z-index: 2;
}
.circle:after {
  position: absolute;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  top: -1000px;
  left: 1000px;
  filter: blur(0px);
  opacity: 0.3;
  background: radial-gradient(
    circle at 100% 100%,
    #ffff00,
    #fed037 10%,
    #fed099 66%,
    #fed300 100%
  );
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.profile {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/Weather_icon_-_full_moon.svg/1200px-Weather_icon_-_full_moon.svg.png);
}

#clickText {
  color: #000000;
}

#btnText {
  border-radius: 9999px;
}
.carousel-button {
  background-color: black;
}

#user-menu-button > img:hover {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>😃</text></svg>")
      16 0,
    auto;
}

.footer {
  height: 200px;
}
#proj1 {
  color: #1f3d51;
  margin-bottom: 50px;
}

.project {
  color: black;
}
.link {
  text-decoration: underline;
  color: #53cfda;
}



#btnText {
  position: relative;
  bottom: 50px;
}

#clickText {
  color: white;
}
.cloud-nav {
  display: flex;
  justify-content: center;
  width: max-content;
}
.cloud-img {
  display: flex;
  justify-content: space-between;
}
.cloud-container {
  padding: 20px;
}

.dark {
  background-image: url("https://wallpaperaccess.com/full/2113857.jpg");
  color: #efefef !important;
}

/* .light {
  color: black !important;
} */
