@font-face {
    font-family: 'DancingScript';
    src: url("../fonts/DancingScript/DancingScript-Regular.ttf");
}

*
{
    font-family: Georgia, sans-serif;
    font-weight: normal;
    line-height: 1.3;
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 660px)
{*{font-size: 12px;}}

html, body
{
    height: 100%;    
    position: relative;
}

/*Header*/

.header
{
    width: 100%;
    position: fixed;
    z-index: 5;
    max-height: 300px;
    background: linear-gradient(#FFBA08, #F48C06 60%, #DC2F02);
    display:flex;
}

.headertext
{
    position: relative;
    display: flex;
    flex: 1;
}

.headinfo
{
    display:flex;
    align-items: center;
}

.infoblock
{
    text-align:left;
    margin-right: 30px;
}

.infotype
{
    font-weight: bold;
    font-style: italic;
}

.logo {object-fit: contain;}
#logolink{display: flex;}

nav 
{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items:center;
}

.dropdown
{
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.dropbutton
{
    position: relative;
    bottom: 20px;
    padding: 0;
    background-color: #370617;
}

#dropbuttontext
{
    padding-left: 5px;
    text-align: left;
    font-size: 20px;
    color: white;
}

.dropmask
{
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 300px;
    clip: inset(45px 0px 0px 0px);
    clip-path: inset(45px 0px 0px 0px);
}

.dropcontent
{
    position: absolute;
    z-index: 2;
    top: -65px;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(#9D0208, #DC2F02);
}

.droplink
{
    height: 20px;
    text-decoration: none;
    color: black;
    border-left: 2px solid;
    border-right: 2px solid;
    border-bottom: 2px solid;
    padding-left: 2px;
}

.droplink:hover
{
    background-color: #F48C06;
}

.navlink
{
    padding: 20px;
    text-decoration: none;
    color: black;
    font-size: 20px;
}

.navlink:hover
{
    color: white;
}

.logo
{
    padding-left: 10px;
}

@media screen and (min-width: 970px)
{
    .headinfo
    {
        display:flex;
        flex: 1;
        justify-content: end;
        align-items: center;
    }
    .headertext{justify-content: space-between;}
    .header{flex-wrap: wrap;}
    nav{margin-left: 20px;}
    .logo{max-height: 120px;}
}

@media screen and (max-width: 970px)
{
    .navlink
    {
        flex: 1;
        text-align: center;
        font-size: 1rem;
    }
    .headertext{flex-direction: column;}
    .logo{max-height: 110px;}
    .headinfo{margin: auto;}
}

@media screen and (min-width: 660px)
{.dropdown{display: none};}

@media screen and (max-width: 660px)
{
    .navlink{display: none};
    .headinfo{margin-bottom: 10px};
    .infoblock{
        margin-right: 15px;
    }
    .infotext {font-size: 12px;}
}
/*Header*/

/*Main Content*/
.mainback
{
    position: relative;
    background: linear-gradient(to right, #03071e 0% , #370617 3%, #6A040F 5%, #9D0208 10%, #E85D04 50%, #9D0208 90%,
    #6A040F 95%, #370617 97%, #03071e 100%);
}

main
{
    position: relative;
    background-color: #FAA307;
    max-width: 960px;
    margin: auto;
}
/*Main Content*/

footer
{
    height: 50px;
    display: flex;
    align-items: center;
}

.footer
{
    margin: auto;
    width: fit-content;
}
