@font-face {
    font-family: 'F37 Ginger';
    src: url('assets/fonts/F37Ginger.woff2') format('woff2'),
        url('assets/fonts/F37Ginger.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'F37 Ginger';
    src: url('assets/fonts/F37Ginger-Light.woff2') format('woff2'),
        url('assets/fonts/F37Ginger-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OptimusPrinceps';
    src: url('assets/fonts/OptimusPrinceps.woff2') format('woff2'),
        url('assets/fonts/OptimusPrinceps.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OptimusPrinceps';
    src: url('assets/fonts/OptimusPrincepsSemiBold.woff2') format('woff2'),
        url('assets/fonts/OptimusPrincepsSemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html, body {
    height: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

#root, #__next {
    isolation: isolate;
}

body {
    font-family: 'F37 Ginger', sans-serif;
    color: #ffffff;
    background: #060B07;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: #ffffff;
}

h1,h2,h3 {
    font-family: 'OptimusPrinceps';
    font-weight: normal;
    letter-spacing: 2px;
}

h2 {
    font-size: 30px;
    letter-spacing: 3px;
}

h3 {
    font-size: 24px;
    letter-spacing: 2px;
}

p {
    font-weight: 300;
}

.rte h1,
.rte h2,
.rte h3,
.rte h4 {
    color: #ffffff;
}

.rte p {
    color: #FDEBBC;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 28px;
}

.rte p.date {
    font-size: 13px;
}

.rte p:last-child {
    margin-bottom: 0;
}

.rte p strong,
.rte p b {
    color: #ffffff;
    font-weight: normal;
}

.rte p a {
    text-decoration: underline;
}

.rte p a:hover {
    text-decoration: none;
}

.rte ul {
    margin-bottom: 20px;
}

.rte ul li {
    position: relative;
    padding-left: 18px;
    color: #FDEBBC;
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 28px;
}

.rte ul li:before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    height: 4px;
    width: 4px;
    border-radius: 100%;
    background: #FDEBBC;
}

/* Structure */
.page {
    position: relative;
    padding: 120px 0;
}

.container {
    width: 100%;
    max-width: 1080px;
    padding-left: 50px;
    padding-right: 50px;
    margin-left: auto;
    margin-right: auto;
}

/* Frame */
.frame {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
}

.frame span {
    display: block;
    position: absolute;
    width: 37px;
    height: 37px;
    background: url('assets/corner-decal.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.frame span:nth-of-type(1) {
    top: 20px;
    left: 20px;
    transform: rotate(-90deg);
}

.frame span:nth-of-type(2) {
    top: 20px;
    right: 20px;
}

.frame span:nth-of-type(3) {
    bottom: 20px;
    left: 20px;
    transform: rotate(180deg);
}

.frame span:nth-of-type(4) {
    bottom: 20px;
    right: 20px;
    transform: rotate(90deg);
}

/* Hero */
.hero {
    position: relative;
    padding-bottom: 56.25%;
    padding-bottom: 50%;
    overflow: hidden;
}

.hero:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: rgb(6,11,7);
    background: linear-gradient(180deg, rgba(6,11,7,0) 0%, rgba(6,11,7,1) 100%);
    z-index: 10;
}

.parallax {
    position: absolute;
    width: 100%;
    transform: translateY(var(--translateY));
    will-change: transform;
}

/* Header */
.game-header {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    z-index: 99;
}

.game-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-nav ul li {
    margin: 0 18px;
}

.game-nav ul li:first-child {
    margin-left: 0;
}

.game-nav ul li:last-child {
    margin-right: 0;
}

.game-nav ul li a {
    font-family: 'OptimusPrinceps';
    font-weight: 600;
    font-size: 20px;
    color: #FDEBBC;
    letter-spacing: 2px;
}

.game-nav ul li.active a,
.game-nav ul li:hover a {
    color: #ffffff;
}

/* Logo */
.game-logo {
    display: block;
    overflow: hidden;
    position: absolute;
    left: 50%;
    bottom: 10vw;
    transform: translateX(-50%);
    z-index: 11;
    text-indent: -9999px;
    width: 500px;
    height: 79px;
    background: url('assets/logo-eldenring.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Accordion */
.accordion-title {
    position: relative;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}

.accordion-title:after {
    content: '';
    position: absolute;
    right: 0;
    top: 35px;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='15' viewBox='0 0 20 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M20 .363 17.323 1.93l-.357-.175-2.323 4.008s-.43 1.248-.536 1.395c-.105.147-.714.871-.714.871l-.536.522-.357.872v1.046L9.998 15l-.357-.522-1.251-2.266-.179-.87-.714-.873-.179-.871-.893-.697-.179-.87-3.568-6.1-.535-.523L0 .363C.361.329.72.27 1.072.187c.535-.03 1.071-.03 1.606 0 0 0 .165-.25.357-.174.124.049.243.107.357.174l.18.174v.697h.892l2.322 3.135S8.9 5.475 9.82 6.807l1.429-1.395.893-.174s.078-.476.179-.522c.158-.146.28-.325.357-.524A3.944 3.944 0 0 1 13.751 2.8c.45-.31.868-.66 1.25-1.046l1.071-1.39c.157-.107.343-.168.535-.176.206.038.267.48.536.348.268-.132.61-.468.893-.348.649.106 1.305.164 1.963.174' fill='%23FDEBBC'/%3E%3C/svg%3E");
}

.accordion-title.active:after {
    transform: rotate(180deg);
}

.accordion-title:before {
    content: '';
    position: absolute;
    display: block;
    left: -80px;
    top: 40px;
    width: 54px;
    height: 33px;
    background-image: url('assets/ornament-icon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 1s cubic-bezier(.19,1,.22,1);
}

.accordion-title.active:before {
    opacity: 1;
    top: 30px;
}

.accordion-content {
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: height .75s ease-out;
    overflow: hidden;
}

.accordion-content.active {
    display: block;
}

.accordion-content > div {
    padding: 35px 0;
}

.patches-source {
    margin-top: 40px;
}


/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
