/*Hello and welcome to my spagetti CSS document, please excuse the mess*/

@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/*mobile*/
@media screen and (max-width: 500px) {
  body {
    grid-template-areas:
    'hd hd'
    'mn mn'
    'ft ft'
  }

  img{
    width: 49vw;
  }
}


/*desktop*/
@media screen and (min-width: 501px) {
  body {
      padding: 5px;
      grid-template-areas:
      'hd hd hd'
      'mn mn mn'
      'ft ft ft'
    }

    img {
        width: 33%;
    }

}

/* :root {
  --dark-bg-color: #181a1b;
  --dark-font: #e8e6e3;
} */


:root {
    --font-color: #e8e6e3;
    --bg-color: #181a1b;
}

/* [data-theme="light"] {
  --font-color: #181a1b;
  --bg-color: #e8e6e3;
} */

[data-theme="light"] {
    --font-color: #181a1b;
    --bg-color: #e8e6e3;
}
header {
  grid-area: hd;
  font-family: "Ubuntu Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

/* aside {
    grid-area: as;
} */

main {
  grid-area: mn;
  font-family: "Ubuntu Mono", monospace;
  font-weight: 400;
  font-style: normal;
  flex: 1;

}

footer {
  grid-area: ft;
  /* text-align: left; */
  font-family: "Ubuntu Mono", monospace;
  font-weight: 700;
  font-style: normal;
  display: flex;
  justify-content: space-between;

}

h1, h2, h3, h4, h5, h6, button {
    text-align: center;
    font-family: "Ubuntu Mono", monospace;
    font-weight: 400;
    font-style: normal;
    color: var(--font-color);
}

p{
  color: var(--font-color);
}

nav{
  display: flex;
  justify-content: space-between;
}

#toggletext {
  display: flex;
  justify-content: end;
}

.row {
  display: flex;
}

.column {
  flex: 33.33%;
  padding: 5px;
}

button {
  text-decoration: none;
  font-size: large;
}

a {
  text-decoration: none;
}

#bleh img {
  width: 50px;
}

/* img.cards {
  width: 
} */

a:visited {
  text-decoration: none;
}

body {
    margin: 0px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: "Ubuntu Mono", monospace;
    background-color: var(--bg-color);

}

@media screen and (max-width: 500px) {
  .column {
    width: 100%;
  }
}

/*fonts*/
.ubuntu-mono-regular {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.ubuntu-mono-bold {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 700;
  font-style: normal;
}

.ubuntu-mono-regular-italic {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 400;
  font-style: italic;
}

.ubuntu-mono-bold-italic {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 700;
  font-style: italic;
}

/* From Uiverse.io by Shoh2008 */ 
/* button {
  padding: 15px 30px;
  font-size: 18px;
  outline: none;
  border: none;
  border-radius: 10px;
  transition: 0.5s;
  background: #1e1e1e;
  cursor: pointer;
  color: greenyellow;
  box-shadow: 0 0 10px #363636, inset 0 0 10px #363636;
}

button:hover {
  animation: a 0.5s 1 linear;
}

@keyframes a {
  0% {
    transform: scale(0.7, 1.3);
  }

  25% {
    transform: scale(1.3, 0.7);
  }

  50% {
    transform: scale(0.7, 1.3);
  }

  75% {
    transform: scale(1.3, 0.7);
  }

  100% {
    transform: scale(1, 1);
  }
} */



/*Simple css to style it like a toggle switch*/
.theme-switch-wrapper {
  display: flex;
  align-items: center;

}
.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.theme-switch input {
  display:none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #e8e6e3;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 26px;
}

input:checked + .slider {
  background-color: #181a1b;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

