/* the banner */
#banner {
    background-color: #f1387d;
}

.logo {
    display: inline-block;
    position: static;
}

body {
  font-family: Arial, sans-serif;
}

ul {
  list-style-type: square;
}

picture {
  justify-content: center; align-items: center;
}

.carousel picture {
  display: flex;
}

figure {
  display: inline-block;
  margin: 0;
  object-fit: contain;
}

figcaption {
  font-weight: bold;
  margin-bottom: 20px;
}

#main-menu {
 float: right;
}

.main {
 display: block;
 position: static;
}

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    background: black;
    z-index: -1;
}

 /* Add a background color to the top navigation */
#main-menu {
    display: inline;
    float: right;
    background-color: #7a3850;
}

/* Style the links inside the navigation bar */
#main-menu a {
    float: left;
    display: inline;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
#main-menu a:hover {
    background-color: #ddd;
    color: #7a3850;
    text-decoration: none;
}

/* Change colour of links */
.w-100 a:link {
    color: #7a3850;
}

.w-100 a:visited {
    color: #b85488;
}

#hamburger-input {
    display: none;
}

#hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    display: none;
    border: none;
    padding: 0px;
    margin: 0px;
    background: linear-gradient(
      to bottom, 
      white, white 20%, 
      rgba(0,0,0,0) 20%, rgba(0,0,0,0) 40%, 
      white 40%, white 60%, 
      rgba(0,0,0,0) 60%, rgba(0,0,0,0) 80%, 
      white 80%, white 100%
    );
}

#hamburger-menu #sidebar-menu {
    visibility: hidden;
    position: fixed;
    top: 10px;
    left: -250px;
    width: 200px;
    height: 100%;
    background-color: #3D0E61;
    transition: 0.3s;
    padding: 0px 10px;
    box-sizing: border-box;
}

#hamburger-menu h3 {
  color: #B9FAF8;
  font-size: 2.2rem;
}

#hamburger-menu ul {
  padding-left: 0px;
}

#hamburger-menu li {
  list-style-type: none;
  line-height: 3rem;
}

#hamburger-menu a {
  color: #B9FAF8;
  font-size: 1.3rem;
  text-decoration: none;
}

#hamburger-menu a:hover {
  text-decoration: underline;
}

#hamburger-input:checked + #hamburger-menu #sidebar-menu {
    visibility: visible;
    left: 0;
}

#hamburger-input:checked ~ .overlay{
   visibility: visible;
   opacity: 0.4;
}

@media screen and (max-width: 750px) {
	#main-menu {
		display: none;
	}
	#hamburger-menu {
		display: inline;
	}
}

table {
    border-collapse: collapse;
    width: 45%;
    font-size: larger;
    margin: 10px;
}

table, th, td {
    border: 1px solid black;
}

td {
    padding-left: 10px;
}

p {
    padding-right: 5%;
}

a {
/*    color: #444444; */
    text-decoration: none;
}

a:hover {
    color: #0000CC;
}

.sponsor img {
    max-width: 100%;
}

.box {
    display: inline-block;
    width: 20%;
    vertical-align: top;
    border: thick silver solid;
    margin: 5px;
    padding: 10px;
    transition: width 1s, height 1s;
}

.box:hover {
    width: 22%;
}
