/* Farben:
#AA3939
#550000
#801515
#D46A6A
#FFAAAA
*/


body{
    background-color: #AA3939;
    color: #FFAAAA;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
h1,h2{
    text-align: center;
}

fieldset{
    border-color: #FFAAAA;
    border-radius: 25px;
    border-style: double dashed;
    display: grid;
}

legend{
    text-align: center;
}

.eingabeBereich{
    margin: auto;
    font-size: larger;
}

#btnBerechnen, #btnReset{
    background-color: #801515;
    color: #FFAAAA;
    font-size: large;
    font-weight: bold;
    width: 250px;
    height: 50px;
    border-radius: 25px;
    border-color: #550000;
    border-style: solid;
    margin: auto;
}

#groesse, #gewicht{
    background-color: #801515;
    color: #FFAAAA;
    font-size: large;
    width: 250px;
    height: 45px;
    border-radius: 25px;
    border-color: #550000;
    border-style: solid;
    text-align: center;
    margin: auto;   
}

#ergebnis{
    font-size:xx-large;
    margin: auto;
    text-align: center;
}

.container{
    background-color: #D46A6A;
    color: #550000;
    padding: 10px;
    border-radius: 25px;
    width: 33%;
    margin: auto;
}

@media only screen and (max-width: 600px) {
    /* CSS-Regeln für Bildschirme mit einer Breite von maximal 600px */
    .container {
        width: 80%; /* Beispielhaftes Anpassen der Breite */
    }
    
    #ergebnis{
        font-size:large;
        margin: auto;
        text-align: center;
    }

    .person {
        width: 100px; /* Breite der SVG */
        height: 200px; /* Höhe automatisch berechnen */
        fill: url(#FFAAAA);
        stroke: white;
        fill:#FFAAAA;
        stroke-width: "3";
        margin: 10px;
        transition: width 1s ease-in-out; /* Animationseffekt für Breitenänderung */
        transition: transform 1s ease-in-out; /* Übergang für die Transformation */
        transform-origin: left right; /* Skalierung nur von der linken Seite */
    }
}


.personContainer {
    display: flex;
    margin: auto;
}

.person {
    width: 200px; /* Breite der SVG */
    height: 300px; /* Höhe automatisch berechnen */
    fill: url(#FFAAAA);
    stroke: white;
    fill:#FFAAAA;
    stroke-width: "3";
    margin: 10px;
    transition: width 1s ease-in-out; /* Animationseffekt für Breitenänderung */
    transition: transform 1s ease-in-out; /* Übergang für die Transformation */
    transform-origin: left right; /* Skalierung nur von der linken Seite */
}
