@import "/css/reset.css";
@import "/css/fonts.css";

/* Main Content */

* {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
}

header {
  width: 100%;
  height: 50px;
  border-bottom: 1px solid;
  border-color: rgb(43, 43, 43);
  background: black;
}

body{
  background-color: black;
}

article {
  width: calc(200px + 60vw);
  min-height: calc(100vh - 51px - 15px);
  height: 100%;
  background-color: #202020;
  margin: auto;
  box-shadow: 0px 0px 30px 18px #131313;
  clip-path: inset(0px -25px 0px -25px);
  padding: 10px;
  padding-bottom: 5px;
}

h1, h2, h3, p {
  color: white;
  font-family: Roboto;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 24px;
}

a {
  display: inline-block;
}

#sitetitle {
  line-height: 50px;
  margin-left: 10px;
  text-decoration: none;
}

.whiteSvg {
  filter: brightness(0) invert(1);
}

/* Card Style */

.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.6s;
  background: #2b2b2b;
  border-radius: 8px;
  max-width: 500px;
  margin-bottom: 15px;
  margin-top: 10px;
  display: inline-block;
}

.linkcard {
  display: inline-flex;
}

.card iframe, .card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

a:link /*:has(div)*/ {
  text-decoration: none;
}

.noteworthy {
  background: #fff2c7 !important;
  border-radius: inherit;
}

.card iframe {
  display:block;
}

.card:hover {
  box-shadow: 0 12px 24px 0 rgba(0,0,0,0.2);
}

.card:hover .linkcardindicator {
  -ms-transform: translate(5px);
  transform: translate(5px);
}

.cardcontainer {
  padding: 14px;
}

.cardlink{
  display: inline-block;
  margin-top: 12px;
  padding-right: 10px;
  padding-left: 0px;
}

.cardheader{
  font-family: "Roboto";
  font-weight: 500;
  font-size: 20px;
  padding: 10px 0 0 10px;
}

.cardsecond {
  font-family: "Roboto";
  font-weight: 200;
  color: #bebebe;
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 14px;
  padding: 5px 10px 10px 10px;
}

.linkcardcontent {
  flex: 1;
}

.linkcardindicator {
  flex: 0 50px;
  transition: 0.2s ease-in-out;
  align-items: center;
  display: flex;
  justify-content: center;
}

.linkcardindicator img {
  width: 35px;
}

@media (hover: none) {
  .card:hover {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }

  .card:hover .linkcardindicator {
    -ms-transform: none;
    transform: none;
  }
}

@media screen and (max-width:1024px) {
  .card{
    max-width: 100%;
    width: 100%;
  }

  article {
    width: calc(100% - 20px);
    min-height: calc(100vh - 51px - 15px);
    margin: auto;
    box-shadow: none;
    clip-path: none;
  }
}
