/* styles.css */

@font-face {
  font-family: 'Montserrat';
  src: url("https://masked-traitor.neocities.org/Fonts/Montserrat-Medium.ttf") format('truetype');
  font-weight: normal;
  font-style: normal;
}

*{
  box-sizing: border-box;
}


body {
  font-family: 'Montserrat', sans-serif;
  color: #6C2637;
  margin: 0;
 
}

.styling {
  background-image: url("https://masked-traitor.neocities.org/bloom.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.styling.nav--active main {
  opacity: .3;
  user-select: none;
}

.styling__backfade,
.styling__frontfade {
  background-color: rgba(0, 0, 0, .3);
  content: '';
  display: block;
  height: 100%;
  left: 0;
  position: fixed;
  transform-origin: 0% 50%;
  width: 100%;
  z-index: 0;
}

.styling__backfade {
  transform: scaleX(.34) 
  translateX(calc(67% * 3));
}

.styling.nav--active .styling__frontfade {
  background-color: hsla(14, 97%, 65%, .3);
  visibility: visible;
}

.styling__frontfade {
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

.styling__wrapper {
  display: grid;
  grid-template-columns: 300px repeat(3, 1fr);
  margin: auto;
  height: 100%;
}

.styling__main {
  transition: opacity .4s;
  z-index: 1;
}
    
.hero {
  padding-top: 5rem;
}

.hero_title {
  color: #A01B3A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 4.2rem;
  line-height: 1;
  margin-left: auto;
  margin-right: 2rem;
  margin-bottom: 0;
  position: relative;
  width: 25rem;
  z-index: 1;
}

.hero_title em {
  display: block;
  font-size: 2rem;
  font-style: normal;
  line-height: 1;
  transform: translateX(2rem);
}

.hero_text {
  background-color: rgba(0, 0, 0, .6);
  color: #6C2637;
  font-size: .92rem;
  line-height: 1.2;
  margin: 0;
  margin-left: auto;
  margin-right: 5rem;
  padding: 4rem 2rem 2rem;
  transform: translateY(-2rem);
  width: 50%;
  z-index: 0;
}

.hero-text box {
  box-shadow: 0 4px #6C2637;
  color: #6C2637;
  text-decoration: none;
}

.hero-block--content > *:last-child {
  margin-bottom: 0;
}

.styling__main {
  display: flex;
  flex-direction: column;
}

.styling__header {
  height: 100%;
  z-index: 2;
}

.styling__header nav {
  height: 100%;
}

.styling__main {
  grid-column: span 3.5;
}

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav--header_1 {
  counter-reset: n;
  height: 100%;
  padding: 0 2rem;
  position: relative;
}

.nav--header_1 > .nav__item:not(.nav__item--home) {
  counter-increment: n;
}

.nav--header_1 > .nav__item:not(.nav__item--home) > .nav__link {
  color: #6C2637;
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: .045em;
  padding: 1rem 1rem;
  padding-left: 3rem;
  padding-top: 3rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s;
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  z-index: 1;
}

.nav--header_1 > .nav__item > .nav__link::before {
  content: counter(n, decimal-leading-zero);
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 6rem;
  font-weight: bold;
  left: 0;
  top: 0;
  opacity: .25;
  position: absolute;
  transition: transform .2s;
  z-index: -1;
}

.nav--header_1 > .nav__item > .nav__link:hover,
.nav--header_1 > .nav__item.nav__item--active > .nav__link {
  color: #6C2637;
  transform: translateX(.5rem);
}

.nav--header_1 > .nav__item.nav__item--active .nav--header_2 {
  visibility: visible;
}

.nav--header_1 .nav__item--home {
  background-image: url(https://masked-traitor.neocities.org/mask-icon.png);
  background-position: 0px 50%;
  background-repeat: no-repeat;
  background-size: 100px 85px;
  margin-bottom: 60px;
  padding: 0;
}

.nav--header_1 .nav__item--home > .nav__link {
  display: block; /* Necessary for text-indent to work */
  height: 40px;
  text-indent: -999px;
}

.nav--header_2 {
  height: 100%;
  left: 270px;
  opacity: 0;
  padding: 2.5rem 5rem;
  position: fixed;
  top: 0;
  visibility: hidden;
  width: 100%;
}

.nav--header_2::before {
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"><path d="M23.954 21.03l-9.184-9.095 9.092-9.174-2.832-2.807-9.09 9.179-9.176-9.088-2.81 2.81 9.186 9.105-9.095 9.184 2.81 2.81 9.112-9.192 9.18 9.1z" fill="rgb(255, 255, 255)"/></svg>');
  background-repeat: no-repeat;
  background-size: 30px 30px;
  content: '';
  cursor: pointer;
  display: block;
  margin-bottom: 6rem;
  height: 30px;
  width: 30px;
}

.nav--header_2 > .nav__item {
  margin-bottom: 2.75rem;
}

.nav--header_2 > .nav__item > .nav__link {
  background-image: linear-gradient 100%);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 6px 6px;
  color: #6C2637;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.75rem;
  font-weight: bold;
  letter-spacing: .05em;
  text-decoration: none;
  transition: background-size .25s, color .3s;
}

.nav--header_2 > .nav__item > .nav__link:hover {
  background-size: 6px 50px;
  color: #000000;
}

























