* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

body {
    font-family: "Trebuchet MS", Arial, sans-serif;
    height: 100vh;
    color: black;
}

:root {
    --primary-color: #5e74bd;
    --primary-blue: #012169;
    --primary-red: #C8102E;
  }

.head_1 {
    text-align: center;
    font-size: 2.5em;
    color: #4A4444;
    text-transform: uppercase;
    letter-spacing: 1%;
}

.submit_text {
  text-align: center;
  font-size: 1.5em;
  color: #4A4444;
}

.std_heading {
    text-align: left;
    font-size: 2em;
    font-weight: bold;
    color: #4A4444;
    letter-spacing: 1%;
    margin-bottom: 2%;
}

.sub_heading {
    text-align: left;
    font-size: 1.5em;
    font-weight: bold;
    color: #4A4444;
    letter-spacing: 1%;
}

.head_2 {
    text-align: center;
    font-size: 1.1em;
    color: #000000;
}

.head_2_bold {
    text-align: center;
    font-size: 1.1em;
    color: #a71e1e;
    font-weight: bolder;
}

.submit_anchor {
  text-align: center;
  font-size: 1.05em;
  color: blue;
  font-weight: bolder;
}

.margin-centred {
    padding: 30px;
    margin: auto;
    max-width: 900px;
}

.sponsorlogo {
    display: flex;
    align-items: center;
    height:200px
}

a {
    color: #444444;
  }
  
a:link {
  color: blue;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: purple;
  background-color: transparent;
  text-decoration: underline;
}

a:hover {
  color: green;
  background-color: transparent;
  text-decoration: none;
}

a:active {
  color: red;
  background-color: transparent;
  text-decoration: underline;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
.google-map {
    display: block;
    text-align: center;
}

.btn
{
    position: relative;
    width: 250px;
    height: 60px;
	margin-bottom:20px;
    padding: 0 10px;
    text-align: left;
    font-size: 16px;
    color: #333;
    background:gray;
}

#btn_container
{
    margin: 10px 0 0 0;
    height:40px; 
    border-radius:5px;
    float:left;
}

.btn img 
{  
	margin: 5px;
}

.btn span
{
	display:inline-block;
    /* width: 120px; */
    /* line-height: 60px; */
    text-indent: 10px;
}


/*-- Navigation menu settings --*/

.navbar {
    background: white;
    padding: 1em;
  }

/*--
  .navbar .logo {
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 1.2em;
  }

  .navbar .logo span {
    color: var(--primary-red);
  }
--*/
  .navbar nav {
    display: none;
  }

  .navbar .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    place-content: space-between;
  }

  .navbar .mobile-menu {
    cursor: pointer;
  }

  nav.menu-btn {
    display: block;
  }

  /*-- Nav defaults - MUST be after .navbar - applies to pop-up menu, overridden by media query for standard menu --*/

  nav {
    position: fixed;
    z-index: 999;
    width: 66%;
    right: 0;
    top: 0;
    background: #707070;
    height: 100vh;
    padding: 1em;
  }

  nav ul.primary-nav {
    margin-top: 5em;
  }

  nav li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: .5em;
    font-size: 1.2em;
    text-align: right;
  }

  nav li a:hover {
    text-shadow: 2px 2px 1px silver;
  }


.mobile-menu-exit {
    float: right;
    margin: .5em;
    cursor: pointer;
  }

/*-- End of Navigation Bar agile menu settings --*/

/*-- Start Parallax --*/

/*--
ORIGINAL PARALLAX - REPLACED FOR STORY SCROLL
.parallax {
    background-position: top 500px;  
    background: url("../img/img_4570.jpg") no-repeat fixed;
}

.parallax-inner {
    padding-top: 10%;
    padding-bottom: 18%;
}
--*/

.parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* This is key */
  z-index: -1;
}

.homeimg {
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content {
  color: white;
  position: relative;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5%;
  width: 90%;
}


#scene1 .parallax{
  background-image: url("../img/img_4573.jpg");
}

#scene2 .parallax{
  background-image: url("../img/img_4567.jpg");
}

#scene3 .parallax{
  background-image: url("../img/img_4580.jpg");
}

#scene0 {
  background-image: url("../img/home_image1.jpg")
}

section {
  position: relative;
  height: 100vh;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}

/*-- End Parallax --*/


.logo {
  max-height: 220px;
}

.container {
  max-height: 220px;
}

.juryimg {
  text-align: center;
}

