html {
  min-width: 22rem;
  overflow: auto;
}

body {
  --purple: #8800FE;
  --grey: #000;

  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

a {
    color: var(--purple);
}

.container {
  display: grid;
  grid-template-columns: minmax(15rem, 3fr) 5fr;
  column-gap: 2rem;

  padding: 1rem 2.5rem;

  max-width: 50rem;
  margin: 0 auto;
}

header {
    margin-left: -4rem;
    color: var(--grey);
}

h1 {
    margin-right: -0.1rem;
    background-image: url("playoutsidethebox.png");
    background-size: cover;
    font-size: 0;
    width: auto;
    aspect-ratio: 3;
}

header p {
    display: grid;    
    grid-template-columns: 2rem 1fr;
    text-align: right;
    font-size: 90%;
    height: 3rem;
    margin-left: 1rem;
}

header span {
    display: block;    
    line-height: 95%;
}

header a {
    display: block;
    margin: 0.0rem 0 0 0.5rem;
    background-image: url("tgw2026logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 0;
}

.description {
    font-size: 160%;
    text-wrap: pretty;
}

.description p {
    margin: 0 0 0.5rem 0;
}

time {
    font-weight: bold;
    color: var(--purple);
}

#location {
    display: block;
    color: var(--purple);
    text-decoration: none;
}

.category {
    margin: 0 0 0 -0.5rem;
    background-color: var(--grey);
    color: white;
    display: flex;
}

.category h2 {
    flex-grow: 1;
    margin: 0 0 0.1rem 0.5rem;
    font-size: 100%;
}

.category p {
    align-self: flex-end;
    flex-grow: 0;
    margin: 0 0.5rem 0.2rem 0;
    font-size: 80%;
}

.column {
    border-right: 1px solid var(--grey);
    padding-right: 1.5rem;
    height: 90%;
}

article {
    margin-bottom: 2rem;
}

h3 {
    color: var(--purple);
    margin-bottom: 0;
}

.eventtitle {
    display: flex;
    width:100%;
    margin-top: 1rem;
}

.eventtitle a {
    align-self: flex-end;
    color: white;
    background-color: var(--purple);
    font-weight: bold;
    text-decoration: none;
    padding: 0.2rem 0.6rem 0.2rem 0.4rem;
    height: 100%;
    margin: auto 0;
    border-radius: 0.7rem;
    font-size: 80%;
    corner-shape: square bevel square square;    
}

.eventtitle h3 {
    flex-grow: 1;
    margin: 0 1rem 0 0;
}

.info {
    margin: 0;
    color: var(--purple);
}

.summary {
    margin-top: 0.5rem;
}

.action {
    display: block;
    width: 100%;
    background-color: var(--purple);
    color: white;
    font-weight: bold;
    font-size: 100%;
    text-decoration: none;
    text-align: center;
    padding: 0.5rem 0.2rem;
    border: 0;
}

.eventinfo {
    grid-column: span 2;
}

ul {    
    padding: 0 0 0 2rem;
    list-style: none;
}

li {
    margin: 0.5rem 0;
    text-indent: -2rem;
}

@media screen and (width < 53rem) {
  .description {
    font-size: 140%;
  }
}

@media screen and (width < 38rem) {
  .container {
    grid-template-columns: 1fr;
  }

  .description {
    font-size: 150%;
    margin-bottom: 2rem;
  }

  .column {
    height: auto;
    border: 0;
    padding: 0;
  }

  .eventinfo {
    grid-column: auto;
  }
  
    header p {
        margin-left: 1rem;
        font-size: 100%;
    }

    header span {
        margin-top:0.5rem;
    }
}



