/*Reset*/
body {
    margin: 0;
    padding: 0;
     background-color: #E3DFFF;
     text-transform: capitalize;
}

/*Navbar*/
#navbar {
    display: grid;
    grid-template-columns: 3fr 1.5fr;
    justify-content: center;
    padding: 0px 1%;
    position: relative;
}

#navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #197278;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: .6;
}
.logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo img {
    width: 10%;
    margin-right: 10px;
}
.services {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.services a {
    text-decoration: none;
    color: black;
    transition: all 0.5s;
}
.services a:hover {
    text-decoration: underline;
    color: white;
}
.services a:not(:first-child) {
    margin-left: 70px;
}
.active {
    text-decoration: underline !important;
    color: white !important;
}

/*Message*/
#message{
    padding: 0.5% 3%;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    display: none;
    position: sticky;
    top: 0;
}
#cross{
    cursor: pointer;
    margin-left: 10px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-family: 'Segoe UI Symbol';
}
#cross:hover{
    color: blue;
}
#message p{
    margin-right: 50px;
}
.success{
    background-color: rgb(75, 243, 75);
}
.failure{
    background-color: rgb(233, 98, 98);
}

/*Home Section*/
.homeSection{
    margin: 2% 3%;
    padding: 2% 3%;
    position: relative;
    border-radius: 5px;
}
.homeSection::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0; 
    background: url('../IMGs/1.jpg');
    background-repeat: no-repeat;
    background-position:center;
    background-size:cover;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
    border-radius: 5px;
}
/*Add Form*/
.addForm{
    width: 70%;
}
.addForm input, .addForm select, .addForm textarea{
    width: 100%;
    padding: 10px 13px;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 2px;
}
.home{
    position: relative;
    padding: 2%;
    border-radius: 5px;
}
.home::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #F0F4EF;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: .4;
    border-radius: 5px;
}
#submitBtn{
    padding: 10px 20px;
    color: #fff;
    font-weight: bolder;
    background-color: #51b2f6;
    border-radius: 5px;
    border: 1px solid #F0F4EF;
    cursor: pointer;
}
#submitBtn:hover{
    color: #51b2f6;
    background-color: white;
}
.small{
    margin-bottom: 20px;
    font-size: small;
    color: red;
    font-weight: lighter;
}
.redBorder{
    border: 2px solid red;
}
.whiteBorder{
    border: 1px solid white;
}
.greenBorder{
    border: 2px solid rgb(21, 223, 21);
}
.hidden{
    display: none;
}
.redColor{
    color: red;
}