:root {
  --black: #3c3c3c;
  --white: #fff;
  --grey: #a0a0a0;
}

html {
  background-color: var(--black);
}
body {
  background-color: var(--white);
  color: var(--black);
	margin: 0;
	padding: 0;
  font-family: 'Source Sans Pro', sans-serif;
  display: flex; 
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  hyphens: manual;
}
h1 {
  line-height: 1.1em;
}
h2 {
  color: var(--grey);
  font-weight: normal;
}
h1 + h2 {
  margin-top: -15px;
}
h3 {
  margin: 0 0 3px;
}
p {
  margin: 0;
}
a {
  color: var(--black);
}
p > a {
  display: block;
  padding: 3px 0;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
img {
  display: block;
  width: 100%;
}
header {
	background-color: var(--black);
	display: flex;
	justify-content: center;
  align-items: center;
	padding: 30px 40px;
}
#calendar header {
  justify-content: center;
  align-items: center;
  padding: 0 15px;
  height: 80px;
  gap: 20px;
}
#calendar header h1 {
  color: var(--white);
  font-size: 26px;
  font-weight: normal;
  margin: 0;
}
main {
  background-color: var(--white);
  padding: 50px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#calendar main {
  background-color: var(--white);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#calendar main iframe {
  width: 100%;
  min-height: 500px;
  height: calc(100vh - 80px);
}
#title {
  text-align: center;
}
a[target=_blank]:after {
  content: "";
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='fill:%233c3c3c;' viewBox='0 0 512 512'%3E%3Cpath d='M497.6,0,334.4.17A14.4,14.4,0,0,0,320,14.57V47.88a14.4,14.4,0,0,0,14.69,14.4l73.63-2.72,2.06,2.06L131.52,340.49a12,12,0,0,0,0,17l23,23a12,12,0,0,0,17,0L450.38,101.62l2.06,2.06-2.72,73.63A14.4,14.4,0,0,0,464.12,192h33.31a14.4,14.4,0,0,0,14.4-14.4L512,14.4A14.4,14.4,0,0,0,497.6,0ZM432,288H416a16,16,0,0,0-16,16V458a6,6,0,0,1-6,6H54a6,6,0,0,1-6-6V118a6,6,0,0,1,6-6H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V304A16,16,0,0,0,432,288Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  margin-left: 6px;
  opacity: .5;
  width: 10px;
  height: 10px;
}
#logo img {
	min-width: 150px;
  max-width: 200px;
}
#calendar #logo img {
  width: auto;
  min-width: auto;
  height: 50px;
}
#cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 50px 0;
  gap: 50px;
}
.card {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 2fr;
  max-width: 400px;
}
.card-icon {
  align-self: center;
}
.card-text {
  align-self: center;
}
footer{
  background-image: url(../images/hall.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 20vh;
  position: relative;
}
footer img {
  opacity: 0;
}
#lang {
  position: absolute;
  bottom: 0px;
  right: 0px;
  margin: 20px;
  display: flex;
}
#lang li {
  border: 1px solid transparent;
}
#lang a {
  display: block;
  padding: 8px;
  text-decoration: none;
}
#lang a, 
#lang li {
  color: white;
}
#lang li.active {
  border-color: white;
}
#lang li.active a {
  pointer-events: none;
}

@media (min-width: 600px) {
  body#home {
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    grid-template-rows: 3fr 1fr;
  }
  body#home main {
    padding: 50px;
  }
  body#home footer {
    grid-area: 2 / 1 / 3 / 3;
  }
}
