:root {
	--color: #2bb3d5;
	--second-color: #188ba8;
}

/* -- Standard -- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: white;
    margin: 0;
    min-height: 100vh;
}


/* -- Layout -- */
.row {
    display: flex;
    flex-direction: column;
}

.column2 {
    padding: 10px;
}

.column3 {
    padding: 10px;
}

@media screen and (min-width: 768px) {
    .row {
        display: flex;
		flex-direction: row;
    }
      
    .column2 {
        flex: 50%;
        padding: 10px;
    }

    .column3 {
        flex: 33.3%;
        padding: 10px;
    }
}


/* -- Navbar -- */
.navbar {
    font-size: 20px; 
    font-weight: 500;
    background: rgba(0,0,0,0.65);
    padding-bottom: 10px;
}

.main-nav {
    list-style-type: none;
    display: none;
}

.nav-links, .logo {
    text-decoration: none;
    color: white
}

.main-nav li {
    text-align: center;
    margin: 15px auto;
}

.logo {
    display: inline-block;
    font-size: 22px;
    margin-top: 10px;
    margin-left: 50px;
}

.navbar ul {
    padding-inline-start: 0;
}

.logo img {
    height: 25px;
}

.navbar-toggle {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    color: white;
    font-size: 25px;
}

.activeMenu {
    display: block;
}

.active {
    border-bottom: 2px solid var(--color);
}

.nav-links:hover {
    border-bottom: 2px solid white;
}

/* Navbar Stor */
@media screen and (min-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
        height: 70px;
        align-items: center;
    }

    .main-nav {
        display: flex;
        margin-right: 120px;
        flex-direction: row;
        justify-content: flex-end;
    }

    .main-nav li {
        margin: 0;
    }

    .nav-links {
        margin-left: 50px;
    }

    .logo {
        margin-top: 0;
        margin-left: 120px;
    }
    
    .logo img {
        height: 65px;
        margin-top: 5px;
    }

    .navbar-toggle {
        display: none;
    }

    .logo:hover, .nav-links:hover {
        border-bottom: 2px solid var(--color);
    }
}


/* -- Header -- */
header {
    text-align: center;
    background: linear-gradient(rgba(43, 179, 213, 0.7), rgba(26, 28, 32, 0.7)), url("../img/header.jpg");
    background-repeat: no-repeat;
    background-size: cover;
	background-position: center;
	padding: 20px;
}

header h1 {
    display: inline-block;
    color: white;
    border-bottom: 6px solid var(--color);
    padding: 10px;
    font-size: 40px;
}


/* -- Footer -- */
footer {
    background: black;
    color: white;
	min-height: 250px;
	text-align: center;
	padding: 10px;
	margin-top: 10px;
}

footer a {
	margin: 15px;
}

.fa-instagram:hover, .fa-facebook:hover, .fa-youtube:hover, .fa-twitter:hover {
	color: white;
}

.fa-facebook {
    color: #3b5998;
}

.fa-twitter {
    color: #00aced;
}

.fa-instagram {
    color: #DD2A7B;
}

.fa-youtube {
    color: #bb0000;
}


/* -- Hem -- */
.start img {
    margin: auto;
    display: block;
	margin-top: 100px;
    width: 35%;
}

.start a {
    background-color: var(--color);
    display: block;
    margin: auto;
    max-width: 4em;
    text-align: center;
    margin-top: 100px;
    font-size: 35px;
    font-weight: 500;
    padding: 20px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
}

.start a:hover {
    background-color: var(--second-color);
}

@media screen and (max-width: 768px) {
	.start img {
    	width: 65%;
	}
}


/* -- Om -- */
#om-om {
    min-height: 350px;
}

#om-om img {
	width: 50%;
}

#om-om-bild {
	padding: 5px;
	text-align: center;
	margin: auto;
}

#om-om-text {
	margin: 30px;
}

#om-tjanster {
    min-height: 210px;
	text-align: center;
	background-color: black;
}

#om-tjanster h2, .fa-briefcase, .fa-home, .fa-hands {
	color: white;
	padding: 5px;
}

#om-historia {
    min-height: 350px;
}

#om-historia img {
	width: 50%;
}

#om-historia-bild {
	padding: 5px;
	text-align: center;
	margin: auto;
}

#om-historia-text {
	margin: 30px;
}

@media screen and (max-width: 768px) {
	#om-om img {
		width: 75%;
	}
	
	#om-historia img {
		width: 75%;
	}
}


