@font-face {
  font-family: "FuturaLight";
  src: url(../fonts/futuralight.otf);
}

@font-face {
  font-family: "Futura";
  src: url(../fonts/futura.otf);
}

@font-face {
  font-family: "FuturaSemiBold";
  src: url(../fonts/futurasb.otf);
}

@font-face {
  font-family: "FuturaBold";
  src: url(../fonts/futurabold.otf);
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body, html, #main {
  width: 100%;
}

body {
  font-family: 'Hind', sans-serif;
  color: white;
  text-align: center;
  background-color: black;
  background-image: url("../img/background2.min.jpg");
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}

h1 {
  font-family: "FuturaLight", sans-serif;
  padding-top: 10vh;
  font-size: 5rem;
  letter-spacing: 1vw;
}

b {
  font-family: "FuturaSemiBold", sans-serif;
}

h2 {
  font-family: "Futura", sans-serif;
  text-transform: uppercase;
  font-weight: lighter;
  font-size: 1.7rem;
  letter-spacing: 0.2vw;
}

#main {
  background-color: rgb(0,0,0,0.55);
}

#links {
  margin: 3.5vh 0;
}

.link {
  display: inline-block;
  padding: 16px;
  font-size: 1.7rem;
  text-transform: uppercase;
  font-family: "FuturaBold";
  box-shadow: 0 0 0 3px white;
  background-color: rgba(255, 255, 255, 0.1);
  transition: 0.3s background-color;
}

.link:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

a {
  color: white;
  text-decoration: none;
}

#text {
  padding: 20px;
  font-size: 1.2rem;
  text-align: justify;
  line-height: 1.35;
  max-width: 700px;
  width: 90%;
  margin: 0 auto;
  background-color: rgb(0,0,0,0.2);
}

#partners {
  width: 100%;
  margin-top: 4vh;
  text-align: center;
  background-color: white;
  padding: 15px 0;
}

#partners img {
  vertical-align: middle;
  margin: 10px;
  width: 120px;
}

#keywords {
  font-family: "FuturaSemiBold", sans-serif;
  width: 95%;
  max-width: 1200px;
  font-size: 1.5rem;
  text-align: center;
  margin: 3vh auto;
}

#keywords p {
  display: inline;
  margin-left: 30px;
  white-space: nowrap;
  line-height: 1.5;
  text-shadow: 0 2px 4px black;
}

.contestLine {
  font-family: "FuturaSemiBold", sans-serif;
  color: rgb(70,70,70);
  text-align: center;
  line-height: 1.6;
  text-transform: uppercase;
  font-size: 1.9rem;
  margin: 3vh 3vw;
}

#video iframe {
  margin: 2vh auto;
  height: 600px;
  width: 1066px;
  max-width: 90%;
  box-shadow: 0 5px 9px rgba(0,0,0,0.2);
}

ul {
  margin-left: 25px;
}

li {
  margin: 10px 0;
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.0rem;
    line-height: 2.2;
  }

  #keywords {
    font-size: 1.2rem;
    margin: 3vh 0;
  }

  #keywords p {
    display: block;
    white-space: normal;
  }

  #text {
    width: calc(100% - 40px);
    font-size: 1.05rem;
  }

  .contestLine {
    font-size: 1.5rem;
  }

  #video iframe {
    max-height: 30vh;
  }
}