/* CSS for hjemmesiden */
/* fjord-one-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fjord One';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/fjord-one-v22-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/fjord-one-v22-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/fjord-one-v22-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/fjord-one-v22-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/fjord-one-v22-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/fjord-one-v22-latin-regular.svg#FjordOne') format('svg'); /* Legacy iOS */
}

/* gudea-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Gudea';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/gudea-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/gudea-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/gudea-v16-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/gudea-v16-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/gudea-v16-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/gudea-v16-latin-regular.svg#Gudea') format('svg'); /* Legacy iOS */
}
/* antic-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Antic';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/antic-v20-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/antic-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/antic-v20-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/antic-v20-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/antic-v20-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/antic-v20-latin-regular.svg#Antic') format('svg'); /* Legacy iOS */
}

/* global */
:root {
    --primary-font-color: #fefefa;
    font-family: "Antic";
}

/* homepage */
body, html {
  height: 100%;
  margin: 0;
}

.bg {
  /* The image used */
    background-image: url("../images/ascolti3.jpg");
 
  /* Full height */
  height: 100%; 

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-weight: 10;
}

#main-title {
    font-family: "Antic";
    font-size: 3.4rem;
    color: var(--primary-font-color);
    margin-bottom: 20%;
}

.centered {
  position: absolute;
  top: 2em;
  left: 49%;
  transform: translate(-50%, -50%);
 }

/* start MENU */
#center-menu {
    position: absolute;
    top: 6.5em;
    left: 49%;
    transform: translate(-50%, -50%);
    font-family: "Antic";
    font-size: 2rem;
    color: var(--primary-font-color);
    width: 100%;
    text-align: center;
}

.menu {
    margin: 0;
    padding: 0;
    width: 100%;
}

ul li {
/*listens stil*/
    list-style: none;
    display: inline;
    margin: 10px;
 }

a {
    color: inherit;
    text-decoration: inherit;
}

a:hover {
    text-transform: uppercase;
}

/* SLUT PÅ MENU */

@media only screen and (-webkit-min-device-pixel-ratio: 2), 
       only screen and (-min--moz-device-pixel-ratio: 2), 
       only screen and (-o-min-device-pixel-ratio: 2/1), 
       only screen and (min-device-pixel-ratio: 2)
{
    body {
	width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    /* start MENU */
#center-menu {
    position: absolute;
    top: 8em;
    left: 49%;
    transform: translate(-50%, -50%);
    font-family: "Antic";
    font-size: 1.6rem;
    color: var(--primary-font-color);
    width: 100%;
    text-align: center;
}

.menu {
    margin-top: 10px;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;

}

ul li {
    /*listens stil*/
    list-style: none;
    padding: 0;
    margin: 0;
   }
}
