@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300..900&display=swap');



/*

MASTER
logo color: #e40521
 */


html, body {
	height: 100%;
}


body {
	margin: 0;
	padding: 0;
	font-family: "Figtree", sans-serif;
	text-align: center;
font-optical-sizing: auto;

}
 /* Fixerad bakgrundsbild


.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background-image: url('../images/background.jpg');
    background-size: cover; 
    background-position: center; 
    z-index: -1;
}
*/
.wrap {
	max-width: 850px;
	min-height: calc(100% - 30px);
	display: inline-block;

}

img, iframe {
	max-width: 100%;
}

.space80 {
	height: 80px;
}
.space120 {
	height: 120px;
}

html {
  scroll-behavior: smooth;
}


/*

TEXT STYLE

 */


h1 {
font-family: "Figtree", sans-serif;
font-weight: 900;
color: #000000;
font-size: 26px;
	
}

h2 {
font-family: "Figtree", sans-serif;
font-weight: 900;
color: #000000;
	padding-bottom: 30px;
margin-top: 0;
  font-size: 1.2em;
}
p {
	text-align: left;
}
.content .textruta p {
		line-height: 1.5em;
		text-align: left;
		margin: auto 20px;
}

address {
	font-style: normal;
}

a {
  text-decoration: none;
	color: inherit;
	font-weight: 700;
}



.quote p {
	text-align: center;
	font-size: 0.9em;
}






/* 

HEADER 

*/

.topimg {
	max-width: 800px;
	padding: 0 25px;
	margin-bottom: 40px;
}

#logohead {
	max-width: 800px;
padding: 0 25px;
}

nav {
	padding: 12px 25px;
	display: flex;
	justify-content: space-around;
	background-color: #ffffff;
}
nav a {
	font-size: 1.2em;
	font-weight: 900;
	color: #000000;
	display: inline-block;
}
nav a #active{
	color: #e40521;
}
#navbar {
	position: sticky;
  top: 0;
	 z-index: 1000;

}

@media (max-width: 600px) {

  nav a {
	font-size: 0.7em;

}
}


/* 

KVADRAT BOX

*/


.custom-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0 25px 40px 25px; /* Lägger till 25 px marginal till skärmens kanter */
}

.custom-box {
    flex: 1 1 calc(50% - 40px); /* Anpassar bredd till 50% minus gap */
    max-width: 380px;
    height: auto;
    aspect-ratio: 1; /* Håller rutorna kvadratiska */
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


#bild-album {
	background-image: url('../images/album.jpg');
	background-size: cover; /* Täck hela ytan av elementet */
    background-position: center; /* Centrera bilden */
	 z-index: 1;
}

.h-link a:hover h1 {
	color: #825A41;
}


#bild-fiskeskar {
	background-image: url('../images/fiskeskar.jpg');
	background-size: cover; /* Täck hela ytan av elementet */
    background-position: center; /* Centrera bilden */
	 z-index: 1;
}

#bild-bergtagna {
	background-image: url('../images/bergtagna.jpg');
	background-size: cover; /* Täck hela ytan av elementet */
    background-position: center; /* Centrera bilden */
	 z-index: 1;
}



.ruta-link {
    position: relative; /* Gör länken till en absolut positionerad ruta */
    top: 0;
    left: 0;
    width: 100%; /* Länkens bredd fyller hela kvadraten */
    height: 100%; /* Länkens höjd fyller hela kvadraten */
    display: block; /* Gör hela ytan klickbar */

    text-decoration: none; /* Ta bort understrykning */
    cursor: pointer; /* Ändra muspekaren till en hand när man hovrar */
}


.ruta-text {
	padding: 0 25px;
	text-align: left;
}

	

/* För skärmar under 600px: staplar rutorna och tar bort max-bredden */
@media (max-width: 600px) {
    .custom-container {
        flex-direction: column;
    }

    .custom-box {
        width: 100%;
        max-width: none; /* Tar bort max-bredd så att rutorna kan skalas ner */

    }
	.ruta-text {
		padding: 0;
	}
}


/* 

WIDE BOX

*/



.wide {

	margin: 0 25px 40px 25px;
	background-color: rgba(255, 255, 255, 1);
}

.text {
	padding: 25px 0;
}




/* 

OM

*/


.medv-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.medv-image {
  width: 150px; 
  height: auto;
  margin-right: 25px; 
}


/* Mobilanpassning */
@media (max-width: 768px) {

  .medv-image {

	  width: 100px;
  }
}


/* 

EPK

*/

.custom-button {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  text-decoration: none;
  color: black;
  border: 1px solid #825A41; /* Tunn svart linje */
  border-radius: 5px; /* Lätt rundade hörn */
  text-align: center;
  transition: background 0.3s, color 0.3s;
	margin-bottom: 80px;
}

/* Centrerad knapp */
.custom-button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Hover-effekt */
.custom-button:hover {
  background: #825A41;
  color: white;
}





/* 

YOUTUBE

*/


.frontvideos div {

	margin: auto;
}

.frontvideos {
margin-bottom: 40px;
		padding: 0 25px;
}

.yt {
	overflow: hidden;
	padding-top: 56.25%;
	position: relative;
}
.yt iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}
.yt-4x3 {
  padding-top: 75%;
}

.flex-container {
	list-style: none;
	padding: 0;
	margin: auto;
}




/* 

KONTAKT

*/




#pr {
		max-width: 100%;
padding-bottom: 25px;
}
#pr a {
	color: inherit;
	font-weight: inherit;
}

#pr p {
	text-align: center;
}


.sm-buttons {
	max-width: 100%;

}



/*

FOOTER

 */


footer {
	height: 30px;
	margin: 0;
	padding-top: 50px;
}
footer p {
	margin: 0 30px;
}

@media all and (max-width: 450px){

	.wrap {
		min-height: calc(100% - 50px);
	}

	footer {
		height: 50px;
		margin: 0;
		text-align: center;
	}

}


