* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
}

@font-face {
    font-family: Batman;
    src: url('/assets/fonts/batman_forever (1)/batmfa__.ttf') format('truetype');
}

body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: #000;
}

.waves1{
    visibility: hidden;
}

.waves2{
    visibility: hidden;
}

@media (max-width: 1248px){
    .waves {
        visibility: hidden;
    }

    .waves1{
        visibility: visible;
    }
}

@media (max-width: 400px){
    .waves2{
        visibility: visible;
    }

    .waves1{
        visibility: hidden;
    }
}

#box-shadow-div{
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 100%;
    background: radial-gradient(#fff -10%, #62ff00, #000 70%);
    margin-top: -200px;
    margin-left: -200px;
    z-index: -2;
}

nav {
    height: 80px;
    width: 100%;
    background: #636363;
}

.logo {
    font-size: 40px;
    color: white;
    padding: 0 100px;
    line-height: 80px;
    font-family: 'Batman';
}

.logo.active,.logo:hover{
    color: #62ff00;
    transition: 0.5s;
}

nav ul{
    float: right;
    margin-right: 40px;
    font-family: 'Batman';
}

nav li {
    display: inline-block;
    margin: 0 10px;
    line-height: 80px;
}

nav a {
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    padding: 10px;
}
a.active,a:hover {
    color: #62ff00;
    transition: 0.5s;
}

nav #icon {
    color: white;
    font-size: 40px;
    line-height: 80px;
    float: right;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

@media (max-width: 909px){
    nav #icon{
        display: block;
    }
    nav ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #000;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    nav li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav a{
        font-size: 20px;
    }
    a.active,a:hover{
        border: none;
        color: #62ff00;
    }
    nav ul.show {
        left: 0;
        z-index: 3;
    }

    label.logo{
        font-size: 32px;
        padding-left: 60px;
    }
}

/*Dota Page*/

.SBackground{
    --angle: 0deg;
    box-sizing: border-box; /* keeps the 1rem border inside the declared width instead of adding to it */
    width: 90%;
    position: absolute;
    left: 4%;
    top: 15%;
    border: 1rem solid #000; /* explicit black: without a colour it follows the text colour, which phone dark modes turn grey. Revisit if a light mode is added */
    overflow-x: hidden;
    overflow-y: auto; /* Enable vertical scroll if necessary */
    max-height: 80vh; /* safety cap so it can still scroll on very short screens */
}

.SBackground > .SDiv2 {
    background: #000;
    opacity: 0.8;
    position: absolute;
    inset: 0; /* fills the box regardless of the box's own height being auto */
    z-index: 0;
}

@media (max-width: 1648px) {
    .SBackground {
        width: 88%;
        left: 6%;
    }
}

@media (max-width: 1248px) {
    .SBackground {
        width: 85%;
        left: 7.5%;
    }
}

@media (max-width: 1048px) {
    .SBackground {
        width: 82%;
        left: 9%;
    }
}

@media (max-width: 909px) {
    .SBackground {
        width: 92%;
        left: 4%;
    }
}

/* Page heading, same look as the Warframe page heading */
.dota-title {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem 0;
    text-align: center;
}

.dota-title h1 {
    font-family: "Batman";
    font-size: 68px;
    line-height: 78px;
    text-transform: uppercase;
    color: #62ff00;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #000;
}

@media (max-width: 505px) {
    .dota-title h1 {
        font-size: 40px;
        line-height: 48px;
    }
}

.dota-profile {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0 1rem;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 100%;
    border: 4px solid #62ff00;
    background: #1a1a1a;
    display: grid;
    place-items: center;
}

.profile-pic .material-icons {
    font-size: 90px;
    color: #62ff00;
}

.steam-name {
    margin-top: 1rem;
    font-family: "Batman";
    font-size: 32px;
    color: #fff;
    text-transform: uppercase;
}

.dota-heroes {
    position: relative;
    z-index: 1;
    padding: 1rem 0 2rem;
    text-align: center;
    color: #fff;
}

.dota-heroes h3 {
    font-family: "Batman";
    font-size: 24px;
    color: #62ff00;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-pic {
    width: 100%;
    max-width: 70px;
    aspect-ratio: 1;
    border-radius: 8px;
    border: 2px solid #62ff00;
    background: #1a1a1a;
    display: grid;
    place-items: center;
}

.hero-pic .material-icons {
    font-size: 32px;
    color: #62ff00;
}

.hero-name {
    font-size: 13px;
    color: #fff;
    text-align: center;
}

@media (max-width: 505px) {
    .hero-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
