.banner{
    background-color: black;
    width: 100%;
    height: 35vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.banner-title {
    width: 100%;
    height: 30%;
    justify-content: center;
    display: flex;
    align-items: center;
}

.banner-title h1 {
    font-size: var(--fontsize3);
    color: var(--white);
    text-shadow: var(--shadowText);
}
.banner-title h1::first-letter{
    text-transform: uppercase;
}

.banner-content .banner-content {
    height: 30%;
    display: flex;
    width: 80%;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-direction: row;
}
#form{
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    width: 40%;
    border: 1px solid lightgray;
    align-items: center;
    padding: 20px;
    position: relative;
}
.title{
    position: absolute;
    background: white;
    width: 25%;
    text-align: center;
    top: -10px;
    font-size: 20px;
}
.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 80%; 
}
.container label{
    padding-top: 15px;
}
.container input{
    margin-top: 5px;
    padding: 10px;
    width: 100%;
}

.submitbtn{
    background: #cbd9d1;
    padding: 15px 60px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s ease;
    margin: 10px 0px;
}
.submitbtn:hover{
    background:var(--lightgray);
}
.register{
    padding: 10px 0px;
}
.register a{
    text-transform: uppercase;
}
.message-error{
    width: 90%;
    display: flex;
    background: lightcoral;
    justify-content: center;
    padding: 15px;
    margin-bottom: 10px;
    color: red;
}
.message-success{
    width: 100%;
    display: flex;        
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 20px;
    background: lightgreen;
    padding: 15px;
    margin-bottom: 10px;
    color: green;
}

@media only screen and (max-width: 1380px) {
    .title{
        width: 30%;
    }
}
@media only screen and (max-width: 1110px) {
    .title{
        width: 35%;
    }
}
@media only screen and (max-width: 940px) {
    .title{
        width: 40%;
    }
}
@media only screen and (max-width: 860px) {
    .title{
        width: 45%;
    }
    #form{
        width: 50%;
    }
}
@media only screen and (max-width: 640px) {
    #form {
        width: 60%;
    }
}
@media only screen and (max-width: 520px) {
    #form {
        width: 70%;
    }
}
@media only screen and (max-width: 450px) {
    #form {
        width: 80%;
    }
}
@media only screen and (max-width: 390px) {
    #form {
        width: 95%;
    }
    .submitbtn {
        padding: 15px 20px;
    }
}
