@font-face {
    font-family: royalking;
    src: url(RoyalKing-Free.ttf);
}

@media (max-width: 450px){
    .topbar h1{
        display: none;
    }

   .topbar img{
    display: none;
   }

   .topbar li{
    font-size: 18px;
    }

   .topbar{
    justify-content: center;
   }

   .mesajmain{
    width: 100%;
    margin: 0;
   }

}

body{
    margin: 0;
    padding: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    user-select: none;
    
}
   

.topbar{
    display: flex;
    background-color: orange;
    margin: 0;
    padding: 0;
    height: 7.5vh;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    

}

.topbar ul{
    display: flex;
    list-style-type: none;
    margin: 0;
    color: white;
    padding: 0;
    font-weight: 1000;
    font-size: 2.5vh;
    
}

.topbar li{
    margin: 0;
    padding: 2.3vh 3vh 2.3vh 3vh;
    user-select: none;
}

.topbar img{
    margin: 0 3vh 0.5vh 3vh;
    height: 6vh;
}

.topbar h1{
    font-family: royalking;
    margin: 3.5vh 0 0 11%;
    font-size: 5.5vh;
    color: white;
    user-select: none;
}

.background{
    background-image: url(imagini/background1.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50% 60%;
    background-size: 100vh;
    min-height: 60vh;

}

.background img{
    border: solid black 3px;
    border-radius: 3px;
    
}

.mesajmain{
    height: 16vh;
    line-height: 16vh;
    margin: 0 14vh 0 14vh;
    background-color: rgb(199, 199, 199);
    text-align: center;
    border: solid rgb(199, 199, 199) 2px;
    border-radius: 5px;
}

.mesajmain p{
    vertical-align: middle;
    line-height: 1.5;
    display: inline-block;
    padding-left: 4vh;
    padding-right: 4vh;
    color: rgb(100, 112, 119);
    font-size: 3vh;
    font-weight: 950;
}

.topbar li:hover{
    background-color: blue
    
}

a:visited{
    text-decoration: none;
    color: white;
}

a:link{
    text-decoration: none;
    color: white;
}