html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    overflow: scroll;
    overflow-x: hidden;
    background-color: whitesmoke;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url(Images/BackGround.jpeg);
    background-attachment: fixed;
    background-size: cover;
}

a {
    text-decoration: none;
    transition: all .5s;
    color: black;
}
a:hover,
a:focus {
    color: rgb(255, 145, 204);
}

/*--------------------- Aufbau ---------------------*/
.grid-container {
    display: flex;
    flex: 1; 
    display: grid;
    grid-template-areas: 
    'header header header'
    'left main right';
    grid-template-columns: 0.5fr 3fr;
    grid-template-rows: auto 1fr auto;
}
.grid-container > div {
    box-sizing: border-box;
}
/*----------- Head -----------*/
.itemHead {
    grid-area: header;
    display: grid;
    grid-template-areas: 
    'link logo'
    'heading heading';
    grid-template-columns: 3fr 1fr;
}

/*----------- Left -----------*/
.itemLeft {
    grid-area: left;
}

/*----------- Main -----------*/
.itemMain {
    grid-area: main;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    height: 100%; 
    padding: 20px;
    width: 70vw;
}

.float{
    float: left;
}

/*----------- Right -----------*/
.itemRight {
    grid-area: right;
}

/*----------- Footer -----------*/
.itemFooter {
    width: 100%;
    height: 100%;
    padding: 2px;
    background-image: linear-gradient(90deg, rgb(217,119,214,255) 0%, rgb(255, 145, 204) 53%);
    box-sizing: border-box;
}

/*--------------------- Head Unterteilung ---------------------*/
.Link {
    grid-area: link;
    padding-top: 1vw;
    padding-bottom: 1vw;
}
.Link > a {
    box-sizing: border-box;
    padding-left: 2vw;
    padding-right: 1vw;
    border-left: 2px solid black;
    margin: 3px;
}

.Logo {
    grid-area: logo;
}
.Logo img{
    width: 10vh;
}

.Heading {
    grid-area: heading;
    text-align: center;
}

/*--------------------- Main Unterteilung ---------------------*/
/*----------- Text -----------*/
.text {
    margin-bottom: 20px;
}
.text > h2,h3,h4 {
    color: rgb(217,119,214,255);
}

form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 60vw;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.full-width {
    flex: 1 1 100%;
}

label {
    margin-bottom: 8px;
    color: #34495e;
}

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

fieldset {
    border: none;
    padding: 0;
}

textarea {
    resize: vertical;
}

/* Button-Styling */
button {
    background-color: rgb(217,119,214,255);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background-color: rgb(255, 145, 204);
}

