* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    scroll-behavior: smooth;
    text-decoration: none;
    list-style: none;
    color: var(--Paragraph-Color);
    font-family: var(--Secondary-Roboto-Mono-Font);
    font-weight: normal;
}

body {
    background-color: var(--Primary-Background-Color);
}

::selection {
    background-color: var(--Secondary-Background-Accent);
    color: var(--Heading-Color);
}

header {
    border-bottom: 2px solid var(--Secondary-Background-Accent);
    padding-top: 5px;
    position: sticky;
    right: 0;
    left: 0;
    top: 0;
    z-index: 99;
    backdrop-filter: blur(10px);
}

nav {
    max-width: 90%;
    margin: auto;
}

nav>ul {
    width: 12rem;
    height: 3rem;
}

nav>ul>li {
    height: 2rem;
}

nav>ul>li>a {
    letter-spacing: 1px;
    font-size: var(--Small-Text);
}

nav>ul>li>a:hover {
    color: var(--Heading-Color);
}

ul>li>span {
    font-size: 19px;
}

.logo img {
    width: 5rem;
}

.menu>a {
    padding: 9px 22px 9px 22px;
    border-radius: 19px;
    background-color: var(--Heading-Color);
    color: black;
    transition: 0.3s ease-in-out;
}

.menu:hover>a,
.menu:hover>a {
    background: var(--Secondary-Background-Accent);
    transition: 0.3s ease-in-out;
}

/* Hero-Section */

section {
    min-height: auto;
    max-width: 90%;
    margin: auto;
    /* border: 2px solid rebeccapurple; */
}

.hero-text {
    max-width: 94%;
    flex-direction: column;
    height: 30rem;
}

.h-one>h1 {
    background: linear-gradient(34deg,
     var(--Heading-Color), var(--Paragraph-Color),
      var(--Secondary-Background-Accent));
}

.h-two>h1 {
    padding-left: 15rem;
    background: linear-gradient(234deg,
     var(--Heading-Color), var(--Paragraph-Color),
      var(--Secondary-Background-Accent));
}

.h-three>h1 {
    width: 46rem;
    background: linear-gradient(34deg,
     var(--Heading-Color), var(--Paragraph-Color),
      var(--Secondary-Background-Accent));
}

.h-one>h1,
.h-two>h1,
.h-three>h1 {
    overflow: hidden;
    line-height: 0.9;
    letter-spacing: 1px;
    font-family: var(--Primary-Orbitron-Font);
    font-size: var(--HOne-Headings);
    font-weight: 400;
    animation: glow 5s ease-in-out infinite alternate;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.h-one>h1>span,
.h-two>h1>span,
.h-three>h1>span {
    display: inline-block;
}


.hero-category {
    width: 100%;
    gap: 8rem;
    border-radius: 10px;
}

.character,
.weapon,
.rank {
    text-align: center;
    height: 16rem;
    display: grid;
    place-items: center;
}

.character>.common-img>img {
    width: 6rem;
}

.character>.common-img,
.weapon>.common-img,
.rank>.common-img {
    width: 10rem;
    box-shadow: var(--text-shadow);
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    padding: 15px;
}

.weapon>.common-img>img,
.rank>.common-img>img {
    width: 10rem;
    padding: 15px;
}

/* Section-Two  */

.sec-two {
    margin-top: 9rem;
}

main {
    /* border: 2px solid rebeccapurple; */
}

.main-one {
    width: 15%;
    flex-direction: column;
    gap: 2rem;
    /* border: 2px solid rgb(238, 238, 238); */
}

.main-two {
    text-align: center;
    width: 70%;
    /* border: 2px solid rebeccapurple; */
}

.main-two>h1 {
    font-size: 5rem !important;
    display: inline-block;
    /* border: 2px solid rebeccapurple; */
}

.character-weapon {
    /* border: 2px solid rgb(196, 9, 9); */
    position: relative;
    top: -2rem;
}

.character-weapon>iframe {
    /* border: 2px solid rebeccapurple; */
    width: 100%;
    height: 46rem;
}

.character-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 9rem;
    border: 2px solid var(--Secondary-Background-Accent);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.character-img:hover {
    box-shadow: var(--text-shadow);
    transition: 0.2s ease-in-out;
}

.character-img>img,
.weapon-img>img {
    width: 8rem;
}

/* section-3 */

.sec-three {
    max-width: 100%;
}

.sec-three-img,
.sec-three-img>img {
    width: 100%;
}

.sec-three-img>img {
    height: auto;
    mix-blend-mode: soft-light;
}

.sec-three-text {
    position: relative;
    width: 50rem;
    margin: auto;
    height: 100%;
    text-align: center;
    /* border: 2px solid var(--Secondary-Background-Accent); */
    margin-top: -43rem;
}

.sec-three-text>h1 {
    font-size: 5rem;
    /* line-height: 1.2; */
    color: var(--Heading-Color);
}

.sec-three-text>p {
    font-size: var(--Paragraphs-font);
    line-height: var(--Paragraphs-line-Spacing);
    margin-top: 1.5rem;
    letter-spacing: 0.3px;
}

.sec-three-text>button {
    margin-top: 2rem;
    padding: 1rem 2rem;
    border: 1px solid var(--Heading-Color);
    border-radius: 5px;
    letter-spacing: 0.3px;
    background: var(--Primary-Color);
    color: var(--Heading-Color);
    font-size: var(--Button-font);
    cursor: pointer;
    transition: background 0.3s ease;
}

.sec-three-text>button:hover {
    background: var(--Heading-Color);
    color: var(--Primary-Background-Color);
    transition: background 0.3s ease;
}

/* section-four */

.sec-four {
    margin-top: 28rem;
    /* border: 2px solid rebeccapurple; */
}

.sec-four>main {
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

.sec-four h1 {
    font-size: 4rem;
}

.legend-img {
    height: 30rem;
    /* margin-top: 3rem; */
    overflow: hidden;
}

.legend-img {
    /* width: 12rem; */
}

.flex-card {
    /* border: 2px solid rgb(255, 255, 255); */
    gap: 1rem;
}

.flex-card>.card {
    width: 12rem;
    height: 14rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
}

.card-img {
    border: 2px solid var(--Secondary-Background-Accent);
    width: 12rem;
    height: 10rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.card-img:hover {
    box-shadow: var(--text-shadow);
}

.card-img>img {
    width: 12rem;
    height: 15rem;
    object-fit: cover;
    margin-top: 5rem;
}

footer {
    max-width: 62%;
    border-top: 2px solid var(--Secondary-Background-Accent);
    height: 4rem;
    margin: auto;
    margin-top: 3rem;
}

.social-link {
    width: 9rem;
}

.social-link>i{
    font-size: 18px;
}
