/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

:root {
  --main-text-color: #060317;
  --dark-color: #060317;
  --background-size: 900px;
  --header-color: 100, 20, 100;
}

.image-color {
  /* This will change the image's colors by rotating the hue by 90 degrees */
  filter: hue-rotate(80deg);
}

/* socials section */

.socials-grid {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.social-card {
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid #9fd6ff;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: white;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.5);
}

.social-card i {
  font-size: 48px;
  margin-bottom: 10px;
  display: block;
}

.social-card span {
  font-family: Mudah;
  font-size: 26px;
  letter-spacing: 2px;
}

.social-card p {
  font-size: 16px;
  margin-top: 6px;
  color: #cfcfcf;
}

.social-card:hover {
  cursor: url('../images/cursorSelect.png'), pointer;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.03);
}


main {
  padding-top: 2em;
  background: #b4afb5 url(../images/home/paperBackground.gif);
  color: var(--dark-color);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  height: auto;
}

.handclass:hover {
 	cursor: url('../images/cursorSelect.png'), default !important;
 }

header {
  background: linear-gradient(rgba(var(--header-color), 0.2), rgba(var(--header-color), 1));
  display: flex;
  flex-shrink: 0;
  align-items: flex-end;
  justify-content: center;
}

html, body {
  height: 50%;
}

html {
  color: var(--main-text-color);
  display: flex;
  justify-content: center;
  font-family: Christana;
}
   
@keyframes xscroll {
    from {
        background-position: 0;
    }
    to {
        background-position: var(--background-size);
    }
}

body {
  cursor: url('../images/cursorIdle.png'), auto;
  color: white;
  background-image: url('../images/backgrounds/block_6.png');
  animation: xscroll 60s linear infinite;
  background-attachment: fixed;
  width: 50%;
  display: flex;
  flex-direction: column;
  margin: 0;
}

/* Add a black background color to the top navigation */
.topnav {
  background: var(--dark-color) linear-gradient(#7925b9, #360a5f);
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  border-top: 3px #d29fff solid;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  cursor: url('../images/cursorSelect.png'), pointer;
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #d29fff;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

p {
  font-size: 20px;
  color: grey;
}

a {
  font-size: 30px;
}
