/* CSS Reset*/
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,
b, 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;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  padding: 0;
}

/* begin styles */

html {
    font-size: 16px; 
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

p {
   font-size: 1.1rem;
   font-family: 'Raleway', Helvetica, sans-serif;
   line-height: 1.5rem;
}

.menutext {
  position: relative;
  top: 20px;
  left: -7px;
  font-size: 0.7rem;
   font-family: 'Lato', Helvetica, sans-serif;
   margin: 0 auto;
   padding: 0;
   font-weight: 800;
   color: #000;
   text-decoration: none;
}

h1 {
  font-size: 2.4rem;
  font-family: 'Lato', Helvetica, sans-serif;
  font-weight: 900;
   line-height: 1.5rem;
}

.content {
background-color: #f11c8b;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
z-index: 2;
}

.menu {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 46px;
  width: 46px;
}


.menu-link {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1002;
}

.menu-icon {
  position: absolute;
  width: 20px;
  height: 14px;
  margin: auto;
  left: 14px;
  top: 0;
  right: 0;
  bottom: 1px;
}

.section {
   z-index: 1; 
}

.menu-circle {
  background-color: #fff;
  width: 130%;
  height: 130%;
  position: absolute;
  border-radius: 50%;
  transform: scale(1);
  z-index: 1000;
 }

.menu-overlay {
  background-color: #000;
  color: #333;
  height: 100%;
  width: 100%;
  padding-top: 10rem;
  position: fixed;
  text-align: center;
  transition: opacity .3s ease-in-out;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
}

.menu-overlay a {
  font-weight: 600;
  font-size: 8rem;
  display: inline-block;
}

.menu-overlay.open {
 opacity: 1;
 visibility: visible;
 z-index: 1001;
}


.menu.open .menu-circle { transform: scale(10);
}

.menu.open .menu-line-2 { opacity: 0; }

.menu.open .menu-line-1 {
 transform: rotate(-45deg);
 filter: invert(100%);
}

.menu.open .menu-line-1 {
 transform: translateY(7px) translateY(-50%) rotate(-45deg);
 filter: invert(100%);
}

.menu.open .menu-line-3 {
 transform: translateY(-7px) translateY(50%) rotate(45deg);
 filter: invert(100%);
}

.menu-line {
 background-color: #000;
 height: 2px;
 width: 100%;
 border-radius: 2px;
 position: absolute;
 left: 0;
 transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-line-1 { top: 0; }

.menu-line-2 {
 top: 0;
 bottom: 0;
 margin: auto;
}

.menu-line-3 { bottom: 0; }

.menu:hover .menu-circle { transform: scale(1.4); }

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

#animation_container {
  position: fixed;
  min-width: 100%;
  min-height: 100%;
  text-align:center;
  z-index: 999;
  padding-top: 20rem;

}

.canvas {
    padding-top: 0;
    background-color:rgba(0, 0, 0, 0.00);
    margin: 8rem auto;
    width: 100%;
    display: block;
    position: absolute;
    top: 40;
    bottom: 0;
    left: 0;
    right: 0;
}


.nav {
  font-family: 'Lato', Helvetica, sans-serif;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}

.nav * {
  box-sizing: border-box;
  transition: all .35s ease;
}

.nav li {
  display: inline-block;
  list-style: outside none none;
  margin: .5em 1em;
  padding: 0;
}

.nav a {
  padding: .5em 2em;
  color: rgba(255,255,255,.8);
  position: relative;
  text-decoration: none;
  letter-spacing: 0.2em;
  font-size: 20px;
}

.nav a::before,
.nav a::after {
  content: '';
  height: 14px;
  width: 14px;
  position: absolute;
  transition: all .35s ease;
  opacity: 0;
}

.nav a::before {
  content: '';
  right: 0;
  top: 0;
  border-top: 3px solid #f11c8b;
  border-right: 3px solid #f11c8b;
  transform: translate(-100%, 50%);
}

.nav a:after {
  content: '';
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #f11c8b;
  border-left: 3px solid #f11c8b;
  transform: translate(100%, -50%)
}

.nav a:hover:before,
.nav a:hover:after{
  transform: translate(0,0);
  opacity: 1;
}

.nav a:hover {
  color: #f11c8b;
}

.head {
  display: flex;
  z-index: 999;
  background-color: #000000;
}

.top-icon {
  display: inline-block;
  padding: 0.5em;
  margin-left: auto;
} 


.flex-grid {
  display: flex;
  background-color: #fff;
}

.flex-grid-thirds {
  display: flex;
  justify-content: space-between;
}

.col {
  flex: 1;
  background-color: #fff;
}


#section_title {
  margin: 6rem auto;
  background-color: #fff;
  text-align: center;
}

.bigcol {
  flex: 2;
  padding: 6rem;
}

.parallax {
  flex: 1;
  background: url("./img/slide1.jpg");
  min-height: 500px; 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media only screen
and (max-device-width: 900px)
and (orientation:landscape)  {

#animation_container {
  position: fixed;
  min-width: 100%;
  min-height: 100%;
  text-align:center;
  z-index: 999;
  padding-top: 5rem;

}
}

@media (max-width: 500px)
and (orientation:portrait){

#canvas {
    padding: 0;
    background-color:rgba(0, 0, 0, 0.00);
    margin: 0;
    width: 50%;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#animation_container {
  position: fixed;
  padding-left: 0rem;
  min-width: 40%;
  min-height: 40%;
  text-align:center;
  z-index: 999;
  padding-top: 8rem;
}

}

@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait)  {


.menu-overlay a {
  font-weight: 600;
  font-size: 1.5rem;
  padding: 2%;
  margin:  5% 1% 0;
  display: block;
}

.menu-overlay {
  padding-top: 5rem;
  }
  
  .nav li {
  display: inline-block;
  list-style: outside none none;
  margin: .5em 0.2em;
  padding: 0;
}
}

@media (min-aspect-ratio: 16/9) {
    #myVideo {
        width:100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    #myVideo { 
        width:auto;
        height: 100%;
    }
}