*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #FAFAFA;
}

nav  div:first-child{
    background-color: #7c73e6;
    padding: 10px;
}

nav div:first-child h1{
    font-family: sans-serif;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 1px;
    color: white;
    margin-left: 10px;
}
nav div:last-child{
    background-color: white;
    padding: 8px;
}

nav div:last-child svg{
    fill: #7c73e6;
    width: 30px;
    height: 28px;
    margin-left: 15px;
}
nav div:last-child a:last-child svg{
    margin-left: 25px;
}

.form{
    background-color: white;
    width: 550px;
    padding: 20px 30px;
    margin: 40px auto;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 15px;
}
.form h1{
    text-align: center;
    font-family: sans-serif;
    margin-bottom: 20px;
    color: #7c73e6;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 30px;
}
.form form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form form .input-text input,textarea{
    width: 100% !important;
}
.form form .input-text input,textarea{
    border: 0;
    border-bottom: 1px solid #7c73e6;
    outline: none;
    background-color: #FAFAFA;
    font-size: 20px;
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form form .input-text input:focus{
    border: none;
    border-left: 4px solid #7c73e6;
    
}
.form form .input-text textarea:focus{
    border: none;
    border-left: 4px solid #7c73e6;
}

.form form button{
   display: block;
   background-color: #7c73e6;
   border: 0px solid;
   padding: 10px 15px;
   font-size: 20px;
   margin: auto;
   border-radius: 5px;
   color: white;
   cursor: pointer;
   font-weight: 500;
   letter-spacing: 1.2px;
   box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.dangerAlert{
    width: 100%;
    background-color: #F8D7DA;
    text-align: center;
    padding: 5px;
    font-size: 25px;
    font-weight: 700;
    color: #7B1557;
    margin-bottom: 10px;
    font-family: sans-serif;

}
.successAlert{
    width: 100%;
    background-color: #7c73e6;
    text-align: center;
    padding: 5px;
    font-size: 25px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    font-family: sans-serif;

}
@media (max-width:768px) {
    nav div:first-child h1{
       text-align: center;
    }
    nav div:last-child{
       display: flex;
       justify-content: center;
    }
    .form{
         width: 90% !important;
    }
}


