/***************************/
/*   Grundinställningar    */
/***************************/

html {
	scroll-behavior: smooth;
}

body {
	/* margin: 40px; */
	font-family: 'Quicksand', sans-serif;	
}
img{
	width: 100%;
}
a:link {
	color: white;
	text-decoration: none;
}
a:visited {	
	color: white;
}
a:hover {
	text-decoration: underline;
}
a:active {
	color: white;
}

.userImg{
	border-radius: 50%;
	width: 20%;
}

.aLink:link {
	color: rgb(0, 0, 0);
	text-decoration: none;
}
.aLink:visited {	
	color: rgb(0, 0, 0);
}
.aLink:hover {
	text-decoration: underline;
}
.aLink:active {
	color: rgb(0, 0, 0);
}


/***************************/
/*   Get to Top Button    */
/***************************/
#myBtn {
	display: none; /* Hidden by default */
	position: fixed; /* Fixed/sticky position */
	bottom: 20px; /* Place the button at the bottom of the page */
	right: 30px; /* Place the button 30px from the right */
	z-index: 99; /* Make sure it does not overlap */
	border: none; /* Remove borders */
	outline: none; /* Remove outline */
	background-color: #6F42C1; /* Set a background color */
	color: white; /* Text color */
	cursor: pointer; /* Add a mouse pointer on hover */
	padding: 15px; /* Some padding */
	border-radius: 10px; /* Rounded corners */
	font-size: 18px; /* Increase font size */
  }
  
  #myBtn:hover {
	background-color: #555; /* Add a dark-grey background on hover */
  }


   /***************************/
  /*    Breadcrumbs    */
  /***************************/
  .breadcrumb {
    padding: 0 .5rem;
}
.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb li:not(:last-child)::after {
    display: inline-block;
    margin: 0 .25rem;
    content: "→";
}



  
  /***************************/
  /*    Start liten skärm    */
  /***************************/
  .wrapper {
	display: grid;
	row-gap: 10px;
	grid-template-columns: 5% 90% 5%;
	grid-template-rows: auto;
	background-color: #fff;
	color: #444;
  }
  
  .box {
	background-color: #6F42C1;
	color: #fff;
	border-radius: 5px;
	padding: 20px;
  }
  
  .sidaLinks{
	background-color: #8b0b0b; 
	color: #444;
  } 
  .top {
	grid-column: 1/-1;
	grid-row: 1/2;
	font-size: 8vw;
	text-align: center;
	padding: 50px 0;
  }
  .menuBack{
	grid-column: 1/6;
	grid-row: 2/3;
	height: 20px;
	padding: 5px 5px 5px 20px;
	text-align: center;
  }
  /* .menuLoggIn{
	grid-column: 3/6;
	grid-row: 2/3;
	height: 20px;
	padding: 5px 5px 5px 20px;
	text-align: center;
  } */
  
  .menuLeft {
	grid-column: 1/-1;
	grid-row: 3/4;
	background-color: #d63384;
	font-size: 4vw;
  }
  .menuLeft p{
	font-size: 5vw;
	margin-bottom: 0;
	font-weight: bolder;
	text-decoration: underline;
  }
  
  .content{
	grid-column: 1/-1;
	grid-row: 4 / 14;
	display: grid;
	gap: 10px;
	grid-template-columns: subgrid;
	grid-template-rows: subgrid;
	background-color: #d63384;
  }
  
  .contentTop, .contentBody, .contentTop2, .contentBody2{
	grid-column: 1/6;
	grid-row: auto;
	background-color: white;
	color: rgb(61, 61, 61);
  }

  .code{
	background-color: #353535;
	color: white;
	padding: 15px;
  }

/*************************/
/* Index.php liten skärm */
/*************************/
  .indexInfo, .indexMedia, .indexGymarbete, .indexLinks, .indexLoggIn, .indexLoginUser, .indexLogin{
	grid-column: 1 / -1;
	grid-row: auto;
	font-size: 8vw;
	text-align: center;
  }
  .indexInfo{
	background-image: url("../img/b1.jpg");
	background-size: cover;
	background-position: center;
	font-size: 5vw;
  }
  .indexMedia{
	background-color: #3b71ca;
	background-image: url("../img/b2.jpg");
	background-size: cover;
	background-position: center;
	font-size: 5vw;
  }
  .indexGymarbete{
	background-color: #14A44D;
	font-size: 5vw;
  }

  .indexLinks{
	background-color: #E4A11B;
	font-size: 5vw;
  }
  .indexLoggIn{
	background-color: #dc4c64;
	font-size: 5vw;
  }
.indexLoginUser{
	background-color: #d63384;
	font-size: 3vw;
	padding: 0;
}
.indexLogin{
	background-color: #d63384;
	font-size: 4vw;
}

.indexLoginContentet{
	grid-column: 1/-1;
	text-align: center;
	background-color: #d63384;
	color: white;
}