.juryimg img {
  height: auto;
  width: 40%;
  max-width: 50%;
  overflow: hidden;
  align-content: center;
  margin-bottom: 2%;
}

.w3juryimg {
    max-width: 100%;
    max-height: 100%;
    margin-top: 5%;
    margin-left: 5%;
    min-width: 250px;
}

.w3medalimg {
    max-width: 50%;
    display: block;
    margin: auto;
    margin-top: 5%;
}

.w3stdimg {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
    width: 90%;
    max-width: 100%;
}

.container2 {
  max-height: 600px;
}

/*-- Media Queries --*/

@media only screen and (max-width: 900px) {

    .margin-centred {
      padding: 30px;
      margin: auto;
      max-width: 750px;
    }
    
}


@media only screen and (max-width: 767px) {
    
    h1 {
          text-align: center;
          font-size: 1.75em;
        }
    
    .logo img {
          max-width: 90%;
          max-height: 200px;
          height: auto;
          margin: 10px auto;
          display: block;
        }
    
    .poster img {
          max-width: 90%;
          max-height: 350px;
          height: auto;
          margin: 10px auto;
          display: block;
        }
        
    .qr img {
          max-width: 50%;
          max-height: 150px;
          height: auto;
          margin: 10px auto;
          display: block;
        }
        
    #scene1 {
          display: none;
          max-height: 1px;
        }
        
    #scene2 {
          display: none;
          max-height: 1px;
        }
        
    #scene3 {
          display: none;
          max-height: 1px;
        }
        
    #second-submission {
          display: none;
          max-height: 1px;
        }

    .google-map iframe {
          height: 450px;
          width: 450px;
        }

    }    

@media only screen and (min-width: 768px) {

    .mobile-menu, .mobile-menu-exit {
        display: none;
    }

    .container img{
        max-width: 90%;
        max-height: 200px;
        height: 100%;
        margin: 10px auto;
        display: block;
      }

    .logo img {
        max-width: 90%;
        max-height: 200px;
        height: auto;
        margin: 10px auto;
        display: block;
      }

    .poster img {
        max-width: 90%;
        max-height: 400px;
        height: auto;
        margin: 10px auto;
        display: block;
      }
      
    .qr img {
          max-width: 50%;
          max-height: 250px;
          height: auto;
          margin: 10px auto;
          display: block;
        }

    .navbar .container {
      display: -ms-grid;
      display: grid;
      /*-- This controls the size of the first column in the container!!! --*/
      -ms-grid-columns: 200px auto;
          grid-template-columns: 200px auto;
      -webkit-box-pack: unset;
          -ms-flex-pack: unset;
              justify-content: unset;
    }
    .navbar nav {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify;
          -ms-flex-pack: justify;
              justify-content: space-between;
      flex-wrap: wrap;
      background: none;
      position: unset;
      height: auto;
      width: 100%;
      padding: 0;
    }
    .navbar nav ul {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      flex-wrap: wrap;
    }
    .navbar nav a {
      color: black;
      font-size: 1.5em;
      padding: .1em 1em;
    }
    .navbar nav ul.primary-nav {
      margin: 0;
    }
    .navbar nav li.current a {
      font-weight: bold;
    }
    .navbar nav li.go-premium-cta a {
      color: var(--primary-color);
      border: 3px solid var(--primary-color);
      font-weight: bold;
      border-radius: 5em;
      margin-top: -.2em;
    }
    .navbar nav li.go-premium-cta a:hover {
      background: var(--primary-color);
      color: white;
    }
  }

/*-- End of Navigation Bar agile menu settings --*/


/*-- Start Fixed --*/

/*
.fixedhdr {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    color: black;
    padding: 10px;
}
*/

/*-- End Fixed --*/

@media only screen and (max-width: 600px) {
    
    .w3medalimg {
        display: block;
        margin: auto;
        width: 20%;
    }
    
    .sponsorlogo {
        display: flex;
        align-items: center;
        height:100px
    }
}

/*-- Additional Magic for test --*/
  @media only screen and (min-width: 1080px) {
    .container {
      width: 100%;
    }

    .container img{
      max-width: 90%;
      max-height: 200px;
      height: 100%;
      margin: 10px auto;
      display: block;
    }

    .poster img{
      max-width: 90%;
      max-height: 600px;
      height: 100%;
      margin: 10px auto;
      display: block;
    }
    
    .qr img {
          max-width: 50%;
          max-height: 400px;
          height: auto;
          margin: 10px auto;
          display: block;
        }
        
    /*
    section {
      padding: 5em 2em;
    }
    */
  }


  /* END */
