

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "DIN W01 Regular", sans-serif;
    font-weight: 50;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* för indexsidan */
.index-page .menu-toggle-label div,
.index-page .header-text h1,
.index-page .contact-link {
	/*background-color: #fff;*/
	color: #fff;
}

/* för övriga sidor */
.other-page .menu-toggle-label div {
	background-color: #000;
	/* color: #000;*/
}
.other-page .header-text h1,
.other-page .contact-link {
	/*background-color: #000;*/
	color: #000;
}

.header, .content, .site-footer{
    width: 100%;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/Model.jpg'); /* Sätt in din bildsökväg här */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/******* FÖR FELSÖKNING border: 2px solid #ff0000; *****/


/******** tre streck till meny */

.menu {
    position: fixed;
    top: 0;
	left: 0;
    width: 500px;
    height: 100%;
	background: rgba(0, 0, 0, 0.20); /*rgb röd, grön, blå, genomskinlighet */
	color: white;
	transform: translateX(-100%);
	transition: transform 0.3s ease;
    z-index: 9999;
	display: flex;
	flex-direction: column;
	justify-content: space-between; /*Länkarna högst upp, footern längst ner */
	padding: 100px 100px; /* Avstånd från kant uppe och nere på länkar och footern */
	box-sizing: border-box;
    backdrop-filter: blur(15px);
}

/* meny länkar*/
.menu a{
	color: white;
	text-decoration: none;
	font-family: "DIN W01 Regular", sans-serif;
	padding: 10px;
	margin-left: -10px;
	display: block;
	transition: color 0.2s ease;
}

.menu a:hover{
	color: antiquewhite;
}

/******** kryss som stänger meny */
.menu input[type="checkbox"]{
	display: none !important;
	/* visibility: hidden; */
	/* opacity: 0; */
}

.menu-toggle-label,
.menu-close-label {
	display: block;
	cursor: pointer;
}

/* Tre linjer för att öppna menyn. */
.menu-toggle-label {
	position: fixed;
	top: 30px;
	left: 20px;
	width: 30px;
	height: 24px;
	z-index: 10000;
	cursor: pointer;
}

.menu-toggle-label div {
	width: 100%;
	height: 2px;
	background-color: white;
	margin: 5px 0;
	transition: all 0.3s ease;
}

/* Stäng-knapp */
.menu-close-label {
	position: absolute; /* Absolut positionering för att alltid ligga åt höger */
	top: 20px;
	left: 460px;
	font-size: 24px;
	z-index: 10001; /* Högre än andra element för att vara säker */
}

/* Hantera menyns öppning och stängning */
#menuToggle:checked ~ .menu {
	transform: translateX(0);
}

/* Döljer hamburgare när mey framme */
#menuToggle:checked ~ .menu-toggle-label {
	display: none;
}


/* Linje och text längs ner i menyn */
.menu-footer {
	text-align: center;
	margin-top: auto; /* ser till att footern placeras längst ner */
	margin-bottom: -80px;
}

.menu-line{
	/*border: 2px solid #999;*/
	width: 100%;
	margin: 0 auto 10px auto;
	border-bottom: 1px solid white;
}

.menu-text{
	text-decoration: none;
	font-family: "DIN W01 Regular", sans-serif;	
	font-size: 14px;
	color: white;
}


/********
     border: 2px solid #999;  
läge på STUDIO MIHEL TEXT */
.header-text {
    position: absolute;
    top: 30px;
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 100;
}

.header-text h1 {
    margin: 0;
    font-family: "DIN W01 Regular", sans-serif;
    font-weight: 100;
    font-size: 20px;
}

.header-text h2 {
    margin: 0;
    font-family: "DIN W01 Regular", sans-serif;
    font-weight: 100;
    font-size: 10px;
}

.header-text a{
	color: white;
	text-decoration: none;
	font-family: "DIN W01 Regular", sans-serif;
	padding: 10px 0;
	margin-left: -10px;
	display: block;
	transition: color 0.2s ease;
}

