@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  --nav-height: 50px;
}

html {
  background-color: #000;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 13pt;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
}

/*** TOP NAVIGATION ***/

#navbar {
  position: fixed;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: center;
  z-index: 1000;
  background: #333;
}

#navbar nav {
  width: 1180px;
  display: flex;
  justify-content: space-between;
}

#navbar a {
  padding: 10px;
  display: flex;
  align-self: stretch;
  align-items: center;
  color: #fff;
  text-decoration: none;
  transition: 0.4s all;
}

#navbar a:hover {
  background-color: #EC1E24;
  color: #FFF;
}

#navbar ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#navbar li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#navbar ul ul {
  position: absolute;
  top: var(--nav-height);
  display: none !important;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #333;
}

#navbar ul ul li {
  width: 100%;
}

#navbar ul ul li a {
  width: 100%;
}

#navbar ul li:hover ul {
  display: flex !important;
}

#navbar span {
  margin: 0 0 0 5px;
}

/*** CROW ***/

#scrollIcon {
  position: fixed;
  left: 50vw;
  bottom: 30px;
  z-index: 1000;
  transform: translateX(-64px) scale(0.5);
  transition: all 1s;
}

#scrollIcon.show {

  opacity: 1;
  transform: translateX(-64px) scale(0.5);
}

#scrollIcon.hide {

  opacity: 0;
  transform: translateX(-64px) scale(0.00);
}

#crow {
  position: fixed;
  left: 50vw;
  top: 20vh;
  transform: translateX(115px);
  width: 500px;
  height: 500px;
}

#crow div {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  transition: 1s all;
}

#crow div.show {
  opacity: 1;
  filter: none;
}

#crow div.hide {
  opacity: 0;
  filter: brightness(15);
}

#crow #bg1 {
  background-image: url(../gfx/bg1.jpg);
}
#crow #bg2 {
  background-image: url(../gfx/bg2.jpg);
}
#crow #bg3 {
  background-image: url(../gfx/bg3.jpg);
}
#crow #bg4 {
  background-image: url(../gfx/bg4.jpg);
}
#crow #bg5 {
  background-image: url(../gfx/bg5.jpg);
}
#crow #bg6 {
  background-image: url(../gfx/bg1.jpg);
}
#crow #bg7 {
  background-image: url(../gfx/bg6.jpg);
}
#crow #bgc {
  background-image: url(../gfx/crow.gif);
}


/*** MAIN ***/

main {
  position: relative;
  top: var(--nav-height);
  width: 1180px;
  line-height: 1.5em;
}


section {
  width: 640px;
  margin: 10vh 0 30vh;
}

section a {
  color:#EC1E24;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0.8px;
}

section a:hover {
  color: #EC1E24;
  text-decoration: underline;
}

section:first-of-type {
  margin: 0;
  height: 100vh;
  padding-top:calc(20vh + 40px);
  box-sizing: border-box;
}

section:last-of-type {
  margin: 0;
  padding-bottom: 35vh;
}

h1 {
  font-size: 68pt;
  color: hsl(0, 0%, 50%);
}

.trailer {
  margin: 25px 0;
  width: 98% !important;
}

.btn {
  text-align: right;
}

.btn a {
  font-weight: normal;
  transition: 1s all;
  background-color: #333;
  color: #fff;
  display: inline-block;
  padding: 10px 33px;
  text-decoration: none !important;
}

.btn a:hover {
  color: #fff;
  background-color: #EC1E24;
  text-decoration: none !important;
}

.social {
  margin-top: 80px;
}

.social img {
  width: 10%;
  display: inline-block;
  margin-right: 20px;
  transition: 0.5s all;
}

.social img:hover {
  filter: brightness(2);
}

.kreska {
  border-right: 1px solid #444;
  padding-right: 35px;
}

/* Responsive embed */

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.embed-responsive iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* RESOLUTIONS */

@media screen and (min-height: 1100px) {
  section:last-of-type {
    padding-bottom: 40vh;
  }
}

@media screen and (min-height: 2000px) {
  section:last-of-type {
    padding-bottom: 60vh;
  }
}

@media screen and (max-width: 1200px) {

  #scrollIcon {
    display: none;
  }

  #navbar {
    height: 35px;
    justify-content: center;
    align-items: center;
  }

  #navbar nav {
    width: 100%;
    justify-content: center !important;
    align-items: center !important;
    font-size: 9pt
  }

  #navbar nav > a {
    display: none;
  }

  #navbar span {
    display: none;
  }

  main {
    font-size: 11pt;
    position: relative;
    top: 0px;
    width: 100%;
    line-height: 1.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  section {
    width: 60%;
    margin: 4vh 0 4vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  h1 {
    font-size: 36pt;
  }

  #pg1 {
    width: 50%;
  }

  #page5 br, #page6 br {
    display: none;
  }

  .social {
    margin: 20px 0;
    text-align: center;
  }

  #navbar ul ul {
    top: 35px;
  }

  #crow {
    display: none;
  }

  .kreska {
    border-right: none;
    padding-right: 0;
  }

}

@media screen and (max-width: 600px) {

  section:first-of-type {
    padding-top: 0;
    margin-top: 0;
    height: 40vh;
  }

  section:last-of-type {
    padding-bottom: 10vh;
    margin-bottom: 0;
  }

  section {
    width: 86%;
  }
}

select {
  position: fixed;
  bottom: 10px;
  left: 10px;
}
