/* For mobile phones: */

body {
  margin: 0px;
  ;
}

h1 {
  text-align: center;
  font-size: 1.6em;
  text-transform: capitalize;
}

.title_and_intro {	
  color: OliveDrab;
  font-family: Papyrus, Fantasy;
}

.section_title {	
	font-weight: bold;
	font-size: 1.6em;
	text-transform: capitalize;
}

.intro_text_block {
	width: 100%;
	text-align: left;
	font-size: 0.9em;
}

ul {	
  color: OliveDrab;
  font-family: Papyrus, Fantasy;
  text-align: left;
}

img {

}

.centered-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.fade-in-image {
  width: 100%;
  height: 100px;
  animation: fadeIn 5s;
  -webkit-animation: fadeIn 5s;
  -moz-animation: fadeIn 5s;
  -o-animation: fadeIn 5s;
  -ms-animation: fadeIn 5s;
}
@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-moz-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-o-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-ms-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

.flex-container {
  display: flex;
  flex-direction: column;
}

p {
  margin-right: 20px;
  margin-left: 20px;
  font-size: 1.2em;
}

ul {
  margin-right: 20px;
  margin-left: 20px;
  font-size: 1.2em;
}


.upcoming_events_container {
	height: 100%;	
	margin: auto;
	margin-right: 30px;
	width: 85%;
	text-align: center;
	font-size: 1.6em;
}

div.event {
	border-style: solid;
    border: 2px solid OliveDrab;
    border-radius: 12px;
    padding: 5px;
	margin-right: 5px;
    margin-bottom: 5px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.mail_link {
	font-size: 0.8em;
}

.upcoming_events_title {
  margin-bottom: 25px;
  background-color: OliveDrab;
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.event .type {
	margin-bottom: 10px;
}

.event .fully_booked {
	margin-bottom: 4px;
	font-size: 0.7em;
	color: red;
}

.event .title {
	text-align: center;
	font-size: 0.8em;
	margin-bottom: 10px;
}

.event .event_at {
	text-align: center;
	font-size: 0.8em;
}

.event .where_and_when {
	margin-bottom: 20px;
}

.event .competition {
	margin-top: 20px;
}

.event .location::before {
  content: "at ";
}

.event .location {
	text-align: center;
	font-size: 0.8em;
}
.event .speaker, .event .additional_speaker, .event .competition, .event .topic, .event .band {
  text-align: center;
  margin-left: 10px;
  font-size: 20px;
}

.hidden_text {
  visibility: hidden;
}


.event .topic::before {
  content: "Topic: ";
}

.event .band::before {
  content: "Band: ";
}

.event .competition::before {
  content: "Competition: ";
}

.event .download_schedule {
	text-align: right;
	font-size: 14px;
}


@media only screen and (min-width: 600px) {
  /* For tablets: */

}
@media only screen and (min-width: 768px) {
  /* For desktop: */
  h1 {
    font-size: 2.6em;
  }
  
  .fade-in-image {
    height: 250px;
  }
  
  
  .upcoming_events_container {
  	width: 60%;
  }
 
  
  .flex-container {
    flex-direction: row;
  }

}
