@import "styles/vars.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: "Bangers", system-ui;
    font-weight: 400;
    font-style: normal;
    color: var(--dark-grey);
    height: 100%;
    padding: 0 15%;
    overflow-x: hidden;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    padding: 3em 10%;
    background: white;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

nav h1 {
    font-size: 3em;
}

nav a {
    font-size: 2em;
    text-decoration: none;
    margin: 0 1em;
    color: var(--dark-grey);
}

#page1-container {
    height: 100%;
    display: flex;
    gap: 3em;
    align-items: center;
    justify-content: center;
}

#page1-container img {
    height: 35em;
}

#page1-container h1 {
    font-size: 9em;
}

#page1-container p {
    font-size: 2em;
}

.headers h1 {
    font-size: 5em;
    margin-bottom: 0.3em;
}

#about {
    margin: 0 0 10em 0;
}

#about p {
    font-size: 2em;
}

#cards {
    display: flex;
    justify-content: center;
    gap: 3em;
}

.card {
    width: 15em;
    box-shadow: 12px 12px black;
    border: solid 4px black;
    padding: 1em;
    font-size: 1.5em;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px #ff007f;
}

.card img {
    margin: auto;
    display: table;
    clip-path: circle(40%);
    width: 9em;
}

.card p {
    letter-spacing: 1px;
    margin: 0.5em 0;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 2rem 0;
}

.comic-card {
  background-color: #ffffff;
  border: 4px solid #000000;
  box-shadow: 8px 8px 0px #000000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comic-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px #ff007f;
}

.comic-card-header h3 {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  background-color: #ffd700;
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border: 3px solid #000000;
  transform: rotate(-2deg); 
}

.comic-description {
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
  flex-grow: 1;
}

.comic-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.comic-badge {
  font-weight: 800;
  border: 2px solid #000000;
  padding: 0.3rem 0.6rem;
  font-size: 1.3rem;
  text-transform: uppercase;
  box-shadow: 3px 3px 0px #000000;
}

.badge-tutor { background-color: #00e5ff; }
.badge-room { background-color: #ff9900; }
.badge-capacity { background-color: #ffffff; }