body {
    background-color: #EFEFE8;
    margin: 0;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 15px;            
} /*formatierung vom body hintergrund */


.title {
    background-color: #283845;
    color: #EFEFE8;
    margin-bottom: 20px;     
    display: inline-block;
    padding: 20px 40px;
    border-radius: 20px;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #D2C4B4;
}/* Formatierung des titel */
.profile-container {
    text-align: center;
    margin-bottom: 10px;
} /* ausrichtung des bildes */ 
.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover; /* füllt das bild auf*/
    border: 4px solid #D2C4B4;
} /* Formatierung des profil bildes*/
.section-title {
    font-size: 22px;
    color: #283845;
    margin-top: 20px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
    text-align: center;
}/* kleinerer titel für abschnitte*/

.box {
    background-color: #283845;
    color: #FFFFFF;
    display: block;
    padding: 20px 25px;      
    border-radius: 20px;
    font-size: 24px;
    font-weight: bold;
    margin: 0; 
    width: 100%;
    max-width: 650px;
    box-sizing: border-box;
    text-align: center; 
}/*formatierung für boxen im lebenslauf */
.date {
    display: block;       
    font-size: 16px;      
    font-weight: normal;  
    color: #8EA8C3;       
    margin-top: 5px;      
}/*formatierung für datum und infos in der box */


.hobby-link {
    color: #D2C4B4;
    text-decoration: none;
    word-break: break-all;
    font-weight: bold;
} /*formatierung für links im hobby abschnitt */
.hobby-link:hover {
    text-decoration: underline;
    color: #EFEFE8;
}/* Formatierung für links im hobby abschnitt wenn der mauzeiger über ihnen ist*/


.form-label {
    margin-top: 15px;
    font-size: 16px;
    font-weight: normal;
    text-align: left; 
} /* zusätzliche fomatierung um labels herum*/

label {
    display: block;
    font-size: 14px;
    color: #D2C4B4;
    margin-bottom: 5px;
} 
/*formatier den label tag */

input[type="text"], 
input[type="number"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #8EA8C3;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #EFEFE8;
    color: #283845;
} 
/*formatierung von imputs für interaktionen */
button {
    background-color: #3D5A80;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.2s;
    width: 100%;
}
/*formatierung von buttons für interaktionen */

button:hover {
    background-color: #8EA8C3;
    color: #283845;
}/*wie der button aussieht wenn die maus darüber ist */

.counter-btn {
    font-size: 28px;
    padding: 15px;
    width: 120px;
    margin: 10px auto;
    display: block;
}
/*formatierung des höhzähl buttons */

.error-msg {
    color: #FF6B6B;
    font-size: 14px;
    margin-top: 5px;
} /* fomatierung der errornachricht*/

@media (max-width: 700px) {
    body {
        padding: 20px 12px;
    }
    .box, .title {
        max-width: 100%;
    }
} /* Media ausrichtung für handy und pc*/