@import url('https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap');

html, body {
    height: 100%;
    margin: 0;
    background-color: black;
    font-family: 'Metal Mania', cursive;
    color: white;
}

header {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-image: linear-gradient(to bottom right, red, black);
}

.Logo {
    font-size: clamp(32px, 6vw, 56px);
    color: black;
    margin: 0;
}

.Logo::first-letter {
    color: red;
    font-size: 1.4em;
    text-shadow:
        -1px -1px 0 black,
         1px -1px 0 black,
        -1px  1px 0 black,
         1px  1px 0 black;
}

main {
    min-height: calc(100vh - 96px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
}

footer.footer {
    height: 48px;
    background-image: linear-gradient(to bottom right, red, black);
}

.Character1 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-image: linear-gradient(to right, blue, black 45%);
    padding: 20px;
    gap: 20px;
}

.Character1 img {
    max-width: clamp(300px, 40vw, 600px);
    height: auto;
    object-fit: cover;
}

.Character1 .text-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.character1tagline {
    font-size: clamp(20px, 3vw, 32px);
    margin: 0;
}

.character1name {
    font-size: clamp(32px, 4vw, 48px);
    margin: 0;
}

.character1description {
    font-size: clamp(18px, 2.5vw, 26px);
    margin: 0;
    max-width: 95%;
}

.CommandInputs {
    text-align: center;
    font-size: clamp(24px, 4vw, 48px);
    background-image: linear-gradient(to bottom, white, black);
    letter-spacing: clamp(8px, 2vw, 24px);
    color: black;
    margin: 10px 0;
}
.Character1 img {
    max-width: clamp(300px, 40vw, 600px);
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.Character1 img:hover {
    transform: scale(1.05);
}

.CommandNormal,
.SpecialMove,
.Breakers {
    font-size: clamp(28px, 3vw, 42px);
    margin-top: 20px;
    border-bottom: 2px solid red;
    padding-bottom: 5px;
}

.move {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(to right, blue, rgba(0,0,0,0.8));
    border: 1px solid red;
    box-shadow: 0 0 8px rgba(255,0,0,0.4);
    padding: 15px;
    margin: 5px 0;
    border-radius: 8px;
    gap: 20px;
}

.move:hover {
    transform: scale(1.02);
    transition: 0.2s;
    border-color: red;
}

.move > p {
    flex: 1;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: bold;
    text-align: left;
    align-self: center;
}

.move-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.move-info .input {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: bold;
}

.move-info .description {
    font-size: clamp(16px, 1.8vw, 22px);
    line-height: 1.4;
}

.input span {
    font-family: "Noto Sans Symbols", "Segoe UI Symbol", sans-serif;
}

.back-link {
    color: white;
    text-decoration: underline;
    font-size: 18px;
    display: inline-block;
    margin: 20px 0;
}

.back-link:hover {
    color: #ff0000;
}
.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: black;
}
a {
    color: white;
    transition: color 0.2s ease;
}

a:hover {
    color: #ff0000;
}
@media screen and (max-width: 900px) {

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: black;
        padding: 15px;
        width: 180px;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        color: white;
    }
}

@media screen and (max-width: 900px) {

    .Character1 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .Character1 img {
        max-width: clamp(200px, 50vw, 300px);
    }

    .Character1 .text-column {
        align-items: center;
    }

    .move {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .move > p {
        text-align: center;
        margin-bottom: 8px;
    }

    .move-info {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .move-info .input {
        display: inline-block;
    }
}

@media screen and (max-width: 500px) {

    .Logo {
        font-size: clamp(20px, 8vw, 40px);
    }

    .CommandInputs {
        font-size: clamp(20px, 6vw, 36px);
        letter-spacing: 5px;
    }
}