@font-face {
    font-family: 'MyArial';
    src: url('../font/arialLGT.ttf') format('truetype'),
        url('../font/arial.ttf') format('truetype');
}

*
{
    box-sizing: border-box;
    font-family: 'MyArial', Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffffac;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#content {
    display: none;
}

.visually-hidden {
    position: absolute;
    visibility: hidden;
}

header {
    width: 100%;
    height: 16vh;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

header a {
    text-decoration: none;
    color: black;
    flex: 1;
    text-align: center;
}

header nav {
    flex: 1;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 20px;
}


header nav ul li a {
    text-decoration: none;
    color: black;
}

header nav ul li a:hover {
    color: blue;
}

header a h1 img {
    width: 380px;
    height: auto;
}

#quick-access {
    display: none;
    height: 40px;
    width: 90%;
    margin: auto;
    background: rgba(255, 254, 254, 0.728);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translate(0, 16vh);
    z-index: 500;
    padding: 0 3% 0 3%;
    justify-content: flex-end;
}

#quick-access button svg {
    width: 30px;
    height: 30px;
    color: black;
}

#quick-access button {
    background: none;
    border: none;
    cursor: pointer;
}

#phone-menu
{
    display: none;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw; 
    height: 100vh;
    background: rgba(0, 0, 0, 0.723);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#phone-menu ul 
{
    list-style: none;
    width: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

#phone-menu ul li 
{
    margin: 5%;
}

#phone-menu ul li a
{
    color: white;
    text-decoration: none;
    font-size: 1.4em;
}

#btn-exit-phone-menu
{
    position: absolute;
    cursor: pointer;
    right: 20px;
    top: 50px;
    width: 4em;
    height: 4em;
    background: none;
    border: none;
}

#phone-menu ul li a:hover
{
    color: yellow;
}

@media all and (max-width: 780px) {
    #phone-menu.open {
        display: flex;
    }

    #quick-access {
        display: flex;
    }

    nav {
        display: none;
    }


}

@media all and (max-width: 400px) {
    header a h1 img {
        max-width: 95%;
        height: auto;
    }
}