header{
    background-image: url("../images/header_bg.jpg");
    background-size:cover;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
}
header div{
    display: inline-block;
}
#title {
    line-height: 80%;
    margin-top: 10px;
    margin-bottom: 5px;
    color: gold;
    text-align: center;
    letter-spacing: 2px;

  color: #0ff; /* κυανό-νέον */
  text-shadow: 0 0 2px #0ff, 0 0 4px #0ff;
  background: linear-gradient(to right, #0ff, #00f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#subtitle {
    line-height: 80%;
    margin-top: 5px;
    margin-bottom: 10px;
    color: silver;
    text-align: center;
}
nav {
    height: 100%;
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    padding: 20px;
}
nav:hover {
    cursor: pointer;
}
nav img{
    width: 50px;
}
#dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: max-content;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
#dropdown-content a {
    color: black;
    padding: 10px;
    text-decoration: none;
    display: block;
}
#dropdown-content a:hover {
    background-color: #ddd;
    width: fit-content;
}
nav:hover #dropdown-content {
    display: block;
}
@media only screen and (orientation: portrait) {
    header {
        justify-content: space-between;;
    }

    #title-subtitle{
        margin: 0 auto; /* Helps in centering when there's remaining space */
    }

    #title {
        font-size: xx-large;
    }

    #subtitle {
        font-size: larger;
    }

    nav{
        position: relative;
        margin-left: auto; /* Pushes the second div to the right */
    }
}