html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background-image: url(https://preview.redd.it/free-brawl-stars-background-for-anybody-who-wants-to-make-v0-iapqmzd3zu721.jpg?width=640&crop=smart&auto=webp&s=8ea01387608fc282b5c562f40a8d56e3ba0f77e4);
    background-size: cover;
    background-position: center;
    font-family: "Lilita One", sans-serif;
}

.navbar {
    width: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    height: 110px;
}

.navlogo {
    height: 20px;
    width: auto;
    display: block;
}

.nav-link {
    color: white;
    font-size: 10pt;
    font-family: "Lilita One", sans-serif;
    font-weight: bold;
    margin-right: 10px;
    text-decoration: underline;
    text-align: center;
    transition: color 0.5s ease-in-out;
}

.nav-link:hover {
    color: red;
}

main {
    display: flex;
    justify-content: center;
    padding: 30px 20px 10px;
}

.content_box {
    width: 100%;
    max-width: 900px;
    margin: 55px auto 0;
    text-align: center;
}

.page_title {
    text-align: center;
    font-size: 30px;
    color: white;
    font-family: "Lilita One", sans-serif;
    text-decoration: underline;
    margin: 0 0 25px 0;
}

.Brawlstars_info {
    border: 8px solid black;
    border-radius: 80px;
    padding: 35px 50px;
    color: white;
    text-align: center;
    box-sizing: border-box;
    font-size: 14pt;
}

.Home_Link {
    text-align: center;
    margin-top: 25px;
}

.Home_Link a {
    color: white;
    text-decoration: underline;
    font-size: 22pt;
    font-family: "Lilita One", sans-serif;
    transition: color 0.5s ease-in-out;
}

.Home_Link a:hover {
    color: red;
}

#imageflexbox img {
    width: 140px;
    height: 180px;
    object-fit: contain;
}

.pagewrap {
    max-width: 2000px;
    margin: 0 auto;
}


.modesgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px 55px;
}

#imageflexbox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 60px;
    justify-items: center;
}

.modecard {
    border: 5px solid black;
    border-radius: 42px;
    min-height: 255px;
    padding: 40px 34px 28px;
    text-align: center;
    color: white;
    box-sizing: border-box;
}

.modecard h2 {
    margin: 0 0 14px;
    font-size: 35px;
    font-weight: 400;
    line-height: 1.1;
}

.modecard p {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
}

.brawlstarsimg {
    min-height: calc(100vh - 110px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.img {
    display: block;
    width: 45%;
    max-width: 600px;
}
.logo-link {
    display: block;
    text-align: center;
}

.logo-link .img {
    display: block;
    margin: 0 auto;
    width: 55%;
    max-width: 750px;
}

.click-text {
    color: white;
    font-size: 13pt;
    margin-top: 12px;
    font-family: "Lilita One", sans-serif;
    text-decoration: underline;
}

@media (min-width: 480px) {
    html,
    body {
        margin: 0;
        padding: 0;
        min-height: 100%;
    }

    body {
        min-height: 100vh;
        background-image: url(https://preview.redd.it/free-brawl-stars-background-for-anybody-who-wants-to-make-v0-iapqmzd3zu721.jpg?width=640&crop=smart&auto=webp&s=8ea01387608fc282b5c562f40a8d56e3ba0f77e4);
        background-size: cover;
        background-position: center;
        font-family: "Lilita One", sans-serif;
    }

    .navbar {
        width: 100%;
        background: black;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
        height: 110px;
    }

    .navlogo {
        height: 35px;
        width: auto;
        display: block;
    }

    .nav-link {
        color: white;
        font-size: 14pt;
        font-family: "Lilita One", sans-serif;
        font-weight: bold;
        margin-right: 20px;
        text-decoration: underline;
        transition: color 0.5s ease-in-out;
    }

    .nav-link:hover {
        color: red;
    }

    main {
        display: flex;
        justify-content: center;
        padding: 30px 20px 10px;
    }

    .content_box {
        width: 100%;
        max-width: 1000px;
        margin: 40px auto 0;
        text-align: center;
    }

    .page_title {
        text-align: center;
        font-size: 44px;
        color: white;
        font-family: "Lilita One", sans-serif;
        text-decoration: underline;
        margin: 0 0 25px 0;
    }

    .page_subtitle {
        font-size: 22px;
        color: white;
        font-style: italic;
        margin: 5px 0 25px;
    }

    .Brawlstars_info {
        border: 8px solid black;
        border-radius: 80px;
        padding: 35px 50px;
        color: white;
        text-align: center;
        box-sizing: border-box;
        font-size: 20pt;
    }

    .Home_Link {
        text-align: center;
        margin-top: 25px;
    }

    .Home_Link a {
        color: white;
        text-decoration: underline;
        font-size: 22pt;
        font-family: "Lilita One", sans-serif;
        transition: color 0.5s ease-in-out;
    }

    .Home_Link a:hover {
        color: red;
    }

    #imageflexbox {
        display: flex;
        flex-wrap: wrap;
        gap: 100px;
        justify-content: center;
        color: white;
        text-decoration: underline;
    }

    #imageflexbox img {
        width: 140px;
        height: 180px;
        object-fit: contain;
    }

    .pagewrap {
        max-width: 1600px;
        margin: 0 auto;
    }

    .modesgrid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 55px;
    }

    .modecard {
        border: 5px solid black;
        border-radius: 42px;
        min-height: 255px;
        padding: 40px 34px 28px;
        text-align: center;
        color: white;
        box-sizing: border-box;
    }

    .modecard h2 {
        margin: 0 0 14px;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.1;
    }

    .modecard p {
        margin: 0;
        font-size: 13px;
        line-height: 1.35;
    }
    .logo-link {
        display: block;
        text-align: center;
    }

    .logo-link .img {
        display: block;
        margin: 0 auto;
        width: 55%;
        max-width: 750px;
    }

    .click-text {
        color: white;
        font-size: 18pt;
        margin-top: 12px;
        font-family: "Lilita One", sans-serif;
        text-decoration: underline;
    }
}

