.center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.space {
     display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: 100%;
}

.trenner {
    background-color: rgba(235,235,235, 0.3);
    height: 1px;
    margin-top: 2%;
    margin-bottom: 2%;
}

details {
    width: 100%;
    font-size: 20px;
    

}

summary{
    width: 100%;
    font-size: 24px;
    font-weight: bold;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 20% 15%,
            rgba(255,255,255,0.08),
            transparent 25%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(255,255,255,0.04),
            transparent 30%
        ),
        linear-gradient(
            to bottom,
            #5a0d18 0%,
            #451017 20%,
            #322425 50%,
            #2b2b2b 75%,
            #1e1e1e 100%
        );

    background-attachment: fixed;
    color: rgb(235,235,235);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}
header{   
    height: 50vh;
    width: 100%;
    margin: 0;
    /*padding: 0;*/
  /*  background-color: whitesmoke;*/
    box-sizing: border-box;
   
 .logo{
    max-height: 50%;
    margin: 3%;
 }   
}
.header-top{
display:flex;
justify-content:space-between;
align-items:center;
height: 25%;
width: 100%;
padding: 10px, ;
background-color: rgba(20, 20, 20, 0.2);
}

.header-content{

display:flex;
justify-content: center;
align-items: center;
height: 30vh;
width: 100%;
padding: 20ox;
}

.welcome-text{
width: 50%;
display: flex;
justify-content: center;
text-align: center;
}

.welcome-text h1{
font-size:2.4rem;
margin-bottom:0.5rem;

}

.h2{
font-size:1.2rem;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
}

.header-image{
display:flex;
justify-content:center;
align-items:center;
box-sizing: border-box;
width: 50%;
}

.header-image img{
max-height:100%;
max-width:100%;
object-fit:contain;
}

.nav-tabs{
display:flex;
justify-content: flex-start;
align-items: center;
list-style:none;
gap:1rem;
max-width: 100%;
background-color: rgba(102, 102, 102, 0.3);

}

.nav-tabs li{
padding:0.8rem 1.2rem;
transition:0.3s;
cursor:pointer;
border-right: 1px;
border-left: none;
border-style: solid;
border-color: rgba(235, 235, 235, 0.1);
border-bottom: none;
border-top: none;
border-bottom-right-radius: 15px;

}

.nav-tabs li:hover{
background:rgba(235, 235, 235, 0.3);
transform:translateY(-3px);
}

/*Main*/
main {
    max-height: auto;
    margin-top: 10%;
    margin-left: 10%;
    width: 80vw;
    
    
}
 
table {
    margin: 4px;
    
}
.buttons {
    background-color: red;
    border-radius: 15px;
    margin-top: 20px;
    padding: 5px;  
    font-weight: bold;  
}
.buttons:hover{
background:rgba(235, 235, 235, 0.3);
transform:translateY(-3px);
cursor: pointer;
}
.block {
    border: 0px;
    border-radius: 10px;
    border-color: rgb(235, 235, 235);
    border-style: solid;
    padding-top: 5%;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-height: 100vh;
    box-sizing: border-box;
}

.pad{
    padding-left: 5vh;
}

#benefits {
    border: 1px;
    border-radius: 10px;
    border-color: rgb(235, 235, 235);
    border-style: solid;
    margin-top: 5px;
    margin-bottom: 30px;
    padding-left: 5vw;
    width: 20vw;
    height: 60vh;

}

#offer {
    border: 1px;
    border-radius: 10px;
    border-color: rgb(235, 235, 235);
    border-style: solid;
    margin-top: 5px;
    margin-top: 5px;
    margin-bottom: 30px;
    padding-left: 5vw;
    padding-right: 2vh;
    width: 20vw;
    height: 60vh;
}

#subjects {
    border: 1px;
    border-radius: 10px;
    border-color: rgb(235, 235, 235);
    border-style: solid;
    margin-top: 5px;
    margin-bottom: 30px;
    padding-left: 5vw;
    width: 20vw;
    height: 60vh;
}
.time {
    margin-top: 50px;
    margin-bottom: 30px;
}

