/* CSS for Ascolti di Terra, Chi siamo og Contatti */

/* FONT */
/* anaheim-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: 'Anaheim';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/anaheim-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/anaheim-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/anaheim-v17-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/anaheim-v17-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/anaheim-v17-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/anaheim-v17-latin-regular.svg#Anaheim') 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 */
}

:root {
    --primary-font-color: #323232;
    --primary-background-color: #fefefa;
    --font-family-h: "Antic";
    --font-family-p: "Gudea";
 }

body {
    background-color: var(--primary-background-color);
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}


h1 {
    font-size: 7rem;
    font-family: var(--font-family-h);
    font-weight: 300;
    margin-bottom: 1rem;
    margin-left: 0;
    margin-top: 1rem;
}

.headline {
    margin-left: 10%;
    padding-left: 0px;
}

#landing {
    height: 100vh;
}

.header {
    height: 80%;
    width: 100%;
    margin: 0px;
}

.header-img {
    object-fit: cover;
     margin: 0px;
     height: 100%;
     min-width: 100%;
 }


h2 {
    font-size: 1.8rem;
    font-family: var(--font-family-h);
}

h3 {
    font-size: 1.6rem;
    font-family: var(--font-family-h);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    font-family: var(--font-family-p);
    text-align: left;
}

#content {
    margin-left: 10%;
    margin-right: 60%;
    align-content: left;
    justify: left;
    height: 100%;
}

.sitenav {
    align-content: left;
    padding-left: 0px;
}

.sitenavitem {
    line-height: 1rem;
    margin-bottom: 1rem;
    display: inline-block!important;
    padding-right: 1.6rem;
}

#site-menu {
    /* Offset kan klares med flere pixels fra
     bunden eller højre */
    float: right;
    position: relative;
    bottom: 10px;
    top: 50px;
    right: 10px;
    width: 15em;
}

.contacts {
    padding-left: 0;
    margin-right: 0;
    line-height: 3rem;
    padding-bottom: 200px;
    overflow: hidden;
}

.menu {
    /*listens stil*/
    list-style: none;
    display: vertical;
    font-family: "Antic";
    font-size: 1.2rem;
    z-index: -1;
    padding: 0;
}

a {
    color: var(--primary-font-color);
    text-decoration: none;
}

a:hover { 
    text-transform: uppercase;
}

.list-link {
    text-transform: none;
    list-style: none;
    font-size: 1.4rem;
    font-family: var(--font-family-p);
    padding-left: 0px;
    }


/* responsiv videoindlejring */

.auto-resizable-iframe {
    /* Skruer på videoens størrelse */
  max-width: 1000px;
  margin: 0px auto;
  width: 200%;
  height: 200%;	 
}

.auto-resizable-iframe > div {
  position: relative;
  padding-bottom: 60%;
  height: 10px;
  }

.auto-resizable-iframe iframe {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

/* slideshow CSS fra w3s */
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    width: 200%;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;2
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  align-content: center;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 0.1s;
}

@keyframes fade {
  from {opacity: .2}
  to {opacity: 1}
}


@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)
{
      html, body {
	width:  100%;
      }

      #site-menu {
	  top: 10px;
      }
    
    .menu {
	/*listens stil*/
	list-style: none;
	display: vertical;
	font-family: "Antic";
	font-size: 1.2rem;
	z-index: 1;
	padding-top: 0;
	padding-bottom: 0.5em;
    }

    .list-link {
	font-size: 1.2rem;
	
    }
}

@media only screen and (max-width: 900px){
    h1 {
	font-size: 3.5rem;
	margin: 2rem;
    }

    #site-menu {
    /* Offset kan klares med flere pixels fra
     bunden eller højre */
    position: relative;
    top: 20px;
    left: 105px;
    width: 15em;
    }
    
.menu {
    /*listens stil*/
    list-style: none;
    display: vertical;
    font-family: "Antic";
    font-size: 1.2rem;
    z-index: -1;
    padding: 0;
}

.headline {
    font-size: 4rem;
}

.auto-resizable-iframe {
    width: 100%;
}

.slideshow-container {
    width: 100%;
}

#content {
    margin-left: 5%;
    margin-right: 5%;
}

.header-img {
    overflow: hidden;
}

}
@media only screen and (max-width: 500px){
    h1 {
	font-size: 1.6rem;
    }
}