@media(min-width: 768px){
    
        html,
    body {
        margin: 0;
        padding: 0;
        min-height: 100%;
    }

    body {
        min-height: 100vh;
        background-image: url(https://preview.redd.it/free-brawl-stars-background-for-anybody-who-wants-to-make-v0-iapqmzd3zu721.jpg?width=640&crop=smart&auto=webp&s=8ea01387608fc282b5c562f40a8d56e3ba0f77e4);
        background-size: cover;
        background-position: center;
        font-family: "Lilita One", sans-serif;
    }

    .navbar {
        width: 100%;
        background: black;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
        height: 110px;
    }

    .navlogo {
        height: 35px;
        width: auto;
        display: block;
    }

    .nav-link {
        color: white;
        font-size: 14pt;
        font-family: "Lilita One", sans-serif;
        font-weight: bold;
        margin-right: 20px;
        text-decoration: underline;
        transition: color 0.5s ease-in-out;
    }

    .nav-link:hover {
        color: red;
    }

    main {
        display: flex;
        justify-content: center;
        padding: 30px 20px 10px;
    }

    .content_box {
        width: 100%;
        max-width: 1000px;
        margin: 40px auto 0;
        text-align: center;
    }

    .page_title {
        text-align: center;
        font-size: 44px;
        color: white;
        font-family: "Lilita One", sans-serif;
        text-decoration: underline;
        margin: 0 0 25px 0;
    }

    .page_subtitle {
        font-size: 22px;
        color: white;
        font-style: italic;
        margin: 5px 0 25px;
    }

    .Brawlstars_info {
        border: 8px solid black;
        border-radius: 80px;
        padding: 35px 50px;
        color: white;
        text-align: center;
        box-sizing: border-box;
        font-size: 20pt;
    }

    .Home_Link {
        text-align: center;
        margin-top: 25px;
    }

    .Home_Link a {
        color: white;
        text-decoration: underline;
        font-size: 22pt;
        font-family: "Lilita One", sans-serif;
        transition: color 0.5s ease-in-out;
    }

    .Home_Link a:hover {
        color: red;
    }

    #imageflexbox {
        display: flex;
        flex-wrap: wrap;
        gap: 100px;
        justify-content: center;
        color: white;
        text-decoration: underline;
    }

    #imageflexbox img {
        width: 140px;
        height: 180px;
        object-fit: contain;
    }

    .pagewrap {
        max-width: 1600px;
        margin: 0 auto;
    }

    .modesgrid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 55px;
    }

    .modecard {
        border: 5px solid black;
        border-radius: 42px;
        min-height: 255px;
        padding: 40px 34px 28px;
        text-align: center;
        color: white;
        box-sizing: border-box;
    }

    .modecard h2 {
        margin: 0 0 14px;
        font-size: 25px;
        font-weight: 400;
        line-height: 1.1;
    }

    .modecard p {
        margin: 0;
        font-size: 16px;
        line-height: 1.35;
    }
    .logo-link {
        display: block;
        text-align: center;
    }

    .logo-link .img {
        display: block;
        margin: 0 auto;
        width: 55%;
        max-width: 750px;
    }

    .click-text {
        color: white;
        font-size: 1pt;
        margin-top: 12px;
        font-family: "Lilita One", sans-serif;
        text-decoration: underline;
    }
}

