/*================================*/
/*    INDEX.CSS                   */
/*    2025-01-09                  */
/*================================*/

*{
    /*Keep it inside 100%*/
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

*:focus{outline:0; }

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

body{
    background-color: #f1f1f1;
    background-image : url("./graphics/background.jpg");
    background-repeat: repeat;
    font-family: 'Noto Sans', sans-serif;
}

main{
    padding:12px;
    width:100%;
    max-width:600px;
    /*height: 100%;*/
    margin:0 auto;
}

p{margin:0}
.v-center{margin:auto 0}
.flex-ctr{
    display: flex;
    align-items: center;
    justify-content: center;
}

article{
    display: none;
}
#home{display:block; }


article>.content{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:12px;
}

img.title{
    width:360px;
    height:90px;
}

#home img.type{
    width:256px;
}

section{
    background: rgba(0,0,0,0.4);
    color: black;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid black;
    width: 100%;
}

section.double_damage_from{background: rgba(70,130,180,0.6);}
section.half_damage_from{background: rgba(70,130,180,0.4);}
section.no_damage_from{background: rgba(70,130,180,0.2);}

section.double_damage_to{background: rgba(220,20,60,0.6);}
section.half_damage_to{background: rgba(220,20,60,0.4);}
section.no_damage_to{background: rgba(220,20,60,0.2);}

section div.title{
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

section div.title p{
    margin:auto 0;
    text-transform: uppercase;
    font-size: 1.2rem;
}

section .types{
    display: flex;
    flex-wrap: wrap;
    gap:8px;
}

section img.stype{
    width: 128px;
    height:auto;
}

img.home-button{
    width: 48px;
    height: auto;
    margin-top: auto;
}

img.effect{
    height:32px;
    width:32px;
}
