l
* {
    box-sizing: border-box;
}

a {
    text-decoration: underline;
    color: #000000;
}

img {
    max-width: 100%;
    height: auto;
}

.header img {
    max-height: 100%;
    width: auto;
    
}

body {
    font-family: "Lucida Sans", sans-serif;
    font-size: 17px;
    background-color: #0b283b;
#    margin: auto;
#    width: 60%;
}

.grid-container {
    display: grid;
    grid-template-areas:
	'header'
	'main'
	'facts'
	'footer';
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background-color: #0b283b;
    gap: 10px;  
}

.header {
    grid-area: header;
    background-color: rgba(255, 255, 255, 0.6);
    text-align: center;
    color: #c41034;
    font-family: myFont;
    background-image: url("header-bg.jpg");
    background-blend-mode: lighten;
    height: 400px;
}

.header > h1 {
    font-size: 40px;
}

.menu {
    grid-area: menu;
    #align: right;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;

}

.menu a {
    text-decoration: none;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;

}

.menu li {
    padding: 8px;
    margin-bottom: 7px;
    background-color: #943437;
    color: #ffffff;
}

.menu li:hover {
    background-color: #0099cc;
}

.content {
    grid-area: main;
    background-repeat: no-repeat;
    background-position: center;
#    background-color: #113f4d;
}

.content > h1 {
    font-size: 30px;
    margin-bottom: 7px;
}

.content > p {
    margin-bottom: 7px;
}

.rules {
  background: #f7eedf;
  color: #092d3b;
  padding: 30px 35px;
  align-self: start;
  transform: rotate(-1deg);
  box-shadow: 8px 10px 0 #031e29;
}

.facts {
    grid-area: facts;
    background: #f7eedf;
    color: green;
    padding: 10px 35px;
    align-self: start;
    transform: rotate(-1deg);
    box-shadow: 8px 10px 0 #031e29;
    max-width: 400px;
    max-height: 400px;
    margin-left: auto;
    margin-right: auto;
    
}

.facts > h2 {
    font-size: 20px;
}

.facts li {
    margin-bottom: 5px;
}

.footer {
    grid-area: footer;
    #    background-color: #943437;
    background-color: #346c8f;
    color: #000000;
    text-align: center;
}

@media (min-width: 400px) {
    .header {grid-area: 1 / span 2;}
#    .menu {grid-area: 3 / span 3; min-width: 400px;}
    .content {grid-area: 3 / span 2;}
    .facts {grid-area: 2 / span 2;}
    .footer {grid-area: 4 / span 2;}
    #  grid-auto-columns: 100%;
}

#@media (min-width: 800px) {
    #  .header {grid-area: 1 / span 3;}
    #  .menu {grid-area: 2 / span 1;}
    #  .content {grid-area: 2 / span 1;}
    #  .facts {grid-area: 3 / span 3;}
    #  .footer {grid-area: 4 / span 3;}
    #  grid-auto-columns: 100%;
    #}

@media (min-width: 1200px) {
    .header {grid-area: 1 / span 2;}
#    .menu {grid-area: 2 / span 1; min-width: 380px;}
    .content {grid-area: 2 / span 1;}
    .facts {grid-area: 2 / span 1;}
    .footer {grid-area: 3 / span 2;}
}


.event {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  background: #f7eedf;
  color: #092d3b;
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;

}

.date {
  background: #092d3b;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 7px;
}

.date b {
  display: block;
  color: #f6c43c;
  font-size: 13px;
}

.date strong {
  font-size: 27px;
}

.event h3 {
  margin: 2px 0 5px;
  font-size: 17px;
}

.event p {
  font-size: 13px;
  line-height: 1.35;
}

.section-kicker {
  color: #f6c43c;
  margin: 0;
}

.panel {
margin: auto;
  width: 50%;
  min-width: 400px;
  margin: auto;
}