/* -- Bilder -- */
button {
	background-color: var(--color);
	color: white;
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	border: none;
	padding: 8px;
	margin: 5px;
}

button:hover {
	background-color: var(--second-color);
}

.KontrollerActive {
	background-color: var(--second-color);
}

#bildKontroller {
	text-align: center;
}

#bildKontroller h2 {
	margin: 5px;
	margin-top: 20px;
}

#bildGalleri {
	user-select: none;
}


/* -- Bilder Layout -- */
.rowBilder {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Gör till fyra kolumner */
.columnBilder {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.columnBilder img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Gör till två kolumner */
@media screen and (max-width: 800px) {
  .columnBilder {
    flex: 50%;
    max-width: 50%;
  }
}

/* Gör till en kolumn */
@media screen and (max-width: 600px) {
  .columnBilder {
    flex: 100%;
    max-width: 100%;
  }
}


/* -- Modal -- */
.albumImg {
	cursor: pointer;
  	transition: 0.3s;
}

.albumImg:hover {
	opacity: 0.7;
}

#modal {
  	display: none;
  	position: fixed;
  	z-index: 1;
  	padding-top: 100px;
  	left: 0;
  	top: 0;
  	width: 100%;
  	height: 100%; 
  	overflow: auto;
  	background-color: rgba(0,0,0,0.9);
}

#modalImg {
	margin: auto;
  	display: block;
  	max-width: 80%;
  	max-width: 800px;
	max-height: 800px;
	user-select: none;
	animation-name: zoom;
	animation-duration: 0.6s;
}

@keyframes zoom {
  	from {transform:scale(0)} 
  	to {transform:scale(1)}
}

#stang {
  	position: absolute;
  	top: 15px;
  	right: 35px;
  	color: white;
  	font-size: 50px;
  	font-weight: bold;
  	transition: 0.3s;
}

#stang:hover, #stang:focus {
  	color: #bbb;
  	text-decoration: none;
  	cursor: pointer;
}

@media only screen and (max-width: 800px) {
  	#modalImg {
    	width: 100%;
  	}
}


/* -- Bildspel --  */
#bild {
    height: 600px;
    width: 1070px;
    background-size: cover;
    background-color: white;
    position: relative;
    margin: 0px auto 30px auto;
    transition: 0.5s ease;
	display: none;
}

#bak {
    width: 8%;
    height: 100%;
    display: flex;
    position: absolute; 
}

#fram {
    right: 0;
    width: 8%;
    height: 100%;
    display: flex;
    position: absolute;
    
}

#bak:hover {
    cursor: pointer;
    background: rgba(255,255,255,0.25);
    transition: 0.5s ease;
}

#fram:hover {
    cursor: pointer;
    background: rgba(255,255,255,0.25);
    transition: 0.5s ease;
}

#bild span {
    margin: auto;
    font-size: 60px;
    font-weight: bold;
    color: white;
    user-select: none;
}

@media only screen and (max-width: 1100px) {
  	#bild {
    	width: 780px;
		height: 440px;
  	}
}

@media only screen and (max-width: 800px) {
  	#bild {
    	width: 480px;
		height: 270px;
  	}
}

@media only screen and (max-width: 500px) {
  	#bild {
    	width: 280px;
		height: 157px;
  	}
	#bild span {
		font-size: 40px;
	}
}

/* -- Style -- */
#styleIcon {
	position: fixed;
	color: white;
	background-color: rgba(0,0,0,0.9);
	padding: 10px;
	right: 10px;
	bottom: 10px;
	border-radius: 10px;
}

#styleChanger {
  	display: none;
  	position: fixed;
  	z-index: 1;
  	padding-top: 100px;
  	left: 0;
  	bottom: 0;
  	width: 100%;
  	height: 30%; 
  	overflow: auto;
  	background-color: rgba(0,0,0,0.9);
}

#styleColor {
	margin: auto;
  	display: block;
	text-align: center;
}

#styleColor h2 {
	color: white;
}

#styleStang {
  	position: absolute;
  	top: 15px;
  	right: 35px;
  	color: white;
  	font-size: 50px;
  	font-weight: bold;
  	transition: 0.3s;
}

#styleStang:hover, #styleStang:focus, #styleIcon:hover {
  	color: #bbb;
  	cursor: pointer;
}

#bla {
	background-color: #2bb3d5;
	cursor: pointer;
}

#gron {
	background-color: #61ce70;
	cursor: pointer;
}

#rod {
	background-color: red;
	cursor: pointer;
}

#rosa {
	background-color: deeppink;
	cursor: pointer;
}