@media (min-width: 1025px) {
    html,
    body {
        margin: 0;
        padding: 0;
        min-height: 100%;
    }

    body {
        min-height: 100vh;
        background-image: url(https://preview.redd.it/free-brawl-stars-background-for-anybody-who-wants-to-make-v0-iapqmzd3zu721.jpg?width=640&crop=smart&auto=webp&s=8ea01387608fc282b5c562f40a8d56e3ba0f77e4);
        background-size: cover;
        background-position: center;
        font-family: "Lilita One", sans-serif;
    }

    .navbar {
        width: 100%;
        background: black;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
        height: 110px;
    }

    .navlogo {
        height: 70px;
        width: auto;
        display: block;
    }

    .nav-link {
        color: white;
        font-size: 24pt;
        font-family: "Lilita One", sans-serif;
        font-weight: bold;
        margin-right: 60px;
        text-decoration: underline;
        transition: color 0.5s ease-in-out;
    }

    .nav-link:hover {
        color: red;
    }

    main {
        display: flex;
        justify-content: center;
        padding: 30px 20px 50px;
    }

    .content_box {
        width: 100%;
        max-width: 1600px;
        margin: 40px auto 0;
        text-align: center;
    }

    .page_title {
        text-align: center;
        font-size: 44px;
        color: white;
        font-family: "Lilita One", sans-serif;
        text-decoration: underline;
        margin: 0 0 25px 0;
    }

    .page_subtitle {
        font-size: 22px;
        color: white;
        font-style: italic;
        margin: 5px 0 25px;
    }

    .Brawlstars_info {
        border: 8px solid black;
        border-radius: 80px;
        padding: 35px 50px;
        color: white;
        text-align: center;
        box-sizing: border-box;
        font-size: 28pt;
    }

    .Home_Link {
        text-align: center;
        margin-top: 25px;
    }

    .Home_Link a {
        color: white;
        text-decoration: underline;
        font-size: 22pt;
        font-family: "Lilita One", sans-serif;
        transition: color 0.5s ease-in-out;
    }

    .Home_Link a:hover {
        color: red;
    }

    #imageflexbox {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 200px;
        justify-content: space-evenly;
        justify-items: center;
        color: white;
        text-decoration: underline;
    }

    .brawler-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    #imageflexbox img {
        width: 200px;
        height: 200px;
        object-fit: contain;
        padding: 35px 50px;
    }

    .pagewrap {
        max-width: 1600px;
        margin: 0 auto;
    }

    .modesgrid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 55px;
    }

    .modecard {
        border: 5px solid black;
        border-radius: 42px;
        min-height: 255px;
        padding: 40px 34px 28px;
        text-align: center;
        color: white;
        box-sizing: border-box;
    }

    .modecard h2 {
        margin: 0 0 14px;
        font-size: 35px;
        font-weight: 400;
        line-height: 1.1;
    }

    .logo-link {
        display: block;
        text-align: center;
    }

    .logo-link .img {
        display: block;
        margin: 0 auto;
        width: 75%;
        max-width: 850px;
    }

    .click-text {
        color: white;
        font-size: 18pt;
        margin-top: 12px;
        font-family: "Lilita One", sans-serif;
        text-decoration: underline;
    }

    .modecard p {
        margin: 0;
        font-size: 20px;
        line-height: 1.35;
    }
}
