@font-face {
    font-family: 'Montserrat';
    src: url(../Montserrat-VariableFont_wght.ttf);
}

body {
    margin: 0px;
    font-family: Montserrat;
    font-weight: 550;
    background-image: url(../images/background_image.jpg)

}

.Titel {
    margin-bottom: 40px;
    text-align: center;
    
    color: white;
}
.container{
    background-color: rgb(104, 136, 186);
    margin-top: 60px;
    display: grid;
    grid-template-columns: none;
    justify-content: center;
    align-items: center;
    width: 31%;
    margin-left: 60%;
    height: 540px;
    border-radius: 10px;
    column-gap: 300px;
    row-gap: 60px;
}
.box{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 19px;
    height: 45px;
    width: 100%;
    color: white;
    background-color: #242424e5;;
    border-radius: 10px;

}


.mailbox{
    position: absolute;
    top: 0%;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: rgb(64, 64, 64);
    height: 100%;
    width: 50%;
}
.mailboxtext{
    font-size: 20px;
    
}
.Email{
    position: absolute;
    width: 100%;
    top: 18%;
}
#fname{
    width: 80%;
    height: 30px;
    text-align: center;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 15px;
}
#lname{
    width: 80%;
    height: 30px;
    text-align: center;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 15px;
}
#email{
    width: 80%;
    height: 30px;
    text-align: center;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 15px;
}

#dob{
    width: 80%;
    height: 30px;
    text-align: center;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 15px;
}
#Bericht{
    width: 80%;
    height: 120px;
    text-align: center;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 15px;
}
#Send{
    width: 50%;
    height: 28px;
    font-size: 16px;
    

}
label{
    margin-top: 40px;
}
@media only screen and (max-width: 1025px){
    
    .mailbox{
        justify-content: flex-end;
    }
    .Email{
        top: 14%;
    }
    .container{
        margin-top: 40px;
        height: 500px;
        width: 38%;
        margin-left: 57.5%;
    }
}
@media only screen and (max-width: 769px){
    .box{
        font-size: 16px;
    }
}
@media only screen and (max-width: 451px) {
    
    .container{
        width: 80%;
        margin-left: 10%;
        margin-top: 25px;
        border-radius: 10px;
        height: 460px;
    }
    #fname{
        width:300px;
        font-size: 14px;
    }
    #lname{
        width: 300px;
        font-size: 14px;
    }
    #email{
        width: 300px;
        font-size: 14px;
    }
    
    #dob{
        width: 300px;
        font-size: 14px;
    }
    #Bericht{
        width: 300px;
        font-size: 14px;
    }
    #Send{
        width: 200px;
        font-size: 14px;
    }
    .mailbox{
        top: 84%;
        width: 100%;
        height: 89%;
    }
    .Email{
        top: 3%;
        
    }
    
  }