@import url('https://fonts.googleapis.com/css2?family=Coda:wght@400;800&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,700;0,800;1,800&display=swap');

@media (prefers-color-scheme: light) {
  :root {
    --background-clr: white;
    --section-clr: black;
    --txt-clr: white;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-clr: black;
    --section-clr: white;
    --txt-clr: black;
  }
}

html, body {
  height: 100%;
  width: 100%;
  color: var(--txt-clr);
}

body {
  margin: 0px;
  background-color: var(--background-clr);
  transition: opacity 1s;
}

main {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

a {
  text-decoration: none;
}

div.home, div.about, div.showcase, div.collabs, div.contact, div.notfound, div.contact, div.product {
  width: 90%;
  min-height: 90vh;
  text-align: center;
  /* max-height: 90vh; */
  /* overflow-y: scroll; */
  background-color: var(--section-clr);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  paddding: 7px;
  box-shadow: 2px 6px 39px -6px rgba(0,0,0,0.45) inset;
  -webkit-box-shadow: 2px 6px 39px -6px rgba(0,0,0,0.45) inset;
  -moz-box-shadow: 2px 6px 39px -6px rgba(0,0,0,0.45) inset;
}

div.notfoundtxt {
  font-size: 2em;
  text-align: center;
  color: white;
  background: #000;
  padding: 2em;
  border-radius: 20px;
  animation: pulsate 1.5s infinite, sizeIncrease 5s infinite;
}

@keyframes pulsate {
  0% {
    background: #000;
  }
  
  50% {
    background: #252525;
  }
  
  100% {
    background: #000;
  }
}

@keyframes sizeIncrease {
  0% { 
    transform: scale(1);
    opacity: 1;
  }
  
  50% { 
    transform: scale(1.060);
    opacity: 0.75; 
  }
  
  100% { 
    transform: scale(1);
    opacity: 1; 
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", "Coda", Verdana, monospace;
  weight: 400;
}

h1 {
  margin-bottom: -13px;
}

p {
  font-family: "Open Sans", "Coda", Verdana, monospace;
  padding-left: 60px;
  padding-right: 60px;
  text-align: center;
}

/* button {
  background-color: #0033ff;
  border-radius: 10px;
  width: 110px;
  height: 45px;
  border: none;
  color: white;
  font-family: "Open Sans", "Coda", Verdana, monospace;
  font-size: 16px;
  transition: width 0.1s ease-in, height 0.1s ease-in, opacity 0.5s ease-in-out;
}

button:hover {
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.5s ease-in;
}

button:active {
  width: calc(110px - 7px);
  height: calc(45px - 5px);
  transition: all 0.1s ease-in;
} */

.button {
  height: 50px;
  width: 200px;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  border: 2px solid #252525;
  overflow: hidden;
  border-radius: 30px;
  color: #333;
  margin: 4px;
  transition: all 0.3s ease-in-out;
}

.btn-txt {
  z-index: 1;
  font-weight: 800;
  letter-spacing: 2px;
}

div.button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 8px;
}

.button:hover {
  box-shadow: 0px 0.5px 50px #252525;
  /* color: #fff;
  border: none; */
}

.type1 {
  background: rgb(118,55,255);
  background: linear-gradient(62deg, rgba(118,55,255,1) 0%, rgba(93,170,255,1) 100%);
  color: white;
  border-color: white;
  box-shadow: 0 0 15px 0 rgba(118, 55, 255, 0.6);
  transition: 0.5s;
}

.type1:hover {
  box-shadow: 0 0 20px 0 rgba(118, 55, 255, 0.8);
  transform: scale(1.05);
}

.type1::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.5s ease-in-out;
  background-color: #333;
  border-radius: 30px;
  visibility: hidden;
  height: 10px;
  width: 10px;
  z-index: -1;
  opacity: 0.6;
}

.type2 {
  background-color: #252525;
  color: white;
  border-color: white;
}

/* Cards */
div.card-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 100%;
  height: auto;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

div.card, a.card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 4px 6.5px;
  width: 94%;
  max-width: 400px;
  height: auto;
  max-height: 80px;
  border-radius: 25px;
  color: var(--txt-clr);
  border: 1px solid #525252;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: scale(1);
  background-color: var(--section-clr);
}

div.card:hover, a.card:hover {
  box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

div.card::before, a.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(60deg, 
    rgba(var(--section-clr), 0.7) 0%,
    rgba(var(--section-clr), 0.7) 100%);
  z-index: 1;
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 1200px) {
  div.card, a.card {
    box-shadow: none;
  }
}

@media (max-width: 600px) {
  div.card, a.card {
    box-shadow: none;
  }
}

div.card, a.card *{
  position: relative;
  z-index: 10;
}

h3.card {
  font-size: 1em;
  padding: 10px;
  font-weight: 600;
  color: var(--txt-clr);
}

p.card {
  font-size: 0.875em;
  padding: 10px;
  line-height: 2;
  color: var(--txt-clr);
}

img.card {
  width: 52px;
  height: 52px;
  max-width: 52px;
  max-height: 52px;
  min-width: 52px;
  min-height: 52px;
  margin-right: 3px;
}


/* Fade in */
/* body {
  opacity: 0;
}

.fadeIntoContents {
  animation: fadeInto 1s ease;
}

@keyframes fadeInto {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
} */

/* Contact */
div.mini-card-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

a.mini-card {
  display: inline-block;
  margin: 12px;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  color: var(--txt-clr);
  background-color: none;
  /* font-weight: bold; */
  border: 2px solid #e3e3e3;
  border-radius: 15px;
  font-family: "Coda", "Open Sans", sans-serif;
  transition: all 0.6s;
  width: 77px;
  height: 95px;
  max-height: 95px;
  min-height: 95px;
}

a.mini-card:hover {
  color: white;
  background-color: #236ee7;
  transform: scale(1.1);
  transition: all 0.6s;
}

img.mini-card {
  height: 80%;
  max-height: 80%;
  min-height: 80%;
  width: auto;
}

a.collab-card {
  display: inline-flex;
  padding: 10px;
  margin: 15px;
  text-decoration: none;
  color: white;
  background-color: #00aaff;
  border: none;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1), 0px 4px 6px -2px rgba(0,0,0,0.05);
  transition: all 0.5s ease;
}

a.collab-card:hover {
  color: white;
  background-color: #236ee7;
  transform: scale(1.05);
  transition: all 0.5s ease;
}

img.collab-card {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

/* Mobile */
@media only screen and (max-width: 951px) {
  div.button-container { flex-direction: column; }
  button { margin: 17px; }
}

@media only screen and (max-width: 727px) {
  div.button-container { flex: column; }
  button { margin: 11px; }
  div.home, div.about, div.showcase, div.collabs, div.contact, div.notfound, div.contact { scale: 90%; }
}