html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    touch-action: manipulation;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-container {
    display: none; /*grid*/
    grid-template-columns: 1fr 1fr; /* 2 sütun yap */
    grid-gap: 15px;
    justify-content: center;
    margin: 0px;
}

.hero-card {
    display: none; /* Varsayılan olarak kapalı */
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0px;
    padding: 0px;
    border-radius: 10px;
    color: #333;
    /*width: 350px;*/
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-name {
    border: none;
    background: none;
    font-size: 20px;
    width: 100%;
    
}

.hero-red { background-color: #ff6666; }
.hero-orange { background-color: #ffcc66; }
.hero-yellow { background-color: #e3e37d; }
.hero-green { background-color: #55d655; }
.hero-purple { background-color: #cc99ff; }
.hero-blue { background-color: #66ccff; }

.hero-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 20px;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-stats div span{
    font-size: 20px;
}


.gender-icon {
    font-size: 30px;
    cursor: pointer;
}

.add-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #008CBA;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 90%;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.add-btn:hover {
    background-color: #005f6b;
}

.delete-btn {
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
    color: black;
    width: 25px;
}

.increment-btn, .decrement-btn {
    cursor: pointer;
    font-size: 25px;
    border: none;
    background: none;
    color: black;
}

.attack-icon{
    font-size: 32px;
}
.level-icon{
    font-size: 23px;
}







.createJoin-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    margin-bottom: 20px;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input {
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 65%;
}

.form-group button {
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

.status {
    display: flex;
    position: fixed;
    bottom: 10px;

    margin-top: 20px;
    font-size: 18px;
}

.marginTop10{
    margin-top: 7px;
}







.statusInfoEnd, #statusInfo{
    padding:  5px 10px;
    margin:  0px 2px;
}
.copyButton {
    display: none;/*display: flex;*/
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding:  5px 10px;
    margin:  0px 3px;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    align-items: center;
}


.copyButton:hover {
    background-color: #0056b3;
}









/* Mobil cihazlar için medya sorgusu */
@media (max-width: 768px) {
    .hero-container {
        display: none;/*grid*/
        grid-template-columns: 1fr 1fr; /* Tek sütun */
        grid-gap: 10px 12px; /* Kartlar arası boşluk */
        justify-content: center;
        margin-left: 10px;
        margin-right: 20px;
        
    }
    

    .hero-card {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin: 0px;
        padding: 0px 5px;
        /*width: 150px;*/ /* Kart genişliğini tam yap */
        width: 95%;
    }
    
    .add-btn {
        right: 5px;
        top: 5px;
        font-size: 25px;
    }
    
    .delete-btn {
        background: none;
        border: none;
        font-size: 25px;
        cursor: pointer;
        color: black;
        width: 25px;
    }

    .createJoin-container {
        background: white;
        margin: 25px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        text-align: center;

        
    }
}

