body,
h1,
h2,
p,
ul {
    margin: 0;
    padding: 0px;
}

body,
html {
    height: 100%;
    
}

* {
    box-sizing: border-box;
    padding: 3px;
}


body {
    font-family: "calibri";
    line-height: 1.6;
}

header {
    background-color:rgb(19, 26, 46);
    height: 15%;
    text-align: center;
    font-size: 20px;
}

.logo_img
{
    height: 75%; 
    width: 15%;
    float: right;
    margin-right: 1%;
    margin-top: 1%;
}

nav{
    margin-top: 0.5%;
    margin-left: 15%;
}

li {
    display: inline;
    
}

.login_signin_nav{
    float: left;
    margin-left: 1%;
    margin-top: -4% ;
}

a {
    text-decoration: none;
    color: white;
}

a:hover {
    border-bottom: 2px solid rgba(240, 219, 219, 0.436) ;
}

.dropdown-content {
    display: none;
    position:absolute;
    font-size: 15px;
    left: 4%;
    width: 105%;
    background-color: rgb(19, 26, 46); 
}

.dropdown-content a {
    display: block;
    padding: 7%;
}

.dropdown-content a:hover {
    border-bottom: none;
    background-color: rgba(240, 219, 219, 0.436) ; 
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* CSS for inactive links */
a[href="#"]:hover::after {
    content: "Link is not active"; 
    display: inline-block; 
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 1;
    margin-top: 20px;
    margin-right: -180px; /* Adjust the distance from the link */
}

.main_content {
    background-image:linear-gradient(rgb(46, 62, 108), rgb(202, 183, 160) );
    height: 1050px;
}

h1{
    text-align: center;
    color: rgb(207, 206, 206); 
    font-weight: bold;
}

form{
    margin-right: 33%;
    background-image:radial-gradient(rgb(202, 183, 160), rgb(19, 26, 46));
    width: 35%;
    height: 990px;
    padding-right: 9%;
    border-radius: 10%;
    font-size: 15px;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
    display: block;
    margin-right: 2%;
}

input {
   margin-bottom: 5px;
   width: 60%;
   display: block;
   margin-right: 2%;
}

p{
    margin-right: 2%;
}


.gender_bold{
    font-weight: bold;
  
}

.gender_style{
    
    margin-left: 8%;
}

.gender_div{
    width: 20%;
    display: flex;
}

.terms{
    float:right;
    margin-right: -26%;
    margin-left: -25%;
    margin-top: 2.5%;
    width: 25%;
}
.submit {
    background-color: rgb(19, 26, 46);
    color: white;
    padding: 7px;
    font-size: 15px;
    cursor: pointer;
    margin-right: 22%;
    margin-top: 2%;
    width: fit-content;
}

.submit:hover {
    background-color: rgba(36, 48, 80, 0.8);
}

#successMessage {
    display: none;
    color: rgb(185, 145, 53);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
}

#backHomePage{
    display: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    font-weight: bold;
    font-size: large;
}


#backHomePage:hover{
    border-bottom: none;
}


footer {
    background-color: rgb(19, 26, 46);
    color: #fff;
    text-align: center;
    padding: 1%;
    width: 100%;
    height: 7%;
    display:block;
    font-family: 'Times New Roman', Times, serif;  
    direction: ltr;
}

.contact{
    margin-top: -2%;
    margin-right: 90%;
    float: left;
}

.msgcolor{
    color:rgb(231, 220, 220);
    font-size: small;
    font-weight: bold;
}

/* Media query for smaller screens */
@media screen and (max-width: 900px) {
    
    /* Styling of the logo in smaller screens */
    .link_logo{
        width: 30%;
        height: 80%;
        margin-left: auto;
    }
 
    .link_logo:hover {
        border-bottom: none;
     }
 
    .logo_img{
        width: 100%;
        height: 100%;
    }
    
    header{display: flex; align-items:center; font-size: 15px;}

    .login_signin_nav{margin-left: auto;}

    li{display: block;}

    .contact{margin-top: -35px; font-size: 12px;}

    .dropdown-content {
        left: 15%;
        width: 70%;
    }

    form{
        width: 85%;
        margin-right: 7%;    
    }

    label, p{
        margin-right: 19%;
    }

    input{
        margin-right:19% ;
        width: 50%;
    }

    .submit{
        margin-right: 35%;
    }

    .gender_style{
    
        margin-left: -10%;
    }

    .gender_div{
        margin-right: 12%;
    }

    .terms{
        margin-right: -9%;
        margin-left: -23%; 
    }
}  