@import url("../common.css");

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    border-radius: 8px;
    flex-direction: column;
}

#container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 1em;
    margin-top:2em;
    max-width: 800px;
    width: 90%;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

#eigenschaften {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 1em;
    padding: 1em 1em;
    display: flex;
    justify-content: space-between;
    padding-bottom: 0em;
    height: 180px;
}

#eigenschaften > div {
    flex: 1;
    margin: 0 1em;
}

#agg { padding-top: 2em; }

#eigenschaften2 {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding-bottom: 1em;
}

#geschlecht { padding-top: 3em; }

#gender { font-size: x-large; }

#age,
#height,
#weight { width: 75px; height: 25px; }

#age { transform: translateX(10px); }
#height { transform: translateX(15px); }
#weight { transform: translateX(12px); }

#kfa { padding-top: 2em; }
#fatshare { width: 75px; height: 25px; }

#aktivität {
    padding: 2em 2em;
    display: flex;
    justify-content: space-around;
    flex: 1;
    margin: 0 1em;
}

#ziel { font-size: 25px; }

#sportwoche,
#alltagsport {
    font-size: 15px;
    padding: 0.5em 1em;
    border: 1px solid white;
    border-radius: 10px;
    background-color: #ffffff33;
    color: white;
    cursor: pointer;
}

#alltagsport { width: 250px; }
#sportwoche { width: 130px; }

#Alltag { padding-left: 20em; }

#calc,
#infoBtn,
#openPopup {
    padding: 0.5em 1em;
    border: 1px solid white;
    border-radius: 10px;
    background-color: #ffffff33;
    color: white;
    cursor: pointer;
}


.popup-overlay,
.popup-content,
.close-button {
    /* styles moved to common.css */
}

a.button {
    background-color: #2e1a60;
    color: white;
    border: none;
    padding: 0.8em;
    font-size: 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition:
            background 0.3s ease,
            transform 0.2s ease;
    text-decoration: none;
    margin-top: 10px;
}

.back-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.back-button {
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #2e1a60;
    color: white;
    margin-top: 15px;
}

.back-button:hover {
    background-color: #42247a;
    transform: scale(1.05);
}