.name_head {
    display: flex; 
    justify-content: center;  
    font-size: 2.5rem; 
    font-weight: bold;
    align-self: center;
    margin-top: 50px;
    margin-bottom:20px;
}
.to-head-name{
    text-decoration:none;
    color:black;
    padding-left:10px;

}
.to-head-name:hover {
    color:grey;
}

.horizontal_line {
    margin-top: 20px;
    margin-bottom: 20px;
}

.top-head {
    display:flex;
    align-items: center;
    justify-content: center;
}


.cross_img {
    margin-bottom:40px;
}

*{
    margin: 0;
    padding: 0;
}

body{
    min-height: 100vh;

}


nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
} 
 
nav li{
    height: 50px;
}

nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    color: black;
}

nav a:hover {
    color: brown;
}

.dropdown {
    float: left;
    overflow: hidden;
    border: none;
    outline: none;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropbtn {
    font-size: 1em;
    height: 100%;
    text-decoration: none;
    color: black;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit; /* This makes sure the button uses the same font as other elements */
    color: inherit; /* This makes sure the text color matches other text */
    cursor: pointer; /* Adds a pointer cursor to indicate it's clickable */
}
  

.dropdown-content {
    font-size: 1em;
    text-decoration: none;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
  
.dropdown-content a {
    color: brown;
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
  
.dropdown-content a:hover {
    background-color: #ddd;
}
  
.dropdown:hover .dropdown-content {
    display: block;
}

/*Mobile nav*/


/*Mobile nav*/


.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    padding-top: 50px;
    height: calc(100vh - 40px);
    width: 400px;
    background-color: white;
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 1;
    display:none;
}
.sidebar {
    overflow-y:auto;
    overflow-x:hidden;
}

.link {
    padding: 6px 8px 6px 30px;
    text-decoration: none;
    font-size: 1em;
    color: black;
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font:inherit;
}

/* Dropdown container (hidden by default). */
.dropdown-container {
    width:400px;
    display: none;
    background-color:  #eaeaea;
}

.drpdwn_menu {
    padding: 10px 10px 10px 50px;
    width:350px;
    font-size: 1.2em;
}

.dropdown-btn-m {
    text-decoration: none;
    color: black;
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font:inherit;
}

.dropdown-btn-m {
    font-size:1.5em;
    padding: 6px 8px 6px 30px;
}

.menu-button {
    display: none;
    margin-top:40px;
}

/* Screen smaller than 1343px*/
@media(max-width: 1343px) {
    .hideOnMobile{
        display: none;
    }


    .top-head {
        display:flex;
        align-items: center;
        justify-content: center;
    }

    .menu-button{
        display:block;
    }

    .horizontal_line {
        display: none;
    }
}


/* SCREENS SMALLER THAN 400PX*/
@media(max-width: 400px) {
    .sidebar {
        display:none;
        width:100% !important;
    }
}