.indexLoginImg{
	grid-column: 1/2;
	grid-row: auto;
	background-color: #d63384;
	padding: 0;
}
.indexLoginOut{
	grid-column: 5/6;
	grid-row: auto;
	margin: 20px 0 0 0 ;
	/* background-color: #04AA6D;  */
	border: none;
	color: white;
	border-radius: 5px;
	padding: 10px 32px;
	text-decoration: none;
	font-size: 16px;
	
}
  


/*****************************/
/* Uppgifter li  Liten skärm */
/*****************************/


.underPageLinks a:visited {	
	color: black;
}

.uppgifter_fonts{
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
}

li{
	padding-bottom: 25px;
}


.uppgifter_h2 {
	text-align: center;
	font-size: 40px;
}


  /***************************/
  /*        Slutprojekt      */
  /***************************/
.slutProjekt{
	font-size: 18px;
}
.slutProjekt li{
	padding-bottom: 10px;
}

  /***************************/
  /*        LinkPage          */
  /***************************/
.linkPageBox{
	grid-column: 2/3;
	text-align: center;
} 




  
  /******************************************************/
  /*                   media 600 Storskärm              */
  /******************************************************/
  
  @media (min-width: 600px) {
  
	.wrapper {
	  display: grid;
	  gap: 10px;
	  grid-template-columns: repeat(6, 1fr);
	  /* grid-template-rows: auto; */
	  margin: 0 15px;
	  background-color: #fff;
	  color: #444;
	}
	.top{
		grid-column: 1/-1;
	}
	.menuBack{
	  grid-column: 1/-1;
	  grid-row: 2/3;
	  height: 20px;
	  /* padding: 5px 5px 5px 20px; */
	}
  
	.menuLeft {
	  grid-column: 1/2;
	  grid-row: 3 / 13;
	  font-size: 1.5vw;
	}
	.menuLeft p{
		grid-column: 1/2;
		grid-row: 3 / 13;
		font-size: 2vw;
	  }
  
	.content{
	  grid-column: 2/-1;
	  grid-row: 3 / 13;
	  display: grid;
	  grid-template-columns: subgrid;
	  grid-template-rows: subgrid;
	}
  
	.contentTop, .contentBody, .contentTop2, .contentBody2{
	  grid-column: 1/-1;
	  grid-row: auto;
	}

	.imgSize{
		width: 30%;
	}


	/***********************/
	/* Index.php storskärm */
	/***********************/
	.indexInfo, .indexMedia, .indexGymarbete, .indexLinks, .indexLoginImg, .indexLoginUser{
		font-size: 8vw;
		text-align: center;
		padding: 40px 0;
		font-size: 3vw;
		display: flex;
        justify-content: center; 
        align-items: center;
	}
	.indexInfo{
		grid-column: 1/5;
		grid-row: 2/3;
		background-image: url("../img/b1.jpg");
		background-size: cover;
		background-position: center;
		height: 150px;
	}
	.indexMedia{
		grid-column: 3/-1;
		grid-row: 3/4;
		background-color: #3b71ca;
		background-image: url("../img/b2.jpg");
		background-size: cover;
		background-position: center;
		height: 150px;
	}
	.indexGymarbete{
		grid-column: 5/-1;
		grid-row: 2/3;
		background-color: #14A44D;
	}

	.indexLinks{
		grid-column: 1/3;
		grid-row: 3/4;
		background-color: #E4A11B;
	}
	/* .indexLoginImg, .indexLoginUser{
		grid-column: 1 / -1;
		grid-row: 4/5;
		background-color: #dc4c64;
	} */




/***********************/
/* Index.php storskärm */
/***********************/
	.indexLoginContentet{
		grid-column: 1/-1;
		/* grid-row: auto; */
		display: grid;
		grid-template-columns: 20% 60% 20%;
		gap: 10px;
		/* grid-template-columns: subgrid;
		grid-template-rows: subgrid; */
		background-color: #d63384;
		color: white;
		
	}

	.indexLoginUser, .indexLoginImg, .indexLoginOut {
		margin: 0;
		background-color: #d63384; 
		text-align: center;
		display: flex;
        justify-content: center; 
        align-items: center;
	}

	.indexLoginUser{
		grid-column: 2/3;
	}
	
	.indexLoginImg{
		grid-column: 1/2;
		padding: 0;
	}
	.userImg {
		width: 50%;
	}
	.indexLoginOut{
		grid-column: 3/4;
	}

/***********************/
/* projekct2.php storskärm */
/***********************/

.textRed{
	color: rgb(255, 0, 0);
	font-weight: 500;
}
  
/***************************/
/*        LinkPage          */
/***************************/
.linkPageBox{
	grid-column: auto / span 2;

	text-align: center;
} 

  
  
  } /** @media slut **/



