/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    padding: 1em 0 1em 0;
    min-width: 100%;
    min-height: 100vh;
    background-image: url("img/bg.jpg");
    background-size: cover;
    width: auto;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}
.wrapper .main {
    width: 100%;
}

.wrapper .main .label {
    width: 100%;
    max-width: 400px;
    margin: 3em 0 0 0;
    box-shadow: 5px 10px 15px #646363;
}

.wrapper .main .form-wrap #form {
    display: flex;
    gap: 1em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1em 0 1em 0;
}

.wrapper .main .form-wrap #form div {
    display: flex;
    flex-direction: row;
    align-items: center;
}


.wrapper .main .form-wrap #form div .ref, .wrapper .main .form-wrap #form div .lot {
    width: auto;
    height: 100%;
    max-width: 50px;
}

.wrapper .main .form-wrap #form #ref_field, .wrapper .main .form-wrap #form #lot_field {
    margin: 2em 0em 2em 1em;
    padding: 0.75em 1em;
    box-shadow: 3px 6px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1em;
    outline: none;
    transition: all 0.3s ease-in-out;
    background-color: #fbfbfb;
}

.wrapper .main .form-wrap #form #ref_field:focus, .wrapper .main .form-wrap #form #lot_field:focus {
    border-color: #007BFF;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    background-color: #ffffff;
}

#button {
    margin: 2em 0em 2em 1em;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(135deg, #b0b0b0, #8c8c8c);
    box-shadow: 3px 6px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#button:hover {
    background: linear-gradient(135deg, #8c8c8c, #6e6e6e);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

#button:active {
    background: linear-gradient(135deg, #6e6e6e, #5a5a5a);
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}


.wrapper .main .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 1em 0 1em 0;
    width: 100%;
}
.wrapper .main .bottom div {
    width: 50%;
    display: flex;
    justify-content: end;
}




footer {
    width: 100%;
    height: 200px;
    background-color: #202020;
    display: flex;
    position: absolute;
    bottom: 0;
    color: #eeeeee;
}
.footer {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
@media screen and (max-width: 900px) {
    footer {
        flex-direction: column;
        height: auto;
    }
    
}

.footer div {
    width: 33.3%;
    padding: 25px;
}

footer .footer .left .footer-logo {
    max-width: 230px;
}


.body1 {
    display: flex;
    flex: 1;
    justify-content: center;
    text-align: center;
}

.body2 {
    flex: 1;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    background-color: #646363;
    padding: 1em 0 1em 0;
}

.body4 {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
}

.links {
    justify-content: left;
    display: flex;
}

.rechts {
    justify-content: right;
    display: flex;
}

.farbflaschen {
    width: auto;
    max-width: 500px;
    margin: 1em;
    align-self: flex-end;
}

.germany {
    width: 100%;
    max-width: 300px;
    margin: 1em;
    align-self: flex-end;
}

.logo {
    width: 100%;
    max-width: 50px;
    vertical-align: middle;
}



.permanentline-logo {
    width: 100%;
    max-width: 250px;
}

.permanentline {
    color: #eeeeee;
    padding-bottom: 0.5em;
}

.footer1{
    color: #eeeeee;
    font-size: 1.3em;
    padding-bottom: 1em;
}

.footer2{
    color: #eeeeee;
    font-size: 1.3em;
    padding-bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    }
.footer2 a {
    display: flex;
}   


a {
    color: #eeeeee;
    text-decoration: none;
}

b {
    font-size: 1.2em;
    font-weight: 300;
}



.email-icon {
    width: 24px;
    height: 24px;
    margin-right: 4px;
}
@media (max-device-height: 900px) {
    .body4 {
        display: none;
   } 

   .body2 {
       max-height: 300px;
    }

   .body1 {
       min-height: 80vh;
    }

    .permanentline-logo {
        display: none;
    }

    .permanentline {
        display: none;
    }
}
@media (max-device-width: 500px) {

    .body2 {
        flex-direction: column;
        justify-content: flex-start;
   } 

    .footer1{
        font-size: 1em;
    }

    .footer2{
        padding: 1em 0 1em 0;
        font-size: 1em;
    }

    .body1 {
       min-height: 65vh;
    }

}

@media screen and (max-width: 600px) {
    .links img, .rechts img {
        max-width: 90%;
    }
}