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;
    background-color: #f4f4f4;

}

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 {
    display:flex;
    justify-content:space-evenly;
    flex-wrap: wrap;
    padding: 2%;
    background-color: rgb(202, 183, 160);
    width: 100%;
}

section{
    background-color: rgba(94, 115, 174, 0.664);
    font-size: 20px;
    border-radius: 10%;
    padding: 30px;
    width: 100%;
    margin-bottom: 2%;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5); 
}

h1,h4{
    font-weight: bold;
}

.sec_introduction{
    text-align: center;
    height: 320px;
}

.emg_img{
    width: 100px;
    height: 100px;
    float: left;
    border-radius: 50%;
    margin-top: -310px;
    margin-left: -50px;
    transform: rotate(350deg);
}

.sec_other{
    text-align: right;
    height: 550px;
}

section li{
    display:block;
    margin-top: -1%;
    font-size: 18px;
}

section li::before {
    content: '\2713'; /* Unicode checkmark symbol */
    color: #15db1b; /* Green color for checkmark */
    font-size: 1.2em; /* Adjust the font size of the checkmark */
    margin-left: 5px; /* Adjust the spacing between checkmark and text */
}

.sec_other div{
    float: left;
    margin-top: -370px;
    margin-left: 370px;
    width:30%;
}

.sec_other div li::before {
    content: '\2717'; /* Unicode x symbol */
    color: #FF0000; /* red color for x symbol */
    font-size: 1em; /* Adjust the font size of the x symbol */
    margin-left: 5px; /* Adjust the spacing between symbol and text */
}

video{
    width: 30%; 
    height: 300px;
    margin-top: -350px; 
    float: left;
    border-radius: 20%;
}

.video_rain{
    margin-top: -70px;
}

.video_accident{
    margin-top: -440px;
}

.sec_accident{
    text-align: right;
    height: 620px;
}

.emg_package{
    width: 29%;
    height: 370px;
    margin-left: 60%;
    font-weight: bold;
    text-align: right;
    padding: 1%;
}

.emg_package li{
    font-size: 16px;
}

.emg_phones{
   float: left;
   width: 29%;
   height: 370px;
   font-weight: bold;
   margin-right: -60%;
   text-align: right;
   padding: 1%;
}

.emg_phones li{
    margin-bottom: 5%;
    font-size: 20px;
}

.emg_phones li::before {
    content: '\1F4DE'; /* Unicode phone symbol */
    color: #FF0000; /*  red color for phone */
    font-size: 1.2em; /* Adjust the font size of the phone */
    margin-left: 5px; /* Adjust the spacing between phone symbol and text */
}

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;
}

/* 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%;
    }
}  

@media screen and (max-width: 1350px) {


    .sec_introduction{
        height: auto;
        width: auto; 
    }

    .sec_other,
    .sec_accident{
        height: auto;
        width: auto;
        padding: 5%;
    }

    .emg_img {
       display: none;
    }

    .sec_other div{
        margin-top: auto;
        margin-left:auto;
        width: 100%;
    }

    video,
    .video_rain,
    .video_accident {
        width: 100%; 
        height: auto; 
        margin-top:auto ;
        padding: 2%;
      
    }

    .emg_package,
    .emg_phones {
        width: auto; 
        margin-left: auto; 
        margin-right: auto;
        padding: 2%;
       
    }
}