.contact-link {
    /* border: 2px solid #999; */
    position: absolute;
    right: 40px;
    top: 0px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}



/**** Kontaktlayout ****/
.content-k {
    padding: 20px 20px 20px 20px;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 300px 200px; /***** hur text och bild ligger 
    från överkant första siffran
    från kant höger och vänster andra siffran ****/
}

.contact-info {
    width: 50%;
}

.contact-info h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 13px;
    margin: 10px 10px;
}

.contact-image {
    width: 20%;
}

.contact-image img {
    width: 100%;
    height: auto;
}

/********** Projektsida inställningar ***/

.project-description {
    /*border-color: aqua;
    border-bottom: 1px solid #000;*/
}

.intro-section {
    display: flex;
    /*align-items: center;*/
    column-gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #999;
}

.intro-text {
    flex: 1;
    font-family: "DIN W01 Regular", sans-serif;
    font-weight: 100;
    font-size: 13px;
}

.intro-text h2 {
    font-family:  "DIN W01 Regular", sans-serif;
    font-weight: 500;
}


.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}



/******* Bildgalleri*****/

.image-gallery {
    margin-top: 20px;
}

.image-row {
    display: flex;
    column-gap: 20px;
	/* gap: 20px; */
    margin-bottom: 20px;
	flex-wrap: wrap;
}

.image-row img {
    width: calc(50% - 10px);
    height: auto; /* automatisk höjd */
    object-fit: cover;
    border-radius: 3px;
}

.image-row img.full-width {
    width: 100%;
}






/******* Höjd från överkant där bilder börjar, första siffran
utrymme på sidorna, siffra 2 höger och siffra 4 vänster ****/
/*.content {
    padding: 200px 20px 20px 20px;
    border: 2px solid #ff0000;
}*/

.content {
    flex: 1;
    padding: 100px 20px 10px 20px;
    box-sizing: border-box;
}

.project-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* border: 2px solid #00ff00; */
}

.project-gallery a {
    position: relative;
    display: block;
    /* utrymme mellan bilder */
    margin: 10px 0;
}

.project-gallery img {
    width: 100%;
    max-width: 2000px;
    height: auto; /* Auto höjd */
    object-fit: cover; /* Beskär bild för att passa */
    /* border: 5px solid #0000ff; */
    transition: transform 0.3s;
    border-radius: 1px;
}

/*
.project-gallery img:hover {
    transform: scale(1.0);
}
*/

/********** Projektnamn textinställningar och läge ***/
.project-text {
    position: absolute;
    top: 10px;
    left: calc(50% - 100px);
    color: #fff;
    padding: 5px 10px;
    font-family: "DIN W01 Regular", sans-serif;
    font-weight: 100;
    font-size: 20px;
    /* border: 2px solid #ff0000; */
}




/********** Sidfot ***/
.site-footer {
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 20px;
    /*box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.3);*/
    z-index: 10;
    flex-shrink: 0;
    /*border: 2px solid #ff0000;*/
}

.site-footer a {
    color: #000;
    text-decoration: none;
    font-size: 12px;
}

.site-footer p {
    margin: 5px 0px 100px 5px;
    font-size: 12px;
    /*border: 2px solid #00ff00;*/
}
/******** Responsiva anpassaningar mindre skärmar ****/

@media (max-width: 768px) {
    .intro-section {
        flex-direction: column;
    }
    
    .intro-text {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .image-row {
        flex-direction: column;
    }
    
    .image-row img {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .contact-info {
        width: 50%;
        margin-bottom: 0;
    }
    
    .contact-img {
        width: 40%;
    }
}

@media (max-width: 599px) {
    .content {
        padding: 50px 10px;
    }
    
    .header h1 {
        font-size: 25px;
    }
    
    .contact-link {
        font-size: 13px;
    }
    
    project-gallery img {
        width: 100%;
    }

    project-text {
        font-size: 12px;
        padding: 3px 5px;
    }
    
    .site-footer {
        flex-direction: column;
        text-align: center;
    }

    .site-footer a,
    .site-footer p {
        margin: 5px 0;
    }
}
