* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Gothic', sans-serif;
}

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
  max-height: 100vh; 
  background: #fff;
}

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
}

abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}


b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

.main-red {
    color: #ED302B;
}

.main-black {
    color: #000000;
}

.main-gray {
    color: #D1CFCF;
}

.light-gray {
    color: #E5E5E5;
}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 0 100px;
  background: #000;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: 1s;
}

.sticky{
  height: 80px;
}

.sticky .logo {
  position: absolute;
  font-size: 2em;
  left: 100px;
  transform: translate(0, -50%);
}

header .banner{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.sticky .banner {
  opacity: 0.5;
}

header .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10vw;
  color: #fff;
  font-weight: 700;
  transition: 1s;
  text-decoration: none;
  z-index: 1;
}

/* glitch */
.logo:before, .logo:after {
  display: block;
  content: attr(data-glitch);
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: .8;
} 
.logo:after {
  color: #f0f;
  z-index: -2;
} 
.logo:before {
  color: #0ff;
  z-index: -1;
}
.logo:before {
    animation: glitch .2s cubic-bezier(.25, .46, .45, .94) both 15
  }
.loho:after {
    animation: glitch .2s cubic-bezier(.25, .46, .45, .94) reverse both 15
  }


@media only screen and (max-width: 400px) {
.glitch {
  font-size: 3em;
}
}


@keyframes glitch {
0% {
  transform: translate(0)
}
20% {
  transform: translate(-5px, 5px)
}
40% {
  transform: translate(-5px, -5px)
}
60% {
  transform: translate(5px, 5px)
}
80% {
  transform: translate(5px, -5px)
}
to {
  transform: translate(0)
}
}

nav {
  position: relative;
  display: flex;
  z-index: 1;
}

nav ul{
  position: relative;
  display: flex;
  transition: 0.25s;
  transform: translateX(100px);
  opacity: 0;
  left: 0;
}

.sticky nav ul {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.75s;
  opacity: 1;
  visibility: visible;
}

nav ul li {
  list-style: none;
}

ul li a {
  color: #fff;
  display: inline-block;
  padding: 10px 15px;
  font-size: 1.2em;
  text-decoration: none;
}

nav ul li a:hover {
  color: #E5E5E5;
  text-decoration: none;
}

section {
  margin-top: 12vh;
  padding: 100px;
  padding-left: 200px;
  font-size: 3em;
  display: flex;
  flex-wrap: wrap; 
}  

@media (max-width: 991px)
{
  section, header {
    padding: 40px;
  }

  .sticky .logo {
    left: 30px;
  }

  .sticky .banner {
    display: none;
    opacity: 0;
    visibility: hidden; 
  }

  .sticky .toggle {
    position: fixed;
    top: 15px;
    right: 40px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background:#fff url('/logo.png');
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
  }

.sticky .toggle .active {
    background: #fff url('/logo.png');
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: center;
  }

.active ul {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100%-80px);
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }


  nav ul {
    display: none;
    opacity: 0;
  }

  nav ul li a 
  {
    font-size: 1.5em;
    padding: 5px 15px;
  }

  .p{
    font-size: 0.7em!important;
    display: block!important;
    width: 90%;
    margin: 0!important;
    padding: 3vw!important;
  }

  body {
    overflow-y: scroll!important;
  }

}

.main{
  width: 90%;
  margin: 20px;
  padding: 30px;
  border: 4px solid black;
}

.p{
  font-size: 0.9em;
  display: inline-block;
  width: 32%;
  padding:20px;
  margin: auto;
}

.p a{
  text-decoration: none;
  color: #000;
}

.p a:hover{
  background: #D1CFCF;
}

#section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#section img {
  padding-top: 50px;
}


  