.time-pad {
    width: 40%;
    
}
.time-pad2 {
    width: 40%;
    margin-left: 10%;
    
}
.time-pad3 {
    width: 40%;
    margin-left: 20%;
    
}
.time-pad4 {
    width: 40%;
    margin-left: 30%;
    
}
.time-pad5 {
    width: 40%;
    margin-left: 40%;
    
}
.time-pad6 {
    width: 40%;
    margin-left: 50%;
    
}
.timeline {
max-width: 80%;
margin: 80px auto;
position: relative;
padding-left: 40px;
}
 
.timeline::before {
content: "";
position: absolute;
left: 15px;
top: 0;
width: 4px;
height: 100%;
background: linear-gradient(
to bottom,
#8B1E3F,
#4d4d4d
);
}

.timeline-item {
position: relative;
margin-bottom: 50px;
}

.dot {
position: absolute;
left: -33px;
top: 5px;
width: 22px;
height: 22px;
background: #8B1E3F;
border-radius: 50%;
border: 3px solid #f0f0f0;
box-shadow: 0 0 12px rgba(139, 30, 63, 0.6);
}

.content {
background: rgba(60, 60, 60, 0.6);
backdrop-filter: blur(10px);
padding: 20px;
border-radius: 15px;
border-left: 4px solid #8B1E3F;
}

.content h3 {

margin-bottom: 10px;
}

.table_p{
    width: 30%;
    margin-top: 2%;
    margin-bottom: 2%;
}

.th_70 {
    background-color: rgba(102, 102, 102, 0.4);


}

.th_30 {
    background-color: rgba(102, 102, 102, 0.4);
}


.table_70 {
     width: 70%;
     display: flex;
    text-align: left;
    background-color: rgba(102, 102, 102, 0.2);
   
}
.table_30 {
    width: 30%;
    text-align: end;
    padding-right: 1px;
    background-color: rgba(102, 102, 102, 0.2);
}



.me_image {
    width: auto;
    height: 60%;
    border-radius: 10px;
}

.text_me {
    width: 60%;
    border-radius: 10px;
    border-style: solid;
    border: 1px;
    border-color: rgb(235, 235, 235);
}

#kontakt {
max-width: 100%;
margin: 50px auto;
}

form {
display: flex;
flex-direction: column;
gap: 15px;
}

label {
font-weight: bold;
}

input {
    width: 20%;
padding: 12px;
background-color: rgba(60, 60, 60, 0.5);
border: 1px solid, rgba(102, 102, 102, 0.4);
border-radius: 10px;
font-size: 1rem;
}
select {
    width: 20%;
padding: 12px;
background-color: rgba(60, 60, 60, 0.5);
border: 1px solid, rgba(102, 102, 102, 0.4);
border-radius: 10px;
font-size: 1rem;
}
textarea {
width: 80%;
padding: 12px;
background-color: rgba(60, 60, 60, 0.5);
border: 1px solid, rgba(102, 102, 102, 0.4);
border-radius: 10px;
font-size: 1rem;
}

input:focus {
    outline: none;
border-color: rgb(235, 235, 235);
box-shadow: 0 0 10px rgba(139, 30, 63, 0.5);
}
select:focus{
    outline: none;
border-color: rgb(235, 235, 235);
box-shadow: 0 0 10px rgba(139, 30, 63, 0.5);
}
textarea:focus {
outline: none;
border-color: rgb(235, 235, 235);
box-shadow: 0 0 10px rgba(139, 30, 63, 0.5);
}
 
textarea {
resize: vertical;
}

.checkbox {
display: flex;
align-items: center;
gap: 10px;
}

footer {
background: rgba(0, 0, 0, 0.3);
border-top: 1px solid rgba(255,255,255,0.4);
padding: 30px;
padding-bottom: 80px;
margin-top: 50px;
}

.footer-content {
width: 100%;



.footer-left {
width: 30%;
text-decoration: none;
margin: 0 10px;
display:  flex;
text-align: start;
justify-content: start;
align-items: center;

}

.footer-middle {
max-width: 30%;
margin: 0 auto;
text-align: center;
display: flex;
text-align: center;
justify-content: center;
align-items: center;
}



/*.footer-left:hover {
text-decoration: underline;
}*/

.footer-right {
width: 30%;
text-decoration: none;
margin: 0 10px;
display:  flex;
text-align: end;
justify-content: flex-end;
align-items: center;

}

/*.footer-right:hover {
text-decoration: underline;
}*/