body {
    background-color: #eeeeee;
    height: calc(100vh - 2em);  
    margin: 1em;
    font-family: 'Segoe UI';
	min-width:400px;        /* Suppose you want minimum width of 1000px */
	width: auto !important;  /* Firefox will set width as auto */
	width:400px;            /* As IE6 ignores !important it will set width as 1000px; */
}

.txartela {
    position: relative;
    background-color: #ffffff;
    /*margin-left: 15%;
    margin-right: 15%;*/
    border-radius: 4px;
    box-shadow: 0px 0px 8px #888888;
    width: fit-content;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.iruditaizenburua {
    color: white;
    position: relative;
}
img {
    max-width: 100%;
    border-radius: 4px 4px 0 0;
}
h1.izenburua {
    display: inline-block;
    position: absolute;
    padding: 1em;
    bottom: 0;
    left: 0;
    background-color: #cecece55;
    width: calc(100% - 2em);
    margin: 0;
}

.kreditua {
    padding: 1em;
    text-align: right;
    color:gray;
    font-size: x-small; 
}
  
.istorioa {
    padding: 0 1em 0 1em;
    color: black;
    text-align: justify;
    text-justify: inter-word;
}

.erabakia {
    font-style: italic;
    padding: 1em 0 0 1em;
    color: black;
    text-align: left;
}

.akzioa {
    padding: 1em;
    color: black;
	display:flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.botoia {
    background-color: white; 
    border:1px solid green;
    color: green;
    padding: 0.5em 2em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    min-width: 12rem;
}
.botoia:hover {
    background-color: green;
    color: white;
}
.right{
    text-align: right;
    padding: 1rem;
}
.eragiketa{
    margin-top: 1rem;
}
.eragiketa > *{
    margin-left: 1rem;
}
span{
    font-weight: bold;
}

.loseBg{
	background: linear-gradient(#e66465, #9198e5);
}
.winBg{
	background: linear-gradient(#5BDB62, #9198e5);
}

.abestiak{
    margin: 1rem;
}
.abestia{
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    border: solid black 1px;
    border-radius: 5px;
    padding: 0.5rem;
    background-color: lightgray;
}
.abestia > img{
    max-width: 7rem;
    height: auto;
}

#homeLogo{
    width: 2rem;
    height: auto;
}

@media (min-width: 1250px){
    .txartela{
        max-width: 50%;
    }
}


/*
TBD
- Orriaren marko orokorra eta enkuadrea
- H1-Izenburua erlatiboa
- Istorioa justifikatu
- Flexgrid sartu eta row-column kudeatu?

*/